Re: [PATCH v7 3/5] powerpc: Rework and improve STRICT_KERNEL_RWX patching

2022-03-14 Thread Jordan Niethe
On Sat, Mar 12, 2022 at 6:30 PM Christophe Leroy wrote: > > Hi Jordan > > Le 10/11/2021 à 01:37, Jordan Niethe a écrit : > > From: "Christopher M. Riedl" > > > > Rework code-patching with STRICT_KERNEL_RWX to prepare for a later patch > > which uses a temporary mm for patching under the Book3s64

Re: [PATCH v7 3/5] powerpc: Rework and improve STRICT_KERNEL_RWX patching

2022-03-11 Thread Christophe Leroy
Hi Jordan Le 10/11/2021 à 01:37, Jordan Niethe a écrit : > From: "Christopher M. Riedl" > > Rework code-patching with STRICT_KERNEL_RWX to prepare for a later patch > which uses a temporary mm for patching under the Book3s64 Radix MMU. > Make improvements by adding a WARN_ON when the patchsite d

[PATCH v7 3/5] powerpc: Rework and improve STRICT_KERNEL_RWX patching

2021-11-09 Thread Jordan Niethe
From: "Christopher M. Riedl" Rework code-patching with STRICT_KERNEL_RWX to prepare for a later 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_instru