[PATCH] powerpc: Hide empty pt_regs at base of the stack

Michael Ellerman mpe at ellerman.id.au
Fri Oct 27 20:59:56 AEDT 2023


On Thu, 24 Aug 2023 16:42:10 +1000, Michael Ellerman wrote:
> A thread started via eg. user_mode_thread() runs in the kernel to begin
> with and then may later return to userspace. While it's running in the
> kernel it has a pt_regs at the base of its kernel stack, but that
> pt_regs is all zeroes.
> 
> If the thread oopses in that state, it leads to an ugly stack trace with
> a big block of zero GPRs, as reported by Joel:
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc: Hide empty pt_regs at base of the stack
      https://git.kernel.org/powerpc/c/d45c4b48dafb5820e5cc267ff9a6d7784d13a43c

cheers


More information about the Linuxppc-dev mailing list