Re: [PATCH] cxl: disable the lazy approach for irqs in POWERVM environment.

2018-03-24 Thread Benjamin Herrenschmidt
On Fri, 2018-03-23 at 17:17 +0100, christophe lombard wrote: > Le 23/03/2018 à 03:14, Benjamin Herrenschmidt a écrit : > > On Thu, 2018-03-22 at 17:37 +0100, Christophe Lombard wrote: > > > The cxl driver cannot disable the interrupt at the device level and has > > > to use disable_irq[_nosync] ins

Re: DMA Mapping Error in ppc64

2018-03-24 Thread Benjamin Herrenschmidt
On Fri, 2018-03-23 at 07:41 -0500, Jared Bents wrote: > Thank you for the advice. Looks like I get to try to rewrite the ath9k and > ath10k drivers to use dma_alloc_coherent() instead of kmemdup() and > dev_alloc_skb() Euh no... dev_alloc_skb() is the right thing to do for receive packets for a

Re: RFC on writel and writel_relaxed

2018-03-24 Thread Sinan Kaya
On 3/23/2018 9:22 PM, Benjamin Herrenschmidt wrote: >> Yes, I'm %100 sure. The answer is both writel() and barrier() generates >> a write barrier instruction. I found this by searching the kernel disassembly >> for back to back "dsb st" instruction. > I'm not sure you are correct here. As I wrote b

Re: [PATCH 14/19] powerpc/altivec: Add missing prototypes for altivec

2018-03-24 Thread LEROY Christophe
Mathieu Malaterre a écrit : On Fri, Mar 23, 2018 at 1:19 PM, christophe leroy wrote: Le 22/03/2018 à 21:20, Mathieu Malaterre a écrit : Some functions prototypes were missing for the non-altivec code. Add the missing prototypes directly in xor_vmx, fix warnings treated as errors with W=1:

[PATCH 07/16] h8300: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/h8300/Kconfig | 1 + arch/h8300/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/h8300/Kconfig b/arch/h8300/Kconfig index 091d6d04b5e5..58c9b6b1df16 100644 --- a/arch/h8300/Kconfig +++ b/arch/h8300/Kconfig @@ -24,6 +24,7

[PATCH 02/16] riscv: Use INITRAMFS_GENERIC_UNLOAD.

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/riscv/Kconfig | 1 + arch/riscv/mm/init.c | 6 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index c22ebe08e902..ab1b4cee84fc 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -37,6 +37,7

[PATCH 12/16] openrisc: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/openrisc/Kconfig | 1 + arch/openrisc/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/openrisc/Kconfig b/arch/openrisc/Kconfig index dfb6a79ba7ff..0f8d2132baa5 100644 --- a/arch/openrisc/Kconfig +++ b/arch/openrisc/Kcon

[PATCH 13/16] parisc: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/parisc/Kconfig | 1 + arch/parisc/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig index 9792d8cf4f56..7410c2094987 100644 --- a/arch/parisc/Kconfig +++ b/arch/parisc/Kconfig @@ -51,6

[PATCH 15/16] sh: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/sh/Kconfig | 1 + arch/sh/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 97fe29316476..b6f80dad2152 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig @@ -50,6 +50,7 @@ config SUPERH

[PATCH 00/16] Generic infrastructure for unloading initramfs

2018-03-24 Thread Shea Levy
This patch series extracts out code for unloading the initramfs that was identical across 14 architectures, and moves those architectures to the common code path. Additionally, RISC-V is newly moved to the common code path. In addition to reducing duplication, this allows us to bring future improv

"powerpc_debugfs_root" not exist on linux-4.4.123 for powerpc arch.

2018-03-24 Thread Sombat Tragolgosol
My system: ps3 OS: Gentoo linux Today, I've tried to update my Linux kernel jump from 4.4.100 to 4.4.123. I'm not sure and perhaps this source tree is still active maintenance. If not I'm really sorry for my disturbance. Compile source problems: 1) missing "debugfs.h" on arch/powerpc/include/asm

[PATCH 09/16] m68k: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/m68k/Kconfig | 1 + arch/m68k/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/m68k/Kconfig b/arch/m68k/Kconfig index 785612b576f7..47913a68529e 100644 --- a/arch/m68k/Kconfig +++ b/arch/m68k/Kconfig @@ -24,6 +24,7 @@ co

[PATCH 03/16] alpha: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/alpha/Kconfig | 1 + arch/alpha/mm/init.c | 8 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/alpha/Kconfig b/arch/alpha/Kconfig index e96adcbcab41..238d743ae8f2 100644 --- a/arch/alpha/Kconfig +++ b/arch/alpha/Kconfig @@ -27,6 +27,

[PATCH 16/16] um: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/um/Kconfig.common | 1 + arch/um/kernel/mem.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common index c68add8df3ae..1cb8a023938b 100644 --- a/arch/um/Kconfig.common +++ b/arch/um/Kconfig.c

[PATCH 11/16] nios2: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/nios2/Kconfig | 1 + arch/nios2/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/nios2/Kconfig b/arch/nios2/Kconfig index 3d4ec88f1db1..d3b72d5c8967 100644 --- a/arch/nios2/Kconfig +++ b/arch/nios2/Kconfig @@ -19,6 +19,7

[PATCH 05/16] c6x: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/c6x/Kconfig | 1 + arch/c6x/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/c6x/Kconfig b/arch/c6x/Kconfig index c6b4dd1418b4..857f95f9a6a4 100644 --- a/arch/c6x/Kconfig +++ b/arch/c6x/Kconfig @@ -19,6 +19,7 @@ config C

[PATCH 01/16] initrd: Add generic code path for common initrd unloading logic.

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- init/initramfs.c | 7 +++ usr/Kconfig | 4 2 files changed, 11 insertions(+) diff --git a/init/initramfs.c b/init/initramfs.c index 7e99a0038942..de5ce873eb5a 100644 --- a/init/initramfs.c +++ b/init/initramfs.c @@ -526,6 +526,13 @@ extern unsigned long

[PATCH 08/16] m32r: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/m32r/Kconfig | 1 + arch/m32r/mm/init.c | 11 --- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/m32r/Kconfig b/arch/m32r/Kconfig index dd84ee194579..010a2b999181 100644 --- a/arch/m32r/Kconfig +++ b/arch/m32r/Kconfig @@ -21,6 +21,

[PATCH 10/16] microblaze: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/microblaze/Kconfig | 1 + arch/microblaze/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/microblaze/Kconfig b/arch/microblaze/Kconfig index 3817a3e2146c..ef23e8410b4b 100644 --- a/arch/microblaze/Kconfig +++ b/arch/mic

[PATCH 06/16] frv: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/frv/Kconfig | 1 + arch/frv/mm/init.c | 11 --- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/frv/Kconfig b/arch/frv/Kconfig index af369b05fed5..5c104b800cb1 100644 --- a/arch/frv/Kconfig +++ b/arch/frv/Kconfig @@ -17,6 +17,7 @@ c

[PATCH 14/16] powerpc: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/powerpc/Kconfig | 1 + arch/powerpc/mm/mem.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 73ce5dd07642..8cf384068e79 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -

[PATCH 04/16] arc: Use INITRAMFS_GENERIC_UNLOAD

2018-03-24 Thread Shea Levy
Signed-off-by: Shea Levy --- arch/arc/Kconfig | 1 + arch/arc/mm/init.c | 7 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index d76bf4a83740..2844ce5b910c 100644 --- a/arch/arc/Kconfig +++ b/arch/arc/Kconfig @@ -44,6 +44,7 @@ config A

Re: [PATCH 3/6] libnvdimm: Add device-tree based driver

2018-03-24 Thread kbuild test robot
Hi Oliver, I love your patch! Yet something to improve: [auto build test ERROR on linux-nvdimm/libnvdimm-for-next] [also build test ERROR on v4.16-rc6 next-20180323] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0d

Re: [PATCH 3/6] libnvdimm: Add device-tree based driver

2018-03-24 Thread kbuild test robot
Hi Oliver, I love your patch! Perhaps something to improve: [auto build test WARNING on linux-nvdimm/libnvdimm-for-next] [also build test WARNING on v4.16-rc6 next-20180323] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://githu

[RFC PATCH] libnvdimm: bus_desc can be static

2018-03-24 Thread kbuild test robot
Fixes: 6cb2b51b9b76 ("libnvdimm: Add device-tree based driver") Signed-off-by: Fengguang Wu --- of_nvdimm.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvdimm/of_nvdimm.c b/drivers/nvdimm/of_nvdimm.c index 79c2829..4ed373d 100644 --- a/drivers/nvdimm/of_nvdimm.