Re: [PATCH] powerpc/64s: Disable STRICT_KERNEL_RWX

2020-05-28 Thread Michael Ellerman
On Wed, 20 May 2020 23:36:05 +1000, Michael Ellerman wrote: > Several strange crashes have been eventually traced back to > STRICT_KERNEL_RWX and its interaction with code patching. > > Various paths in our ftrace, kprobes and other patching code need to > be hardened against patching failures, ot

[PATCH] powerpc/64s: Disable STRICT_KERNEL_RWX

2020-05-20 Thread Michael Ellerman
Several strange crashes have been eventually traced back to STRICT_KERNEL_RWX and its interaction with code patching. Various paths in our ftrace, kprobes and other patching code need to be hardened against patching failures, otherwise we can end up running with partially/incorrectly patched ftrac