[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

[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 0d2e00e.

[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 a/drivers/net/ethernet/stmicro/stmmac/stmmac_main

[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 02

[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 b/drivers/net/ethernet/ti/

[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 b/driv

[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 b/drivers/net/

[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 b/driv

[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 a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c

[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 in

[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 b/drivers/net/

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] 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(-) > >

[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 a/drivers/net/ethernet/intel/i40evf/i40evf_main.c

[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 a/arch/arm64/boot/dts/amlogic/meson-gxl

[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 a/arc

[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 a/arch/arm/bo

[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 a/arch

[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 a/arch/arm64/boot/dts/amlogic/meson-gxl

[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

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 int

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 e

[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 acco

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 man

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 aligne

[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 a/arch/arm64/boot/d

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

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 leng

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

[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 deletions(-

[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 b

[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 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 b/drivers/net/ethernet/amd/

[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 use

[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 b/drivers/ne

[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 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 b/drivers/

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 > > > tr

[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 AR

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 ca

[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 b/arch/arm/boot/dt

[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 a/arch/arm64/boot/dts/allw

[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 a/arch/arm64/boot/dts/allwinner/sun50i-a64.d

[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 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 a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts

[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 a/arch/arm/boot/dts/sun8i-h3-orangepi-one.d

[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 a/arch/arm/boot/dts/sun8i-h3-orangepi-lite

[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 b/arch/

[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 a/arch/arm/boot/dts/sun8i-h3-orangepi-2.dts

[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 b/arch/arm

[PATCH 04/12] ARM: dts: nanopi: 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-nanopi.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi.dtsi b/ar

Re: [PATCH 2/2] sched: Actual changes after adding SCHED_SOFT_AFFINITY to make it work with the scheduler

2017-09-21 Thread Rohit Jain
On 09/21/2017 04:52 AM, Peter Zijlstra wrote: On Tue, Sep 19, 2017 at 03:37:12PM -0700, Rohit Jain wrote: @@ -6019,7 +6040,8 @@ void __update_idle_core(struct rq *rq) static int select_idle_core(struct task_struct *p, struct sched_domain *sd, int target) { struct cpumask *cpus = thi

[PATCH 01/12] ARM: dts: sunxi: h3/h5: 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/sunxi-h3-h5.dtsi | 72 +++--- 1 file changed, 36 insertions(+), 36 deletions(-) diff --git a/arch/arm/boot/dts

Re: [PATCH] dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse

2017-09-21 Thread Vinod Koul
On Thu, Sep 21, 2017 at 02:35:32PM +0300, Peter Ujfalusi wrote: > When looking for unused xbar_out lane we should also protect the set_bit() > call with the same mutex to protect against concurrent threads picking the > same ID. Applied, thanks Just a note, somehow the patches from you only are g

Re: n900 in next-20170901

2017-09-21 Thread Tony Lindgren
* Joonsoo Kim [170914 23:55]: > On Wed, Sep 13, 2017 at 09:31:27AM -0700, Tony Lindgren wrote: > > Yes I disabled CONFIG_HIGHMEM and n900 boots. To disable it, > > you need to remove it from arch/arm/mach-omap2/Kconfig that > > selects it if ARCH_OMAP2PLUS_TYPICAL is selected. > > Okay. Problem w

[PATCH 34/64] drivers: net: eql: 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/eql.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/eql.c b/drivers/net/eql.c index fe13bfe..fccce4b 100644 --- a/drive

[PATCH 30/64] drivers: net: qlogic: 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/qlogic/qla3xxx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/qlogic/qla3xxx.c b/drivers/net/ethern

Re: [REGRESSION] Warning in tcp_fastretrans_alert() of net/ipv4/tcp_input.c

2017-09-21 Thread Yuchung Cheng
On Wed, Sep 20, 2017 at 6:46 PM, Roman Gushchin wrote: > > > Hello. > > > > Since, IIRC, v4.11, there is some regression in TCP stack resulting in the > > warning shown below. Most of the time it is harmless, but rarely it just > > causes either freeze or (I believe, this is related too) panic in

Re: [PATCH 2/5] dmaengine: omap-dma: Implement protection for invalid max_burst

2017-09-21 Thread Vinod Koul
On Tue, Sep 12, 2017 at 01:44:21PM +0300, Peter Ujfalusi wrote: > Set the device's max_burst to 16777215 (EN is 24bit unsigned value) so > clients can take this into consideration when setting up the trasnfer. ditto :D > > During slave transfer preparation check if the requested maxburst is vali

Re: [PATCH] ov9655: fix potential integer overflow

2017-09-21 Thread kbuild test robot
Hi Gustavo, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.14-rc1 next-20170921] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Gustavo-A-R-Silva/ov9655-fix

Re: [PATCH 7/7] fs-writeback: only allow one inflight and pending full flush

2017-09-21 Thread Christoph Hellwig
On Thu, Sep 21, 2017 at 10:00:25AM -0600, Jens Axboe wrote: > Something like the below would fit on top to do that. Gets rid of the > allocation and embeds the work item for global start-all in the > bdi_writeback structure. Something like that. Although if we still kalloc the global wb we wouldn

Re: [PATCH RT] locking/rtmutex: don't drop the wait_lock twice

2017-09-21 Thread Sebastian Andrzej Siewior
On 2017-09-21 12:50:27 [-0400], Steven Rostedt wrote: > On Thu, 21 Sep 2017 18:43:02 +0200 > Sebastian Andrzej Siewior wrote: > > > On 2017-09-21 12:31:05 [-0400], Steven Rostedt wrote: > > > > diff --git a/kernel/locking/rtmutex.c b/kernel/locking/rtmutex.c > > > > index f03876322d4a..79f49d73e4

Re: [PATCH net 1/3] net: mvpp2: fix the dma_mask and coherent_dma_mask settings for PPv2.2

2017-09-21 Thread David Miller
From: Antoine Tenart Date: Thu, 21 Sep 2017 16:24:13 +0200 > That's also the default when the platform does not allocate dma_mask. That's the problem that needs to be fixed then.

Re: usb/gadget: copy_to_user called with spinlock held

2017-09-21 Thread Alan Stern
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). > > Line numbers might be a little off, due to some local changes to > gadgetfs code but the issue is AF

[PATCH 12/64] drivers: net: atp: 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/realtek/atp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/realtek/atp.c b/drivers/net/ethernet/rea

[PATCH 08/64] drivers: net: am79c961: 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/am79c961a.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/amd/am79c961a.c b/drivers/net/ethernet

Re: [PATCH 1/5] dmaengine: edma: Implement protection for invalid max_burst

2017-09-21 Thread Vinod Koul
On Tue, Sep 12, 2017 at 01:44:20PM +0300, Peter Ujfalusi wrote: > Set the device's max_burst to 32767 (CIDX is 16bit signed value) so clients > can take this into consideration when setting up the trasnfer. /s/trasnfer/transfer > > During slave transfer preparation check if the requested maxburs

[PATCH 06/64] drivers: net: bcm63xx: 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/bcm63xx_enet.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ethernet/broadcom/bcm63xx_enet.c b/dr

Re: [PATCH 4/4] ALSA: emu10k1: Cocci spatch "alloc_cast"

2017-09-21 Thread Al Viro
On Thu, Sep 21, 2017 at 08:33:46AM +0200, Thomas Meyer wrote: > Remove casting the values returned by memory allocation functions like > kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc." > Found by coccinelle spatch "api/alloc/alloc_cast.cocci" > > Signed-off-by: Thomas Meyer > --- > >

Re: [PATCH 1/5] usb: usb251xb: Add USB2517/i hub support

2017-09-21 Thread Serge Semin
On Thu, Sep 21, 2017 at 11:53:29AM -0500, Rob Herring wrote: > On Wed, Sep 20, 2017 at 4:15 PM, Serge Semin wrote: > > On Wed, Sep 20, 2017 at 03:52:35PM -0500, Rob Herring > > wrote: > >> On Sat, Sep 16, 2017 at 02:31:09AM +0300, Serge Semin wrote: > >> > USB2517i hubs are very like USB251xb d

Re: [PATCH v4 04/13] xen/pvcalls: implement socket command and handle events

2017-09-21 Thread Boris Ostrovsky
+ +static inline int get_request(struct pvcalls_bedata *bedata, int *req_id) +{ + *req_id = bedata->ring.req_prod_pvt & (RING_SIZE(&bedata->ring) - 1); + if (RING_FULL(&bedata->ring) || + READ_ONCE(bedata->rsp[*req_id].req_id) != PVCALLS_INVALID_ID) + return

[PATCH V3] PM / OPP: Call notifier without holding opp_table->lock

2017-09-21 Thread Viresh Kumar
The notifier callbacks may want to call some OPP helper routines which may try to take the same opp_table->lock again and cause a deadlock. One such usecase was reported by Chanwoo Choi, where calling dev_pm_opp_disable() leads us to the devfreq's OPP notifier handler, which further calls dev_pm_op

Re: [PATCH] arm64: Always use REFCOUNT_FULL

2017-09-21 Thread Al Viro
On Wed, Sep 20, 2017 at 01:49:59PM -0700, Kees Cook wrote: > As discussed at the Linux Security Summit, arm64 prefers to use > REFCOUNT_FULL by default. This enables it for the architecture. > > Cc: Ard Biesheuvel > Cc: hw.li...@huawei.com > Cc: Catalin Marinas > Cc: Will Deacon > Cc: linux-arm

Re: [patch 0/3] KVM KVM_HC_RT_PRIO hypercall support

2017-09-21 Thread Jan Kiszka
On 2017-09-21 13:38, Marcelo Tosatti wrote: > When executing guest vcpu-0 with FIFO:1 priority, which is necessary to > deal with the following situation: > > VCPU-0 (housekeeping VCPU) VCPU-1 (realtime VCPU) > > raw_spin_lock(A) > interrupted, schedule task T-1 raw_spin_loc

[PATCH] mmc: core: Wait for Vdd to settle on card power off

2017-09-21 Thread Kyle Roeschley
The SD spec version 6.0 section 6.4.1.5 requires that Vdd must be lowered to less than 0.5V for a minimum of 1 ms when powering off a card. Increase our wait to 10 ms so that voltage has time to drain down to 0.5V and cards can power off correctly. Signed-off-by: Kyle Roeschley --- drivers/mmc/c

Re: [PATCH v2] PM / OPP: Use snprintf to avoid kasprintf and kfree

2017-09-21 Thread Viresh Kumar
On 21-09-17, 11:15, Arvind Yadav wrote: > Use snprintf to avoid unnecessary initializations, avoid calling kfree. > Suggested-by: Joe Perches > Signed-off-by: Arvind Yadav > --- > changes in v2: > Remove kasprintf instead of error checking. > > drivers/base/power/opp/debugfs.c |

Re: [PATCH RT] locking/rtmutex: don't drop the wait_lock twice

2017-09-21 Thread Steven Rostedt
On Thu, 21 Sep 2017 19:35:12 +0200 Sebastian Andrzej Siewior wrote: > No, it does not. It fixes only one and this one was introduced while I > rebased RT ontop of the futex work - the patch "futex: Fix bug on when a > requeued RT task times out" to be exact. > If you look at the code in the v4.9

Re: [PATCH 2/2] mm: oom: show unreclaimable slab info when kernel panic

2017-09-21 Thread Yang Shi
On 9/21/17 1:23 AM, David Rientjes wrote: On Thu, 21 Sep 2017, Yang Shi wrote: Kernel may panic when oom happens without killable process sometimes it is caused by huge unreclaimable slabs used by kernel. Although kdump could help debug such problem, however, kdump is not available on all ar

Re: [PATCH] arm64: Always use REFCOUNT_FULL

2017-09-21 Thread Kees Cook
On Thu, Sep 21, 2017 at 10:45 AM, Al Viro wrote: > On Wed, Sep 20, 2017 at 01:49:59PM -0700, Kees Cook wrote: >> As discussed at the Linux Security Summit, arm64 prefers to use >> REFCOUNT_FULL by default. This enables it for the architecture. >> >> Cc: Ard Biesheuvel >> Cc: hw.li...@huawei.com >

Re: [PATCH v3] drivers: cpufreq: Fix sysfs duplicate filename creation for platform-device

2017-09-21 Thread Viresh Kumar
On 21-09-17, 19:09, suni...@techveda.org wrote: > From: Suniel Mahesh > > ti-cpufreq and cpufreq-dt-platdev drivers are registering platform-device > with same name "cpufreq-dt" using platform_device_register_*() routines. > This is leading to build warnings appended below. > > Providing hardwar

Re: [PATCH -next] spi: fix spi-sprd-adi build errors when COMPILE_TEST=y

2017-09-21 Thread Randy Dunlap
On 09/21/17 09:49, Mark Brown wrote: > On Thu, Sep 21, 2017 at 09:10:04AM -0700, Randy Dunlap wrote: > >> +++ linux-next-20170921/drivers/spi/Kconfig >> @@ -625,6 +625,7 @@ config SPI_SIRF >> config SPI_SPRD_ADI >> tristate "Spreadtrum ADI contr

Re: Rough notes from sys_membarrier() lightning BoF

2017-09-21 Thread Mathieu Desnoyers
- On Sep 21, 2017, at 9:15 AM, Peter Zijlstra pet...@infradead.org wrote: > On Wed, Sep 20, 2017 at 06:13:50PM +, Mathieu Desnoyers wrote: >> My proposed RFC for private expedited membarrier enforces that all >> architectures perform the registration step. Using the "PRIVATE_EXPEDITED" >>

[PATCH v2 -next] spi: fix spi-sprd-adi build errors when SPI_SPRD_ADI=y and HWSPINLOCK=m

2017-09-21 Thread Randy Dunlap
xt+0x3ee): undefined reference to `__hwspin_unlock' v2: allow build with or without HWSPINLOCK, but restrict to =m if HWSPINLOCK=m. Signed-off-by: Randy Dunlap Cc: Baolin Wang Cc: Mark Brown Cc: linux-...@vger.kernel.org --- drivers/spi/Kconfig | 1 + 1 file changed, 1 insertion(+) ---

[PATCH] Documentation: rewrite confusing statement about memory barriers

2017-09-21 Thread Guilherme G. Piccoli
In this specific portion of the write memory barriers description, the documentation mentions sequential order of stores, which is confusing since sequential ordering is not guaranteed. This patch tries to improve the doc in order to avoid any mis-understanding. Signed-off-by: Guilherme G. Piccol

Re: [PATCH 02/10] cifs: honor AT_STATX_DONT_SYNC

2017-09-21 Thread Steve French
Do you have any sample program/code to query with this flag? On Wed, Sep 20, 2017 at 3:39 AM, Miklos Szeredi wrote: > The description of this flag says "Don't sync attributes with the server". > In other words: always use the attributes cached in the kernel and don't > send network or local messa

Re: [PATCH v3 2/6] serial: imx: only set dma_is_rxing when DMA starts

2017-09-21 Thread Uwe Kleine-König
On Thu, Sep 21, 2017 at 05:18:13PM +0100, Martyn Welch wrote: > From: Romain Perier > > The variable dma_is_rxing is currently set to 1 in imx_disable_rx_int(). > This is problematic as: > > - whilst imx_disable_rx_int() is currently always called before > start_rx_dma() this dependency isn't

Re: [PATCH RT] locking/rtmutex: don't drop the wait_lock twice

2017-09-21 Thread Sebastian Andrzej Siewior
On 2017-09-21 13:51:35 [-0400], Steven Rostedt wrote: > On Thu, 21 Sep 2017 19:35:12 +0200 > Sebastian Andrzej Siewior wrote: > > > No, it does not. It fixes only one and this one was introduced while I > > rebased RT ontop of the futex work - the patch "futex: Fix bug on when a > > requeued RT t

Re: [PATCH v3 1/6] serial: imx: remove CTSC and CTS handling from imx_disable_dma

2017-09-21 Thread Uwe Kleine-König
On Thu, Sep 21, 2017 at 05:18:12PM +0100, Martyn Welch wrote: > From: Nandor Han > > The CTSC and CTS bits affect operation of the CTS/RTS hardware flow > control signal (depending on whether the device is in DCE or DTE mode) and > are not related to DMA. When in RS-232 mode, the driver is using

Re: [PATCH v3] vfs: introduce UMOUNT_WAIT to wait for delayed_fput/mntput completion

2017-09-21 Thread Jaegeuk Kim
This patch introduces UMOUNT_WAIT flag for umount(2) which let user wait for the completion of delayed fput()/mntput() explicitly. Espcially, it can be used for Android reboot procedure, and resolve the below issue where a kernel panic happens when a living filesystem tries to access dead block de

Re: usb/gadget: copy_to_user called with spinlock held

2017-09-21 Thread Andrey Konovalov
On Thu, Sep 21, 2017 at 7:35 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). >> >> Line numbers might be a little off, due t

Re: usb/net/p54: trying to register non-static key in p54_unregister_leds

2017-09-21 Thread Andrey Konovalov
On Wed, Sep 20, 2017 at 9:55 PM, Johannes Berg wrote: > On Wed, 2017-09-20 at 21:27 +0200, Christian Lamparter wrote: > >> It seems this is caused as a result of: >> -> lock_map_acquire(&work->lockdep_map); >> lock_map_release(&work->lockdep_map); >> >> in flush_work() [0] > > Ag

Re: [PATCH v3 4/6] serial: imx: unmap sg buffers when DMA channel is released

2017-09-21 Thread Uwe Kleine-König
On Thu, Sep 21, 2017 at 05:18:15PM +0100, Martyn Welch wrote: > From: Nandor Han > > This commits unmaps sg buffers when the DMA channel is released. It also > sets to zero `dma_is_rxing` and `dma_is_txing` to state that the > corresponding channels cannot transmit/receive data, as these are > di

Re: [kernel-hardening] Re: [PATCH v3 03/31] usercopy: Mark kmalloc caches as usercopy caches

2017-09-21 Thread Kees Cook
On Thu, Sep 21, 2017 at 9:04 AM, Christopher Lameter wrote: > On Thu, 21 Sep 2017, Kees Cook wrote: > >> > So what is the point of this patch? >> >> The DMA kmalloc caches are not whitelisted: > > The DMA kmalloc caches are pretty obsolete and mostly there for obscure > drivers. > > ?? They may b

Re: [PATCH 1/7] net: qrtr: Invoke sk_error_report() after setting sk_err

2017-09-21 Thread Chris Lew
On 9/6/2017 11:03 PM, Bjorn Andersson wrote: Rather than manually waking up any context sleeping on the sock to signal an error we should call sk_error_report(). This has the added benefit that in-kernel consumers can override this notificatino with its own callback. Typo with notification.

Re: [PATCH v3 5/6] serial: imx: update the stop rx,tx procedures

2017-09-21 Thread Uwe Kleine-König
On Thu, Sep 21, 2017 at 05:18:16PM +0100, Martyn Welch wrote: > From: Nandor Han > > According to "Documentation/serial/driver" both procedures should stop > receiving or sending data. Based on this the procedures should stop the > activity regardless if DMA is enabled or not. > > This commit up

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

2017-09-21 Thread Peter Ujfalusi
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 2017-09-21 20:17, Vinod Koul wrote: > 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 a

Re: [PATCH v4 05/13] xen/pvcalls: implement connect command

2017-09-21 Thread Boris Ostrovsky
On 09/15/2017 07:00 PM, Stefano Stabellini wrote: Send PVCALLS_CONNECT to the backend. Allocate a new ring and evtchn for the active socket. Introduce fields in struct sock_mapping to keep track of active sockets. Introduce a waitqueue to allow the frontend to wait on data coming from the back

RE: [v5 04/12] dt-bindings: soc/fsl: Update reserved memory binding for QBMan

2017-09-21 Thread Leo Li
> -Original Message- > From: Roy Pledge [mailto:roy.ple...@nxp.com] > Sent: Monday, September 18, 2017 3:40 PM > To: Leo Li ; linuxppc-...@lists.ozlabs.org; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; > devicet...@vger.kernel.org > Cc: o...@buserror.net; Madalin-

Re: [PATCH 00/64] use setup_timer() helper function.

2017-09-21 Thread David Miller
From: Allen Pais Date: Thu, 21 Sep 2017 22:34:21 +0530 > This series uses setup_timer() helper function. The series > addresses the files under drivers/net/*. I've reviewed this series and will apply it to net-next. But please send out smaller chunks next time, maybe 10-15 in a bunch? 64 patc

Re: [PATCH 1/2] powerpc/pseries: fix "OF: ERROR: Bad of_node_put() on /cpus" during DLPAR

2017-09-21 Thread Tyrel Datwyler
On 09/21/2017 02:54 AM, Michael Ellerman wrote: > Hi Tyrel, > > Thanks for jumping on this. > > Tyrel Datwyler writes: >> Commit 215ee763f8cb ("powerpc: pseries: remove dlpar_attach_node dependency >> on >> full path") reworked dlpar_attach_node() to no longer look up the parent >> node "/cpus"

<    1   2   3   4   5   6   7   8   9   >