[PATCH 02/12] ARM: dts: sunxi: h3/h5: Fix i2c2 register address

2017-09-21 Thread Corentin Labbe
The unit address and register address does not match. This patch fix the register address with the good one. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 02/12] ARM: dts: sunxi: h3/h5: Fix i2c2 register address

2017-09-21 Thread Corentin Labbe
The unit address and register address does not match. This patch fix the register address with the good one. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi

[PATCH 05/12] ARM: dts: orangepi2: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 05/12] ARM: dts: orangepi2: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-2.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 06/12] ARM: dts: sun8i: orangepi-lite: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 03/12] ARM: dts: sunxi: h3/h5: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 06/12] ARM: dts: sun8i: orangepi-lite: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-lite.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 03/12] ARM: dts: sunxi: h3/h5: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sunxi-h3-h5.dtsi | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/sunxi-h3-h5.dtsi

[PATCH 07/12] ARM: dts: sun8i: orangepi one: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 07/12] ARM: dts: sun8i: orangepi one: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 08/12] ARM: dts: sun8i: orangepipc: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 08/12] ARM: dts: sun8i: orangepipc: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 11/12] arm64: allwinner: a64: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 09/12] ARM: dts: sun8i: orangepi-plus: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 11/12] arm64: allwinner: a64: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 09/12] ARM: dts: sun8i: orangepi-plus: Fix node with unit name and no reg property

2017-09-21 Thread Corentin Labbe
This patch fix the warning "xxx has a unit name, but no reg property" by removing "@0" from such node. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts

[PATCH 10/12] arm64: allwinner: a64: Fix simple-bus unit address format error

2017-09-21 Thread Corentin Labbe
This patch remove leading 0 of unit address and so remove lots of warning when building DT with W=1. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff

[PATCH 10/12] arm64: allwinner: a64: Fix simple-bus unit address format error

2017-09-21 Thread Corentin Labbe
This patch remove leading 0 of unit address and so remove lots of warning when building DT with W=1. Signed-off-by: Corentin Labbe --- arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[PATCH 12/12] ARM: sun8i: a83t: Fix simple-bus unit address format error

2017-09-21 Thread Corentin Labbe
This patch remove leading 0 of unit address and so remove lots of warning when building DT with W=1. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 12/12] ARM: sun8i: a83t: Fix simple-bus unit address format error

2017-09-21 Thread Corentin Labbe
This patch remove leading 0 of unit address and so remove lots of warning when building DT with W=1. Signed-off-by: Corentin Labbe --- arch/arm/boot/dts/sun8i-a83t.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a83t.dtsi

Re: [PATCH] debugfs: Add check for module parameter name

2017-09-21 Thread Al Viro
On Thu, Sep 21, 2017 at 10:17:46PM +0530, arvind wrote: > Hi, > > On Thursday 21 September 2017 06:14 PM, Al Viro wrote: > > On Thu, Sep 21, 2017 at 05:46:54PM +0530, Arvind Yadav wrote: > > > Here, start_creating() is calling by debugfs_create_dir() > > > and debugfs_create_automount(). driver

Re: [PATCH] debugfs: Add check for module parameter name

2017-09-21 Thread Al Viro
On Thu, Sep 21, 2017 at 10:17:46PM +0530, arvind wrote: > Hi, > > On Thursday 21 September 2017 06:14 PM, Al Viro wrote: > > On Thu, Sep 21, 2017 at 05:46:54PM +0530, Arvind Yadav wrote: > > > Here, start_creating() is calling by debugfs_create_dir() > > > and debugfs_create_automount(). driver

[PATCH 00/12] ARM: dts: sunxi: Fix DT build warnings

2017-09-21 Thread Corentin Labbe
Hello The goal of this patch series is to have a clean DT build with W=1. Regards Corentin Labbe (12): ARM: dts: sunxi: h3/h5: Fix simple-bus unit address format error ARM: dts: sunxi: h3/h5: Fix i2c2 register address ARM: dts: sunxi: h3/h5: Fix node with unit name and no reg property

[PATCH 00/12] ARM: dts: sunxi: Fix DT build warnings

2017-09-21 Thread Corentin Labbe
Hello The goal of this patch series is to have a clean DT build with W=1. Regards Corentin Labbe (12): ARM: dts: sunxi: h3/h5: Fix simple-bus unit address format error ARM: dts: sunxi: h3/h5: Fix i2c2 register address ARM: dts: sunxi: h3/h5: Fix node with unit name and no reg property

Re: Rough notes from sys_membarrier() lightning BoF

2017-09-21 Thread James Bottomley
On Thu, 2017-09-21 at 15:09 +0200, Peter Zijlstra wrote: > On Wed, Sep 20, 2017 at 06:13:50PM +, Mathieu Desnoyers wrote: > > > > > > > > > Also, can you elaborate on the PPC issue?  PPC appears to track > > > mm_cpumask more or less just like x86.  Is the issue just that > > > this > > >

Re: Rough notes from sys_membarrier() lightning BoF

2017-09-21 Thread James Bottomley
On Thu, 2017-09-21 at 15:09 +0200, Peter Zijlstra wrote: > On Wed, Sep 20, 2017 at 06:13:50PM +, Mathieu Desnoyers wrote: > > > > > > > > > Also, can you elaborate on the PPC issue?  PPC appears to track > > > mm_cpumask more or less just like x86.  Is the issue just that > > > this > > >

[PATCH 44/64] drivers: net: pxa168: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/marvell/pxa168_eth.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 44/64] drivers: net: pxa168: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/marvell/pxa168_eth.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/marvell/pxa168_eth.c

[PATCH 45/64] drivers: net: fealnx: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/fealnx.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/fealnx.c

[PATCH 45/64] drivers: net: fealnx: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/fealnx.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/fealnx.c b/drivers/net/ethernet/fealnx.c

[PATCH 47/64] drivers: net: bnxt: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 47/64] drivers: net: bnxt: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt.c

[PATCH] tracing: Have stack tracer call rcu_nmi_enter() only when RCU is not watching

2017-09-21 Thread Steven Rostedt
Testing some other code, this RCU splat triggered: = WARNING: suspicious RCU usage 4.13.0-rc7-test+ #117 Tainted: GW - arch/x86/kernel/traps.c:305 entry code didn't wake RCU! other info that might help us debug this: RCU

[PATCH] tracing: Have stack tracer call rcu_nmi_enter() only when RCU is not watching

2017-09-21 Thread Steven Rostedt
Testing some other code, this RCU splat triggered: = WARNING: suspicious RCU usage 4.13.0-rc7-test+ #117 Tainted: GW - arch/x86/kernel/traps.c:305 entry code didn't wake RCU! other info that might help us debug this: RCU

[PATCH 48/64] drivers: net: amd: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/amd/a2065.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/amd/a2065.c

[PATCH 48/64] drivers: net: amd: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/amd/a2065.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/amd/a2065.c

[PATCH 1/2] hwmon: xgene: Support hwmon v2

2017-09-21 Thread Hoan Tran
This patch supports xgene-hwmon v2 which uses the non-cachable memory as the PCC shared memory. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c index

[PATCH 1/2] hwmon: xgene: Support hwmon v2

2017-09-21 Thread Hoan Tran
This patch supports xgene-hwmon v2 which uses the non-cachable memory as the PCC shared memory. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c index 9c0dbb8..5cd327e 100644

[PATCH 2/2] hwmon: xgene: Support PCC shared memory in IO region

2017-09-21 Thread Hoan Tran
As the PCC shared memory could be in IO region which doesn't support caching, this patch simply uses ioremap() for IO region. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git

[PATCH 2/2] hwmon: xgene: Support PCC shared memory in IO region

2017-09-21 Thread Hoan Tran
As the PCC shared memory could be in IO region which doesn't support caching, this patch simply uses ioremap() for IO region. Signed-off-by: Hoan Tran --- drivers/hwmon/xgene-hwmon.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/hwmon/xgene-hwmon.c

[PATCH 0/2] hwmon: xgene: Support hwmon v2

2017-09-21 Thread Hoan Tran
This patch supports xgene-hwmon v2 which uses the non-cachable memory as the PCC shared memory. Hoan Tran (2): hwmon: xgene: Support hwmon v2 hwmon: xgene: Support PCC shared memory in IO region drivers/hwmon/xgene-hwmon.c | 15 --- 1 file changed, 12 insertions(+), 3

[PATCH 0/2] hwmon: xgene: Support hwmon v2

2017-09-21 Thread Hoan Tran
This patch supports xgene-hwmon v2 which uses the non-cachable memory as the PCC shared memory. Hoan Tran (2): hwmon: xgene: Support hwmon v2 hwmon: xgene: Support PCC shared memory in IO region drivers/hwmon/xgene-hwmon.c | 15 --- 1 file changed, 12 insertions(+), 3

Re: [PATCH v2] dmaengine: sun6i: use of_device_get_match_data

2017-09-21 Thread Vinod Koul
On Wed, Sep 20, 2017 at 09:24:02AM +0200, Corentin Labbe wrote: > The usage of of_device_get_match_data reduce the code size a bit. > Furthermore, it prevents an improbable dereference when > of_match_device() return NULL. Applied, thanks -- ~Vinod

Re: [PATCH v2] dmaengine: sun6i: use of_device_get_match_data

2017-09-21 Thread Vinod Koul
On Wed, Sep 20, 2017 at 09:24:02AM +0200, Corentin Labbe wrote: > The usage of of_device_get_match_data reduce the code size a bit. > Furthermore, it prevents an improbable dereference when > of_match_device() return NULL. Applied, thanks -- ~Vinod

Re: [PATCH 3/5] dmaengine: Support for querying maximum trasnfer length (of an SG element)

2017-09-21 Thread Vinod Koul
On Tue, Sep 12, 2017 at 01:44:22PM +0300, Peter Ujfalusi wrote: > Certain DMA engines have limitation on the maximum size of a transfer they > can support. This size limitation is per SG element or for period length in > cyclic transfers. > In TI's eDMA and sDMA this limitation is not really a

Re: [PATCH 3/5] dmaengine: Support for querying maximum trasnfer length (of an SG element)

2017-09-21 Thread Vinod Koul
On Tue, Sep 12, 2017 at 01:44:22PM +0300, Peter Ujfalusi wrote: > Certain DMA engines have limitation on the maximum size of a transfer they > can support. This size limitation is per SG element or for period length in > cyclic transfers. > In TI's eDMA and sDMA this limitation is not really a

Re: [PATCH] tracing: Have stack tracer call rcu_nmi_enter() only when RCU is not watching

2017-09-21 Thread Steven Rostedt
On Thu, 21 Sep 2017 10:16:36 -0700 "Paul E. McKenney" wrote: > On Thu, Sep 21, 2017 at 01:10:38PM -0400, Steven Rostedt wrote: > > Suggested-by: "Paul E. McKenney" > > Signed-off-by: Steven Rostedt (VMware) > >

Re: [PATCH] tracing: Have stack tracer call rcu_nmi_enter() only when RCU is not watching

2017-09-21 Thread Steven Rostedt
On Thu, 21 Sep 2017 10:16:36 -0700 "Paul E. McKenney" wrote: > On Thu, Sep 21, 2017 at 01:10:38PM -0400, Steven Rostedt wrote: > > Suggested-by: "Paul E. McKenney" > > Signed-off-by: Steven Rostedt (VMware) > > Looks good! > > Acked-by: "Paul E. McKenney" Thanks! -- Steve

[PATCH 2/7] ARM64: dts: meson-gx: remove gpio offset

2017-09-21 Thread Jerome Brunet
Remove pin offset on the EE controller. Meson pinctrl no longer has this quirk Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 2/7] ARM64: dts: meson-gx: remove gpio offset

2017-09-21 Thread Jerome Brunet
Remove pin offset on the EE controller. Meson pinctrl no longer has this quirk Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v2] dmaengine: edma: Align the memcpy acnt array size with the transfer

2017-09-21 Thread Vinod Koul
On Mon, Sep 18, 2017 at 11:16:26AM +0300, Peter Ujfalusi wrote: > Memory to Memory transfers does not have any special alignment needs > regarding to acnt array size, but if one of the areas are in memory mapped > regions (like PCIe memory), we need to make sure that the acnt array size > is

Re: [PATCH v2] dmaengine: edma: Align the memcpy acnt array size with the transfer

2017-09-21 Thread Vinod Koul
On Mon, Sep 18, 2017 at 11:16:26AM +0300, Peter Ujfalusi wrote: > Memory to Memory transfers does not have any special alignment needs > regarding to acnt array size, but if one of the areas are in memory mapped > regions (like PCIe memory), we need to make sure that the acnt array size > is

Re: [PATCH v2] vfs: introduce UMOUNT_WAIT which waits for umount completion

2017-09-21 Thread Jaegeuk Kim
On 09/21, Theodore Ts'o wrote: > On Wed, Sep 20, 2017 at 10:02:37PM -0700, Jaegeuk Kim wrote: > > > > Yes, and actually, android retries umount(2) for several seconds, if it gets > > failure. So, first I thought it'd be better to make umount() more > > deterministic. > > > > I'm not sure how

Re: [PATCH v2] vfs: introduce UMOUNT_WAIT which waits for umount completion

2017-09-21 Thread Jaegeuk Kim
On 09/21, Theodore Ts'o wrote: > On Wed, Sep 20, 2017 at 10:02:37PM -0700, Jaegeuk Kim wrote: > > > > Yes, and actually, android retries umount(2) for several seconds, if it gets > > failure. So, first I thought it'd be better to make umount() more > > deterministic. > > > > I'm not sure how

[PATCH 0/7] ARM: dts: meson: clean pin offsets

2017-09-21 Thread Jerome Brunet
The series is the device-tree part of the series sent to pinctrl [0] The present patchset depends on the pinctrl part. The purpose of this series is to: 1) remove the hardcoded gpio offset 2) adjust gpio-ranges with respect to the new pin number of each controller 3) adjust gpio-line-names

[PATCH 0/7] ARM: dts: meson: clean pin offsets

2017-09-21 Thread Jerome Brunet
The series is the device-tree part of the series sent to pinctrl [0] The present patchset depends on the pinctrl part. The purpose of this series is to: 1) remove the hardcoded gpio offset 2) adjust gpio-ranges with respect to the new pin number of each controller 3) adjust gpio-line-names

Re: [PATCH] tracing: Have stack tracer call rcu_nmi_enter() only when RCU is not watching

2017-09-21 Thread Paul E. McKenney
On Thu, Sep 21, 2017 at 01:10:38PM -0400, Steven Rostedt wrote: > > Testing some other code, this RCU splat triggered: > > = > WARNING: suspicious RCU usage > 4.13.0-rc7-test+ #117 Tainted: GW > - > arch/x86/kernel/traps.c:305

Re: [PATCH] tracing: Have stack tracer call rcu_nmi_enter() only when RCU is not watching

2017-09-21 Thread Paul E. McKenney
On Thu, Sep 21, 2017 at 01:10:38PM -0400, Steven Rostedt wrote: > > Testing some other code, this RCU splat triggered: > > = > WARNING: suspicious RCU usage > 4.13.0-rc7-test+ #117 Tainted: GW > - > arch/x86/kernel/traps.c:305

Re: usb/storage/uas: slab-out-of-bounds in uas_probe

2017-09-21 Thread Andrey Konovalov
On Thu, Sep 21, 2017 at 6:50 PM, Alan Stern wrote: > On Thu, 21 Sep 2017, Andrey Konovalov wrote: > >> Hi! >> >> I've got the following report while fuzzing the kernel with syzkaller. >> >> On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18). >> >> The issue

Re: usb/storage/uas: slab-out-of-bounds in uas_probe

2017-09-21 Thread Andrey Konovalov
On Thu, Sep 21, 2017 at 6:50 PM, Alan Stern wrote: > On Thu, 21 Sep 2017, Andrey Konovalov wrote: > >> Hi! >> >> I've got the following report while fuzzing the kernel with syzkaller. >> >> On commit ebb2c2437d8008d46796902ff390653822af6cc4 (Sep 18). >> >> The issue occurs when we iterate over

[PATCH 7/7] ARM64: dts: meson-gxl: adjust libretech-cc gpio-line-names

2017-09-21 Thread Jerome Brunet
TEST_N gpio has been moved so the gpio-line-names of the cc must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 7/7] ARM64: dts: meson-gxl: adjust libretech-cc gpio-line-names

2017-09-21 Thread Jerome Brunet
TEST_N gpio has been moved so the gpio-line-names of the cc must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 3/7] ARM64: dts: meson-gx: adjust gpio-ranges for TEST_N

2017-09-21 Thread Jerome Brunet
TEST_N has moved from the EE controller to the AO controller so the gpio-ranges need to adjusted for it Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 2 files changed, 2

[PATCH 3/7] ARM64: dts: meson-gx: adjust gpio-ranges for TEST_N

2017-09-21 Thread Jerome Brunet
TEST_N has moved from the EE controller to the AO controller so the gpio-ranges need to adjusted for it Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 2 +- arch/arm64/boot/dts/amlogic/meson-gxl.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff

[PATCH 5/7] ARM64: dts: meson-gxbb: adjust odroid-c2 gpio-line-names

2017-09-21 Thread Jerome Brunet
GPIOX22 is now declared properly and TEST_N has been moved so the gpio-line-names of the odroid-c2 must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 10 +- 1 file changed, 5 insertions(+), 5

[PATCH 5/7] ARM64: dts: meson-gxbb: adjust odroid-c2 gpio-line-names

2017-09-21 Thread Jerome Brunet
GPIOX22 is now declared properly and TEST_N has been moved so the gpio-line-names of the odroid-c2 must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 1/7] ARM: dts: meson8: remove gpio offset

2017-09-21 Thread Jerome Brunet
Remove pin offset on the AO controller. meson pinctrl no longer has this quirk Tested-by: Martin Blumenstingl Signed-off-by: Jerome Brunet --- arch/arm/boot/dts/meson8.dtsi | 2 +- arch/arm/boot/dts/meson8b.dtsi | 2 +- 2 files

[PATCH 1/7] ARM: dts: meson8: remove gpio offset

2017-09-21 Thread Jerome Brunet
Remove pin offset on the AO controller. meson pinctrl no longer has this quirk Tested-by: Martin Blumenstingl Signed-off-by: Jerome Brunet --- arch/arm/boot/dts/meson8.dtsi | 2 +- arch/arm/boot/dts/meson8b.dtsi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 4/7] ARM64: dts: meson-gxbb: adjust nanopi-k2 gpio-line-names

2017-09-21 Thread Jerome Brunet
GPIOX22 is now declared properly and TEST_N has been moved so the gpio-line-names of the nanopi-k2 must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 10 +- 1 file changed, 5 insertions(+), 5

[PATCH 4/7] ARM64: dts: meson-gxbb: adjust nanopi-k2 gpio-line-names

2017-09-21 Thread Jerome Brunet
GPIOX22 is now declared properly and TEST_N has been moved so the gpio-line-names of the nanopi-k2 must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxbb-nanopi-k2.dts | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 6/7] ARM64: dts: meson-gxl: adjust kvim gpio-line-names

2017-09-21 Thread Jerome Brunet
TEST_N gpio has been moved so the gpio-line-names of the kvim must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 6/7] ARM64: dts: meson-gxl: adjust kvim gpio-line-names

2017-09-21 Thread Jerome Brunet
TEST_N gpio has been moved so the gpio-line-names of the kvim must be adjusted accordingly Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-gxl-s905x-khadas-vim.dts | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 59/64] drivers: net: i40evf: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 59/64] drivers: net: i40evf: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/intel/i40evf/i40evf_main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] dmaengine: edma: Reject slave configs using a buswidth of 8 and larger

2017-09-21 Thread Vinod Koul
On Sun, Sep 17, 2017 at 04:25:10PM +0200, Stefan Brüns wrote: > The driver would happily accept buswidth of 16/32/64 bytes and program > garbage to its registers. Peter? > > Signed-off-by: Stefan Brüns > --- > drivers/dma/edma.c | 4 ++-- > 1 file changed, 2

Re: [PATCH] dmaengine: edma: Reject slave configs using a buswidth of 8 and larger

2017-09-21 Thread Vinod Koul
On Sun, Sep 17, 2017 at 04:25:10PM +0200, Stefan Brüns wrote: > The driver would happily accept buswidth of 16/32/64 bytes and program > garbage to its registers. Peter? > > Signed-off-by: Stefan Brüns > --- > drivers/dma/edma.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >

Re: [PATCH v2] dmaengine: imx-sdma: Correct src_addr_widths and directions

2017-09-21 Thread Vinod Koul
On Thu, Sep 14, 2017 at 11:46:43AM -0700, Nicolin Chen wrote: > The driver already supports DMA_DEV_TO_DEV in sdma_config(), > DMA_SLAVE_BUSWIDTH_2_BYTES and DMA_SLAVE_BUSWIDTH_1_BYTE in > sdma_prep_slave_sg(). So this patch adds them to the lists. Applied, thanks -- ~Vinod

Re: [PATCH v2] dmaengine: imx-sdma: Correct src_addr_widths and directions

2017-09-21 Thread Vinod Koul
On Thu, Sep 14, 2017 at 11:46:43AM -0700, Nicolin Chen wrote: > The driver already supports DMA_DEV_TO_DEV in sdma_config(), > DMA_SLAVE_BUSWIDTH_2_BYTES and DMA_SLAVE_BUSWIDTH_1_BYTE in > sdma_prep_slave_sg(). So this patch adds them to the lists. Applied, thanks -- ~Vinod

[PATCH 62/64] drivers: net: cxgb: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/chelsio/cxgb/sge.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 62/64] drivers: net: cxgb: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/chelsio/cxgb/sge.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/chelsio/cxgb/sge.c

[PATCH 63/64] drivers: net: bnx2x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 64/64] drivers: net: lmc: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/lmc/lmc_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/lmc/lmc_main.c

[PATCH 63/64] drivers: net: bnx2x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 64/64] drivers: net: lmc: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/lmc/lmc_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c

[PATCH 61/64] drivers: net: enic: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/cisco/enic/enic_clsf.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 61/64] drivers: net: enic: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/cisco/enic/enic_clsf.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/cisco/enic/enic_clsf.h

[PATCH 58/64] drivers: net: packetengines: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/packetengines/hamachi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 60/64] drivers: net: uli526x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/dec/tulip/uli526x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 58/64] drivers: net: packetengines: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/packetengines/hamachi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/packetengines/hamachi.c

[PATCH 60/64] drivers: net: uli526x: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/dec/tulip/uli526x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/dec/tulip/uli526x.c

[PATCH 56/64] drivers: net: cpsw_ale: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/ti/cpsw_ale.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw_ale.c

[PATCH 56/64] drivers: net: cpsw_ale: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/ti/cpsw_ale.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/ti/cpsw_ale.c

[PATCH 57/64] drivers: net: stmmac: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 55/64] drivers: net: hamradio: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/hamradio/6pack.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/hamradio/6pack.c

[PATCH 57/64] drivers: net: stmmac: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH 55/64] drivers: net: hamradio: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/hamradio/6pack.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index

[PATCH 54/64] drivers: net: hdlc_ppp: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/hdlc_ppp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/hdlc_ppp.c

[PATCH 54/64] drivers: net: hdlc_ppp: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/hdlc_ppp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/hdlc_ppp.c b/drivers/net/wan/hdlc_ppp.c index

[PATCH 53/64] drivers: net: dscc: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/dscc4.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c

[PATCH 53/64] drivers: net: dscc: use setup_timer() helper.

2017-09-21 Thread Allen Pais
Use setup_timer function instead of initializing timer with the function and data fields. Signed-off-by: Allen Pais --- drivers/net/wan/dscc4.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/wan/dscc4.c b/drivers/net/wan/dscc4.c index a043fb1..64f1764

<    1   2   3   4   5   6   7   8   9   10   >