Re: [PATCH] powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS

2021-04-03 Thread Michael Ellerman
On Wed, 31 Mar 2021 14:14:58 + (UTC), Christophe Leroy wrote: > An #ifdef CONFIG_PPC_FPU_REGS is missing in arch_ptrace() leading > to the following Oops because [REGSET_FPR] entry is not initialised in > native_regsets[]. > > [ 41.917608] BUG: Unable to handle kernel instruction fetch > [

[PATCH] powerpc/ptrace: Don't return error when getting/setting FP regs without CONFIG_PPC_FPU_REGS

2021-03-31 Thread Christophe Leroy
An #ifdef CONFIG_PPC_FPU_REGS is missing in arch_ptrace() leading to the following Oops because [REGSET_FPR] entry is not initialised in native_regsets[]. [ 41.917608] BUG: Unable to handle kernel instruction fetch [ 41.922849] Faulting instruction address: 0xff8fd228 [ 41.927760] Oops: