Re: [PATCH v5 1/4] ftrace: Implement fs notification for tracing_max_latency

2019-09-04 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 10:19:19AM +0200, Peter Zijlstra wrote: > On Wed, Sep 04, 2019 at 12:00:39AM -0400, Joel Fernandes wrote: > > [ Resending since I messed up my last email's headers! ] > > > > On Tue, Sep 03, 2019 at 03:25:59PM +0200, Viktor Rosendahl wrote: > > > This patch implements the f

Re: [PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Andrey Konovalov
On Wed, Sep 4, 2019 at 8:51 AM Walter Wu wrote: > > This patch is KASAN report adds the alloc/free stacks for page allocator > in order to help programmer to see memory corruption caused by page. > > By default, KASAN doesn't record alloc/free stack for page allocator. > It is difficult to fix up

Re: [PATCH v3 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-04 Thread Vinod Koul
On 04-09-19, 13:16, Lee Jones wrote: > From: Bjorn Andersson > > The Lenovo Yoga C630 is built on the SDM850 from Qualcomm, but this seem > to be similar enough to the SDM845 that we can reuse the sdm845.dtsi. > > Supported by this patch is: keyboard, battery monitoring, UFS storage, > USB host

Re: [PATCH -next] scsi: hisi_sas: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread John Garry
On 04/09/2019 14:02, YueHaibing wrote: Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing Acked-by: John Garry --- drivers/scsi/hisi_sas/hisi_sas_main.c | 3 +-- 1 file changed, 1 insertion(+)

Re: [PATCH RESEND v4 8/9] KVM: MMU: Enable Lazy mode SPPT setup

2019-09-04 Thread Yang Weijiang
On Tue, Aug 20, 2019 at 09:12:14PM +0800, Yang Weijiang wrote: > On Mon, Aug 19, 2019 at 04:46:54PM +0200, Paolo Bonzini wrote: > > On 14/08/19 09:04, Yang Weijiang wrote: > > > + > > > + if (vcpu->kvm->arch.spp_active && level == PT_PAGE_TABLE_LEVEL) > > > + kvm_enable_spp_protection(vcpu-

Re: [PATCH] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-04 Thread Catalin Marinas
On Wed, 4 Sep 2019 at 01:59, Jia He wrote: > @@ -2152,20 +2153,30 @@ static inline void cow_user_page(struct page *dst, > struct page *src, unsigned lo > */ > if (unlikely(!src)) { > void *kaddr = kmap_atomic(dst); > - void __user *uaddr = (void __us

[PATCH v1 3/7] mm/mlock: add vma argument for mlock_vma_page()

2019-09-04 Thread Konstantin Khlebnikov
This will be used for recharging memory cgroup accounting. Signed-off-by: Konstantin Khlebnikov --- mm/gup.c |2 +- mm/huge_memory.c |4 ++-- mm/internal.h|4 ++-- mm/ksm.c |2 +- mm/migrate.c |2 +- mm/mlock.c |2 +- mm/rmap.c|2

[PATCH v1 5/7] mm/mlock: recharge memory accounting to second mlock user at munlock

2019-09-04 Thread Konstantin Khlebnikov
Munlock isolates page from LRU and then looks for another mlock vma. Thus we could could rechange page to second mlock without isolating. This patch adds argument 'isolated' to mlock_vma_page() and passes this flag through try_to_ummap as TTU_LRU_ISOLATED. Signed-off-by: Konstantin Khlebnikov --

[PATCH v1 4/7] mm/mlock: recharge memory accounting to first mlock user

2019-09-04 Thread Konstantin Khlebnikov
Currently mlock keeps pages in cgroups where they were accounted. This way one container could affect another if they share file cache. Typical case is writing (downloading) file in one container and then locking in another. After that first container cannot get rid of file. This patch recharges a

[PATCH v1 1/7] mm/memcontrol: move locking page out of mem_cgroup_move_account

2019-09-04 Thread Konstantin Khlebnikov
Required for calling mem_cgroup_move_account() for already locked page. Signed-off-by: Konstantin Khlebnikov --- mm/memcontrol.c | 64 +++ 1 file changed, 31 insertions(+), 33 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index

[PATCH v1 6/7] mm/vmscan: allow changing page memory cgroup during reclaim

2019-09-04 Thread Konstantin Khlebnikov
All LRU lists in one numa node are protected with one spin-lock and right now move_pages_to_lru() re-evaluates lruvec for each page. This allows to change page cgroup while page is isolated by reclaimer, but nobody use that for now. This patch makes this feature clear and passes into move_pages_to_

[PATCH v1 2/7] mm/memcontrol: add mem_cgroup_recharge

2019-09-04 Thread Konstantin Khlebnikov
This function tries to move page into other cgroup. Caller must lock page and isolate it from LRU. Signed-off-by: Konstantin Khlebnikov --- include/linux/memcontrol.h |9 + mm/memcontrol.c| 40 2 files changed, 49 insertions(+)

[PATCH v1 0/7] mm/memcontrol: recharge mlocked pages

2019-09-04 Thread Konstantin Khlebnikov
Currently mlock keeps pages in cgroups where they were accounted. This way one container could affect another if they share file cache. Typical case is writing (downloading) file in one container and then locking in another. After that first container cannot get rid of cache. Also removed cgroup st

[PATCH v1 7/7] mm/mlock: recharge mlocked pages at culling by vmscan

2019-09-04 Thread Konstantin Khlebnikov
If mlock cannot catch page in LRU then it isn't moved into unevictable lru. These pages are 'culled' by reclaimer and moved into unevictable lru. It seems pages locked with MLOCK_ONFAULT always go through this path. Reclaimer calls try_to_unmap for already isolated pages, thus on this path we coul

Re: [PATCH -rcu dev 1/2] Revert b8c17e6664c4 ("rcu: Maintain special bits at bottom of ->dynticks counter")

2019-09-04 Thread Joel Fernandes
On Wed, Sep 04, 2019 at 03:12:10AM -0700, Paul E. McKenney wrote: > On Wed, Sep 04, 2019 at 12:59:10AM -0400, Joel Fernandes wrote: > > On Tue, Sep 03, 2019 at 01:02:49PM -0700, Paul E. McKenney wrote: > > [snip] > > > > --- > > > > include/linux/rcutiny.h | 3 -- > > > > kernel/rcu/tree.c

[PATCH -next 00/36] use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
devm_platform_ioremap_resource() internally have platform_get_resource() and devm_ioremap_resource() in it. So instead of calling them separately use devm_platform_ioremap_resource() directly. YueHaibing (36): spi: altera: use devm_platform_ioremap_resource() to simplify code spi: a3700: use d

[PATCH -next 04/36] spi: spi-axi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-axi-spi-engine.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-axi-spi-engine.c b/drive

[PATCH -next 03/36] spi: ath79: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-ath79.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-ath79.c b/drivers/spi/spi-ath79.c

[PATCH -next 08/36] spi: cadence: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-cadence.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-cadence.c b/drivers/spi/spi-cad

[PATCH -next 09/36] spi: octeon: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-cavium-octeon.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-cavium-octeon.c b/drivers

[PATCH -next 07/36] spi: bcm63xx-hsspi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-bcm63xx-hsspi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-bcm63xx-hsspi.c b/drivers

[PATCH -next 01/36] spi: altera: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-altera.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-altera.c b/drivers/spi/spi-alter

[PATCH -next 02/36] spi: a3700: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-armada-3700.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-armada-3700.c b/drivers/spi

[PATCH -next 05/36] spi: bcm2835aux: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-bcm2835aux.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-bcm2835aux.c b/drivers/spi/s

[PATCH -next 06/36] spi: bcm2835: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-bcm2835.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-bcm2835.c b/drivers/spi/spi-bcm

[PATCH -next 10/36] spi: clps711x: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-clps711x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-clps711x.c b/drivers/spi/spi-c

[PATCH -next 12/36] spi: dw-mmio: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-dw-mmio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-dw-mmio.c b/drivers/spi/spi-dw-

[PATCH -next 13/36] spi: spi-geni-qcom: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-geni-qcom.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-geni-qcom.c b/drivers/spi/spi

[PATCH -next 14/36] spi: lp-8841: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-lp8841-rtc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-lp8841-rtc.c b/drivers/spi/s

[PATCH -next 15/36] spi: meson-spicc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-meson-spicc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-meson-spicc.c b/drivers/spi

[PATCH v2 0/2] Fix GMII2RGMII private field

2019-09-04 Thread Harini Katakam
Fix the usage of external phy's priv field by gmii2rgmii driver. Based on net-next. Harini Katakam (2): include: mdio: Add driver data helpers net: phy: gmii2rgmii: Dont use priv field in phy device drivers/net/phy/xilinx_gmii2rgmii.c | 4 ++-- include/linux/mdio.h| 11

[PATCH -next 17/36] spi: mt7621: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-mt7621.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-mt7621.c b/drivers/spi/spi-mt762

[PATCH -next 20/36] spi: nuc900: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-nuc900.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-nuc900.c b/drivers/spi/spi-nuc90

[PATCH -next 25/36] spi: s3c24xx: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-s3c24xx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-s3c24xx.c b/drivers/spi/spi-s3c

[PATCH -next 16/36] spi: spi-meson-spifc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-meson-spifc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-meson-spifc.c b/drivers/spi

[PATCH -next 22/36] spi: pic32-sqi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-pic32-sqi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-pic32-sqi.c b/drivers/spi/spi

[PATCH -next 24/36] spi: rb4xx: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-rb4xx.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-rb4xx.c b/drivers/spi/spi-rb4xx.c

[PATCH -next 18/36] spi: mxs: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-mxs.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c index

[PATCH v2 1/2] include: mdio: Add driver data helpers

2019-09-04 Thread Harini Katakam
Add set/get drv_data helpers for mdio device. Signed-off-by: Harini Katakam --- v2: Added this patch driver data helpers in mdio instead of priv field. include/linux/mdio.h | 11 +++ 1 file changed, 11 insertions(+) diff --git a/include/linux/mdio.h b/include/linux/mdio.h index e8242ad

[PATCH -next 32/36] spi: uniphier: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-uniphier.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-uniphier.c b/drivers/spi/spi-u

[PATCH -next 26/36] spi: sifive: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-sifive.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-sifive.c b/drivers/spi/spi-sifiv

[PATCH -next 31/36] spi: tegra: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-tegra20-sflash.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-tegra20-sflash.c b/drive

[PATCH -next 28/36] spi: st-ssc4: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-st-ssc4.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-st-ssc4.c b/drivers/spi/spi-st-

[PATCH -next 33/36] spi: xlp: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-xlp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-xlp.c b/drivers/spi/spi-xlp.c index

[PATCH -next 27/36] spi: sirf: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-sirf.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c in

[PATCH -next 30/36] spi: sun6i: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-sun6i.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-sun6i.c b/drivers/spi/spi-sun6i.c

[PATCH -next 36/36] spi: fsl-spi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-fsl-cpm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/spi/spi-fsl-cpm.c b/drivers/spi/spi-

[PATCH -next 35/36] spi: zynq-qspi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-zynq-qspi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-zynq-qspi.c b/drivers/spi/spi

Re: [PATCH] Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes

2019-09-04 Thread Marcel Holtmann
Hi Max, > Fix the issue that when the FW size is 32K+, it will fail for the download > process because of the incorrect index. > > Signed-off-by: Max Chou > --- > drivers/bluetooth/btrtl.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/drivers/bluetooth/btrtl.c b

[PATCH -next 23/36] spi: spi-qcom-qspi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-qcom-qspi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-qcom-qspi.c b/drivers/spi/spi

[PATCH -next 19/36] spi: npcm: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-npcm-pspi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-npcm-pspi.c b/drivers/spi/spi

[PATCH -next 29/36] spi: sun4i: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-sun4i.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-sun4i.c b/drivers/spi/spi-sun4i.c

[PATCH -next 21/36] spi: oc-tiny: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-oc-tiny.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-oc-tiny.c b/drivers/spi/spi-oc-

[PATCH v2 2/2] net: phy: gmii2rgmii: Dont use priv field in phy device

2019-09-04 Thread Harini Katakam
Use set/get drv data in phydev's mdio device instead. Phy device priv field maybe used by the external phy driver and should not be overwritten. Signed-off-by: Harini Katakam --- v2: Use mdio driver data helper. drivers/net/phy/xilinx_gmii2rgmii.c | 4 ++-- 1 file changed, 2 insertions(+), 2 de

[PATCH -next 34/36] spi: zynqmp: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-zynqmp-gqspi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-zynqmp-gqspi.c b/drivers/s

[PATCH -next 11/36] spi: coldfire-qspi: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread YueHaibing
Use devm_platform_ioremap_resource() to simplify the code a bit. This is detected by coccinelle. Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/spi/spi-coldfire-qspi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/spi/spi-coldfire-qspi.c b/drivers

[PATCH v2 net-next] net: stmmac: Add support for MDIO interrupts

2019-09-04 Thread Voon Weifeng
From: "Chuah, Kim Tatt" DW EQoS v5.xx controllers added capability for interrupt generation when MDIO interface is done (GMII Busy bit is cleared). This patch adds support for this interrupt on supported HW to avoid polling on GMII Busy bit. stmmac_mdio_read() & stmmac_mdio_write() will sleep un

Re: [PATCH RESEND] fs/epoll: fix the edge-triggered mode for nested epoll

2019-09-04 Thread Heiher
Hi, On Wed, Sep 4, 2019 at 8:02 PM Jason Baron wrote: > > > > On 9/4/19 5:57 AM, Roman Penyaev wrote: > > On 2019-09-03 23:08, Jason Baron wrote: > >> On 9/2/19 11:36 AM, Roman Penyaev wrote: > >>> Hi, > >>> > >>> This is indeed a bug. (quick side note: could you please remove efd[1] > >>> from y

Re: [PATCH v4 11/11] lib/test_printf: Add tests for %pfw printk modifier

2019-09-04 Thread Sakari Ailus
Hi Petr, Thanks for the comments. On Tue, Sep 03, 2019 at 03:38:41PM +0200, Petr Mladek wrote: > On Mon 2019-09-02 11:32:40, Sakari Ailus wrote: > > Add a test for the %pfw printk modifier using software nodes. > > > > Signed-off-by: Sakari Ailus > > Reviewed-by: Andy Shevchenko > > --- > > l

Re: [PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Walter Wu
On Wed, 2019-09-04 at 14:49 +0200, Vlastimil Babka wrote: > On 9/4/19 8:51 AM, Walter Wu wrote: > > This patch is KASAN report adds the alloc/free stacks for page allocator > > in order to help programmer to see memory corruption caused by page. > > > > By default, KASAN doesn't record alloc/free

Re: [PATCH v1] bluetooth: hci_qca: disable irqs when spinlock is acquired

2019-09-04 Thread Marcel Holtmann
Hi Harish, > Looks like Deadlock is observed in hci_qca while performing > stress and stability tests. Since same lock is getting > acquired from qca_wq_awake_rx and hci_ibs_tx_idle_timeout > seeing spinlock recursion, irqs should be disable while > acquiring the spinlock always. > > Signed-off-b

Re: [PATCH] Bluetooth: btrtl: Additional Realtek 8822CE Bluetooth devices

2019-09-04 Thread Marcel Holtmann
Hi Jian, > The ASUS X412FA laptop contains a Realtek RTL8822CE device with an > associated BT chip using a USB ID of 04ca:4005. This ID is added to the > driver. > > The /sys/kernel/debug/usb/devices portion for this device is: > > T: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=04 Dev#= 4 Spd=12 MxCh=

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

2019-09-04 Thread shuah
On 9/1/19 3:39 PM, Stephen Rothwell wrote: Hi all, In commit c321d43b8da1 ("selftests/seccomp: fix build on older kernels") Fixes tag Fixes: Commit 201766a20e30 ("ptrace: add PTRACE_GET_SYSCALL_INFO request") has these problem(s): - leading word 'Commit' unexpected Thanks. I fix

Re: [PATCH v4 3/7] PCI/VPD: Add VPD release quirk for Amazon's Annapurna Labs Root Port

2019-09-04 Thread Andrew Murray
On Wed, Sep 04, 2019 at 01:36:12PM +, Chocron, Jonathan wrote: > On Thu, 2019-08-22 at 16:07 +0100, Andrew Murray wrote: > > On Thu, Aug 22, 2019 at 02:36:24PM +, Chocron, Jonathan wrote: > > > On Thu, 2019-08-22 at 12:41 +0100, Andrew Murray wrote: > > > > On Wed, Aug 21, 2019 at 06:35:43P

[PATCH net-next 1/7] net: hns3: fix error VF index when setting VLAN offload

2019-09-04 Thread Huazhong Tan
From: Jian Shen In original codes, the VF index used incorrectly in function hclge_set_vlan_rx_offload_cfg() and hclge_set_vlan_rx_offload_cfg(). When VF id is greater than 8, for example 9, it will set the same bit with VF id 1. This patch fixes it by using vport->vport_id % HCLGE_VF_NUM_PER_C

[PATCH net-next 2/7] net: hns3: fix double free bug when setting ringparam

2019-09-04 Thread Huazhong Tan
The system will panic when change the ringparam in HNS3 drivers: [ 1459.627727] hns3 :bd:00.0 eth6: Changing Tx/Rx ring ds from 1024/1024 to 24/24 [ 1459.635766] hns3 :bd:00.0 eth6: link down [ 1459.640788] BUG: Bad page state in process ethtool pfn:203f75c18 [ 1459.646940] page:7ee4

[PATCH net-next 0/7] net: hns3: add some bugfixes and cleanups

2019-09-04 Thread Huazhong Tan
This patch-set includes bugfixes and cleanups for the HNS3 ethernet controller driver. [patch 01/07] fixes an error when setting VLAN offload. [patch 02/07] fixes an double free issue when setting ringparam. [patch 03/07] fixes a mis-assignment of hdev->reset_level. [patch 04/07] adds a checkin

[PATCH net-next 4/7] net: hns3: add client node validity judgment

2019-09-04 Thread Huazhong Tan
From: Peng Li HNS3 driver can only unregister client which included in hnae3_client_list. This patch adds the client node validity judgment. Signed-off-by: Peng Li Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hnae3.c | 16 1 file changed, 16 insertions(

[PATCH net-next 3/7] net: hns3: fix mis-assignment to hdev->reset_level in hclge_reset

2019-09-04 Thread Huazhong Tan
Since hclge_get_reset_level may return HNAE3_NONE_RESET, so hdev->reset_level can not be assigned with the return value in the hclge_reset(), otherwise, it will cause the use of hdev->reset_level in hclge_reset_event get into error. Fixes: 012fcb52f67c ("net: hns3: activate reset timer when callin

[PATCH net-next 5/7] net: hns3: remove explicit conversion to bool

2019-09-04 Thread Huazhong Tan
From: Guojia Liao Relational and logical operators evaluate to bool, explicit conversion is overly verbose and unnecessary. Signed-off-by: Guojia Liao Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH net-next 7/7] net: hns3: make hclge_dbg_get_m7_stats_info static

2019-09-04 Thread Huazhong Tan
From: Guojia Liao hclge_dbg_get_m7_info is used only in the hclge_debugfs.c, so it should be declared with static. Signed-off-by: Guojia Liao Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH net-next 6/7] net: hns3: disable loopback setting in hclge_mac_init

2019-09-04 Thread Huazhong Tan
From: Yufeng Mo If the selftest and reset are performed at the same time, the loopback setting may be still in the enable state after the reset. As a result, packets cannot be sent out. This patch fixes this issue by disabling loopback in hclge_mac_init. Signed-off-by: Yufeng Mo Signed-off-by:

Re: [PATCH 2/2] net: gmii2rgmii: Switch priv field in mdio device structure

2019-09-04 Thread Harini Katakam
Hi Andrew, On Tue, Aug 13, 2019 at 9:40 PM Andrew Lunn wrote: > > > > The kernel does have a few helper, spi_get_drvdata, pci_get_drvdata, > > > hci_get_drvdata. So maybe had add phydev_get_drvdata(struct phy_device > > > *phydev)? > > > > Maybe phydev_mdio_get_drvdata? Because the driver data me

Re: [RFC][PATCH 01/13] sched/deadline: Impose global limits on sched_attr::sched_period

2019-09-04 Thread Will Deacon
Hi Joel, On Wed, Sep 04, 2019 at 09:24:18AM -0400, Joel Fernandes wrote: > On Wed, Sep 04, 2019 at 01:30:38PM +0200, Peter Zijlstra wrote: > > On Wed, Sep 04, 2019 at 06:16:16AM -0400, Steven Rostedt wrote: > > > On Mon, 2 Sep 2019 11:16:23 +0200 > > > Peter Zijlstra wrote: > > > > > > > in sche

RE: [PATCH 2/2] mmc: block: add CMD13 polling for ioctl() cmd with R1B response

2019-09-04 Thread Avri Altman
> static int __mmc_blk_ioctl_cmd(struct mmc_card *card, struct > mmc_blk_data *md, >struct mmc_blk_ioc_data *idata) > { > @@ -623,6 +675,9 @@ static int __mmc_blk_ioctl_cmd(struct mmc_card > *card, struct mmc_blk_data *md, >

Re: [PATCH] bluetooth: bpa10x: change return value

2019-09-04 Thread Marcel Holtmann
Hi Navid, > When returning from bpa10x_send_frame, it is necessary to propagate any > potential errno returned from usb_submit_urb. > > Signed-off-by: Navid Emamdoost > --- > drivers/bluetooth/bpa10x.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) patch has been applied to bluetooth-ne

Re: [PATCH v3 1/1] arm64: dts: qcom: Add Lenovo Yoga C630

2019-09-04 Thread Sudeep Holla
On Wed, Sep 04, 2019 at 01:16:06PM +0100, Lee Jones wrote: > From: Bjorn Andersson > > The Lenovo Yoga C630 is built on the SDM850 from Qualcomm, but this seem > to be similar enough to the SDM845 that we can reuse the sdm845.dtsi. > > Supported by this patch is: keyboard, battery monitoring, UFS

Re: [PATCH -next 15/36] spi: meson-spicc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Neil Armstrong
On 04/09/2019 15:58, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/spi/spi-meson-spicc.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

Re: [PATCH -next 16/36] spi: spi-meson-spifc: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Neil Armstrong
On 04/09/2019 15:58, YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing > --- > drivers/spi/spi-meson-spifc.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

Re: [PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Vlastimil Babka
On 9/4/19 4:06 PM, Walter Wu wrote: > On Wed, 2019-09-04 at 14:49 +0200, Vlastimil Babka wrote: >> On 9/4/19 8:51 AM, Walter Wu wrote: >> > This patch is KASAN report adds the alloc/free stacks for page allocator >> > in order to help programmer to see memory corruption caused by page. >> > >> > B

[PATCH] hrtimer: Add a missing bracket and hide `migration_base' on !SMP

2019-09-04 Thread Sebastian Andrzej Siewior
Commit 68b2c8c1e4210 ("hrtimer: Don't take expiry_lock when timer is currently migrated") missed to add a bracket at the end of the if statement leading to compile errors. Since that commit the variable `migration_base' is always used but only available on SMP configuration thus leading to ano

Re: [PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Walter Wu
On Wed, 2019-09-04 at 15:44 +0200, Andrey Konovalov wrote: > On Wed, Sep 4, 2019 at 8:51 AM Walter Wu wrote: > > +config KASAN_DUMP_PAGE > > + bool "Dump the page last stack information" > > + depends on KASAN && PAGE_OWNER > > + help > > + By default, KASAN doesn't recor

[PATCH] net: qed: Move static keyword to the front of declaration

2019-09-04 Thread Krzysztof Wilczynski
Move the static keyword to the front of declaration of iwarp_state_names, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): drivers/net/ethernet/qlogic/qed/qed_iwarp.c:385:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-de

Re: [PATCH net-next] MAINTAINERS: add myself as maintainer for xilinx axiethernet driver

2019-09-04 Thread Michal Simek
On 04. 09. 19 15:44, Radhey Shyam Pandey wrote: > I am maintaining xilinx axiethernet driver in xilinx tree and would like > to maintain it in the mainline kernel as well. Hence adding myself as a > maintainer. Also Anirudha and John has moved to new roles, so based on > request removing them from

Re: [PATCH 1/1] mm/pgtable/debug: Add test validating architecture page table helpers

2019-09-04 Thread Kirill A. Shutemov
On Tue, Sep 03, 2019 at 01:31:46PM +0530, Anshuman Khandual wrote: > This adds a test module which will validate architecture page table helpers > and accessors regarding compliance with generic MM semantics expectations. > This will help various architectures in validating changes to the existing

Re: [RESEND PATCH 0/5] Add bluetooth support for Orange Pi 3

2019-09-04 Thread Marcel Holtmann
Hi Maxime, > (Resend to add missing lists, sorry for the noise.) > > This series implements bluetooth support for Xunlong Orange Pi 3 board. > > The board uses AP6256 WiFi/BT 5.0 chip. > > Summary of changes: > > - add more delay to let initialize the chip >

Re: [PATCH 2/2] sched/debug: add sched_update_nr_running tracepoint

2019-09-04 Thread Qais Yousef
On 09/04/19 09:06, Joel Fernandes wrote: > > > > It is actually true. > > > > But you need to make the distinction between a tracepoint > > and a trace event first. > > I know this distinction well. > > > What Valentin is talking about here is the *bare* > > tracepoint without any event associat

Re: [PATCH v3 0/4] Add binder state and statistics to binderfs

2019-09-04 Thread Joel Fernandes
On September 4, 2019 7:19:35 AM EDT, Christian Brauner wrote: >On Tue, Sep 03, 2019 at 09:16:51AM -0700, Hridya Valsaraju wrote: >> Currently, the only way to access binder state and >> statistics is through debugfs. We need a way to >> access the same even when debugfs is not mounted. >> These pa

[PATCH] net: hns: Move static keyword to the front of declaration

2019-09-04 Thread Krzysztof Wilczynski
Move the static keyword to the front of declaration of g_dsaf_mode_match, and resolve the following compiler warning that can be seen when building with warnings enabled (W=1): drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c:27:1: warning: ‘static’ is not at beginning of declaration [-Wold-st

Re: [PATCH] USB: dummy-hcd: fix power budget for SuperSpeed mode

2019-09-04 Thread Alan Stern
On Wed, 4 Sep 2019, Felipe Balbi wrote: > > Hi, > > writes: > > > The power budget for SuperSpeed mode should be 900 mA > > according to USB3.0 specification, so set the power > > budget to 900 mA for dummy_start_ss which is only used > > for SuperSpeed mode. > > > > If the max power consumpti

Re: [PATCH 2/3] task: RCU protect tasks on the runqueue

2019-09-04 Thread Frederic Weisbecker
On Mon, Sep 02, 2019 at 11:52:01PM -0500, Eric W. Biederman wrote: > > In the ordinary case today the rcu grace period of a task comes when a > task is reaped, well after the task has left the runqueue. This > change guarantees that the rcu grace period always happens after a > task has left the

Re: [PATCH] mm: fix double page fault on arm64 if PTE_AF is cleared

2019-09-04 Thread Catalin Marinas
On Wed, 4 Sep 2019 at 04:20, Anshuman Khandual wrote: > On 09/04/2019 06:28 AM, Jia He wrote: > > @@ -2152,20 +2153,30 @@ static inline void cow_user_page(struct page *dst, > > struct page *src, unsigned lo > >*/ > > if (unlikely(!src)) { > > void *kaddr = kmap_atomic(

Re: [PATCH v5 6/6] virtio-balloon: Add support for providing unused page reports to host

2019-09-04 Thread Alexander Duyck
On Wed, Sep 4, 2019 at 3:44 AM Michael S. Tsirkin wrote: > > On Tue, Sep 03, 2019 at 07:13:32AM -0700, Alexander Duyck wrote: > > On Tue, Sep 3, 2019 at 12:32 AM Michael S. Tsirkin wrote: > > > > > > On Mon, Aug 12, 2019 at 02:33:56PM -0700, Alexander Duyck wrote: > > > > From: Alexander Duyck >

Re: [PATCH] fuse: reserve byteswapped init opcodes

2019-09-04 Thread Dr. David Alan Gilbert
* Michael S. Tsirkin (m...@redhat.com) wrote: > virtio fs tunnels fuse over a virtio channel. One issue is two sides > might be speaking different endian-ness. To detects this, > host side looks at the opcode value in the FUSE_INIT command. > Works fine at the moment but might fail if a future ver

Re: [PATCH] Bluetooth: btusb: Use cmd_timeout to reset Realtek device

2019-09-04 Thread Marcel Holtmann
Hi Alex, > Realtek Bluetooth controller provides a BT_DIS reset pin for hardware > reset of it. The cmd_timeout is helpful on Realtek bluetooth controller > where the firmware gets stuck. > > Signed-off-by: Alex Lu > --- > drivers/bluetooth/btusb.c | 29 + > 1 file cha

RE: [PATCH] HID: hyperv: Use in-place iterator API in the channel callback

2019-09-04 Thread Jiri Kosina
On Tue, 3 Sep 2019, Dexuan Cui wrote: > > Hi Jiri, Benjamin, can this patch go through Sasha's hyperv tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux.git > > > > This is a purely Hyper-V specific change. > > Hi Jiri, Benjamin, > Are you OK if this patch for the Hyper-V HID

Re: [PATCH 1/2] mm/kasan: dump alloc/free stack for page allocator

2019-09-04 Thread Walter Wu
On Wed, 2019-09-04 at 16:13 +0200, Vlastimil Babka wrote: > On 9/4/19 4:06 PM, Walter Wu wrote: > > On Wed, 2019-09-04 at 14:49 +0200, Vlastimil Babka wrote: > >> On 9/4/19 8:51 AM, Walter Wu wrote: > >> > This patch is KASAN report adds the alloc/free stacks for page allocator > >> > in order to h

Re: "beyond 2038" warnings from loopback mount is noisy

2019-09-04 Thread Deepa Dinamani
> On Sep 4, 2019, at 5:58 AM, Theodore Y. Ts'o wrote: > >> On Tue, Sep 03, 2019 at 09:50:09PM -0700, Deepa Dinamani wrote: >> If we don't care to warn about the timestamps that are clamped in >> memory, maybe we could just warn when they are being written out. >> Would something like this be more

Re: [PATCH v3] PCI: hv: Make functions static

2019-09-04 Thread Lorenzo Pieralisi
On Thu, Aug 29, 2019 at 03:50:47PM +, Haiyang Zhang wrote: > > > > -Original Message- > > From: Krzysztof Wilczynski On Behalf Of Krzysztof > > Wilczynski > > Sent: Thursday, August 29, 2019 2:17 AM > > To: Bjorn Helgaas > > Cc: KY Srinivasan ; Haiyang Zhang > > ; Stephen Hemminger

Re: [PATCH -next 25/36] spi: s3c24xx: use devm_platform_ioremap_resource() to simplify code

2019-09-04 Thread Krzysztof Kozlowski
On Wed, 4 Sep 2019 at 16:00, YueHaibing wrote: > > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot This tag does not look real... First of all where is the report? Second, it was reported by coccinelle. Reported-by sh

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