Re: [PATCH v5 6/8] powerpc: Rework and improve STRICT_KERNEL_RWX patching

2021-08-11 Thread Christopher M. Riedl
On Thu Aug 5, 2021 at 4:34 AM CDT, Christophe Leroy wrote: > > > Le 13/07/2021 à 07:31, Christopher M. Riedl a écrit : > > Rework code-patching with STRICT_KERNEL_RWX to prepare for the next > > patch which uses a temporary mm for patching under the Book3s64 Radix > > MMU. Make improvements by addi

Re: [PATCH v5 6/8] powerpc: Rework and improve STRICT_KERNEL_RWX patching

2021-08-05 Thread Christophe Leroy
Le 13/07/2021 à 07:31, Christopher M. Riedl a écrit : Rework code-patching with STRICT_KERNEL_RWX to prepare for the next patch which uses a temporary mm for patching under the Book3s64 Radix MMU. Make improvements by adding a WARN_ON when the patchsite doesn't match after patching and return

[PATCH v5 6/8] powerpc: Rework and improve STRICT_KERNEL_RWX patching

2021-07-12 Thread Christopher M. Riedl
Rework code-patching with STRICT_KERNEL_RWX to prepare for the next patch which uses a temporary mm for patching under the Book3s64 Radix MMU. Make improvements by adding a WARN_ON when the patchsite doesn't match after patching and return the error from __patch_instruction() properly. Signed-off-