Re: [PATCH v1] mm:memcg: skip memcg of current in mem_cgroup_soft_limit_reclaim

2018-08-03 Thread Zhaoyang Huang
On Fri, Aug 3, 2018 at 2:18 PM Michal Hocko wrote: > > On Fri 03-08-18 14:11:26, Zhaoyang Huang wrote: > > On Fri, Aug 3, 2018 at 1:48 PM Zhaoyang Huang > > wrote: > > > > > > for the soft_limit reclaim has more directivity than global reclaim, > > > we40960 > > > have current memcg be skipped

Re: [PATCH v1] mm:memcg: skip memcg of current in mem_cgroup_soft_limit_reclaim

2018-08-03 Thread Michal Hocko
On Fri 03-08-18 14:59:34, Zhaoyang Huang wrote: > On Fri, Aug 3, 2018 at 2:18 PM Michal Hocko wrote: > > > > On Fri 03-08-18 14:11:26, Zhaoyang Huang wrote: > > > On Fri, Aug 3, 2018 at 1:48 PM Zhaoyang Huang > > > wrote: > > > > > > > > for the soft_limit reclaim has more directivity than globa

Re: [RFC 0/4] Virtio uses DMA API for all devices

2018-08-03 Thread Christoph Hellwig
On Thu, Aug 02, 2018 at 11:53:08PM +0300, Michael S. Tsirkin wrote: > > We don't need cache flushing tricks. > > You don't but do real devices on same platform need them? IBMs power plaforms are always cache coherent. There are some powerpc platforms have not cache coherent DMA, but I guess this

Re: linux-next: manual merge of the mips tree with the kbuild tree

2018-08-03 Thread Christoph Hellwig
On Fri, Aug 03, 2018 at 04:42:52PM +1000, Stephen Rothwell wrote: > Hi Christoph, > > On Fri, 3 Aug 2018 08:41:28 +0200 Christoph Hellwig wrote: > > > > On Fri, Aug 03, 2018 at 09:21:00AM +1000, Stephen Rothwell wrote: > > > I fixed it up (see below) > > > > I can't find any fixup below.. > >

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-03 Thread Andrew Pinski
On Thu, Aug 2, 2018 at 12:31 PM Mikulas Patocka wrote: > > Hi > > I tried to use a PCIe graphics card on the MacchiatoBIN board and I hit a > strange problem. > > When I use the links browser in graphics mode on the framebuffer, I get > occasional pixel corruption. Links does memcpy, memset and 4-

Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab()

2018-08-03 Thread Kirill Tkhai
On 02.08.2018 20:26, Yang Shi wrote: > On Thu, Aug 2, 2018 at 9:54 AM, Shakeel Butt wrote: >> On Thu, Aug 2, 2018 at 9:47 AM Yang Shi wrote: >>> >>> On Thu, Aug 2, 2018 at 4:00 AM, Kirill Tkhai wrote: In case of shrink_slab_memcg() we do not zero nid, when shrinker is not numa-aware. T

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-03 Thread Ard Biesheuvel
On 3 August 2018 at 08:35, Mikulas Patocka wrote: > > > On Thu, 2 Aug 2018, Matt Sealey wrote: > >> The easiest explanation for this would be that the memory isn?t mapped >> correctly. You can?t use PCIe memory spaces with anything other than >> Device-nGnRE or stricter mappings. That?s just diffe

[PATCH 10/46] dmaengine: tegra210-adma: use helper dmaenginem_async_device_register

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister remove the label dma_remove Signed-off-by: Huang Shijie --- drivers/dma/tegra210-adma.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/dma/tegra210-adma.c b/dr

[PATCH 25/46] dmaengine: mmp_tdma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. return error if it fails. Signed-off-by: Huang Shijie --- drivers/dma/mmp_tdma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/driv

[PATCH 17/46] dmaengine: stm32-mdma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/stm32-mdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/stm32-mdma.c b/drivers/dma/stm32-mdma.c index 06dd172

[PATCH 03/46] dmaengine: xilinx_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code, remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/xilinx/xilinx_dma.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/dma/xilinx/xilinx_dma.c b/drivers/dma/xilinx/xilinx_dma.c

[PATCH 07/46] dmaengine: omap-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/ti/omap-dma.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/dma/ti/omap-dma.c b/drivers/dma/ti/omap-dma.c index a4a931ddf

[PATCH 12/46] dmaengine: sun6i-dma: use helper dmaenginem_async_device_register

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister remove the label err_dma_unregister Signed-off-by: Huang Shijie --- drivers/dma/sun6i-dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/sun6i-dma.c b/dri

[PATCH 05/46] dmaengine: txx9dmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/txx9dmac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/txx9dmac.c b/drivers/dma/txx9dmac.c index eb45af71d3a3..1e9

[PATCH 08/46] dmaengine: edma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/ti/edma.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/dma/ti/edma.c b/drivers/dma/ti/edma.c index ceabdea40ae0..28b

[PATCH 24/46] dmaengine: nbpfaxi: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label e_dma_dev_unreg Signed-off-by: Huang Shijie --- drivers/dma/nbpfaxi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/nbpfaxi.c b/dri

[PATCH 29/46] dmaengine: hidma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/qcom/hidma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/qcom/hidma.c b/drivers/dma/qcom/hidma.c index 43d4b00b

[PATCH 28/46] dmaengine: rcar-dmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/sh/rcar-dmac.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/dma/sh/rcar-dmac.c b/drivers/dma/sh/rcar-dmac.c index

[PATCH 26/46] dmaengine: shdmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/sh/shdmac.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/dma/sh/shdmac.c b/drivers/dma/sh/shdmac.c index 04a74e0a9

[PATCH 41/46] dmaengine: at_hdmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/at_hdmac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 75f38d19fcbe.

[PATCH 46/46] dmaengine: add COMPILE_TEST for the drivers

2018-08-03 Thread Huang Shijie
We can do the compiling test with COMPILE_TEST. Thisi patch adds the COMPILE_TEST for the drivers. Signed-off-by: Huang Shijie --- drivers/dma/Kconfig| 24 drivers/dma/ti/Kconfig | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/dma/Kc

[PATCH 44/46] dmaengine: dma-jz4740: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_unregister Signed-off-by: Huang Shijie --- drivers/dma/dma-jz4740.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/dma-jz4740.c

[PATCH 43/46] dmaengine: dma-jz4780: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_unregister_dev Signed-off-by: Huang Shijie --- drivers/dma/dma-jz4780.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/dma/dma-jz47

[PATCH 21/46] dmaengine: bam_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_unregister_dma Signed-off-by: Huang Shijie --- drivers/dma/qcom/bam_dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/qcom/ba

[PATCH 09/46] dmaengine: cppi41: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/ti/cppi41.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/ti/cppi41.c b/drivers/dma/ti/cppi41.c index 1497da367710

[PATCH 35/46] dmaengine: mtk-hsdma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/mediatek/mtk-hsdma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/mediatek/mtk-hsdma.c b/drivers/dma/mediatek/m

[PATCH 45/46] dmaengine: dma-axi-dmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_unregister_device Signed-off-by: Huang Shijie --- drivers/dma/dma-axi-dmac.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/dma-

[PATCH 20/46] dmaengine: sirf-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label unreg_dma_dev Signed-off-by: Huang Shijie --- drivers/dma/sirf-dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/sirf-dma.c b/dri

Re: [PATCH v2 15/18] serial: intel: Support more platform

2018-08-03 Thread Wu, Songjun
On 8/3/2018 1:57 PM, Greg Kroah-Hartman wrote: On Fri, Aug 03, 2018 at 11:02:34AM +0800, Songjun Wu wrote: Support more platform. Signed-off-by: Songjun Wu --- Your changelog text makes no sense, sorry. Thanks for your comment. I will describe it more clearly.

[PATCH 36/46] dmaengine: k3dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label of_dma_register_fail Signed-off-by: Huang Shijie --- drivers/dma/k3dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/k3dma.c b/dr

[PATCH 30/46] dmaengine: pxa_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/pxa_dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/pxa_dma.c b/drivers/dma/pxa_dma.c index b31c28b67ad3..210

[PATCH 40/46] dmaengine: fsl-edma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/fsl-edma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/fsl-edma.c b/drivers/dma/fsl-edma.c index c7568869284e.

[PATCH 42/46] dmaengine: at_xdmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_dma_unregister Signed-off-by: Huang Shijie --- drivers/dma/at_xdmac.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/at_xdmac.c

[PATCH 32/46] dmaengine: pl330: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/pl330.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 88750a34e859..e4bc3301

[PATCH 33/46] dmaengine: pch_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/pch_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/pch_dma.c b/drivers/dma/pch_dma.c index afd8f27bda96..50

Re: [PATCH v12 0/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-03 Thread Masami Hiramatsu
Hi Joel, Thank you for trying to fix that. On Thu, 2 Aug 2018 19:57:09 -0700 Joel Fernandes wrote: > Hi Masami, > > On Thu, Aug 2, 2018 at 7:55 AM, Masami Hiramatsu wrote: > > Hi Joel, > > > > I found this caused several issues when testing ftrace. > > > > #1) ftrace boottest (FTRACE_STARTUP_

[PATCH 37/46] dmaengine: imx-sdma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_register Signed-off-by: Huang Shijie --- drivers/dma/imx-sdma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/driv

[PATCH 38/46] dmaengine: imx-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_of_dma_controller Signed-off-by: Huang Shijie --- drivers/dma/imx-dma.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/dma/imx-dma.

[PATCH 39/46] dmaengine: img-mdc-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister remove label unregister Signed-off-by: Huang Shijie --- drivers/dma/img-mdc-dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/img-mdc-dma.c b/d

[PATCH 31/46] dmaengine: moxart-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/moxart-dma.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/dma/moxart-dma.c b/drivers/dma/moxart-dma.c index e04499

[PATCH 18/46] dmaengine: stm32-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/stm32-dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/stm32-dma.c b/drivers/dma/stm32-dma.c index 379e8d534e61

[PATCH 34/46] dmaengine: mxs-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/mxs-dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/mxs-dma.c b/drivers/dma/mxs-dma.c index ae5182ff0128..351

[PATCH 16/46] dmaengine: ste_dma40: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label unregister_slave, unregister_memcpy Signed-off-by: Huang Shijie --- drivers/dma/ste_dma40.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git

[PATCH 22/46] dmaengine: sudmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_slave_reg Signed-off-by: Huang Shijie --- drivers/dma/sh/sudmac.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/sh/sudmac.c b/drive

[PATCH 15/46] dmaengine: s3c24xx-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_slave_reg Signed-off-by: Huang Shijie --- drivers/dma/s3c24xx-dma.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/dma/s3c24xx-

[PATCH 19/46] dmaengine: sprd-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. remove label err_of_register Signed-off-by: Huang Shijie --- drivers/dma/sprd-dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/sprd-dma.c b/d

[PATCH 23/46] dmaengine: sa11x0-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/sa11x0-dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/sa11x0-dma.c b/drivers/dma/sa11x0-dma.c index b31d07c

[PATCH 27/46] dmaengine: usb-dmac: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/sh/usb-dmac.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/sh/usb-dmac.c b/drivers/dma/sh/usb-dmac.c index 1bb1a

[PATCH 13/46] dmaengine: sun4i-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister remove label err_dma_unregister Signed-off-by: Huang Shijie --- drivers/dma/sun4i-dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/sun4i-dma.c b/drivers

[PATCH 14/46] dmaengine: coh901318: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister remove label err_register_of_dma,err_register_memcpy Signed-off-by: Huang Shijie --- drivers/dma/coh901318.c | 14 -- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/dri

[PATCH 00/46] Use dmaenginem_async_device_register to simplify code

2018-08-03 Thread Huang Shijie
All the patches are using dmaenginem_async_device_register to simplify code except the last one: dmaengine: add COMPILE_TEST for the drivers I use the last one to do the compiler test. There are still 20 drivers which do not use the dmaenginem_async_device_register. Let me take a rest, if thi

[PATCH 04/46] dmaengine: xgene-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove xgene_dma_async_register remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/xgene-dma.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/dma/xgene-dma.

[PATCH 02/46] dmaengine: zynqmp_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code, remove dma_async_device_unregister. Signed-off-by: Huang Shijie --- drivers/dma/xilinx/zynqmp_dma.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/dma/xilinx/zynqmp_dma.c b/drivers/dma/xilinx/zynqmp_dma.c

[PATCH 06/46] dmaengine: timb_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/timb_dma.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/dma/timb_dma.c b/drivers/dma/timb_dma.c index 395c698edb4d..39e1ba

[PATCH 11/46] dmaengine: tegra20-apb-dma: use helper dmaenginem_async_device_register

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister remove the label err_unregister_dma_dev Signed-off-by: Huang Shijie --- drivers/dma/tegra20-apb-dma.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/dma/tegra2

[PATCH 01/46] dmaengine: zx_dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
Use dmaenginem_async_device_register() to simplify the code. Remove the code calling dma_async_device_unregister(). Signed-off-by: Huang Shijie --- drivers/dma/zx_dma.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/dma/zx_dma.c b/drivers/dma/zx_dma.c index 25

Re: [PATCH] Input: cros_ec_keyb: Remove check before calling pm_wakeup_event.

2018-08-03 Thread Marek Szyprowski
Hi All, On 2018-06-06 00:44, Ravi Chandra Sadineni wrote: > Remove the unnecessary check before calling pm_wakeup_event. If the > device is not wake enabled, this call is no-op anyway. > > Signed-off-by: Ravi Chandra Sadineni This patch breaks suspend/resume on Samsung Exynos5250 Snow Chromebook

Re: [RFC] perf annotate: option to report global percentage

2018-08-03 Thread Stephane Eranian
Hi Jiri, On Tue, Jul 31, 2018 at 2:21 AM Jiri Olsa wrote: > > On Thu, Jul 19, 2018 at 10:25:39AM +0200, Jiri Olsa wrote: > > On Wed, Jul 18, 2018 at 02:55:14PM -0700, Stephane Eranian wrote: > > > Hi Jiri, > > > > > > As far as I know, once you go into annotate mode, via perf report TUI > > > mode

linux-next: manual merge of the kspp tree with the kbuild tree

2018-08-03 Thread Stephen Rothwell
Hi Kees, Today's linux-next merge of the kspp tree got a conflict in: arch/Kconfig between commit: 22471e1313f2 ("kconfig: use a menu in arch/Kconfig to reduce clutter") from the kbuild tree and commit: 45332b1bdfdc ("gcc-plugins: split out Kconfig entries to scripts/gcc-plugins/Kconfi

Re: [PATCH 00/15][ANNOUNCE] 3.18.117-rt105-rc1

2018-08-03 Thread Sebastian Andrzej Siewior
On 2018-08-02 17:25:15 [-0500], Tom Zanussi wrote: > Please scream at me if I messed something up. Please test the patches > too. The series claims to have 15 patches and I see only the first 10 (in my inbox, rt-users and linux-kernel). > Enjoy! > >Tom Sebastian

Re: [PATCH] trace: Use rcu_dereference_raw for hooks from trace-event subsystem

2018-08-03 Thread Masami Hiramatsu
On Thu, 2 Aug 2018 19:34:07 -0700 "Joel Fernandes (Google)" wrote: > Since we switched to using SRCU for tracepoints used in the idle path, > we can no longer use rcu_dereference_sched for dereferencing points in > trace-event hooks. > > Since tracepoints can now use either SRCU or sched-RCU, j

Re: [PATCH v2 14/18] serial: intel: Add CCF support

2018-08-03 Thread Wu, Songjun
On 8/3/2018 1:56 PM, Greg Kroah-Hartman wrote: On Fri, Aug 03, 2018 at 11:02:33AM +0800, Songjun Wu wrote: Previous implementation uses platform-dependent API to get the clock. Those functions are not available for other SoC which uses the same IP. The CCF (Common Clock Framework) have an abs

Re: [PATCH v12 0/3] tracing: Centralize preemptirq tracepoints and unify their usage

2018-08-03 Thread Masami Hiramatsu
On Thu, 2 Aug 2018 19:57:09 -0700 Joel Fernandes wrote: > Hi Masami, > > On Thu, Aug 2, 2018 at 7:55 AM, Masami Hiramatsu wrote: > > Hi Joel, > > > > I found this caused several issues when testing ftrace. > > > > #1) ftrace boottest (FTRACE_STARTUP_TEST) fails > > This sadly appears to be a r

Re: [PATCH 07/46] dmaengine: omap-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Peter Ujfalusi
On 2018-08-03 10:19, Huang Shijie wrote: > Use dmaenginem_async_device_register to simplify the code: >remove dma_async_device_unregister > > Signed-off-by: Huang Shijie > --- > drivers/dma/ti/omap-dma.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/drivers

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-03 Thread Vincent Guittot
On Thu, 2 Aug 2018 at 18:59, Quentin Perret wrote: > > On Thursday 02 Aug 2018 at 18:38:01 (+0200), Vincent Guittot wrote: > > On Thu, 2 Aug 2018 at 18:10, Quentin Perret wrote: > > > > > > On Thursday 02 Aug 2018 at 18:07:49 (+0200), Vincent Guittot wrote: > > > > On Thu, 2 Aug 2018 at 18:00, Qu

Re: simplified RISC-V interrupt and clocksource handling v2

2018-08-03 Thread Thomas Gleixner
On Thu, 2 Aug 2018, Palmer Dabbelt wrote: > bit of arch/riscv diff here so I don't mind taking it through the RISC-V tree, > but there's also some irqchip and clocksource stuff as well so I'm not sure if > that's OK to do. I have no objections if that goes through the risc-v tree once the DT stuff

Re: [PATCH 08/46] dmaengine: edma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Peter Ujfalusi
On 2018-08-03 10:19, Huang Shijie wrote: > Use dmaenginem_async_device_register to simplify the code: >remove dma_async_device_unregister > > Signed-off-by: Huang Shijie > --- > drivers/dma/ti/edma.c | 8 ++-- > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/drivers

Re: linux-next: manual merge of the mips tree with the kbuild tree

2018-08-03 Thread Stephen Rothwell
Hi Christoph, On Fri, 3 Aug 2018 09:12:26 +0200 Christoph Hellwig wrote: > > On Fri, Aug 03, 2018 at 04:42:52PM +1000, Stephen Rothwell wrote: > > > > On Fri, 3 Aug 2018 08:41:28 +0200 Christoph Hellwig wrote: > > > > > > On Fri, Aug 03, 2018 at 09:21:00AM +1000, Stephen Rothwell wrote: > >

Re: [PATCH 00/46] Use dmaenginem_async_device_register to simplify code

2018-08-03 Thread Lars-Peter Clausen
On 08/03/2018 09:19 AM, Huang Shijie wrote: > All the patches are using dmaenginem_async_device_register to simplify code > except the last one: > dmaengine: add COMPILE_TEST for the drivers > > I use the last one to do the compiler test. > There are still 20 drivers which do not use the > dm

Re: [PATCH 07/46] dmaengine: omap-dma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
On Fri, Aug 03, 2018 at 10:47:30AM +0300, Peter Ujfalusi wrote: > > > On 2018-08-03 10:19, Huang Shijie wrote: > > Use dmaenginem_async_device_register to simplify the code: > >remove dma_async_device_unregister > > > > Signed-off-by: Huang Shijie > > --- > > drivers/dma/ti/omap-dma.c | 5

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-03 Thread Florian Weimer
On 08/03/2018 09:11 AM, Andrew Pinski wrote: Yes fix Links not to use memcpy on the framebuffer. It is undefined behavior to use device memory with memcpy. Some (de facto) ABIs require that it is supported, though. For example, the POWER string functions avoid unaligned loads and stores for t

Re: [PATCH 08/46] dmaengine: edma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
On Fri, Aug 03, 2018 at 10:50:13AM +0300, Peter Ujfalusi wrote: > > > On 2018-08-03 10:19, Huang Shijie wrote: > > Use dmaenginem_async_device_register to simplify the code: > >remove dma_async_device_unregister > > > > Signed-off-by: Huang Shijie > > --- > > drivers/dma/ti/edma.c | 8 ++--

Re: [PATCH 09/46] dmaengine: cppi41: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Peter Ujfalusi
On 2018-08-03 10:19, Huang Shijie wrote: > Use dmaenginem_async_device_register to simplify the code: >remove dma_async_device_unregister > > Signed-off-by: Huang Shijie > --- > drivers/dma/ti/cppi41.c | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/driver

Re: [PATCH 1/4] genirq: Provide basic NMI management for interrupt lines

2018-08-03 Thread Thomas Gleixner
On Thu, 2 Aug 2018, Ricardo Neri wrote: > On Thu, Aug 02, 2018 at 11:40:55AM +0200, Thomas Gleixner wrote: > > Yes, focussing on "sane" architectures (by some definition of sane) where > > the NMI mode is just changing the delivery restrictions allows to still > > differentiate from which source th

Re: [PATCH 00/46] Use dmaenginem_async_device_register to simplify code

2018-08-03 Thread Huang Shijie
On Fri, Aug 03, 2018 at 09:51:43AM +0200, Lars-Peter Clausen wrote: > On 08/03/2018 09:19 AM, Huang Shijie wrote: > > All the patches are using dmaenginem_async_device_register to simplify code > > except the last one: > > dmaengine: add COMPILE_TEST for the drivers > > > > I use the last one to

Re: [PATCH 09/46] dmaengine: cppi41: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Huang Shijie
在 2018年08月03日 15:55, Peter Ujfalusi 写道: On 2018-08-03 10:19, Huang Shijie wrote: Use dmaenginem_async_device_register to simplify the code: remove dma_async_device_unregister Signed-off-by: Huang Shijie --- drivers/dma/ti/cppi41.c | 7 ++- 1 file changed, 2 insertions(+), 5 dele

Built in PS2 keyboard in new ASUS/acer laptops can not wake up system after s2idle

2018-08-03 Thread Chris Chiu
Hi guys, We have some new laptops with Intel new Intel WiskyLake CPU come in and they all have the same problem. They all have the so-called "Modern Standby" feature which is s2idle in Linux. The problem is the built-in keyboard no longer wake up the system after it goes to s2idle. Only th

[ANNOUNCE] v4.16.18-rt12

2018-08-03 Thread Sebastian Andrzej Siewior
Dear RT folks! I'm pleased to announce the v4.16.18-rt12 patch set. Changes since v4.16.18-rt11: - Mark RCU's "rcu_iw" irqwork to be invoked in hardirq context as expected by RCU. Reported by John Ogness. - Drop the "is_special_task_state()" check from rtmutex's custom set_state fu

Re: [PATCH v2 1/2] leds: core: Introduce LED pattern trigger

2018-08-03 Thread Baolin Wang
Hi Jacek, On 3 August 2018 at 05:21, Jacek Anaszewski wrote: > Hi Baolin, > > Thank you for addressing review remarks. > > I've played a bit with the interface and I have one conclusion > regarding pattern parsing, please refer below. > > Also one tiny optimization request in pattern_trig_activat

Re: [PATCH v5 4/4] clk: bd71837: Add driver for BD71837 PMIC clock

2018-08-03 Thread Matti Vaittinen
On Tue, Jul 31, 2018 at 11:28:58AM +0300, Matti Vaittinen wrote: > On Tue, Jun 26, 2018 at 11:13:19AM +0300, Matti Vaittinen wrote: > > On Mon, Jun 25, 2018 at 04:44:57PM -0700, Stephen Boyd wrote: > > > Quoting Matti Vaittinen (2018-06-12 01:23:54) > > > > On Tue, Jun 12, 2018 at 12:44:11AM -0700,

Re: [PATCH 2/5] pinctrl: meson: Add support to set direction with a secure monitor call

2018-08-03 Thread Neil Armstrong
On 02/08/2018 22:42, Martin Blumenstingl wrote: > On Thu, Aug 2, 2018 at 1:21 PM Jerome Brunet wrote: >> >> On Thu, 2018-08-02 at 09:52 +0200, Neil Armstrong wrote: >>> On 01/08/2018 22:23, Martin Blumenstingl wrote: Hi Neil, On Wed, Aug 1, 2018 at 12:05 PM Neil Armstrong wro

Re: [PATCH 17/46] dmaengine: stm32-mdma: use dmaenginem_async_device_register to simplify the code

2018-08-03 Thread Pierre Yves MORDRET
Acked-by: Pierre-Yves MORDRET On 08/03/2018 09:19 AM, Huang Shijie wrote: > Use dmaenginem_async_device_register to simplify the code: > remove dma_async_device_unregister. > > Signed-off-by: Huang Shijie > --- > drivers/dma/stm32-mdma.c | 4 +--- > 1 file changed, 1 insertion(+), 3 dele

Re: [PATCH v5 09/14] sched: Add over-utilization/tipping point indicator

2018-08-03 Thread Quentin Perret
On Friday 03 Aug 2018 at 09:48:47 (+0200), Vincent Guittot wrote: > On Thu, 2 Aug 2018 at 18:59, Quentin Perret wrote: > I'm not really concerned about re-enabling load balance but more that > the effort of packing of tasks in few cpus/clusters that EAS tries to > do can be broken for every new ta

Re: [PATCH 00/46] Use dmaenginem_async_device_register to simplify code

2018-08-03 Thread Peter Ujfalusi
Hi, On 2018-08-03 10:19, Huang Shijie wrote: > All the patches are using dmaenginem_async_device_register to simplify code > except the last one: > dmaengine: add COMPILE_TEST for the drivers > > I use the last one to do the compiler test. > There are still 20 drivers which do not use the >

[PATCH] xfs: fix a comment in xfs_log_reserve

2018-08-03 Thread Huang Chong
From: "Huang Chong" Fix the comment in xfs_log_reserve to avoid confusing. Signed-of-by: Huang Chong --- fs/xfs/xfs_log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/xfs/xfs_log.c b/fs/xfs/xfs_log.c index 5e56f3b..891ffb1 100644 --- a/fs/xfs/xfs_log.c +++ b/fs/xfs/xf

hi

2018-08-03 Thread Sgt Sherri Gallagher
Please reply me back I have something to tell you.I am Sgt.Sherri.

linux-next: manual merge of the akpm-current tree with the kbuild tree

2018-08-03 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the akpm-current tree got a conflict in: lib/Kconfig.debug between commit: 06ec64b84c35 ("Kconfig: consolidate the "Kernel hacking" menu") from the kbuild tree and commit: bbd89226bb66 ("fs/buffer.c: add debug print for __getblk_gfp() stall problem")

Re: [PATCH 0/2] dt: thermal: Fix broken cooling-maps

2018-08-03 Thread Viresh Kumar
On 31-07-18, 14:00, Zhang Rui wrote: > I suppose this patch should go via Eduardo' tree. > Eduardo, can you please take a look at this patch set? Zhang, Since Eduardo isn't replying, will it be possible for you to pick it up as I don't want to miss 4.19-rc1. -- viresh

Re: [PATCH] firmware: make sure builtin firmware is page alignment

2018-08-03 Thread Zhang, Ning A
在 2018-08-03五的 07:39 +0200,Greg KH写道: > On Fri, Aug 03, 2018 at 09:45:21AM +0800, Zhang Ning wrote: > > when firmware is in filesystem, request_firmware will load it, > > and copy it to vmalloc memory, that is page align memory. > > > > but when firmware is builtin, it is 8 bytes or 4 bytes alignm

PRIVATE DONATION

2018-08-03 Thread Wang Jianlin
-- Hello friend I intend to give you a portion of my wealth as a free-will financial donation to you. Respond to partake Wang Jianlin Dalian Wanda Group

Re: [PATCH] ftrace: Add missing check for existing hwlat thread

2018-08-03 Thread Erica Bugden
On Wed, 2018-08-01 at 15:40 -0400, Steven Rostedt wrote: > On Wed,  1 Aug 2018 12:45:54 +0200 > > Erica Bugden wrote: > > > The hwlat tracer uses a kernel thread to measure latencies. The function > > that creates this kernel thread, start_kthread(), can be called when the > > tracer is initializ

Re: [PATCH 00/46] Use dmaenginem_async_device_register to simplify code

2018-08-03 Thread Huang Shijie
On Fri, Aug 03, 2018 at 11:20:49AM +0300, Peter Ujfalusi wrote: > Hi, > > On 2018-08-03 10:19, Huang Shijie wrote: > > All the patches are using dmaenginem_async_device_register to simplify code > > except the last one: > > dmaengine: add COMPILE_TEST for the drivers > > > > I use the last one

Re: [PATCH] pstore: add zstd compression support

2018-08-03 Thread kbuild test robot
Hi linux-kernel-owner, Thank you for the patch! Yet something to improve: [auto build test ERROR on kees/for-next/pstore] [also build test ERROR on v4.18-rc7 next-20180802] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github

Re: [PATCH v2 2/2] tty/serial: atmel: add ISO7816 support

2018-08-03 Thread Ludovic Desroches
Hi Richard, On Fri, Jul 27, 2018 at 04:39:17PM +0200, Richard Genoud wrote: > Hi Ludovic, > > On 19/07/2018 10:47, Ludovic Desroches wrote: > > From: Nicolas Ferre > > > > When mode is set in atmel_config_iso7816() we backup last RS232 mode > > for coming back to this mode if requested. > > Als

Re: [RFC v6 PATCH 1/2] mm: refactor do_munmap() to extract the common part

2018-08-03 Thread Michal Hocko
On Fri 27-07-18 02:10:13, Yang Shi wrote: > Introduces three new helper functions: > * munmap_addr_sanity() > * munmap_lookup_vma() > * munmap_mlock_vma() > > They will be used by do_munmap() and the new do_munmap with zapping > large mapping early in the later patch. > > There is no functi

Re: [PATCH] mm: Move check for SHRINKER_NUMA_AWARE to do_shrink_slab()

2018-08-03 Thread Kirill Tkhai
On 02.08.2018 23:47, Andrew Morton wrote: > On Thu, 02 Aug 2018 14:00:52 +0300 Kirill Tkhai wrote: > >> In case of shrink_slab_memcg() we do not zero nid, when shrinker >> is not numa-aware. This is not a real problem, since currently >> all memcg-aware shrinkers are numa-aware too (we have two:

Re: [RFC v6 PATCH 2/2] mm: mmap: zap pages with read mmap_sem in munmap

2018-08-03 Thread Michal Hocko
On Fri 27-07-18 02:10:14, Yang Shi wrote: > When running some mmap/munmap scalability tests with large memory (i.e. > > 300GB), the below hung task issue may happen occasionally. > > INFO: task ps:14018 blocked for more than 120 seconds. >Tainted: GE 4.9.79-009.ali3000.alios7.x

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-03 Thread Szabolcs Nagy
On 03/08/18 08:53, Florian Weimer wrote: On 08/03/2018 09:11 AM, Andrew Pinski wrote: Yes fix Links not to use memcpy on the framebuffer. It is undefined behavior to use device memory with memcpy. Some (de facto) ABIs require that it is supported, though.  For example, the POWER string functio

Re: framebuffer corruption due to overlapping stp instructions on arm64

2018-08-03 Thread Ramana Radhakrishnan
On Fri, Aug 3, 2018 at 8:53 AM, Florian Weimer wrote: > On 08/03/2018 09:11 AM, Andrew Pinski wrote: >> >> Yes fix Links not to use memcpy on the framebuffer. >> It is undefined behavior to use device memory with memcpy. > > > Some (de facto) ABIs require that it is supported, though. For example

[PATCH] pstore: set PSTORE_ZSTD_COMPRESS to bool

2018-08-03 Thread Geliang Tang
Fix build error: fs/pstore/platform.o: In function `zbufsize_zstd': >> platform.c:(.text+0x172): undefined reference to `ZSTD_compressBound' Signed-off-by: Geliang Tang --- fs/pstore/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/Kconfig b/fs/pstore/Kco

  1   2   3   4   5   6   >