[PATCH] drm/rockchip: vop_reg: add PX30 version info

2021-01-31 Thread Johan Jonker
To reduce memory various Rockchip VOP versions share common reg structures. However more recent added SoCs not always have to same futures as the old ones. Add PX30 missing version info, so all VOP version checks work correct if needed in the future. Signed-off-by: Johan Jonker --- drivers/gpu/d

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Måns Rullgård
Greg Kroah-Hartman writes: > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: >> On systems that do not have the traditional PC ISA serial ports, the >> 8250 driver still creates non-functional device nodes. This change >> makes only ports that actually exist (PCI, DT, ...) get dev

[Patch v3 net-next 0/7] ethtool support for fec and link configuration

2021-01-31 Thread Hariprasad Kelam
This series of patches add support for forward error correction(fec) and physical link configuration. Patches 1&2 adds necessary mbox handlers for fec mode configuration request and to fetch stats. Patch 3 registers driver callbacks for fec mode configuration and display. Patch 4&5 adds support of

Re: [PATCH] arm64: dts: mt8192: Add cpu-idle-states

2021-01-31 Thread Matthias Brugger
On 22/12/2020 05:58, James Liao wrote: > Add idle states for cpu-off and cluster-off. > > Signed-off-by: James Liao > --- Applied to v5.11-next/dts64 Thanks! > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 44 > 1 file changed, 44 insertions(+) > > This patch bases o

[Patch v3 net-next 3/7] octeontx2-pf: ethtool fec mode support

2021-01-31 Thread Hariprasad Kelam
From: Christina Jacob Add ethtool support to configure fec modes baser/rs and support to fecth FEC stats from CGX as well PHY. Configure fec mode - ethtool --set-fec eth0 encoding rs/baser/off/auto Query fec mode - ethtool --show-fec eth0 Signed-off-by: Christina Jacob Signed-o

[Patch v3 net-next 1/7] octeontx2-af: forward error correction configuration

2021-01-31 Thread Hariprasad Kelam
From: Christina Jacob CGX block supports forward error correction modes baseR and RS. This patch adds support to set encoding mode and to read corrected/uncorrected block counters Adds new mailbox handlers set_fec to configure encoding modes and fec_stats to read counters and also increase mbox

[Patch v3 net-next 6/7] octeontx2-pf: ethtool physical link status

2021-01-31 Thread Hariprasad Kelam
From: Christina Jacob Register get_link_ksettings callback to get link status information from the driver. As virtual function (vf) shares same physical link same API is used for both the drivers and for loop back drivers simply returns the fixed values as its does not have physical link. ethtoo

Re: [PATCH net-next 9/9] net: ipa: don't disable NAPI in suspend

2021-01-31 Thread Alex Elder
On 1/30/21 10:29 PM, Alex Elder wrote: > On 1/30/21 9:25 AM, Willem de Bruijn wrote: >> On Fri, Jan 29, 2021 at 3:29 PM Alex Elder wrote: >>> >>> The channel stop and suspend paths both call __gsi_channel_stop(), >>> which quiesces channel activity, disables NAPI, and (on other than >>> SDM845) st

Re: [PATCH v4 2/5] soc: mediatek: pwrap: add arbiter capability

2021-01-31 Thread Matthias Brugger
On 21/12/2020 03:33, Nicolas Boichat wrote: > On Wed, Nov 18, 2020 at 8:08 PM Hsin-Hsiung Wang > wrote: >> >> Add arbiter capability for pwrap driver. >> The arbiter capability uses new design to judge the priority and latency >> for multi-channel. >> This patch is preparing for adding mt6873/8

[Patch v3 net-next 7/7] octeontx2-pf: ethtool physical link configuration

2021-01-31 Thread Hariprasad Kelam
From: Christina Jacob Register set_link_ksetting callback with driver such that link configurations parameters like advertised mode,speed, duplex and autoneg can be configured. below command ethtool -s eth0 advertise 0x1 speed 10 duplex full autoneg on Signed-off-by: Christina Jacob Signed-off

Re: [PATCH 0/2] Add MediaTek MT8192 clock provider device nodes

2021-01-31 Thread Matthias Brugger
On 22/12/2020 14:40, Weiyi Lu wrote: > This series is based on v5.10-rc1, MT8192 dts v6[1] and > MT8192 clock v6 series[2]. > > [1] https://patchwork.kernel.org/project/linux-mediatek/list/?series=373899 > [2] https://patchwork.kernel.org/project/linux-mediatek/list/?series=405295 > [1] is al

Re: [PATCH 2/2] arm64: dts: mediatek: Correct UART0 bus clock of MT8192

2021-01-31 Thread Matthias Brugger
On 22/12/2020 14:40, Weiyi Lu wrote: > infra_uart0 clock is the real one what uart0 uses as bus clock. > > Signed-off-by: Weiyi Lu > --- > arch/arm64/boot/dts/mediatek/mt8192.dtsi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dts

[Patch v3 net-next 2/7] octeontx2-af: Add new CGX_CMD to get PHY FEC statistics

2021-01-31 Thread Hariprasad Kelam
From: Felix Manlunas This patch adds support to fetch fec stats from PHY. The stats are put in the shared data struct fwdata. A PHY driver indicates that it has FEC stats by setting the flag fwdata.phy.misc.has_fec_stats Besides CGX_CMD_GET_PHY_FEC_STATS, also add CGX_CMD_PRBS and CGX_CMD_DISPL

Re: [PATCH] arm64: dts: mediatek: Add Mediatek mt8192 cpufreq device nodes

2021-01-31 Thread Matthias Brugger
On 21/12/2020 04:36, Andrew-sh.Cheng wrote: > From: "Andrew-sh.Cheng" > > This patch depends on [1] and [2]. > > [1]http://lists.infradead.org/pipermail/linux-mediatek/2020-November/019378.html > [2]https://patchwork.kernel.org/project/linux-mediatek/patch/1607586516-6547-3-git-send-email-hec

[Patch v3 net-next 4/7] octeontx2-af: Physical link configuration support

2021-01-31 Thread Hariprasad Kelam
From: Christina Jacob CGX LMAC, the physical interface support link configuration parameters like speed, auto negotiation, duplex etc. Firmware saves these into memory region shared between firmware and this driver. This patch adds mailbox handler set_link_mode, fw_data_get to configure and rea

Re: [PATCH v8 07/14] mm: honor PF_MEMALLOC_PIN for all movable pages

2021-01-31 Thread Lecopzer Chen
Hi, [...] > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > index c93e801a45e9..3f17c73ad582 100644 > --- a/mm/page_alloc.c > +++ b/mm/page_alloc.c > @@ -3807,16 +3807,13 @@ alloc_flags_nofragment(struct zone *zone, gfp_t > gfp_mask) > return alloc_flags; > } > > -static inline unsign

RE: [PATCH 1/4] drivers: phy: add support for Armada CP110 UTMI PHY

2021-01-31 Thread Kostya Porotchkin
Hello, Lubomir, Thank you for your review! > > +static void mvebu_cp110_utmi_port_setup(struct mvebu_cp110_utmi_port > > +*port) { > > + u32 reg; > > + > > + /* > > +* Setup PLL. 40MHz clock used to be the default, being 25MHz now. > > +* See the functional specification for details.

[PATCH 3/3] mfd: pcf50633: Constify static struct attribute_group

2021-01-31 Thread Rikard Falkeborn
The only usage of pcf_attr_group is to pass its address to sysfs_create_group() and sysfs_remove_group(), both which takes pointers to const attribute_group structs. Make it const to allow the compiler to put it in read-only memory. Done with the help of coccinelle. Signed-off-by: Rikard Falkebor

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Greg Kroah-Hartman
On Sun, Jan 31, 2021 at 01:18:47PM +, Måns Rullgård wrote: > Greg Kroah-Hartman writes: > > > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: > >> On systems that do not have the traditional PC ISA serial ports, the > >> 8250 driver still creates non-functional device nodes. T

[PATCH 0/3] drivers/mfd: Constify static attribute_group structs

2021-01-31 Thread Rikard Falkeborn
The only usage of the structs is to pass their address to sysfs_create_group() and sysfs_remove_group(), both which takes pointers to const attribute_group structs. Make them const to allow the compiler to put them in read-only memory. Done with the help of coccinelle. With these patches applied,

[PATCH 1/3] mfd: gateworks-gsc: Constify static struct attribute_group

2021-01-31 Thread Rikard Falkeborn
The only usage of attr_group is to pass its address to sysfs_create_group() and sysfs_remove_group(), both which takes pointers to const attribute_group structs. Make it const to allow the compiler to put it in read-only memory. Done with the help of coccinelle. Signed-off-by: Rikard Falkeborn -

Re: [PATCH v5 12/20] dt-bindings: rtc: sun6i: Add H616 compatible string

2021-01-31 Thread Jernej Škrabec
Hi! Dne sreda, 27. januar 2021 ob 18:24:52 CET je Andre Przywara napisal(a): > Add the obvious compatible name to the existing RTC binding, and pair > it with the existing H6 fallback compatible string, as the devices are > compatible. After close lookup I would disagree with this observation. Ma

[PATCH 2/3] mfd: lm3533: Constify static struct attribute_group

2021-01-31 Thread Rikard Falkeborn
The only usage of lm3533_attribute_group is to pass its address to sysfs_create_group() and sysfs_remove_group(), both which takes pointers to const attribute_group structs. Make it const to allow the compiler to put it in read-only memory. Done with the help of coccinelle. Signed-off-by: Rikard

Re: [PATCH v1 2/2] arm64: dts: mt6779: Support ufshci and ufsphy

2021-01-31 Thread Matthias Brugger
On 23/12/2020 05:13, Stanley Chu wrote: > Support UFS on MT6779 platforms by adding ufshci and ufsphy > nodes in dts file. > > Reviewed-by: Hanks Chen > Signed-off-by: Stanley Chu > --- > arch/arm64/boot/dts/mediatek/mt6779.dtsi | 36 +++- > 1 file changed, 35 insertions(

Re: [PATCH v3 1/2] dt-bindings: nvmem: mediatek: add support for MediaTek mt8192 SoC

2021-01-31 Thread Matthias Brugger
On 22/01/2021 07:28, mtk23264 wrote: > On Sun, 2021-01-03 at 09:25 -0700, Rob Herring wrote: >> On Mon, Dec 21, 2020 at 02:10:19PM +0800, yz...@mediatek.com wrote: >>> From: Ryan Wu >>> >>> This updates dt-binding documentation for MediaTek mt8192 >>> >>> Signed-off-by: Ryan Wu >>> --- >>> Thi

RE: [PATCH V1 1/3] scsi: ufs: export api for use in vendor file

2021-01-31 Thread Avri Altman
> > Exporting functions ufshcd_set_dev_pwr_mode, ufshcd_disable_vreg > and ufshcd_enable_vreg so that vendor drivers can make use of > them in setting vendor specific regulator setting > in vendor specific file. As for ufshcd_{enable,disable}_vreg - maybe inline ufshcd_toggle_vreg and use it inst

RE: [PATCH V1 0/3] scsi: ufs: Add a vops to configure VCC voltage level

2021-01-31 Thread Avri Altman
> > UFS specification allows different VCC configurations for UFS devices, > for example, > (1)2.70V - 3.60V (For UFS 2.x devices) > (2)2.40V - 2.70V (For UFS 3.x devices) > For platforms supporting both ufs 2.x (2.7v-3.6v) and > ufs 3.x (2.4v-2.7v), the voltage requirements (VCC)

RE: [PATCH] platform/x86: dell-wmi-sysman: fix a NULL pointer dereference

2021-01-31 Thread Limonciello, Mario
> -Original Message- > From: Hans de Goede > Sent: Saturday, January 30, 2021 15:44 > To: Limonciello, Mario; Mark Gross > Cc: LKML; platform-driver-...@vger.kernel.org > Subject: Re: [PATCH] platform/x86: dell-wmi-sysman: fix a NULL pointer > dereference > > > [EXTERNAL EMAIL] > > Hi

Re: [PATCH v1 1/2] arm64: dts: mt6779: Support devapc

2021-01-31 Thread Matthias Brugger
On 23/12/2020 10:52, Neal Liu wrote: > +add comments & reviewed-by Hanks > > On Wed, 2020-12-23 at 16:44 +0800, Neal Liu wrote: > > Support DEVAPC on MT6779 platforms by adding device node. > > Reviewed-by: Hanks Chen Apllied with the description and Reviewed-by to v5.11-next/dts64 Thanks

Re: [PATCH v1 2/2] arm64: configs: Support DEVAPC on MediaTek platforms

2021-01-31 Thread Matthias Brugger
On 23/12/2020 09:44, Neal Liu wrote: > Support DEVAPC on MediaTek platforms by enabling CONFIG_MTK_DEVAPC. > > Signed-off-by: Neal Liu > --- > arch/arm64/configs/defconfig |1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig

Re: [PATCH 2/3] usb: xhci-mtk: fix UAS issue by XHCI_BROKEN_STREAMS quirk

2021-01-31 Thread Matthias Brugger
On 24/12/2020 08:18, Chunfeng Yun wrote: > On Wed, 2020-12-16 at 19:43 -0800, Rosen Penev wrote: >> On Wed, Dec 16, 2020 at 6:29 PM Chunfeng Yun >> wrote: >>> >>> On Wed, 2020-12-16 at 20:28 +0800, Nicolas Boichat wrote: On Wed, Dec 16, 2020 at 7:53 PM Chunfeng Yun wrote: [...] >>>

Re: [PATCH v2 1/5] misc: qca639x: add support for QCA639x powerup sequence

2021-01-31 Thread Kalle Valo
Dmitry Baryshkov writes: > Qualcomm QCA639x is a family of WiFi + Bluetooth SoCs, with BT part > being controlled through the UART and WiFi being present on PCIe > bus. Both blocks share common power sources. Add device driver handling > power sequencing of QCA6390/1. > > Signed-off-by: Dmitry Ba

RE: [EXT] Re: [PATCH v5 net-next 00/18] net: mvpp2: Add TX Flow Control support

2021-01-31 Thread Stefan Chulski
> > > > Hi Stefan, looks like patchwork and lore didn't get all the emails: > > > > https://urldefense.proofpoint.com/v2/url?u=https- > > 3A__lore.kernel.org_r_1611858682-2D9845-2D1-2Dgit-2Dsend-2Demail- > > 2Dstefanc- > > > 40marvell.com&d=DwICAg&c=nKjWec2b6R0mOyPaz7xtfQ&r=DDQ3dKwkTIx > > > KAl6_B

Re: Migration to trusted keys: sealing user-provided key?

2021-01-31 Thread Mimi Zohar
On Sun, 2021-01-31 at 15:14 +0100, Jan Lübbe wrote: > On Sun, 2021-01-31 at 07:09 -0500, Mimi Zohar wrote: > > > > [1] The ima-evm-utils README contains EVM examples of "trusted" and > > "user" based "encrypted" keys. > > I assume you refer to > https://sourceforge.net/p/linux-ima/ima-evm-util

[PATCH] firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)

2021-01-31 Thread Nobuhiro Iwamatsu
zynqmp_pm_get_eemi_ops() was removed in commit 4db8180ffe7c: "Firmware: xilinx: Remove eemi ops for fpga related APIs", but not in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE). This removed zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE), and also modify the documentation for this driver

[PATCH v7 net-next 01/15] doc: marvell: add cm3-mem and PPv2.3 description

2021-01-31 Thread stefanc
From: Stefan Chulski Patch introduce cm3-mem device tree bindings and add PPv2.3 description. Signed-off-by: Stefan Chulski --- Documentation/devicetree/bindings/net/marvell-pp2.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/net/mar

[PATCH v7 net-next 00/15] net: mvpp2: Add TX Flow Control support

2021-01-31 Thread stefanc
From: Stefan Chulski Armada hardware has a pause generation mechanism in GOP (MAC). The GOP generate flow control frames based on an indication programmed in Ports Control 0 Register. There is a bit per port. However assertion of the PortX Pause bits in the ports control 0 register only sends a

[PATCH v7 net-next 03/15] net: mvpp2: add CM3 SRAM memory map

2021-01-31 Thread stefanc
From: Stefan Chulski This patch adds CM3 memory map and CM3 read/write callbacks. No functionality changes. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 7 +++ drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 63 +++- 2 files changed, 67

[PATCH v7 net-next 05/15] net: mvpp2: always compare hw-version vs MVPP21

2021-01-31 Thread stefanc
From: Stefan Chulski Currently we have PP2v1 and PP2v2 hw-versions, with some different handlers depending upon condition hw_version = MVPP21/MVPP22. In a future there will be also PP2v3. Let's use now the generic "if equal/notEqual MVPP21" for all cases instead of "if MVPP22". This patch does n

[PATCH v7 net-next 08/15] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-01-31 Thread stefanc
From: Stefan Chulski The firmware needs to monitor the RX Non-occupied descriptor bits for flow control to move to XOFF mode. These bits need to be unmasked to be functional, but they will not raise interrupts as we leave the RX exception summary bit in MVPP2_ISR_RX_TX_MASK_REG clear. Signed-off

[PATCH v7 net-next 09/15] net: mvpp2: enable global flow control

2021-01-31 Thread stefanc
From: Stefan Chulski This patch enables global flow control in FW and in the phylink validate mask. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 13 ++--- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 30 +++- 2 files changed, 38 i

[PATCH v7 net-next 04/15] net: mvpp2: add PPv23 version definition

2021-01-31 Thread stefanc
From: Stefan Chulski This patch add PPv23 version definition. PPv23 is new packet processor in CP115. Everything that supported by PPv22, also supported by PPv23. No functional changes in this stage. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 24 +++

[PATCH v7 net-next 07/15] net: mvpp2: add FCA periodic timer configurations

2021-01-31 Thread stefanc
From: Stefan Chulski Flow Control periodic timer would be used if port in XOFF to transmit periodic XOFF frames. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 13 +- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 45 2 files cha

[PATCH v7 net-next 14/15] net: mvpp2: set 802.3x GoP Flow Control mode

2021-01-31 Thread stefanc
From: Stefan Chulski This patch fix GMAC TX flow control autoneg. Flow control autoneg wrongly were disabled with enabled TX flow control. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drive

[PATCH v7 net-next 06/15] net: mvpp2: increase BM pool and RXQ size

2021-01-31 Thread stefanc
From: Stefan Chulski BM pool and RXQ size increased to support Firmware Flow Control. Minimum depletion thresholds to support FC are 1024 buffers. BM pool size increased to 2048 to have some 1024 buffers space between depletion thresholds and BM pool size. Jumbo frames require a 9888B buffer, so

[PATCH] arm64: perf: Constify static attribute_group structs

2021-01-31 Thread Rikard Falkeborn
The only usage of these is to put their addresses in an array of pointers to const attribute_group structs. Make them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn --- arch/arm64/kernel/perf_event.c | 6 +++--- 1 file changed, 3 insertions(+), 3 del

[PATCH v7 net-next 13/15] net: mvpp2: add PPv23 RX FIFO flow control

2021-01-31 Thread stefanc
From: Stefan Chulski New FIFO flow control feature were added in PPv23. PPv2 FIFO polled by HW and trigger pause frame if FIFO fill level is below threshold. FIFO HW flow control enabled with CM3 RXQ&BM flow control with ethtool. Current FIFO thresholds is: 9KB for port with maximum speed 10Gb/s

[PATCH v2 1/2] iio: hid-sensors: Move get sensitivity attribute to hid-sensor-common

2021-01-31 Thread Ye Xiang
No functional change has been made with this patch. The main intent here is to reduce code repetition of getting sensitivity attribute. In the current implementation, sensor_hub_input_get_attribute_info() is called from multiple drivers to get attribute info for sensitivity field. Moving this to c

[PATCH v2 0/2] resolve read hystersis return invalid argument issue for hid sensors

2021-01-31 Thread Ye Xiang
This patch series move get sensitivity attribute to common layer and resolve read hystersis return invalid argument issue for hid sensors als, incli-3d, rotation, and press on intel ISH Platform. --- v2: - separate the add relative sensitivity patch to the next patch series. Ye Xiang (2): iio

Re: [PATCH v2, 1/3] dt-binding: gce: add gce header file for mt8192

2021-01-31 Thread Matthias Brugger
On 24/12/2020 01:48, Yongqiang Niu wrote: > Add documentation for the mt8192 gce. > > Add gce header file defined the gce hardware event, > subsys number and constant for mt8192. > > Signed-off-by: Yongqiang Niu > --- > .../devicetree/bindings/mailbox/mtk-gce.txt| 7 +- > include/d

Re: [EXT] Re: [PATCH v5 net-next 00/18] net: mvpp2: Add TX Flow Control support

2021-01-31 Thread Russell King - ARM Linux admin
On Sun, Jan 31, 2021 at 02:23:20PM +, Stefan Chulski wrote: > I still don't see all patches in > https://patchwork.kernel.org/project/netdevbpf/list/?series=424949 > I would reduce patch series to 15 patches and repost again. kernel.org email is currently broken for everyone due to the spamco

Re: [PATCH v2] soc: mediatek: cmdq: add address shift in jump

2021-01-31 Thread Matthias Brugger
On 08/01/2021 02:48, Yongqiang Niu wrote: > On Wed, 2020-12-23 at 16:34 +0800, Yongqiang Niu wrote: >> Add address shift when compose jump instruction >> to compatible with 35bit format. >> >> Fixes: 0858fde496f8 ("mailbox: cmdq: variablize address shift in platform") >> >> Signed-off-by: Yongqi

[PATCH v2 2/2] hid-sensors: Add more data fields for sensitivity checking

2021-01-31 Thread Ye Xiang
Before, when reading/writing the hysteresis of als, incli-3d, press, and rotation sensor, we will get invalid argument error. This patch add more sensitivity data fields for these sensors, so that these sensors can get sensitivity index and return correct hysteresis value. Signed-off-by: Ye Xiang

Re: [PATCH 1/2] media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()

2021-01-31 Thread Sean Young
On Wed, Jan 20, 2021 at 11:20:56AM +0100, Takashi Iwai wrote: > dvb_usb_device_init() allocates a dvb_usb_device object, but it > doesn't release it even when returning an error. The callers don't > seem caring it as well, hence those memories are leaked. > > This patch assures releasing the memo

[PATCH v7 net-next 15/15] net: mvpp2: add TX FC firmware check

2021-01-31 Thread stefanc
From: Stefan Chulski Patch check that TX FC firmware is running in CM3. If not, global TX FC would be disabled. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 1 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 42 2 files changed,

[PATCH v7 net-next 12/15] net: mvpp2: add BM protection underrun feature support

2021-01-31 Thread stefanc
From: Stefan Chulski Feature double size of BPPI by decreasing number of pools from 16 to 8. Increasing of BPPI size protect BM drop from BPPI underrun. Underrun could occurred due to stress on DDR and as result slow buffer transition from BPPE to BPPI. New BPPI threshold recommended by spec is:

Re: [PATCH net-next 9/9] net: ipa: don't disable NAPI in suspend

2021-01-31 Thread Willem de Bruijn
On Sat, Jan 30, 2021 at 11:29 PM Alex Elder wrote: > > On 1/30/21 9:25 AM, Willem de Bruijn wrote: > > On Fri, Jan 29, 2021 at 3:29 PM Alex Elder wrote: > >> > >> The channel stop and suspend paths both call __gsi_channel_stop(), > >> which quiesces channel activity, disables NAPI, and (on other

Re: [PATCH v4 1/3] arm64: dts: mt8183: config dsi node

2021-01-31 Thread Matthias Brugger
On 13/01/2021 12:03, Hsin-Yi Wang wrote: > Config dsi node for mt8183 kukui. Set panel and ports. > > Several kukui boards share the same panel property and only compatible > is different. So compatible will be set in board dts for comparison > convenience. > > Signed-off-by: Hsin-Yi Wang > R

Re: [PATCH] soc: mediatek: pm-domains: Don't print an error if child domain is deferred

2021-01-31 Thread Matthias Brugger
On 13/01/2021 22:30, Enric Balletbo i Serra wrote: > Child domains can be deferred by the core because one of its resources > is not available yet, in such case, it will print an error, but > later it will succeed to probe. Fix that using the dev_err_probe() > function so it only prints an error

Re: [EXT] Re: [PATCH v5 net-next 00/18] net: mvpp2: Add TX Flow Control support

2021-01-31 Thread Russell King - ARM Linux admin
On Sun, Jan 31, 2021 at 02:45:24PM +, Russell King - ARM Linux admin wrote: > On Sun, Jan 31, 2021 at 02:23:20PM +, Stefan Chulski wrote: > > I still don't see all patches in > > https://patchwork.kernel.org/project/netdevbpf/list/?series=424949 > > I would reduce patch series to 15 patche

Re: [PATCH v2] dts64: mt7622: fix slow sd card access

2021-01-31 Thread Matthias Brugger
On 13/01/2021 19:09, Frank Wunderlich wrote: > From: Frank Wunderlich > > Fix extreme slow speed (200MB takes ~20 min) on writing sdcard on > bananapi-r64 by adding reset-control for mmc1 like it's done for mmc0/emmc. > > Cc: sta...@vger.kernel.org > Fixes: 2c002a3049f7 ("arm64: dts: mt7622:

Re: [PATCH 2/2] media: dvb-usb: Fix use-after-free access

2021-01-31 Thread Sean Young
Hi Takashi, On Fri, Jan 22, 2021 at 04:47:44PM +0100, Robert Foss wrote: > Hey Takashi, > > This patch is generating a checkpatch warning, but I think it is > spurious and can be ignored. The checkpatch warning isn't superious and should really be corrected. > > Other than that, this looks goo

RE: [EXT] Re: [PATCH v5 net-next 00/18] net: mvpp2: Add TX Flow Control support

2021-01-31 Thread Stefan Chulski
> > Ok, kernel.org has now dropped spamcop.net, so email should flow normally > now. > > Are you sure all your emails are being received by vger.kernel.org? No, I get Undeliverable Email response. I probably would wait till tomorrow and repost them again as v8. Regards, Stefan.

Re: [PATCH 06/29] drbd: Avoid comma separated statements

2021-01-31 Thread Jens Axboe
On 1/30/21 11:57 AM, Joe Perches wrote: > On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: >> Use semicolons and braces. > > ping? Queued for 5.12. -- Jens Axboe

Re: [PATCH 05/29] ata: Avoid comma separated statements

2021-01-31 Thread Jens Axboe
On 1/30/21 11:56 AM, Joe Perches wrote: > On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: >> Use semicolons and braces. > > ping? Queued for 5.12. -- Jens Axboe

RE: [PATCH 2/4] devicetree/bindings: add support for CP110 UTMI driver

2021-01-31 Thread Kostya Porotchkin
Hi, Lubomir, Thank you for your review! > On Wed, Jan 27, 2021 at 01:27:17PM +0200, kos...@marvell.com wrote: > > From: Konstantin Porotchkin > > > > Add DTS binding for Marvell CP110 UTMI driver > > > > Signed-off-by: Konstantin Porotchkin > > Any chance you could convert the document to YAML

[PATCH v7 net-next 10/15] net: mvpp2: add RXQ flow control configurations

2021-01-31 Thread stefanc
From: Stefan Chulski This patch adds RXQ flow control configurations. Flow control disabled by default. Minimum ring size limited to 1024 descriptors. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 35 +- drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c

[PATCH v7 net-next 11/15] net: mvpp2: add ethtool flow control configuration support

2021-01-31 Thread stefanc
From: Stefan Chulski This patch add ethtool flow control configuration support. Tx flow control retrieved correctly by ethtool get function. FW per port ethtool configuration capability added. Patch also takes care about mtu change procedure, if PPv2 switch BM pools during mtu change. Signed-o

[PATCH v7 net-next 02/15] dts: marvell: add CM3 SRAM memory to cp115 ethernet device tree

2021-01-31 Thread stefanc
From: Konstantin Porotchkin CM3 SRAM address space would be used for Flow Control configuration. Signed-off-by: Stefan Chulski Signed-off-by: Konstantin Porotchkin --- arch/arm64/boot/dts/marvell/armada-cp11x.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot

[PATCH v2 0/3] common SVDM version and VDO from dt

2021-01-31 Thread Kyle Tso
patch v1 is here: https://lore.kernel.org/linux-devicetree/20210126084544.682641-1-kyle...@google.com/ Changes from v1:

[PATCH v2 2/3] dt-bindings: connector: Add SVDM VDO properties

2021-01-31 Thread Kyle Tso
Add bindings of VDO properties of USB PD SVDM so that they can be used in device tree. Signed-off-by: Kyle Tso --- Changes since v1: dt-bindings: connector: Add SVDM VDO properties - updated the dt-bindings documentations - added more definitions of Product Type VDOs .../bindings/connector/usb-

[PATCH v2 3/3] usb: typec: tcpm: Get Sink VDO from fwnode

2021-01-31 Thread Kyle Tso
Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config configuration mechanism") removed the tcpc_config which includes the Sink VDO and it is not yet added back with fwnode. Add it now. Signed-off-by: Kyle Tso --- Changes since v1: - updated the commit message drivers/usb/typec/tcpm/tcpm.c

[PATCH v2 1/3] usb: typec: Determine common SVDM Versions

2021-01-31 Thread Kyle Tso
PD Spec Revision 3.0 Version 2.0 + ECNs 2020-12-10 6.4.4.2.3 Structured VDM Version "The Structured VDM Version field of the Discover Identity Command sent and received during VDM discovery Shall be used to determine the lowest common Structured VDM Version supported by the Port Partners or

Re: [PATCH 2/2] arm64: configs: Support pwrap on Mediatek MT6779 platform

2021-01-31 Thread Matthias Brugger
On 04/01/2021 09:08, Argus Lin wrote: > Support pwrap on Mediatek MT6779 platform by enabling CONFIG_MTK_PMIC_WRAP. > > Signed-off-by: Argus Lin > --- Applied to v5.11-next/defconfig > arch/arm64/configs/defconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm64/configs/

Re: [PATCH 1/2] arm64: dts: mt6779: Support pwrap on Mediatek MT6779 platform

2021-01-31 Thread Matthias Brugger
On 04/01/2021 09:08, Argus Lin wrote: > Support pwrap on Mediatek MT6779 platform by adding pwrap node in dts file. > > Signed-off-by: Argus Lin > --- Applied to v5.11-next/dts64 > arch/arm64/boot/dts/mediatek/mt6779.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/a

Re: [PATCH] arm64: dts: mediatek: Correct i2c clock of MT8192

2021-01-31 Thread Matthias Brugger
On 21/12/2020 13:26, qii.w...@mediatek.com wrote: > From: Qii Wang > > imp wrapper clock is the i2c source clock of MT8192 > > Signed-off-by: Qii Wang > --- Thanks for your patch. The next time please provide information about any out-of-tree series that are needed to apply cleanly. Regard

[Patch v3 net-next 5/7] octeontx2-af: advertised link modes support on cgx

2021-01-31 Thread Hariprasad Kelam
From: Christina Jacob CGX supports setting advertised link modes on physical link. This patch adds support to derive cgx mode from ethtool link mode and pass it to firmware to configure the same. Signed-off-by: Christina Jacob Signed-off-by: Sunil Goutham Signed-off-by: Hariprasad Kelam ---

Re: [PATCH v4] iio: adc: stm32-adc: enable timestamping for non-DMA usage

2021-01-31 Thread Jonathan Cameron
On Mon, 25 Jan 2021 20:48:23 +0100 Ahmad Fatoum wrote: > For non-DMA usage, we have an easy way to associate a timestamp with a > sample: iio_pollfunc_store_time stores a timestamp in the primary > trigger IRQ handler and stm32_adc_trigger_handler runs in the IRQ thread > to push out the buffer a

Re: Migration to trusted keys: sealing user-provided key?

2021-01-31 Thread Jan Lübbe
On Sun, 2021-01-31 at 07:09 -0500, Mimi Zohar wrote: > On Sat, 2021-01-30 at 19:53 +0200, Jarkko Sakkinen wrote: > > On Thu, 2021-01-28 at 18:31 +0100, Ahmad Fatoum wrote: > > > Hello, > > > > > > I've been looking into how a migration to using trusted/encrypted keys > > > would look like (particu

Re: [PATCH net-next v1 2/6] lan743x: support rx multi-buffer packets

2021-01-31 Thread Sven Van Asbroeck
On Sun, Jan 31, 2021 at 2:06 AM wrote: > > > static int lan743x_rx_process_packet(struct lan743x_rx *rx) { > It looks like this function no longer processes a packet, but rather only > processes a single buffer. > So perhaps it should be renamed to lan743x_rx_process_buffer, so it is not > mis

Re: [Letux-kernel] What ist the standard way to define connector type and bus format with device tree?

2021-01-31 Thread H. Nikolaus Schaller
ping? > Am 12.01.2021 um 12:41 schrieb H. Nikolaus Schaller : > > Hi, > according to bindings/display/panel/panel-common.yaml > and by using "panel-simple" as compatible string we > can define almost all properties of a DSI panel by a > device tree entry. > > Except the connector type and bus fo

Re: [PATCH RFC v2 08/10] vdpa: add vdpa simulator for block device

2021-01-31 Thread Max Gurtovoy
On 1/28/2021 4:41 PM, Stefano Garzarella wrote: From: Max Gurtovoy This will allow running vDPA for virtio block protocol. Signed-off-by: Max Gurtovoy [sgarzare: various cleanups/fixes] Signed-off-by: Stefano Garzarella --- v2: - rebased on top of other changes (dev_attr, get_config(), not

Re: [PATCH net-next 9/9] net: ipa: don't disable NAPI in suspend

2021-01-31 Thread Alex Elder
On 1/31/21 8:52 AM, Willem de Bruijn wrote: > On Sat, Jan 30, 2021 at 11:29 PM Alex Elder wrote: >> >> On 1/30/21 9:25 AM, Willem de Bruijn wrote: >>> On Fri, Jan 29, 2021 at 3:29 PM Alex Elder wrote: The channel stop and suspend paths both call __gsi_channel_stop(), which quiesces

Re: [RFC PATCH v4 1/1] iio/scmi: Adding support for IIO SCMI Based Sensors

2021-01-31 Thread Jonathan Cameron
On Fri, 29 Jan 2021 22:18:18 + Jyoti Bhayana wrote: > This change provides ARM SCMI Protocol based IIO device. > This driver provides support for Accelerometer and Gyroscope using > SCMI Sensor Protocol extensions added in the SCMIv3.0 ARM specification > > Signed-off-by: Jyoti Bhayana A f

Re: [PATCH v3 net-next 3/5] net: introduce common dev_page_is_reusable()

2021-01-31 Thread Alexander Lobakin
From: Matthew Wilcox Date: Sun, 31 Jan 2021 12:22:05 + > On Sun, Jan 31, 2021 at 12:11:52PM +, Alexander Lobakin wrote: > > A bunch of drivers test the page before reusing/recycling for two > > common conditions: > > - if a page was allocated under memory pressure (pfmemalloc page); > >

Re: [RFC 03/20] mm/mprotect: do not flush on permission promotion

2021-01-31 Thread Andrew Cooper
On 31/01/2021 01:07, Andy Lutomirski wrote: > Adding Andrew Cooper, who has a distressingly extensive understanding > of the x86 PTE magic. Pretty sure it is all learning things the hard way... > On Sat, Jan 30, 2021 at 4:16 PM Nadav Amit wrote: >> diff --git a/mm/mprotect.c b/mm/mprotect.c >> i

[PATCH v3 net-next 0/5] net: consolidate page_is_pfmemalloc() usage

2021-01-31 Thread Alexander Lobakin
page_is_pfmemalloc() is used mostly by networking drivers to test if a page can be considered for reusing/recycling. It doesn't write anything to the struct page itself, so its sole argument can be constified, as well as the first argument of skb_propagate_pfmemalloc(). In Page Pool core code, it c

[PATCH v3 net-next 1/5] mm: constify page_is_pfmemalloc() argument

2021-01-31 Thread Alexander Lobakin
The function only tests for page->index, so its argument should be const. Signed-off-by: Alexander Lobakin Reviewed-by: Jesse Brandeburg Acked-by: David Rientjes --- include/linux/mm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/mm.h b/include/linux/mm.h i

[PATCH v3 net-next 3/5] net: introduce common dev_page_is_reusable()

2021-01-31 Thread Alexander Lobakin
A bunch of drivers test the page before reusing/recycling for two common conditions: - if a page was allocated under memory pressure (pfmemalloc page); - if a page was allocated at a distant memory node (to exclude slowdowns). Introduce a new common inline for doing this, with likely() alread

Re: [PATCH v1 1/1] arm64: dts: mt6779: add spi host dts nodes

2021-01-31 Thread Hanks Chen
On Tue, 2021-01-26 at 21:18 +0800, Mason Zhang wrote: > From: mtk22786 > > this patch add spi host dts nodes for mt6779 IC. > > Change-Id: If4a3cbb09843f472210b390352db4b9886f5c00c > Signed-off-by: Mason Zhang > --- > arch/arm64/boot/dts/mediatek/mt6779.dtsi | 96 > 1

[RFC PATCH] drm/rockchip: vop_reg: add rk3036 hdmi support

2021-01-31 Thread Johan Jonker
A Rockchip Inno HDMI driver was added, but the rk3036 VOP regs with HDMI support in the manufacturer tree never made it to the mainline kernel. This patch adds only hdmi_en and hdmi_dclk_pol. The inno hdmi driver must set hdmi_pin_pol in GRF_SOC_CON2. Signed-off-by: Johan Jonker --- Not tested wi

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Måns Rullgård
Greg Kroah-Hartman writes: > On Sun, Jan 31, 2021 at 01:18:47PM +, Måns Rullgård wrote: >> Greg Kroah-Hartman writes: >> >> > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: >> >> On systems that do not have the traditional PC ISA serial ports, the >> >> 8250 driver still cre

Re: [PATCH] serial: 8250: add option to disable registration of legacy ISA ports

2021-01-31 Thread Greg Kroah-Hartman
On Sun, Jan 31, 2021 at 03:47:42PM +, Måns Rullgård wrote: > Greg Kroah-Hartman writes: > > > On Sun, Jan 31, 2021 at 01:18:47PM +, Måns Rullgård wrote: > >> Greg Kroah-Hartman writes: > >> > >> > On Thu, Jan 28, 2021 at 05:22:44PM +, Mans Rullgard wrote: > >> >> On systems that do

Re: [PATCH 13/29] bcache: Avoid comma separated statements

2021-01-31 Thread Coly Li
On 1/31/21 2:59 AM, Joe Perches wrote: > On Mon, 2020-08-24 at 21:56 -0700, Joe Perches wrote: >> Use semicolons and braces. > > ping? It is in my for-next now, thanks for reminding. Coly Li > >> Signed-off-by: Joe Perches >> --- >>  drivers/md/bcache/bset.c | 12 >>  drivers/m

Re: [PATCH v2 3/3] usb: typec: tcpm: Get Sink VDO from fwnode

2021-01-31 Thread Guenter Roeck
On 1/31/21 7:18 AM, Kyle Tso wrote: > Commit a079973f462a ("usb: typec: tcpm: Remove tcpc_config > configuration mechanism") removed the tcpc_config which includes the > Sink VDO and it is not yet added back with fwnode. Add it now. > > Signed-off-by: Kyle Tso > --- > Changes since v1: > - update

Re: [PATCH v8 07/14] mm: honor PF_MEMALLOC_PIN for all movable pages

2021-01-31 Thread Pavel Tatashin
On Sun, Jan 31, 2021 at 8:09 AM Lecopzer Chen wrote: > > > Hi, > > [...] > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index c93e801a45e9..3f17c73ad582 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -3807,16 +3807,13 @@ alloc_flags_nofragment(struct zone *zone, gfp_t >

Re: [PATCH RFC v1 0/3] Introduce vfio-pci-core subsystem

2021-01-31 Thread Max Gurtovoy
On 1/28/2021 6:29 PM, Cornelia Huck wrote: On Tue, 26 Jan 2021 15:27:43 +0200 Max Gurtovoy wrote: Hi Alex, Cornelia and Jason, thanks for the reviewing this. On 1/26/2021 5:34 AM, Alex Williamson wrote: On Mon, 25 Jan 2021 20:45:22 -0400 Jason Gunthorpe wrote: On Mon, Jan 25, 2021 at

Re: arm: sunxi: &83t: WARNING: CPU: 2 PID: 57 at drivers/thermal/thermal_core.c:563 thermal_zone_device_update

2021-01-31 Thread Maxime Ripard
On Sun, Jan 31, 2021 at 01:33:32PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Sun, Jan 31, 2021 at 12:54 AM Corentin Labbe > wrote: > > > > Hello > > > > When booting next-20210128, I got the following warning on by bpim3 > > 6.148421] [ cut here ] > > [6.153145] WARN

Re: [GIT PULL] Please pull NFS client bugfixes for 5.11

2021-01-31 Thread Trond Myklebust
On Sun, 2021-01-31 at 11:22 -0800, Linus Torvalds wrote: > On Sun, Jan 31, 2021 at 8:59 AM Trond Myklebust < > tron...@hammerspace.com> wrote: > > > >   git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs- > > for-5.11-3 > > Merged. However, it looks like you won't get a pr-tracker-bo

[PATCH 00/13] Convert all users of strlcpy to strscpy

2021-01-31 Thread Kumar Kartikeya Dwivedi
This series converts all existing users of strlcpy in drivers/staging to use strscpy instead. strlcpy is marked as deprecated in Documentation/process/deprecated.rst, and there is no functional difference when the caller expects truncation (when not checking the return value). strscpy is relativel

<    1   2   3   4   5   6   >