Re: [PATCH] powerpc/pseries: Fix plpks crash on non-pseries

2022-09-09 Thread Michael Ellerman
On Wed, 7 Sep 2022 16:50:38 +1000, Michael Ellerman wrote: > As reported[1] by Nathan, the recently added plpks driver will crash if > it's built into the kernel and booted on a non-pseries machine, eg > powernv: > > kernel BUG at arch/powerpc/kernel/syscall.c:39! > Oops: Exception in kernel m

Re: [PATCH] powerpc/pseries: Fix plpks crash on non-pseries

2022-09-07 Thread Nathan Chancellor
On Wed, Sep 07, 2022 at 04:50:38PM +1000, Michael Ellerman wrote: > As reported[1] by Nathan, the recently added plpks driver will crash if > it's built into the kernel and booted on a non-pseries machine, eg > powernv: > > kernel BUG at arch/powerpc/kernel/syscall.c:39! > Oops: Exception in k

Re: [PATCH] powerpc/pseries: Fix plpks crash on non-pseries

2022-09-07 Thread Dan Horák
Hi, I have tested the fix on top of Fedora's kernel-6.0.0-0.rc4.20220906git53e99dcff61e.32.fc38 and systems are booting again. Tested-By: Dan Horák Reviewed-by: Dan Horák With regards, Dan