Re: [PATCH v2 2/7] powerpc/prom: Introduce early_reserve_mem_old()

2020-09-15 Thread Cédric Le Goater
On 9/15/20 6:46 PM, Christophe Leroy wrote: > Cédric Le Goater a écrit : > >> and condition its call with IS_ENABLED(CONFIG_PPC32). This fixes a >> compile error with W=1. >> >> arch/powerpc/kernel/prom.c: In function ‘early_reserve_mem’: >> arch/powerpc/kernel/prom.c:625:10: error: variable

[PATCH v2 2/2] powerpc/64s: Add cp_abort after tlbiel to invalidate copy-buffer address

2020-09-15 Thread Nicholas Piggin
The copy buffer is implemented as a real address in the nest which is translated from EA by copy, and used for memory access by paste. This requires that it be invalidated by TLB invalidation. TLBIE does invalidate the copy buffer, but TLBIEL does not. Add cp_abort to the tlbiel sequence.

[PATCH v2 1/2] powerpc: untangle cputable mce include

2020-09-15 Thread Nicholas Piggin
Having cputable.h include mce.h means it pulls in a bunch of low level headers (e.g., synch.h) which then can't use CPU_FTR_ definitions. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/cputable.h | 5 - arch/powerpc/kernel/cputable.c | 1 +

[PATCH -next] powerpc/pseries: convert to use DEFINE_SEQ_ATTRIBUTE macro

2020-09-15 Thread Liu Shixin
Use DEFINE_SEQ_ATTRIBUTE macro to simplify the code. Signed-off-by: Liu Shixin --- arch/powerpc/platforms/pseries/hvCall_inst.c | 23 +++- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/arch/powerpc/platforms/pseries/hvCall_inst.c

RE: [PATCH v1] soc: fsl: rcpm: Add ACPI support

2020-09-15 Thread Ran Wang
Hi Ard, On Tuesday, September 15, 2020 7:10 PM, Ard Biesheuvel wrote: > Subject: Re: [PATCH v1] soc: fsl: rcpm: Add ACPI support > > On 9/15/20 1:06 PM, kuldip dwivedi wrote: > > Add ACPI support in fsl RCPM driver. This is required to support ACPI > > S3 state. S3 is the ACPI sleep state that

RE: [PATCH v1] soc: fsl: rcpm: Add ACPI support

2020-09-15 Thread Ran Wang
Hi Kuldip, On Tuesday, September 15, 2020 7:07 PM, kuldip dwivedi wrote: > Subject: [PATCH v1] soc: fsl: rcpm: Add ACPI support Actually I also post a patch for this recently: https://lore.kernel.org/patchwork/patch/1299959/ :) Regards, Ran > Add ACPI support in fsl RCPM driver. This is

Re: Injecting SLB miltihit crashes kernel 5.9.0-rc5

2020-09-15 Thread Nicholas Piggin
Excerpts from Michael Ellerman's message of September 15, 2020 10:54 pm: > Michal Suchánek writes: >> Hello, >> >> Using the SLB mutihit injection test module (which I did not write so I >> do not want to post it here) to verify updates on my 5.3 frankernekernel >> I found that the kernel crashes

Re: [PATCH] ibmvfc: Avoid link down on FS9100 canister reboot

2020-09-15 Thread Martin K. Petersen
Brian, > When a canister on a FS9100, or similar storage, running in NPIV mode, > is rebooted, its WWPNs will fail over to another canister. [...] Applied to 5.10/scsi-staging, thanks! I fixed a bunch of checkpatch warnings. -- Martin K. Petersen Oracle Linux Engineering

Re: [PATCH net] ibmvnic: update MAINTAINERS

2020-09-15 Thread David Miller
From: Dany Madden Date: Mon, 14 Sep 2020 20:35:35 -0400 > Update supporters for IBM Power SRIOV Virtual NIC Device Driver. > Thomas Falcon is moving on to other works. Dany Madden, Lijun Pan > and Sukadev Bhattiprolu are the current supporters. > > Signed-off-by: Dany Madden Applied.

Re: [PATCH] scsi: ibmvfc: Fix error return in ibmvfc_probe()

2020-09-15 Thread Martin K. Petersen
On Mon, 7 Sep 2020 16:39:49 +0800, Jing Xiangfeng wrote: > Fix to return error code PTR_ERR() from the error handling case instead > of 0. Applied to 5.10/scsi-queue, thanks! [1/1] scsi: ibmvfc: Fix error return in ibmvfc_probe() https://git.kernel.org/mkp/scsi/c/5e48a084f4e8 -- Martin

[PATCH v3] pseries/hotplug-memory: hot-add: skip redundant LMB lookup

2020-09-15 Thread Scott Cheloha
During memory hot-add, dlpar_add_lmb() calls memory_add_physaddr_to_nid() to determine which node id (nid) to use when later calling __add_memory(). This is wasteful. On pseries, memory_add_physaddr_to_nid() finds an appropriate nid for a given address by looking up the LMB containing the

Re: [PATCH v2 3/4] sparc64: remove mm_cpumask clearing to fix kthread_use_mm race

2020-09-15 Thread David Miller
From: Nicholas Piggin Date: Tue, 15 Sep 2020 13:24:07 +1000 > Excerpts from David Miller's message of September 15, 2020 5:59 am: >> From: Nicholas Piggin >> Date: Mon, 14 Sep 2020 14:52:18 +1000 >> >> ... >>> The basic fix for sparc64 is to remove its mm_cpumask clearing code. The >>>

Re: [PATCH] Revert "powerpc/64s: machine check interrupt update NMI accounting"

2020-09-15 Thread peterz
On Tue, Sep 15, 2020 at 08:06:59PM +0200, Michal Suchanek wrote: > This reverts commit 116ac378bb3ff844df333e7609e7604651a0db9d. > > This commit causes the kernel to oops and reboot when injecting a SLB > multihit which causes a MCE. > > Before this commit a SLB multihit was corrected by the

[PATCH] Revert "powerpc/64s: machine check interrupt update NMI accounting"

2020-09-15 Thread Michal Suchanek
This reverts commit 116ac378bb3ff844df333e7609e7604651a0db9d. This commit causes the kernel to oops and reboot when injecting a SLB multihit which causes a MCE. Before this commit a SLB multihit was corrected by the kernel and the system continued to operate normally. cc: sta...@vger.kernel.org

[PATCH v2] pseries/hotplug-memory: hot-add: skip redundant LMB lookup

2020-09-15 Thread Scott Cheloha
During memory hot-add, dlpar_add_lmb() calls memory_add_physaddr_to_nid() to determine which node id (nid) to use when later calling __add_memory(). This is wasteful. On pseries, memory_add_physaddr_to_nid() finds an appropriate nid for a given address by looking up the LMB containing the

Re: [PATCH v2] mm/gup: fix gup_fast with dynamic page table folding

2020-09-15 Thread John Hubbard
On 9/11/20 1:36 PM, Vasily Gorbik wrote: Currently to make sure that every page table entry is read just once gup_fast walks perform READ_ONCE and pass pXd value down to the next gup_pXd_range function by value e.g.: static int gup_pud_range(p4d_t p4d, unsigned long addr, unsigned long end,

Re: [PATCH v2] mm/gup: fix gup_fast with dynamic page table folding

2020-09-15 Thread Mike Rapoport
On Fri, Sep 11, 2020 at 10:36:43PM +0200, Vasily Gorbik wrote: > Currently to make sure that every page table entry is read just once > gup_fast walks perform READ_ONCE and pass pXd value down to the next > gup_pXd_range function by value e.g.: > > static int gup_pud_range(p4d_t p4d, unsigned

Re: [PATCH v2] mm/gup: fix gup_fast with dynamic page table folding

2020-09-15 Thread Jason Gunthorpe
On Fri, Sep 11, 2020 at 10:36:43PM +0200, Vasily Gorbik wrote: > Currently to make sure that every page table entry is read just once > gup_fast walks perform READ_ONCE and pass pXd value down to the next > gup_pXd_range function by value e.g.: > > static int gup_pud_range(p4d_t p4d, unsigned

Re: [PATCH v2] mm/gup: fix gup_fast with dynamic page table folding

2020-09-15 Thread Vasily Gorbik
On Fri, Sep 11, 2020 at 10:36:43PM +0200, Vasily Gorbik wrote: > Currently to make sure that every page table entry is read just once > gup_fast walks perform READ_ONCE and pass pXd value down to the next > gup_pXd_range function by value e.g.: ...snip... > --- > v2: added brackets -> &(pgd) > >

Re: [PATCH v2 2/7] powerpc/prom: Introduce early_reserve_mem_old()

2020-09-15 Thread Christophe Leroy
Cédric Le Goater a écrit : and condition its call with IS_ENABLED(CONFIG_PPC32). This fixes a compile error with W=1. arch/powerpc/kernel/prom.c: In function ‘early_reserve_mem’: arch/powerpc/kernel/prom.c:625:10: error: variable ‘reserve_map’ set but not used

Re: [5.9.0-rc5-20200914] Kernel crash while running LTP(mlock201)

2020-09-15 Thread Sachin Sant
> On 15-Sep-2020, at 6:39 PM, Matthew Wilcox wrote: > > On Tue, Sep 15, 2020 at 09:24:38PM +1000, Michael Ellerman wrote: >> Sachin Sant writes: >>> While running LTP tests (specifically mlock201) against next-20200914 tree >>> on a POWER9 LPAR results in following crash. >> >> Looks the

Re: [PATCH 14/15] selftests/clone3: Avoid OS-defined clone_args

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:19AM -0700, Kees Cook wrote: > As the UAPI headers start to appear in distros, we need to avoid > outdated versions of struct clone_args to be able to test modern > features. Additionally pull in the syscall numbers correctly. > > Signed-off-by: Kees Cook > --- Hm,

Re: [PATCH 15/15] selftests/seccomp: Use __NR_mknodat instead of __NR_mknod

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:20AM -0700, Kees Cook wrote: > The __NR_mknod syscall doesn't exist on arm64 (only __NR_mknodat). > Switch to the modern syscall. > > Fixes: ad5682184a81 ("selftests/seccomp: Check for EPOLLHUP for user_notif") > Signed-off-by: Kees Cook > --- Thanks! Looks good.

Re: [PATCH 11/15] selftests/seccomp: Remove SYSCALL_NUM_RET_SHARE_REG in favor of SYSCALL_RET_SET

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:16AM -0700, Kees Cook wrote: > Instead of special-casing the specific case of shared registers, create > a default SYSCALL_RET_SET() macro (mirroring SYSCALL_NUM_SET()), that > writes to the SYSCALL_RET register. For architectures that can't set the > return value

Re: [PATCH 10/15] selftests/seccomp: Avoid redundant register flushes

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:15AM -0700, Kees Cook wrote: > When none of the registers have changed, don't flush them back. This can > happen if the architecture uses a non-register way to change the syscall > (e.g. arm64) , and a return value hasn't been written. > > Signed-off-by: Kees Cook >

Re: [PATCH 09/15] selftests/seccomp: Convert REGSET calls into ARCH_GETREG/ARCH_SETREG

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:14AM -0700, Kees Cook wrote: > Consolidate the REGSET logic into the new ARCH_GETREG() and > ARCH_SETREG() macros, avoiding more #ifdef code in function bodies. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by: Christian Brauner

Re: [PATCH v2] powerpc/papr_scm: Fix warning triggered by perf_stats_show()

2020-09-15 Thread Vaibhav Jain
Michael Ellerman writes: > Vaibhav Jain writes: >> A warning is reported by the kernel in case perf_stats_show() returns >> an error code. The warning is of the form below: >> >> papr_scm ibm,persistent-memory:ibm,pmemory@4411: >>Failed to query performance stats, Err:-10 >>

Re: [PATCH 08/15] selftests/seccomp: Convert HAVE_GETREG into ARCH_GETREG/ARCH_SETREG

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:13AM -0700, Kees Cook wrote: > Instead of special-casing the get/set-registers routines, move the > HAVE_GETREG logic into the new ARCH_GETREG() and ARCH_SETREG() macros. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by: Christian Brauner

Re: [PATCH 07/15] selftests/seccomp: Remove syscall setting #ifdefs

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:12AM -0700, Kees Cook wrote: > With all architectures now using the common SYSCALL_NUM_SET() macro, the > arch-specific #ifdef can be removed from change_syscall() itself. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by: Christian Brauner

Re: [PATCH 06/15] selftests/seccomp: mips: Remove O32-specific macro

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:11AM -0700, Kees Cook wrote: > Instead of having the mips O32 macro special-cased, pull the logic into > the SYSCALL_NUM() macro. Additionally include the ABI headers, since > these appear to have been missing, leaving __NR_O32_Linux undefined. > > Signed-off-by:

Re: [PATCH 05/15] selftests/seccomp: arm64: Define SYSCALL_NUM_SET macro

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:10AM -0700, Kees Cook wrote: > Remove the arm64 special-case in change_syscall(). > > Signed-off-by: Kees Cook > --- We're using iovecs in ptrace()?? Looks good! Acked-by: Christian Brauner

Re: [PATCH 04/15] selftests/seccomp: arm: Define SYSCALL_NUM_SET macro

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:09AM -0700, Kees Cook wrote: > Remove the arm special-case in change_syscall(). > > Signed-off-by: Kees Cook > --- Looks good! Acked-by: Christian Brauner

Re: [PATCH 03/15] selftests/seccomp: mips: Define SYSCALL_NUM_SET macro

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:08AM -0700, Kees Cook wrote: > Remove the mips special-case in change_syscall(). > > Signed-off-by: Kees Cook > --- > tools/testing/selftests/seccomp/seccomp_bpf.c | 17 + > 1 file changed, 9 insertions(+), 8 deletions(-) > > diff --git

Re: [PATCH 02/15] selftests/seccomp: Provide generic syscall setting macro

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:07AM -0700, Kees Cook wrote: > In order to avoid "#ifdef"s in the main function bodies, create a new > macro, SYSCALL_NUM_SET(), where arch-specific logic can live. > > Signed-off-by: Kees Cook > --- SYSCALL_SWITCH(_regs, nr)? But looks good either way! Acked-by:

Re: [PATCH 01/15] selftests/seccomp: Refactor arch register macros to avoid xtensa special case

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:06AM -0700, Kees Cook wrote: > To avoid an xtensa special-case, refactor all arch register macros to > take the register variable instead of depending on the macro expanding > as a struct member name. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by:

[Bug 209277] powerpc: obsolete driver: Marvell MV64X60 MPSC

2020-09-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209277 --- Comment #1 from Necip Fazil Yildiran (fazilyildi...@gmail.com) --- The config MV64X60 in arch/powerpc/platforms/embedded6xx/Kconfig is non-prompt selected nowhere -- thus, cannot be enabled. In addition, a few other configs cannot be

[Bug 209277] New: Dead code :q

2020-09-15 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=209277 Bug ID: 209277 Summary: Dead code :q Product: Platform Specific/Hardware Version: 2.5 Kernel Version: 5.9-rc4 Hardware: All OS: Linux Tree: Mainline

Re: [5.9.0-rc5-20200914] Kernel crash while running LTP(mlock201)

2020-09-15 Thread Matthew Wilcox
On Tue, Sep 15, 2020 at 09:24:38PM +1000, Michael Ellerman wrote: > Sachin Sant writes: > > While running LTP tests (specifically mlock201) against next-20200914 tree > > on a POWER9 LPAR results in following crash. > > Looks the same as: > >

Re: Injecting SLB miltihit crashes kernel 5.9.0-rc5

2020-09-15 Thread Michael Ellerman
Michal Suchánek writes: > Hello, > > Using the SLB mutihit injection test module (which I did not write so I > do not want to post it here) to verify updates on my 5.3 frankernekernel > I found that the kernel crashes with Oops: kernel bad access. > > I tested on latest upstream kernel build that

Re: [PATCH 00/15] selftests/seccomp: Refactor change_syscall()

2020-09-15 Thread Michael Ellerman
Kees Cook writes: > On Mon, Sep 14, 2020 at 10:15:18PM +1000, Michael Ellerman wrote: >> Kees Cook writes: >> > Hi, >> > >> > This refactors the seccomp selftest macros used in change_syscall(), >> > in an effort to remove special cases for mips, arm, arm64, and xtensa, >> > which paves the way

[PATCH] powerpc/64s: move the last of the page fault handling logic to C

2020-09-15 Thread Nicholas Piggin
The page fault handling still has some complex logic particularly around hash table handling, in asm. Implement this in C instead. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/bug.h| 1 + arch/powerpc/kernel/exceptions-64s.S | 131 +-

[PATCH 6/6] powerpc/64: irq replay remove decrementer overflow check

2020-09-15 Thread Nicholas Piggin
This is an ad-hoc way to catch some cases of decrementer overflow. It won't catch cases where interrupts were hard disabled before any soft masked interrupts fired, for example. And it doesn't catch cases that have overflowed an even number of times. It's not clear what exactly what problem s

[PATCH 5/6] powerpc/64: make restore_interrupts 64e only

2020-09-15 Thread Nicholas Piggin
This is not used by 64s. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/irq.c | 37 +++-- 1 file changed, 19 insertions(+), 18 deletions(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index b725509f9073..631e6d236c97 100644 ---

[PATCH 4/6] powerpc/64e: remove 64s specific interrupt soft-mask code

2020-09-15 Thread Nicholas Piggin
Since the assembly soft-masking code was moved to 64e specific, there are some 64s specific interrupt types still there. Remove them. Signed-off-by: Nicholas Piggin --- arch/powerpc/kernel/exceptions-64e.S | 10 -- arch/powerpc/kernel/irq.c| 2 +- 2 files changed, 1

[PATCH 3/6] powerpc/64e: remove PACA_IRQ_EE_EDGE

2020-09-15 Thread Nicholas Piggin
This is not used anywhere. Signed-off-by: Nicholas Piggin --- arch/powerpc/include/asm/hw_irq.h| 5 ++--- arch/powerpc/kernel/exceptions-64e.S | 1 - arch/powerpc/kernel/irq.c| 23 --- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git

[PATCH 1/6] powerpc/64: fix irq replay missing preempt

2020-09-15 Thread Nicholas Piggin
Prior to commit 3282a3da25bd ("powerpc/64: Implement soft interrupt replay in C"), replayed interrupts returned by the regular interrupt exit code, which performs preemption in case an interrupt had set need_resched. This logic was missed by the conversion. Adding preempt_disable/enable around

[PATCH 2/6] powerpc/64: fix irq replay pt_regs->softe value

2020-09-15 Thread Nicholas Piggin
Replayed interrupts get an "artificial" struct pt_regs constructed to pass to interrupt handler functions. This did not get the softe field set correctly, it's as though the interrupt has hit while irqs are disabled. It should be IRQS_ENABLED. This is possibly harmless, asynchronous handlers

Re: [PATCH v2] powerpc/papr_scm: Fix warning triggered by perf_stats_show()

2020-09-15 Thread Michael Ellerman
Vaibhav Jain writes: > A warning is reported by the kernel in case perf_stats_show() returns > an error code. The warning is of the form below: > > papr_scm ibm,persistent-memory:ibm,pmemory@4411: > Failed to query performance stats, Err:-10 > dev_attr_show:

Re: [PATCH v2 1/4] mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race

2020-09-15 Thread Michael Ellerman
Nicholas Piggin writes: > Excerpts from pet...@infradead.org's message of September 14, 2020 8:56 pm: >> On Mon, Sep 14, 2020 at 02:52:16PM +1000, Nicholas Piggin wrote: >>> Reading and modifying current->mm and current->active_mm and switching >>> mm should be done with irqs off, to prevent

Re: [5.9.0-rc5-20200914] Kernel crash while running LTP(mlock201)

2020-09-15 Thread Michael Ellerman
Sachin Sant writes: > While running LTP tests (specifically mlock201) against next-20200914 tree > on a POWER9 LPAR results in following crash. Looks the same as: https://lore.kernel.org/linux-mm/20200914085545.GB28738@shao2-debian/ cheers > BUG: Kernel NULL pointer dereference on read at

Re: [PATCH v1] soc: fsl: rcpm: Add ACPI support

2020-09-15 Thread Ard Biesheuvel
On 9/15/20 1:06 PM, kuldip dwivedi wrote: Add ACPI support in fsl RCPM driver. This is required to support ACPI S3 state. S3 is the ACPI sleep state that is known as "sleep" or "suspend to RAM". It essentially turns off most power of the system but keeps memory powered. Signed-off-by: tanveer

[PATCH v1] soc: fsl: rcpm: Add ACPI support

2020-09-15 Thread kuldip dwivedi
Add ACPI support in fsl RCPM driver. This is required to support ACPI S3 state. S3 is the ACPI sleep state that is known as "sleep" or "suspend to RAM". It essentially turns off most power of the system but keeps memory powered. Signed-off-by: tanveer Signed-off-by: kuldip dwivedi --- Notes:

Re: [PATCH 00/15] selftests/seccomp: Refactor change_syscall()

2020-09-15 Thread Max Filippov
On Mon, Sep 14, 2020 at 1:32 PM Kees Cook wrote: > On Mon, Sep 14, 2020 at 10:15:18PM +1000, Michael Ellerman wrote: > > Kees Cook writes: > However... > > > > > cheers > > > > > > ./seccomp_bpf > > TAP version 13 > > 1..86 > > # Starting 86 tests from 7 test cases. > > # RUN

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-15 Thread Miquel Raynal
Hi Joe, For MTD: > drivers/mtd/nand/raw/nandsim.c| 2 +- Reviewed-by: Miquel Raynal Thanks, Miquèl

Re: [Intel-gfx] [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-15 Thread Jani Nikula
On Wed, 09 Sep 2020, Joe Perches wrote: > diff --git a/drivers/gpu/drm/i915/display/intel_sprite.c > b/drivers/gpu/drm/i915/display/intel_sprite.c > index 5ac0dbf0e03d..35ac539cc2b1 100644 > --- a/drivers/gpu/drm/i915/display/intel_sprite.c > +++ b/drivers/gpu/drm/i915/display/intel_sprite.c >

Re: [PATCH 00/15] selftests/seccomp: Refactor change_syscall()

2020-09-15 Thread Max Filippov
Hello, On Sat, Sep 12, 2020 at 4:08 AM Kees Cook wrote: > This refactors the seccomp selftest macros used in change_syscall(), > in an effort to remove special cases for mips, arm, arm64, and xtensa, > which paves the way for powerpc fixes. > > I'm not entirely done testing, but all-arch build

Injecting SLB miltihit crashes kernel 5.9.0-rc5

2020-09-15 Thread Michal Suchánek
Hello, Using the SLB mutihit injection test module (which I did not write so I do not want to post it here) to verify updates on my 5.3 frankernekernel I found that the kernel crashes with Oops: kernel bad access. I tested on latest upstream kernel build that I have at hand and the result is te

[powerpc:next-test] BUILD SUCCESS d7d40595a2568d199396c863460cecd5ae676c34

2020-09-15 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next-test branch HEAD: d7d40595a2568d199396c863460cecd5ae676c34 Merge coregroup support into next elapsed time: 1137m configs tested: 175 configs skipped: 2 The following configs have been built successfully.

[powerpc:merge] BUILD SUCCESS 27e2fbcd815a088d7d83c7158f76b6e95ab07c50

2020-09-15 Thread kernel test robot
tree/branch: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git merge branch HEAD: 27e2fbcd815a088d7d83c7158f76b6e95ab07c50 Automatic merge of 'master', 'next' and 'fixes' (2020-09-14 23:28) elapsed time: 1138m configs tested: 154 configs skipped: 2 The following configs have

Re: [PATCH kernel] powerpc/dma: Fix dma_map_ops::get_required_mask

2020-09-15 Thread Christoph Hellwig
On Wed, Sep 09, 2020 at 07:36:04PM +1000, Alexey Kardashevskiy wrote: > I want dma_get_required_mask() to return the bigger mask always. > > Now it depends on (in dma_alloc_direct()): > 1. dev->dma_ops_bypass: set via pci_set_(coherent_)dma_mask(); > 2. dev->coherent_dma_mask - the same; > 3.

[5.9.0-rc5-20200914] Kernel crash while running LTP(mlock201)

2020-09-15 Thread Sachin Sant
While running LTP tests (specifically mlock201) against next-20200914 tree on a POWER9 LPAR results in following crash. BUG: Kernel NULL pointer dereference on read at 0x Faulting instruction address: 0xc0454248 Oops: Kernel access of bad area, sig: 11 [#1] LE PAGE_SIZE=64K