Re: powerpc/64s: Make rfi_flush_fallback a little more robust

2018-08-08 Thread Michael Ellerman
On Thu, 2018-07-26 at 12:42:44 UTC, Michael Ellerman wrote: > Because rfi_flush_fallback runs immediately before the return to > userspace it currently runs with the user r1 (stack pointer). This > means if we oops in there we will report a bad kernel stack pointer in > the exception entry path, eg

Re: [PATCH] powerpc/64s: Make rfi_flush_fallback a little more robust

2018-07-31 Thread Nicholas Piggin
On Thu, 26 Jul 2018 22:42:44 +1000 Michael Ellerman wrote: > Because rfi_flush_fallback runs immediately before the return to > userspace it currently runs with the user r1 (stack pointer). This > means if we oops in there we will report a bad kernel stack pointer in > the exception entry path, e

[PATCH] powerpc/64s: Make rfi_flush_fallback a little more robust

2018-07-26 Thread Michael Ellerman
Because rfi_flush_fallback runs immediately before the return to userspace it currently runs with the user r1 (stack pointer). This means if we oops in there we will report a bad kernel stack pointer in the exception entry path, eg: Bad kernel stack pointer 77150e40 at c00023b4 Oop