Re: [PATCHv2] kernel/crash: make parse_crashkernel()'s return value more indicant

2019-05-02 Thread Pingfan Liu
On Thu, Apr 25, 2019 at 4:20 PM Pingfan Liu wrote: > > On Wed, Apr 24, 2019 at 4:31 PM Matthias Brugger wrote: > > > > > [...] > > > @@ -139,6 +141,8 @@ static int __init parse_crashkernel_simple(char > > > *cmdline, > > > pr_warn("crashkernel: unrecognized char: %c\n", *cur); > >

Re: [PATCH v1 2/4] powerpc/mm: Move book3s64 specifics in subdirectory mm/book3s64

2019-05-02 Thread Michael Ellerman
Christophe Leroy writes: > Many files in arch/powerpc/mm are only for book3S64. This patch > creates a subdirectory for them. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/Makefile | 25 +++ > arch/powerpc/mm/book3s64/Makefile

Re: [PATCH v1 2/4] powerpc/mm: Move book3s64 specifics in subdirectory mm/book3s64

2019-05-02 Thread Christophe Leroy
Le 02/05/2019 à 09:11, Michael Ellerman a écrit : Christophe Leroy writes: Many files in arch/powerpc/mm are only for book3S64. This patch creates a subdirectory for them. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/Makefile | 25 +++

[PATCH] MAINTAINERS: Update cxl/ocxl email address

2019-05-02 Thread Andrew Donnellan
Use my @linux.ibm.com email to avoid a layer of redirection. Signed-off-by: Andrew Donnellan --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 5c38f21aee78..386e2336fe7e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4293,7

Re: [PATCH 2/3] powerpc/module32: Use symbolic instructions names.

2019-05-02 Thread Christophe Leroy
Le 29/04/2019 à 13:54, Segher Boessenkool a écrit : On Mon, Apr 29, 2019 at 10:43:27AM +, Christophe Leroy wrote: To increase readability/maintainability, replace hard coded instructions values by symbolic names. + /* lis r12,sym@ha */ +#define ENTRY_JMP0(sym)

[PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Russell Currey
Implement code to walk all pages and warn if any are found to be both writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is behind the DEBUG_WX config option. This only runs on boot and has no runtime performance implications. Very heavily influenced (and in some cases copied

[PATCH v2 1/2] powerpc/mm/ptdump: Wrap seq_printf() to handle NULL pointers

2019-05-02 Thread Russell Currey
Lovingly borrowed from the arch/arm64 ptdump code. This doesn't seem to be an issue in practice, but is necessary for my upcoming commit. Signed-off-by: Russell Currey --- v2: Fix putc to actually putc thanks to Christophe Leroy arch/powerpc/mm/ptdump/ptdump.c | 32

Re: Linux 5.1-rc5

2019-05-02 Thread Martin Schwidefsky
On Thu, 2 May 2019 14:21:28 +0200 Greg KH wrote: > On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > > On Sun, Apr 14, 2019 at 10:19 PM Christoph Hellwig > > wrote: > > > > > > Can we please have the page refcount overflow fixes out on the list > > > for review, even if it is

Re: [PATCH][next] KVM: PPC: Book3S HV: XIVE: fix spelling mistake "acessing" -> "accessing"

2019-05-02 Thread Mukesh Ojha
On 5/2/2019 3:53 PM, Colin King wrote: From: Colin Ian King There is a spelling mistake in a pr_err message, fix it. Signed-off-by: Colin Ian King Reviewed-by: Mukesh Ojha Cheers, -Mukesh --- arch/powerpc/kvm/book3s_xive_native.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH] crypto: caam/jr - Remove extra memory barrier during job ring dequeue

2019-05-02 Thread Horia Geanta
On 5/1/2019 8:49 AM, Michael Ellerman wrote: > Vakul Garg wrote: >> In function caam_jr_dequeue(), a full memory barrier is used before >> writing response job ring's register to signal removal of the completed >> job. Therefore for writing the register, we do not need another write >> memory

Re: [PATCH v1 3/4] powerpc/mm: Move book3s32 specifics in subdirectory mm/book3s64

2019-05-02 Thread Christophe Leroy
Le 02/05/2019 à 13:32, Michael Ellerman a écrit : Christophe Leroy writes: Several files in arch/powerpc/mm are only for book3S32. This patch creates a subdirectory for them. Signed-off-by: Christophe Leroy --- arch/powerpc/mm/Makefile| 3 +--

RE: [PATCH v2 9/9] dpaa_eth: fix SG frame cleanup

2019-05-02 Thread Laurentiu Tudor
> -Original Message- > From: Joakim Tjernlund > Sent: Thursday, May 2, 2019 1:37 PM > > On Thu, 2019-05-02 at 09:05 +, Laurentiu Tudor wrote: > > Hi Joakim, > > > > > -Original Message- > > > From: Joakim Tjernlund > > > Sent: Saturday, April 27, 2019 8:11 PM > > > > > >

Re: remove asm-generic/ptrace.h

2019-05-02 Thread Oleg Nesterov
On 05/01, Christoph Hellwig wrote: > > Hi all, > > asm-generic/ptrace.h is a little weird in that it doesn't actually > implement any functionality, but it provided multiple layers of macros > that just implement trivial inline functions. We implement those > directly in the few architectures and

Re: [PATCH v2 9/9] dpaa_eth: fix SG frame cleanup

2019-05-02 Thread Joakim Tjernlund
On Thu, 2019-05-02 at 09:05 +, Laurentiu Tudor wrote: > Hi Joakim, > > > -Original Message- > > From: Joakim Tjernlund > > Sent: Saturday, April 27, 2019 8:11 PM > > > > On Sat, 2019-04-27 at 10:10 +0300, laurentiu.tu...@nxp.com wrote: > > > From: Laurentiu Tudor > > > > > > Fix

Re: [PATCH v1 4/4] powerpc/mm: Move nohash specifics in subdirectory mm/nohash

2019-05-02 Thread Michael Ellerman
Christophe Leroy writes: > Many files in arch/powerpc/mm are only for nohash. This patch > creates a subdirectory for them. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/Makefile | 17 + > arch/powerpc/mm/{ => nohash}/40x_mmu.c

[PATCH][next] KVM: PPC: Book3S HV: XIVE: fix spelling mistake "acessing" -> "accessing"

2019-05-02 Thread Colin King
From: Colin Ian King There is a spelling mistake in a pr_err message, fix it. Signed-off-by: Colin Ian King --- arch/powerpc/kvm/book3s_xive_native.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kvm/book3s_xive_native.c

Re: [PATCH v2 9/9] dpaa_eth: fix SG frame cleanup

2019-05-02 Thread Joakim Tjernlund
On Thu, 2019-05-02 at 12:58 +, Laurentiu Tudor wrote: > > > -Original Message- > > From: Joakim Tjernlund > > Sent: Thursday, May 2, 2019 1:37 PM > > > > On Thu, 2019-05-02 at 09:05 +, Laurentiu Tudor wrote: > > > Hi Joakim, > > > > > > > -Original Message- > > > >

Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Michael Ellerman
Russell Currey writes: > Implement code to walk all pages and warn if any are found to be both > writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is > behind the DEBUG_WX config option. > > This only runs on boot and has no runtime performance implications. > > Very heavily

Re: [PATCH v1 2/4] powerpc/mm: Move book3s64 specifics in subdirectory mm/book3s64

2019-05-02 Thread Michael Ellerman
Christophe Leroy writes: > Le 02/05/2019 à 09:11, Michael Ellerman a écrit : >> Christophe Leroy writes: >> >>> Many files in arch/powerpc/mm are only for book3S64. This patch >>> creates a subdirectory for them. >>> >>> Signed-off-by: Christophe Leroy >>> --- >>> arch/powerpc/mm/Makefile

Re: [PATCH kernel] prom_init: Fetch flatten device tree from the system firmware

2019-05-02 Thread David Gibson
On Wed, May 01, 2019 at 01:42:21PM +1000, Alexey Kardashevskiy wrote: > At the moment, on 256CPU + 256 PCI devices guest, it takes the guest > about 8.5sec to fetch the entire device tree via the client interface > as the DT is traversed twice - for strings blob and for struct blob. > Also,

Re: [PATCH v2 01/17] powerpc/mm: Don't BUG() in hugepd_page()

2019-05-02 Thread Christophe Leroy
Le 02/05/2019 à 14:02, Michael Ellerman a écrit : Christophe Leroy writes: Use VM_BUG_ON() instead of BUG_ON(), as those BUG_ON() are not there to catch runtime errors but to catch errors during development cycle only. I've dropped this one and the next, because I don't like VM_BUG_ON().

Re: [PATCH 1/2] x86, numa: always initialize all possible nodes

2019-05-02 Thread Michal Hocko
On Wed 01-05-19 15:12:32, Barret Rhoden wrote: [...] > A more elegant solution may be to avoid registering with sysfs during early > boot, or something else entirely. But I figured I'd ask for help at this > point. =) Thanks for the report and an excellent analysis! This is really helpful. I

Re: [PATCH v2 01/17] powerpc/mm: Don't BUG() in hugepd_page()

2019-05-02 Thread Michael Ellerman
Christophe Leroy writes: > Use VM_BUG_ON() instead of BUG_ON(), as those BUG_ON() > are not there to catch runtime errors but to catch errors > during development cycle only. I've dropped this one and the next, because I don't like VM_BUG_ON(). Why not? Because it's contradictory. It's a

[PATCH] EDAC, mpc85xx: Prevent building as a module

2019-05-02 Thread Michael Ellerman
The mpc85xx EDAC code can be configured as a module but then fails to build because it uses two unexported symbols: ERROR: ".pci_find_hose_for_OF_device" [drivers/edac/mpc85xx_edac_mod.ko] undefined! ERROR: ".early_find_capability" [drivers/edac/mpc85xx_edac_mod.ko] undefined! We don't want

Re: [PATCH v1 3/4] powerpc/mm: Move book3s32 specifics in subdirectory mm/book3s64

2019-05-02 Thread Michael Ellerman
Christophe Leroy writes: > Several files in arch/powerpc/mm are only for book3S32. This patch > creates a subdirectory for them. > > Signed-off-by: Christophe Leroy > --- > arch/powerpc/mm/Makefile| 3 +-- > arch/powerpc/mm/book3s32/Makefile | 6

Re: Linux 5.1-rc5

2019-05-02 Thread Greg KH
On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > On Sun, Apr 14, 2019 at 10:19 PM Christoph Hellwig wrote: > > > > Can we please have the page refcount overflow fixes out on the list > > for review, even if it is after the fact? > > They were actually on a list for review long

Re: [PATCH 1/5] arm64: don't use asm-generic/ptrace.h

2019-05-02 Thread Catalin Marinas
On Wed, May 01, 2019 at 01:39:39PM -0400, Christoph Hellwig wrote: > Doing the indirection through macros for the regs accessors just > makes them harder to read, so implement the helpers directly. > > Note that only the helpers actually used are implemented now. > > Signed-off-by: Christoph

Re: Linux 5.1-rc5

2019-05-02 Thread Greg KH
On Thu, May 02, 2019 at 04:17:58PM +0200, Martin Schwidefsky wrote: > On Thu, 2 May 2019 14:21:28 +0200 > Greg KH wrote: > > > On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > > > On Sun, Apr 14, 2019 at 10:19 PM Christoph Hellwig > > > wrote: > > > > > > > > Can we please

[PATCH 05/15] csky: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The csky implementation pte_alloc_one(), pte_free_kernel() and pte_free() is identical to the generic except of lack of __GFP_ACCOUNT for the user PTEs allocation. Switch csky to use generic version of these functions. The csky implementation of pte_alloc_one_kernel() is not replaced because it

[PATCH 08/15] mips: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
MIPS allocates kernel PTE pages with __get_free_pages(GFP_KERNEL | __GFP_ZERO, PTE_ORDER) and user PTE pages with alloc_pages(GFP_KERNEL | __GFP_ZERO, PTE_ORDER) The PTE_ORDER is hardwired to zero, which makes MIPS implementation almost identical to the generic one. Switch

[PATCH 01/15] asm-generic, x86: introduce generic pte_{alloc, free}_one[_kernel]

2019-05-02 Thread Mike Rapoport
Most architectures have identical or very similar implementation of pte_alloc_one_kernel(), pte_alloc_one(), pte_free_kernel() and pte_free(). Add a generic implementation that can be reused across architectures and enable its use on x86. The generic implementation uses GFP_KERNEL |

Re: [PATCH 01/15] asm-generic, x86: introduce generic pte_{alloc,free}_one[_kernel]

2019-05-02 Thread Paul Burton
Hi Mike, On Thu, May 02, 2019 at 06:28:28PM +0300, Mike Rapoport wrote: > +/** > + * pte_free_kernel - free PTE-level user page table page > + * @mm: the mm_struct of the current context > + * @pte_page: the `struct page` representing the page table > + */ > +static inline void pte_free(struct

Re: [PATCH 08/15] mips: switch to generic version of pte allocation

2019-05-02 Thread Paul Burton
Hi Mike, On Thu, May 02, 2019 at 06:28:35PM +0300, Mike Rapoport wrote: > MIPS allocates kernel PTE pages with > > __get_free_pages(GFP_KERNEL | __GFP_ZERO, PTE_ORDER) > > and user PTE pages with > > alloc_pages(GFP_KERNEL | __GFP_ZERO, PTE_ORDER) That bit isn't quite true - we

Re: [PATCH 1/3] ibmvscsi: Wire up host_reset() in the drivers scsi_host_template

2019-05-02 Thread Brian King
On 5/1/19 7:47 PM, Tyrel Datwyler wrote: > From: Tyrel Datwyler > > Wire up the host_reset function in our driver_template to allow a user > requested adpater reset via the host_reset sysfs attribute. > > Example: > > echo "adapter" > /sys/class/scsi_host/host0/host_reset > > Signed-off-by:

Re: [PATCH 2/3] ibmvscsi: redo driver work thread to use enum action states

2019-05-02 Thread Brian King
On 5/1/19 7:47 PM, Tyrel Datwyler wrote: > From: Tyrel Datwyler > > The current implemenation relies on two flags in the drivers private host > structure to signal the need for a host reset or to reenable the CRQ after a > LPAR migration. This patch does away with those flags and introduces a

[PATCH] Fix wrong message when RFI Flush is disable

2019-05-02 Thread Gustavo Walbon
From: "Gustavo L. F. Walbon" The issue was showing "Mitigation" message via sysfs whatever the state of "RFI Flush", but it should show "Vulnerable" when it is disabled. If you have "L1D private" feature enabled and not "RFI Flush" you are vulnerable to meltdown attacks. "RFI Flush" is the key

[PATCH 03/15] arm: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
Replace __get_free_page() and alloc_pages() calls with the generic __pte_alloc_one_kernel() and __pte_alloc_one(). There is no functional change for the kernel PTE allocation. The difference for the user PTEs, is that the clear_pte_table() is now called after pgtable_page_ctor() and the addition

Re: [PATCH] memblock: make keeping memblock memory opt-in rather than opt-out

2019-05-02 Thread Michael Ellerman
Mike Rapoport writes: > diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig > index 2d0be82..39877b9 100644 > --- a/arch/powerpc/Kconfig > +++ b/arch/powerpc/Kconfig > @@ -143,6 +143,7 @@ config PPC > select ARCH_HAS_UBSAN_SANITIZE_ALL > select ARCH_HAS_ZONE_DEVICE if

[PATCH 07/15] m68k: sun3: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The sun3 MMU variant of m68k uses GFP_KERNEL to allocate a PTE page and then memset(0) or clear_highpage() to clear it. This is equivalent to allocating the page with GFP_KERNEL | __GFP_ZERO, which allows replacing sun3 implementation of pte_alloc_one() and pte_alloc_one_kernel() with the generic

[PATCH 11/15] parisc: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
parisc allocates PTE pages with __get_free_page() and uses GFP_KERNEL | __GFP_ZERO for the allocations. Switch it to the generic version that does exactly the same thing for the kernel page tables and adds __GFP_ACCOUNT for the user PTEs. The pte_free_kernel() and pte_free() versions on are

Re: Linux 5.1-rc5

2019-05-02 Thread Martin Schwidefsky
On Thu, 2 May 2019 16:31:10 +0200 Greg KH wrote: > On Thu, May 02, 2019 at 04:17:58PM +0200, Martin Schwidefsky wrote: > > On Thu, 2 May 2019 14:21:28 +0200 > > Greg KH wrote: > > > > > On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > > > > On Sun, Apr 14, 2019 at 10:19 PM

[PATCH 14/15] um: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
um allocates PTE pages with __get_free_page() and uses GFP_KERNEL | __GFP_ZERO for the allocations. Switch it to the generic version that does exactly the same thing for the kernel page tables and adds __GFP_ACCOUNT for the user PTEs. The pte_free() and pte_free_kernel() versions are identical

[PATCH v2 1/3] powerpc: Move PPC_HA() PPC_HI() and PPC_LO() to ppc-opcode.h

2019-05-02 Thread Christophe Leroy
PPC_HA() PPC_HI() and PPC_LO() macros are nice macros. Move them from module64.c to ppc-opcode.h in order to use them in other places. Signed-off-by: Christophe Leroy --- v2: no change arch/powerpc/include/asm/ppc-opcode.h | 7 +++ arch/powerpc/kernel/module_64.c | 7 --- 2 files

[PATCH 00/15] introduce generic pte_{alloc,free}_one[_kernel]

2019-05-02 Thread Mike Rapoport
Hi, I've tried to trim down the recipients list, but it's still quite long, so sorry for the spam. Many architectures have similar, if not identical implementation of pte_alloc_one_kernel(), pte_alloc_one(), pte_free_kernel() and pte_free(). A while ago Anshuman suggested to introduce a common

[PATCH 10/15] nios2: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
nios2 allocates kernel PTE pages with __get_free_pages(GFP_KERNEL | __GFP_ZERO, PTE_ORDER); and user page tables with pte = alloc_pages(GFP_KERNEL, PTE_ORDER); if (pte) clear_highpage(); The PTE_ORDER is hardwired to zero, which makes nios2

[PATCH 02/15] alpha: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
alpha allocates PTE pages with __get_free_page() and uses GFP_KERNEL | __GFP_ZERO for the allocations. Switch it to the generic version that does exactly the same thing for the kernel page tables and adds __GFP_ACCOUNT for the user PTEs. The alpha pte_free() and pte_free_kernel() versions are

Re: [PATCH 12/15] powerpc/nohash/64: switch to generic version of pte allocation

2019-05-02 Thread Christophe Leroy
Le 02/05/2019 à 17:28, Mike Rapoport a écrit : The 64-bit book-E powerpc implements pte_alloc_one(), pte_alloc_one_kernel(), pte_free_kernel() and pte_free() the same way as the generic version. Will soon be converted to the same as the 3 other PPC subarches, see

[PATCH 15/15] unicore32: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
Replace __get_free_page() and alloc_pages() calls with the generic __pte_alloc_one_kernel() and __pte_alloc_one(). There is no functional change for the kernel PTE allocation. The difference for the user PTEs, is that the clear_pte_table() is now called after pgtable_page_ctor() and the addition

[PATCH 04/15] arm64: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The PTE allocations in arm64 are identical to the generic ones modulo the GFP flags. Using the generic pte_alloc_one() functions ensures that the user page tables are allocated with __GFP_ACCOUNT set. The arm64 definition of PGALLOC_GFP is removed and replaced with GFP_PGTABLE_USER for

[PATCH 06/15] hexagon: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The hexagon implementation pte_alloc_one(), pte_alloc_one_kernel(), pte_free_kernel() and pte_free() is identical to the generic except of lack of __GFP_ACCOUNT for the user PTEs allocation. Switch hexagon to use generic version of these functions. Signed-off-by: Mike Rapoport ---

[PATCH 12/15] powerpc/nohash/64: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The 64-bit book-E powerpc implements pte_alloc_one(), pte_alloc_one_kernel(), pte_free_kernel() and pte_free() the same way as the generic version. Switch it to the generic version that does exactly the same thing. Signed-off-by: Mike Rapoport --- arch/powerpc/include/asm/nohash/64/pgalloc.h |

[PATCH v2 2/3] powerpc/module32: Use symbolic instructions names.

2019-05-02 Thread Christophe Leroy
To increase readability/maintainability, replace hard coded instructions values by symbolic names. Signed-off-by: Christophe Leroy --- v2: Remove the ENTRY_JMP0 and ENTRY_JMP1 macros ; left real instructions as a comment. arch/powerpc/kernel/module_32.c | 24 1 file

Re: [EXT] Re: [PATCH V4] ASoC: fsl_esai: Add pm runtime function

2019-05-02 Thread Nicolin Chen
On Thu, May 02, 2019 at 09:13:58AM +, S.j. Wang wrote: > > On Sun, Apr 28, 2019 at 02:24:54AM +, S.j. Wang wrote: > > > Add pm runtime support and move clock handling there. > > > Close the clocks at suspend to reduce the power consumption. > > > > > > fsl_esai_suspend is replaced by

Re: [RESEND PATCH v3 05/11] mtd: rawnand: vf610_nfc: add initializer to avoid -Wmaybe-uninitialized

2019-05-02 Thread Miquel Raynal
Hi Masahiro, Masahiro Yamada wrote on Tue, 23 Apr 2019 12:49:53 +0900: > This prepares to move CONFIG_OPTIMIZE_INLINING from x86 to a common > place. We need to eliminate potential issues beforehand. > > Kbuild test robot has never reported -Wmaybe-uninitialized warning > for this probably

[PATCH 09/15] nds32: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The nds32 implementation of pte_alloc_one_kernel() differs from the generic in the use of __GFP_RETRY_MAYFAIL flag, which is removed after the conversion. The nds32 version of pte_alloc_one() missed the call to pgtable_page_ctor() and also used __GFP_RETRY_MAYFAIL. Switching it to use generic

[PATCH 13/15] riscv: switch to generic version of pte allocation

2019-05-02 Thread Mike Rapoport
The only difference between the generic and RISC-V implementation of PTE allocation is the usage of __GFP_RETRY_MAYFAIL for both kernel and user PTEs and the absence of __GFP_ACCOUNT for the user PTEs. The conversion to the generic version removes the __GFP_RETRY_MAYFAIL and ensures that

[PATCH v2 3/3] powerpc/module64: Use symbolic instructions names.

2019-05-02 Thread Christophe Leroy
To increase readability/maintainability, replace hard coded instructions values by symbolic names. Signed-off-by: Christophe Leroy --- v2: rearranged comments ; fixed warning by adding () in an 'if' around X | Y arch/powerpc/kernel/module_64.c | 53 +++-- 1

Re: [PATCH kernel] prom_init: Fetch flatten device tree from the system firmware

2019-05-02 Thread David Gibson
On Fri, May 03, 2019 at 10:10:57AM +1000, Stewart Smith wrote: > David Gibson writes: > > On Wed, May 01, 2019 at 01:42:21PM +1000, Alexey Kardashevskiy wrote: > >> At the moment, on 256CPU + 256 PCI devices guest, it takes the guest > >> about 8.5sec to fetch the entire device tree via the

Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Joel Stanley
On Thu, 2 May 2019 at 07:42, Russell Currey wrote: > > Implement code to walk all pages and warn if any are found to be both > writable and executable. Depends on STRICT_KERNEL_RWX enabled, and is > behind the DEBUG_WX config option. > > This only runs on boot and has no runtime performance

[PATCH v2 2/3] ibmvscsi: redo driver work thread to use enum action states

2019-05-02 Thread Tyrel Datwyler
From: Tyrel Datwyler The current implemenation relies on two flags in the drivers private host structure to signal the need for a host reset or to reenable the CRQ after a LPAR migration. This patch does away with those flags and introduces a single action flag and defined enums for the

Re: [PATCH v2 2/2] powerpc/mm: Warn if W+X pages found on boot

2019-05-02 Thread Russell Currey
On Fri, 2019-05-03 at 00:37 +, Joel Stanley wrote: > On Thu, 2 May 2019 at 07:42, Russell Currey > wrote: > > Implement code to walk all pages and warn if any are found to be > > both > > writable and executable. Depends on STRICT_KERNEL_RWX enabled, and > > is > > behind the DEBUG_WX config

Re: Linux 5.1-rc5

2019-05-02 Thread Christoph Hellwig
On Mon, Apr 15, 2019 at 09:17:10AM -0700, Linus Torvalds wrote: > I ruthlessly also entirely ignored MIPS, SH and sparc, since they seem > largely irrelevant, partly since even theoretically this whole issue > needs a _lot_ of memory. Adding the relevant people - while the might be irrelevant, at

[PATCH v2 3/3] ibmvscsi: fix tripping of blk_mq_run_hw_queue WARN_ON

2019-05-02 Thread Tyrel Datwyler
From: Tyrel Datwyler After a successful SRP login response we call scsi_unblock_requests() to kick any pending IO's. The callback to process this SRP response happens in a tasklet and therefore is in softirq context. The result of such is that when blk-mq is enabled it is no longer safe to call

[PATCH v2 1/3] ibmvscsi: Wire up host_reset() in the drivers scsi_host_template

2019-05-02 Thread Tyrel Datwyler
From: Tyrel Datwyler Wire up the host_reset function in our driver_template to allow a user requested adpater reset via the host_reset sysfs attribute. Example: echo "adapter" > /sys/class/scsi_host/host0/host_reset Signed-off-by: Tyrel Datwyler --- Changes in v2: removed interrupt

Re: [PATCH 2/3] ibmvscsi: redo driver work thread to use enum action states

2019-05-02 Thread Tyrel Datwyler
On 05/02/2019 02:43 PM, Brian King wrote: > On 5/1/19 7:47 PM, Tyrel Datwyler wrote: >> From: Tyrel Datwyler >> >> The current implemenation relies on two flags in the drivers private host >> structure to signal the need for a host reset or to reenable the CRQ after a >> LPAR migration. This

Re: [PATCH kernel] prom_init: Fetch flatten device tree from the system firmware

2019-05-02 Thread Stewart Smith
David Gibson writes: > On Wed, May 01, 2019 at 01:42:21PM +1000, Alexey Kardashevskiy wrote: >> At the moment, on 256CPU + 256 PCI devices guest, it takes the guest >> about 8.5sec to fetch the entire device tree via the client interface >> as the DT is traversed twice - for strings blob and for

Re: [PATCH 1/3] ibmvscsi: Wire up host_reset() in the drivers scsi_host_template

2019-05-02 Thread Tyrel Datwyler
On 05/02/2019 02:50 PM, Brian King wrote: > On 5/1/19 7:47 PM, Tyrel Datwyler wrote: >> From: Tyrel Datwyler >> >> Wire up the host_reset function in our driver_template to allow a user >> requested adpater reset via the host_reset sysfs attribute. >> >> Example: >> >> echo "adapter" >

Re: [EXT] Re: [PATCH V4] ASoC: fsl_esai: Add pm runtime function

2019-05-02 Thread Mark Brown
On Thu, May 02, 2019 at 09:13:58AM +, S.j. Wang wrote: > I am checking, but I don't know why this patch failed in your side. I > Tried to apply this patch on for-5.1, for 5.2, for-linus and for-next, all > are > Successful. The git is >

RE: [PATCH v2 9/9] dpaa_eth: fix SG frame cleanup

2019-05-02 Thread Laurentiu Tudor
Hi Joakim, > -Original Message- > From: Joakim Tjernlund > Sent: Saturday, April 27, 2019 8:11 PM > > On Sat, 2019-04-27 at 10:10 +0300, laurentiu.tu...@nxp.com wrote: > > From: Laurentiu Tudor > > > > Fix issue with the entry indexing in the sg frame cleanup code being > > off-by-1.

RE: [PATCH v2 7/9] dpaa_eth: fix iova handling for contiguous frames

2019-05-02 Thread Laurentiu Tudor
> -Original Message- > From: Christoph Hellwig > Sent: Saturday, April 27, 2019 7:46 PM > > On Sat, Apr 27, 2019 at 10:10:29AM +0300, laurentiu.tu...@nxp.com wrote: > > From: Laurentiu Tudor > > > > The driver relies on the no longer valid assumption that dma addresses > > (iovas)

RE: [EXT] Re: [PATCH V4] ASoC: fsl_esai: Add pm runtime function

2019-05-02 Thread S.j. Wang
Hi Mark > On Sun, Apr 28, 2019 at 02:24:54AM +, S.j. Wang wrote: > > Add pm runtime support and move clock handling there. > > Close the clocks at suspend to reduce the power consumption. > > > > fsl_esai_suspend is replaced by pm_runtime_force_suspend. > > fsl_esai_resume is replaced by