Re: [PATCH v5 04/15] device property: Call fwnode_graph_get_endpoint_by_id() for fwnode->secondary

2021-01-10 Thread Greg KH
On Thu, Jan 07, 2021 at 01:28:27PM +, Daniel Scally wrote: > This function is used to find fwnode endpoints against a device. In > some instances those endpoints are software nodes which are children of > fwnode->secondary. Add support to fwnode_graph_get_endpoint_by_id() to > find those

Re: [PATCH v5 05/15] software_node: Enforce parent before child ordering of nodes arrays

2021-01-10 Thread Greg KH
On Thu, Jan 07, 2021 at 01:28:28PM +, Daniel Scally wrote: > Registering software_nodes with the .parent member set to point to a > currently unregistered software_node has the potential for problems, > so enforce parent -> child ordering in arrays passed in to >

Re: [PATCH v5 03/15] device property: Return true in fwnode_device_is_available for NULL ops

2021-01-10 Thread Greg KH
On Thu, Jan 07, 2021 at 01:28:26PM +, Daniel Scally wrote: > Some types of fwnode_handle do not implement the device_is_available() > check, such as those created by software_nodes. There isn't really a > meaningful way to check for the availability of a device that doesn't > actually exist,

Re: [PATCH v5 01/15] software_node: Fix refcounts in software_node_get_next_child()

2021-01-10 Thread Greg KH
On Thu, Jan 07, 2021 at 01:28:24PM +, Daniel Scally wrote: > The software_node_get_next_child() function currently does not hold > references to the child software_node that it finds or put the ref that > is held against the old child - fix that. > > Fixes: 59abd83672f7 ("drivers: base:

EDAC driver for ARMv8 RAS extension is being worked on

2021-01-10 Thread Manivannan Sadhasivam
Hello, This is just a headsup that I've been working on the EDAC driver based on the ARMv8 RAS extensions. AFAIK, there were 3 attempts [1][2][3] on getting this merged in different forms. I've collected the feedback on those submissions and came up with the idea of a single "armv8_ras_edac"

Re: dmaengine : xilinx_dma two issues

2021-01-10 Thread Paul Thomas
On Fri, Jan 8, 2021 at 1:36 PM Radhey Shyam Pandey wrote: > > > -Original Message- > > From: Paul Thomas > > Sent: Friday, January 8, 2021 9:27 PM > > To: Radhey Shyam Pandey > > Cc: Dan Williams ; Vinod Koul > > ; Michal Simek ; Matthew Murrian > > ; Romain Perier > > ; Krzysztof

Re: EDAC driver for ARMv8 RAS extension is being worked on

2021-01-10 Thread Borislav Petkov
On Sun, Jan 10, 2021 at 08:41:49PM +0530, Manivannan Sadhasivam wrote: > I've collected the feedback on those submissions and came up with the idea of > a single "armv8_ras_edac" driver which will work for both Devicetree and ACPI "ras" and "edac" both is too much. Just call it armv8_edac or

[PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread stefanc
From: Stefan Chulski Armada hardware has a pause generation mechanism in GOP (MAC). GOP has to 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

[PATCH RFC net-next 01/19] doc: marvell: add cm3-mem device tree bindings description

2021-01-10 Thread stefanc
From: Stefan Chulski Signed-off-by: Stefan Chulski --- Documentation/devicetree/bindings/net/marvell-pp2.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/net/marvell-pp2.txt b/Documentation/devicetree/bindings/net/marvell-pp2.txt index b783976..f9f8cc6

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

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

[PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread stefanc
From: Stefan Chulski This patch adds CM3 memory map and CM3 read/write callbacks. No functionality changes. Change-Id: Ibae3f5e6695f3454f799568308d349addc730f01 Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 7 +++

[PATCH RFC net-next 04/19] net: mvpp2: add PPv23 version definition

2021-01-10 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 RFC net-next 06/19] net: mvpp2: increase BM pool size to 2048 buffers

2021-01-10 Thread stefanc
From: Stefan Chulski BM pool size increased to support Firmware Flow Control. Minimum depletion thresholds to support FC is 1024 buffers. BM pool size increased to 2048 to have some 1024 buffers space between depletion thresholds and BM pool size. Signed-off-by: Stefan Chulski ---

[PATCH RFC net-next 07/19] net: mvpp2: increase RXQ size to 1024 descriptors

2021-01-10 Thread stefanc
From: Stefan Chulski RXQ size increased to support Firmware Flow Control. Minimum depletion thresholds to support FC is 1024 buffers. Default set to 1024 descriptors and maximum size to 2048. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 4 ++-- 1 file

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

2021-01-10 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

[PATCH RFC net-next 09/19] net: mvpp2: add FCA RXQ non occupied descriptor threshold

2021-01-10 Thread stefanc
From: Stefan Chulski RXQ non occupied descriptor threshold would be used by Flow Control Firmware feature to move to the XOFF mode. RXQ non occupied threshold would change interrupt cause that polled by CM3 Firmware. Actual non occupied interrupt masked and won't trigger interrupt.

[PATCH RFC net-next 10/19] net: mvpp2: add spinlock for FW FCA configuration path

2021-01-10 Thread stefanc
From: Stefan Chulski Spinlock added to MSS shared memory configuration space. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 5 + drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 3 +++ 2 files changed, 8 insertions(+) diff --git

[PATCH RFC net-next 11/19] net: mvpp2: add flow control RXQ and BM pool config callbacks

2021-01-10 Thread stefanc
From: Stefan Chulski This patch did not change any functionality. Added flow control RXQ and BM pool config callbacks that would be used to configure RXQ and BM pool thresholds. APIs also will disable/enable RXQ and pool Flow Control polling. In this stage BM pool and RXQ has same stop/start

[PATCH RFC net-next 12/19] net: mvpp2: enable global flow control

2021-01-10 Thread stefanc
From: Stefan Chulski This patch enable global flow control in FW. Per port flow control is still disabled. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 3 +++ drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 15 ++- 2 files changed, 17

[PATCH RFC net-next 08/19] net: mvpp2: add FCA periodic timer configurations

2021-01-10 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

[PATCH RFC net-next 13/19] net: mvpp2: add RXQ flow control configurations

2021-01-10 Thread stefanc
From: Stefan Chulski This patch add RXQ flow control configurations. Patch do not enable flow control itself, flow control disabled by default. Signed-off-by: Stefan Chulski --- drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 3 +++ drivers/net/ethernet/marvell/mvpp2/mvpp2_main.c | 7

[PATCH RFC net-next 14/19] net: mvpp2: add ethtool flow control configuration support

2021-01-10 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.

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

2021-01-10 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:

[PATCH RFC net-next 16/19] net: mvpp2: add PPv23 RX FIFO flow control

2021-01-10 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 flow control with ethtool. Current FIFO thresholds is: 9KB for port with maximum speed 10Gb/s

[PATCH RFC net-next 19/19] net: mvpp2: add TX FC firmware check

2021-01-10 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 | 39 2 files changed,

[PATCH RFC net-next 18/19] net: mvpp2: add ring size validation before enabling FC

2021-01-10 Thread stefanc
From: Stefan Chulski This patch add ring size validation before enabling FC. 1. Flow control cannot be enabled if ring size is below start threshold. 2. Flow control disabled if ring size set below start threshold. Signed-off-by: Stefan Chulski ---

[PATCH RFC net-next 17/19] net: mvpp2: set 802.3x GoP Flow Control mode

2021-01-10 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

Re: [PATCH v1] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-01-10 Thread Oliver Graute
On 09/01/21, Fabio Estevam wrote: > Hi Oliver, > > On Fri, Jan 8, 2021 at 7:24 PM Oliver Graute wrote: > > > > On 19/12/20, Oliver Graute wrote: > > > Add support for the Solomon Goldentek Display Model: GKTW70SDAD1SD > > > to panel-simple. > > > > > > The panel spec from Variscite can be found

Re: [PATCH 3/3] arm64: dts: rockchip: rk3328: Add Radxa ROCK Pi E

2021-01-10 Thread Chen-Yu Tsai
Hi, On Sun, Jan 10, 2021 at 10:45 PM Johan Jonker wrote: > > Hi Chen-Yu, > > Some comments, have a look if it is useful... > > On 1/10/21 4:58 AM, Chen-Yu Tsai wrote: > > From: Chen-Yu Tsai > > > > Radxa ROCK Pi E is a router oriented SBC based on Rockchip's RK3328 SoC. > > As the official wiki

Re: [PATCH v5 09/15] lib/test_printf.c: Use helper function to unwind array of software_nodes

2021-01-10 Thread Andy Shevchenko
On Sun, Jan 10, 2021 at 1:16 PM Laurent Pinchart wrote: > On Sat, Jan 09, 2021 at 11:07:33AM +0200, Andy Shevchenko wrote: > > On Saturday, January 9, 2021, Laurent Pinchart wrote: > > > Could you please let us know if you're fine with this patch getting > > > merged in v5.12 through the

Re: [PATCH v2 2/2] mm: fix initialization of struct page for holes in memory layout

2021-01-10 Thread Mike Rapoport
On Wed, Jan 06, 2021 at 04:04:21PM -0500, Qian Cai wrote: > On Wed, 2021-01-06 at 10:05 +0200, Mike Rapoport wrote: > > I think we trigger PF_POISONED_CHECK() in PageSlab(), then fffe > > is "accessed" from VM_BUG_ON_PAGE(). > > > > It seems to me that we are not initializing struct

Re: dmaengine : xilinx_dma two issues

2021-01-10 Thread Lars-Peter Clausen
On 1/10/21 4:16 PM, Paul Thomas wrote: On Fri, Jan 8, 2021 at 1:36 PM Radhey Shyam Pandey wrote: -Original Message- From: Paul Thomas Sent: Friday, January 8, 2021 9:27 PM To: Radhey Shyam Pandey Cc: Dan Williams ; Vinod Koul ; Michal Simek ; Matthew Murrian ; Romain Perier ;

Re: [PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-10 Thread Tom Rix
On 1/7/21 8:09 AM, Tom Rix wrote: > On 1/6/21 8:37 PM, Moritz Fischer wrote: >> This is a resend of the previous (unfortunately late) patchset of >> changes for FPGA DFL. > Is there something I can do to help ? > > I am paid to look after linux-fpga, so i have plenty of time. > > Some ideas of

Re: EDAC driver for ARMv8 RAS extension is being worked on

2021-01-10 Thread Manivannan Sadhasivam
On Sun, Jan 10, 2021 at 04:29:43PM +0100, Borislav Petkov wrote: > On Sun, Jan 10, 2021 at 08:41:49PM +0530, Manivannan Sadhasivam wrote: > > I've collected the feedback on those submissions and came up with the idea > > of > > a single "armv8_ras_edac" driver which will work for both Devicetree

Re: Old platforms: bring out your dead

2021-01-10 Thread Neil Armstrong
Hi Arnd, Le 08/01/2021 à 23:55, Arnd Bergmann a écrit : > After v5.10 was officially declared an LTS kernel, I had a look around > the Arm platforms that look like they have not seen any patches from > their maintainers or users that are actually running the hardware for > at least five years

Re: [PATCH v5 09/15] lib/test_printf.c: Use helper function to unwind array of software_nodes

2021-01-10 Thread Laurent Pinchart
On Sun, Jan 10, 2021 at 05:38:03PM +0200, Andy Shevchenko wrote: > On Sun, Jan 10, 2021 at 1:16 PM Laurent Pinchart wrote: > > On Sat, Jan 09, 2021 at 11:07:33AM +0200, Andy Shevchenko wrote: > > > On Saturday, January 9, 2021, Laurent Pinchart wrote: > > > > Could you please let us know if you're

Re: Old platforms: bring out your dead

2021-01-10 Thread Arnd Bergmann
On Sun, Jan 10, 2021 at 4:51 PM Neil Armstrong wrote: > > Hi Arnd, > > Le 08/01/2021 à 23:55, Arnd Bergmann a écrit : > > After v5.10 was officially declared an LTS kernel, I had a look around > > the Arm platforms that look like they have not seen any patches from > > their maintainers or users

[PATCH] arm64: dts: rockchip: more user friendly name of sound nodes

2021-01-10 Thread Katsuhiro Suzuki
This patch changes device name to more user friendly name of Analog and SPDIF sound nodes for rk3399-rockpro64. Signed-off-by: Katsuhiro Suzuki --- arch/arm64/boot/dts/rockchip/rk3399-rockpro64.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v8 2/3] ARM: dts: Add support for i.MX6 UltraLite DART Variscite Customboard

2021-01-10 Thread Oliver Graute
On 09/01/21, Fabio Estevam wrote: > On Fri, Jan 8, 2021 at 7:23 PM Oliver Graute wrote: > > > + panel1: panel-lcd { > > + compatible = "sgd,gktw70sdad1sd"; > > + > > + backlight = <_lcd>; > > + power-supply = <_touch_3v3>; > > + label

Re: [PATCH v3 3/3] dt-bindings: arm: fsl: Add Variscite i.MX6UL compatibles

2021-01-10 Thread Oliver Graute
On 09/01/21, Fabio Estevam wrote: > On Fri, Jan 8, 2021 at 7:23 PM Oliver Graute wrote: > > > diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml > > b/Documentation/devicetree/bindings/arm/fsl.yaml > > index 05906e2..5f74d78 100644 > > ---

Re: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2021-01-10 Thread Bean Huo
On Sat, 2021-01-09 at 12:51 +0800, Can Guo wrote: > On 2021-01-09 12:45, Can Guo wrote: > > On 2021-01-08 19:29, Bean Huo wrote: > > > On Wed, 2021-01-06 at 09:20 +0800, Can Guo wrote: > > > > Hi Bean, > > > > > > > > On 2021-01-06 02:38, Bean Huo wrote: > > > > > On Tue, 2021-01-05 at 09:07

[PATCH] docs: filesystems: vfs: Correct the struct name

2021-01-10 Thread winndows
From: Liao Pingfang The struct name should be file_system_type instead of file_system_operations. Signed-off-by: Liao Pingfang --- Documentation/filesystems/vfs.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/vfs.rst

Re: [PATCH 2/2] scsi: ufs: Protect PM ops and err_handler from user access through sysfs

2021-01-10 Thread Bean Huo
On Sat, 2021-01-02 at 05:59 -0800, Can Guo wrote: > + * @shutting_down: flag to check if shutdown has been invoked > + * @host_sem: semaphore used to serialize concurrent contexts > * @eh_wq: Workqueue that eh_work works on > * @eh_work: Worker to handle UFS errors that require s/w attention >

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Al Viro
On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > Hi > > I announce a new version of NVFS - a filesystem for persistent memory. > http://people.redhat.com/~mpatocka/nvfs/ Utilities, AFAICS > git://leontynka.twibright.com/nvfs.git Seems to hang on git pull at the

Re: [PATCH v1] drm/panel: simple: add SGD GKTW70SDAD1SD

2021-01-10 Thread Fabio Estevam
Hi Oliver, On Sun, Jan 10, 2021 at 12:35 PM Oliver Graute wrote: > the first two errors are gone. But I still get this: > > [ 42.387107] mxsfb 21c8000.lcdif: Cannot connect bridge: -517 > > The panel is still off perhaps I miss something else. Some suggestions: - Take a look at

Re: [PATCH 4/4] Input: omap4-keypad - simplify probe with devm

2021-01-10 Thread Tony Lindgren
* Dmitry Torokhov [210110 06:31]: > I do not quite like that we need to keep this in remove(). I had the > patch below for quite some time, could you please try it? Yes seems to work nice :) > Input: omap4-keypad - switch to use managed resources > > From: Dmitry Torokhov > > Now that input

Re: Old platforms: bring out your dead

2021-01-10 Thread Andrew Lunn
> For this platform, I'm most interested in whether there are still users > that rely on board files instead of DT. AFAIU we could just fold > the DT variant into arch-mvebu like kirkwood was, right? Hi Arnd I'm actually booting my device using a board file. But Debian flash-kernel is pretty

Re: [PATCH 3/4] Input: omap4-keypad - use PM runtime to check keys for errata

2021-01-10 Thread Tony Lindgren
* Dmitry Torokhov [210110 06:34]: > Hi Tony, > > On Wed, Jan 06, 2021 at 02:58:21PM +0200, Tony Lindgren wrote: > > @@ -301,6 +348,7 @@ static int omap4_keypad_probe(struct platform_device > > *pdev) > > } > > > > keypad_data->irq = irq; > > + mutex_init(_data->lock); > > > >

Re: [RFC v2] nvfs: a filesystem for persistent memory

2021-01-10 Thread Al Viro
On Sun, Jan 10, 2021 at 04:20:08PM +, Al Viro wrote: > On Thu, Jan 07, 2021 at 08:15:41AM -0500, Mikulas Patocka wrote: > > Hi > > > > I announce a new version of NVFS - a filesystem for persistent memory. > > http://people.redhat.com/~mpatocka/nvfs/ > Utilities, AFAICS > > >

[PATCH v2] arm64: dts: imx8mq: Add clock parents for mipi dphy

2021-01-10 Thread Guido Günther
This makes sure the clock tree setup for the dphy is not dependent on other components. Without this change bringing up the display can fail like kernel: phy phy-30a00300.dphy.2: Invalid CM/CN/CO values: 165/217/1 kernel: phy phy-30a00300.dphy.2: for hs_clk/ref_clk=451656000/59398 ~

Re: [PATCH 1/2] clk: imx: enable the earlycon uart clocks by parsing from dt

2021-01-10 Thread Adam Ford
On Mon, Jan 4, 2021 at 1:12 AM Sascha Hauer wrote: > > Hi Adam, > > On Tue, Dec 29, 2020 at 08:51:28AM -0600, Adam Ford wrote: > > Remove the earlycon uart clocks that are hard cord in platforms > > clock driver, instead of parsing the earlycon uart port from dt > > "instead parse the earlycon

Re: [PATCH] arm64: dts: imx8mq: Add clock parents for mipi dphy

2021-01-10 Thread Guido Günther
Hi, On Sun, Jan 10, 2021 at 08:46:29PM +0800, Shawn Guo wrote: > On Fri, Dec 18, 2020 at 06:50:05PM +0100, Guido Günther wrote: > > This makes sure the clock tree setup for the dphy is not dependent on > > other components. > > > > Without this change bringing up the display can fail like > > >

Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Andrew Lunn
> +static int mvpp2_get_sram(struct platform_device *pdev, > + struct mvpp2 *priv) > +{ > + struct device_node *dn = pdev->dev.of_node; > + struct resource *res; > + > + if (has_acpi_companion(>dev)) { > + res = platform_get_resource(pdev,

Re: [PATCH 0/8] FPGA DFL Changes for 5.12

2021-01-10 Thread Moritz Fischer
Tom, On Sun, Jan 10, 2021 at 07:46:29AM -0800, Tom Rix wrote: > > On 1/7/21 8:09 AM, Tom Rix wrote: > > On 1/6/21 8:37 PM, Moritz Fischer wrote: > >> This is a resend of the previous (unfortunately late) patchset of > >> changes for FPGA DFL. > > Is there something I can do to help ? > > > > I

RE: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Stefan Chulski
> -Original Message- > From: Andrew Lunn > Sent: Sunday, January 10, 2021 7:05 PM > To: Stefan Chulski > Cc: net...@vger.kernel.org; thomas.petazz...@bootlin.com; > da...@davemloft.net; Nadav Haklai ; Yan Markman > ; linux-kernel@vger.kernel.org; k...@kernel.org; >

Re: [PATCH RFC net-next 06/19] net: mvpp2: increase BM pool size to 2048 buffers

2021-01-10 Thread Andrew Lunn
On Sun, Jan 10, 2021 at 05:30:10PM +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > BM pool size increased to support Firmware Flow Control. > Minimum depletion thresholds to support FC is 1024 buffers. > BM pool size increased to 2048 to have some 1024 buffers > space between

Re: linux-next: Fixes tag needs some work in the nfs tree

2021-01-10 Thread Trond Myklebust
Hi Stephen, On Sun, 2021-01-10 at 13:14 +1100, Stephen Rothwell wrote: > Hi all, > > In commit > >   2cc8aca9d547 ("NFS: Adjust fs_context error logging") > > Fixes tag > >   Fixes: Fixes: ce8866f0913f ("NFS: Attach supplementary error > information to fs_context.") > > has these problem(s):

Re: [PATCH] mm: Fix potential pte_unmap_unlock pte error

2021-01-10 Thread Andi Kleen
On Sat, Jan 09, 2021 at 03:01:18AM -0500, Miaohe Lin wrote: > Since commit 42e4089c7890 ("x86/speculation/l1tf: Disallow non privileged > high MMIO PROT_NONE mappings"), when the first pfn modify is not allowed, > we would break the loop with pte unchanged. Then the wrong pte - 1 would > be passed

Re: [PATCH v2 06/34] dt-bindings: Add bindings for Keem Bay VPU IPC driver

2021-01-10 Thread Rob Herring
On Fri, 08 Jan 2021 13:25:32 -0800, mgr...@linux.intel.com wrote: > From: Paul Murphy > > Add DT bindings documentation for the Keem Bay VPU IPC driver. > > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Reviewed-by: Mark Gross > Signed-off-by: Paul Murphy > Co-developed-by: Daniele

Re: [PATCH 2/2] dt-bindings: pinctrl: Add bindings for Awinic AW9523/AW9523B

2021-01-10 Thread Rob Herring
On Sat, 09 Jan 2021 15:02:04 +0100, AngeloGioacchino Del Regno wrote: > Add bindings for the Awinic AW9523/AW9523B I2C GPIO Expander driver. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../pinctrl/awinic,aw9523-pinctrl.yaml| 111 ++ > 1 file changed, 111

Re: [PATCH v2 08/15] dt-bindings: avs: cpr: Convert binding to YAML schema

2021-01-10 Thread Rob Herring
On Sat, 09 Jan 2021 19:03:52 +0100, AngeloGioacchino Del Regno wrote: > Convert the qcom,cpr.txt document to YAML schema and place it in the > appropriate directory, since this driver was moved from power/avs > to soc/qcom, but forgets to move the documentation. > > Fixes: a7305e684fcf ("PM: AVS:

Re: [PATCH 4/7] dt-bindings: regulator: qcom-labibb: Document soft start properties

2021-01-10 Thread Rob Herring
On Sat, 09 Jan 2021 14:29:18 +0100, AngeloGioacchino Del Regno wrote: > Document properties to configure soft start and discharge resistor > for LAB and IBB respectively. > > Signed-off-by: AngeloGioacchino Del Regno > > --- > .../bindings/regulator/qcom-labibb-regulator.yaml | 8

Re: [PATCH v2 19/34] xlink-core: Add xlink core device tree bindings

2021-01-10 Thread Rob Herring
On Fri, 08 Jan 2021 13:25:45 -0800, mgr...@linux.intel.com wrote: > From: Seamus Kelly > > Add device tree bindings for keembay-xlink. > > Cc: Rob Herring > Cc: devicet...@vger.kernel.org > Reviewed-by: Mark Gross > Signed-off-by: Seamus Kelly > Signed-off-by: Ryan Carnaghi > --- >

Re: [PATCH v2 15/15] dt-bindings: cpufreq: qcom-hw: Add bindings for 8998

2021-01-10 Thread Rob Herring
On Sat, 09 Jan 2021 19:03:59 +0100, AngeloGioacchino Del Regno wrote: > The OSM programming addition has been done under the > qcom,cpufreq-hw-8998 compatible name: specify the requirement > of two additional register spaces for this functionality. > This implementation, with the same compatible,

Re: [PATCH v2 17/34] xlink-ipc: Add xlink ipc device tree bindings

2021-01-10 Thread Rob Herring
On Fri, 08 Jan 2021 13:25:43 -0800, mgr...@linux.intel.com wrote: > From: Seamus Kelly > > Add device tree bindings for the xLink IPC driver which enables xLink to > control and communicate with the VPU IP present on the Intel Keem Bay > SoC. > > Cc: Rob Herring > Cc:

Re: [PATCH 1/2] dt-bindings: arm: Convert nuvoton,npcm750 binding to YAML

2021-01-10 Thread Rob Herring
On Fri, 08 Jan 2021 23:40:06 +0100, Jonathan Neuschäfer wrote: > The general trend is to have devicetree bindings in YAML format, to > allow automatic validation of bindings and devicetrees. > > Convert the NPCM SoC family's binding to YAML before it accumulates more > entries. > > The

[PATCH] arm/kasan: kasan_alloc a more precise size for pte

2021-01-10 Thread Hailong Liu
From: Hailong Liu The *PTE_HWTABLE_OFF + PTE_HWTABLE_SIZE* may be a more accurate and meaningful size for PTE tables than *PAGE_SIZE* when populating the PMD entries for arm. Signed-off-by: Hailong Liu --- arch/arm/mm/kasan_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: depmod fixes for linux-stable releases

2021-01-10 Thread Sedat Dilek
On Sun, Jan 10, 2021 at 11:19 AM Sasha Levin wrote: > > On Sat, Jan 09, 2021 at 05:23:22PM -0800, Linus Torvalds wrote: > >Ack, I think 436e980e2ed5 ("kbuild: don't hardcode depmod path") is > >stable material even if it doesn't fix a bug. > > > >Not only does the fix for that commit not make

RE: [PATCH v8 03/20] dlb: add resource and device initialization

2021-01-10 Thread Chen, Mike Ximing
> -Original Message- > From: Greg KH > Sent: Thursday, January 7, 2021 2:40 PM > To: Chen, Mike Ximing > Cc: linux-kernel@vger.kernel.org; a...@arndb.de; Williams, Dan J > ; pierre-louis.boss...@linux.intel.com; Gage Eads > > Subject: Re: [PATCH v8 03/20] dlb: add resource and device

Re: Old platforms: bring out your dead

2021-01-10 Thread Arnd Bergmann
On Sun, Jan 10, 2021 at 5:48 PM Andrew Lunn wrote: > > > For this platform, I'm most interested in whether there are still users > > that rely on board files instead of DT. AFAIU we could just fold > > the DT variant into arch-mvebu like kirkwood was, right? > > Hi Arnd > > I'm actually booting

RE: [EXT] Re: [PATCH RFC net-next 06/19] net: mvpp2: increase BM pool size to 2048 buffers

2021-01-10 Thread Stefan Chulski
> External Email > > -- > On Sun, Jan 10, 2021 at 05:30:10PM +0200, stef...@marvell.com wrote: > > From: Stefan Chulski > > > > BM pool size increased to support Firmware Flow Control. > > Minimum depletion thresholds to support

Re: [PATCH RFC net-next 14/19] net: mvpp2: add ethtool flow control configuration support

2021-01-10 Thread Andrew Lunn
> @@ -5373,6 +5402,30 @@ static int mvpp2_ethtool_set_pause_param(struct > net_device *dev, >struct ethtool_pauseparam *pause) > { > struct mvpp2_port *port = netdev_priv(dev); > + int i; > + > + if (pause->tx_pause &&

Re: Old platforms: bring out your dead

2021-01-10 Thread John Paul Adrian Glaubitz
Hi Arnd! (Please let's have this cross-posted for more visibility. I only learned about this while reading Phoronix news) > I also looked at non-ARM platforms while preparing for my article. Some of > these look like they are no longer actively maintained or used, but I'm not > doing anything

Re: [PATCH RFC net-next 18/19] net: mvpp2: add ring size validation before enabling FC

2021-01-10 Thread Andrew Lunn
On Sun, Jan 10, 2021 at 05:30:22PM +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > This patch add ring size validation before enabling FC. > 1. Flow control cannot be enabled if ring size is below start > threshold. > 2. Flow control disabled if ring size set below start >

[RFC PATCH v2 2/8] Add a reference to ucounts for each user

2021-01-10 Thread Alexey Gladkov
Before this, only the owner of the user namespace had an entry in ucounts. This entry addressed the user in the given user namespace. Now we create such an entry in ucounts for all users in the user namespace. Each user has only one entry for each user namespace. This commit is in preparation

[RFC PATCH v2 0/8] Count rlimits in each user namespace

2021-01-10 Thread Alexey Gladkov
Preface --- These patches are for binding the rlimit counters to a user in user namespace. This patch set can be applied on top of: git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git v5.11-rc2 Problem --- Some rlimits are set per user: RLIMIT_NPROC, RLIMIT_MEMLOCK,

[RFC PATCH v2 5/8] Move RLIMIT_MSGQUEUE counter to ucounts

2021-01-10 Thread Alexey Gladkov
Signed-off-by: Alexey Gladkov --- include/linux/sched/user.h | 4 include/linux/user_namespace.h | 8 ipc/mqueue.c | 29 +++-- kernel/fork.c | 1 + kernel/ucount.c| 1 + kernel/user_namespace.c

[RFC PATCH v2 6/8] Move RLIMIT_SIGPENDING counter to ucounts

2021-01-10 Thread Alexey Gladkov
Signed-off-by: Alexey Gladkov --- fs/proc/array.c| 2 +- include/linux/sched/user.h | 1 - include/linux/signal_types.h | 4 ++- include/linux/user_namespace.h | 1 + kernel/fork.c | 1 + kernel/signal.c| 53

Re: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Andrew Lunn
> > Should there be -EPROBE_DEFER handling in here somewhere? The SRAM is a > > device, so it might not of been probed yet? > > No, firmware probed during bootloader boot and we can use SRAM. SRAM > memory can be safely used. A previous patch added: + CP11X_LABEL(cm3_sram):

[RFC PATCH v2 7/8] Move RLIMIT_MEMLOCK counter to ucounts

2021-01-10 Thread Alexey Gladkov
Signed-off-by: Alexey Gladkov --- fs/hugetlbfs/inode.c | 17 - include/linux/hugetlb.h| 3 +-- include/linux/mm.h | 4 ++-- include/linux/shmem_fs.h | 2 +- include/linux/user_namespace.h | 1 + ipc/shm.c | 31

[RFC PATCH v2 1/8] Use atomic type for ucounts reference counting

2021-01-10 Thread Alexey Gladkov
Signed-off-by: Alexey Gladkov --- include/linux/user_namespace.h | 2 +- kernel/ucount.c| 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/linux/user_namespace.h b/include/linux/user_namespace.h index 64cf8ebdc4ec..84fefa9247c4 100644 ---

[RFC PATCH v2 4/8] Move RLIMIT_NPROC counter to ucounts

2021-01-10 Thread Alexey Gladkov
RLIMIT_NPROC is implemented on top of ucounts. The process counter is tied to the user in the user namespace. Therefore, there is no longer one single counter for the user. Instead, there is now one counter for each user namespace. Thus, getting the RLIMIT_NPROC counter value to check the rlimit

[RFC PATCH v2 3/8] Increase size of ucounts to atomic_long_t

2021-01-10 Thread Alexey Gladkov
This commit is preparation for migrating rlimits counters to ucounts. Signed-off-by: Alexey Gladkov --- include/linux/user_namespace.h | 4 ++-- kernel/ucount.c| 14 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/linux/user_namespace.h

[RFC PATCH v2 8/8] Move RLIMIT_NPROC check to the place where we increment the counter

2021-01-10 Thread Alexey Gladkov
After calling set_user(), we always have to call commit_creds() to apply new credentials upon the current task. There is no need to separate limit check and counter incrementing. Signed-off-by: Alexey Gladkov --- kernel/cred.c | 22 +- kernel/sys.c | 13 - 2

RE: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Stefan Chulski
> > > > Should there be -EPROBE_DEFER handling in here somewhere? The SRAM > > > is a device, so it might not of been probed yet? > > > > > No, firmware probed during bootloader boot and we can use SRAM. SRAM > > memory can be safely used. > > A previous patch added: > > +

Linux Kernel module notification bug

2021-01-10 Thread Adam Zabrocki
Hello, I believe that the following commit does introduce a gentle "functionality bug": "module: delay kobject uevent until after module init call": https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/kernel/module.c?id=38dc717e97153e46375ee21797aa54777e5498f3 The official

[PATCH v4] driver core: Fix device link device name collision

2021-01-10 Thread Saravana Kannan
The device link device's name was of the form: -- This can cause name collision as reported here [1] as device names are not globally unique. Since device names have to be unique within the bus/class, add the bus/class name as a prefix to the device names used to construct the device link device

Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 05:30:07PM +0200, stef...@marvell.com wrote: > + } else { > + priv->sram_pool = of_gen_pool_get(dn, "cm3-mem", 0); > + if (!priv->sram_pool) { > + dev_warn(>dev, "DT is too old, TX FC disabled\n"); I don't see anything in

RE: [EXT] Re: [PATCH RFC net-next 14/19] net: mvpp2: add ethtool flow control configuration support

2021-01-10 Thread Stefan Chulski
> > @@ -5373,6 +5402,30 @@ static int > mvpp2_ethtool_set_pause_param(struct net_device *dev, > > struct ethtool_pauseparam *pause) { > > struct mvpp2_port *port = netdev_priv(dev); > > + int i; > > + > > + if (pause->tx_pause &&

RE: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Stefan Chulski
> > + } else { > > + priv->sram_pool = of_gen_pool_get(dn, "cm3-mem", 0); > > + if (!priv->sram_pool) { > > + dev_warn(>dev, "DT is too old, TX FC > disabled\n"); > > I don't see anything in this patch that disables TX flow control, which means > this

Re: [PATCH 4/7] dt-bindings: regulator: qcom-labibb: Document soft start properties

2021-01-10 Thread AngeloGioacchino Del Regno
Il 10/01/21 18:18, Rob Herring ha scritto: On Sat, 09 Jan 2021 14:29:18 +0100, AngeloGioacchino Del Regno wrote: Document properties to configure soft start and discharge resistor for LAB and IBB respectively. Signed-off-by: AngeloGioacchino Del Regno ---

Re: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Andrew Lunn
On Sun, Jan 10, 2021 at 05:57:14PM +, Stefan Chulski wrote: > > > + } else { > > > + priv->sram_pool = of_gen_pool_get(dn, "cm3-mem", 0); > > > + if (!priv->sram_pool) { > > > + dev_warn(>dev, "DT is too old, TX FC > > disabled\n"); > > > > I don't see anything

Re: [PATCH RFC net-next 11/19] net: mvpp2: add flow control RXQ and BM pool config callbacks

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 05:30:15PM +0200, stef...@marvell.com wrote: > From: Stefan Chulski > > This patch did not change any functionality. > Added flow control RXQ and BM pool config callbacks that would be > used to configure RXQ and BM pool thresholds. > APIs also will disable/enable RXQ and

Re: [PATCH RFC net-next 12/19] net: mvpp2: enable global flow control

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 05:30:16PM +0200, stef...@marvell.com wrote: > + /* Enable global Flow Control only if hanler to SRAM not NULL */ I think this comment needs fixing. I'm not sure what a "hanler" is, and "handler" doesn't make sense here. -- RMK's Patch system:

RE: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Stefan Chulski
> > > > + } else { > > > > + priv->sram_pool = of_gen_pool_get(dn, "cm3-mem", 0); > > > > + if (!priv->sram_pool) { > > > > + dev_warn(>dev, "DT is too old, TX FC > > > disabled\n"); > > > > > > I don't see anything in this patch that

Re: Old platforms: bring out your dead

2021-01-10 Thread Fabian Vogt
Hi, Am Samstag, 9. Januar 2021, 23:20:48 CET schrieb Arnd Bergmann: > On Sat, Jan 9, 2021 at 1:06 AM Daniel Tang wrote: > > > > Hi Arnd, > > > > On 9 Jan 2021, at 9:55 am, Arnd Bergmann wrote: > > > > * nspire -- added in 2013, no notable changes after 2015 Most of the platform is just the DT

Re: [PATCH RFC net-next 14/19] net: mvpp2: add ethtool flow control configuration support

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 05:30:18PM +0200, stef...@marvell.com wrote: > @@ -5373,6 +5402,30 @@ static int mvpp2_ethtool_set_pause_param(struct > net_device *dev, >struct ethtool_pauseparam *pause) > { > struct mvpp2_port *port = netdev_priv(dev); > +

Re: [PATCH RFC net-next 00/19] net: mvpp2: Add TX Flow Control support

2021-01-10 Thread Russell King - ARM Linux admin
Hi, On Sun, Jan 10, 2021 at 05:30:04PM +0200, stef...@marvell.com wrote: > Armada hardware has a pause generation mechanism in GOP (MAC). > GOP has to generate flow control frames based on an indication > programmed in Ports Control 0 Register. There is a bit per port. > However assertion of the

RE: [EXT] Re: [PATCH RFC net-next 11/19] net: mvpp2: add flow control RXQ and BM pool config callbacks

2021-01-10 Thread Stefan Chulski
> > > > +/* Routine calculate single queue shares address space */ static int > > +mvpp22_calc_shared_addr_space(struct mvpp2_port *port) { > > + /* If number of CPU's greater than number of threads, return last > > +* address space > > +*/ > > + if (num_active_cpus() >=

Re: [EXT] Re: [PATCH RFC net-next 03/19] net: mvpp2: add CM3 SRAM memory map

2021-01-10 Thread Russell King - ARM Linux admin
On Sun, Jan 10, 2021 at 06:09:39PM +, Stefan Chulski wrote: > > > > > + } else { > > > > > + priv->sram_pool = of_gen_pool_get(dn, "cm3-mem", 0); > > > > > + if (!priv->sram_pool) { > > > > > + dev_warn(>dev, "DT is too old, TX FC > > > >

<    1   2   3   4   5   6   >