Re: [PATCH] rcu: torture: ppc: Remove duplicated argument --enable-kvm

2023-03-26 Thread Paul E. McKenney
On Sun, Mar 26, 2023 at 08:24:34AM +0800, zhouzho...@gmail.com wrote: > From: Zhouyi Zhou > > The argument --enable-kvm is duplicated because qemu_args > in kvm-test-1-run.sh has already give this. > > Signed-off-by: Zhouyi Zhou Good catch! Applied, thank you!

Re: [PATCH 01/10] locking/atomic: Add missing cast to try_cmpxchg() fallbacks

2023-03-26 Thread Uros Bizjak
On Fri, Mar 24, 2023 at 5:33 PM Mark Rutland wrote: > > On Fri, Mar 24, 2023 at 04:14:22PM +, Mark Rutland wrote: > > On Fri, Mar 24, 2023 at 04:43:32PM +0100, Uros Bizjak wrote: > > > On Fri, Mar 24, 2023 at 3:13 PM Mark Rutland wrote: > > > > > > > > On Sun, Mar 05, 2023 at 09:56:19PM +0100

[PATCH] powerpc: don't try to copy ppc for task with NULL pt_regs

2023-03-26 Thread Jens Axboe
Powerpc sets up PF_KTHREAD and PF_IO_WORKER with a NULL pt_regs, which from my (arguably very short) checking is not commonly done for other archs. This is fine, except when PF_IO_WORKER's have been created and the task does something that causes a coredump to be generated. Then we get this crash:

Re: Memory coherency issue with IO thread offloading?

2023-03-26 Thread Nicholas Piggin
On Sat Mar 25, 2023 at 11:20 AM AEST, Jens Axboe wrote: > On 3/24/23 7:15?PM, Jens Axboe wrote: > >> Are there any CONFIG options I'd need to trip this? > > > > I don't think you need any special CONFIG options. I'll attach my config > > here, and I know the default distro one hits it too. But per

Re: perf tools power9 JSON files build breakage on ubuntu 18.04 cross build

2023-03-26 Thread kajoljain
On 3/23/23 18:41, Arnaldo Carvalho de Melo wrote: > Exception processing pmu-events/arch/powerpc/power9/other.json > Traceback (most recent call last): > File "pmu-events/jevents.py", line 997, in > main() > File "pmu-events/jevents.py", line 979, in main > ftw(arch_path, [], prepro

Re: [PATCH 0/2] KVM: PPC: support kvm selftests

2023-03-26 Thread Nicholas Piggin
On Thu Mar 23, 2023 at 3:41 AM AEST, Sean Christopherson wrote: > On Thu, Mar 16, 2023, Michael Ellerman wrote: > > Nicholas Piggin writes: > > > Hi, > > > > > > This series adds initial KVM selftests support for powerpc > > > (64-bit, BookS). > > > > Awesome. > > > > > It spans 3 maintainers b

Re: [kvm-unit-tests v2 02/10] powerpc: add local variant of SPR test

2023-03-26 Thread Nicholas Piggin
On Thu Mar 23, 2023 at 9:26 PM AEST, Thomas Huth wrote: > On 20/03/2023 08.03, Nicholas Piggin wrote: > > This adds the non-migration variant of the SPR test to the matrix, > > which can be simpler to run and debug. > > > > Reviewed-by: Thomas Huth > > Signed-off-by: Nicholas Piggin > > --- > >

Re: [kvm-unit-tests v2 03/10] powerpc: abstract H_CEDE calls into a sleep functions

2023-03-26 Thread Nicholas Piggin
On Thu Mar 23, 2023 at 10:12 PM AEST, Thomas Huth wrote: > On 20/03/2023 08.03, Nicholas Piggin wrote: > > This consolidates several implementations, and it no longer leaves > > MSR[EE] enabled after the decrementer interrupt is handled, but > > rather disables it on return. > > > > The handler no

Re: [kvm-unit-tests v2 07/10] powerpc/spapr_vpa: Add basic VPA tests

2023-03-26 Thread Nicholas Piggin
On Fri Mar 24, 2023 at 12:07 AM AEST, Thomas Huth wrote: > On 20/03/2023 08.03, Nicholas Piggin wrote: > > The VPA is a(n optional) memory structure shared between the hypervisor > > and operating system, defined by PAPR. This test defines the structure > > and adds registration, deregistration, an

Re: [PATCH] powerpc: don't try to copy ppc for task with NULL pt_regs

2023-03-26 Thread Nicholas Piggin
On Mon Mar 27, 2023 at 8:15 AM AEST, Jens Axboe wrote: > Powerpc sets up PF_KTHREAD and PF_IO_WORKER with a NULL pt_regs, which > from my (arguably very short) checking is not commonly done for other > archs. This is fine, except when PF_IO_WORKER's have been created and > the task does something t