Re: [PATCH v5 0/8] Use per-CPU temporary mappings for patching on Radix MMU

2021-08-11 Thread Christopher M. Riedl
On Thu Aug 5, 2021 at 4:03 AM CDT, Christophe Leroy wrote: > > > Le 13/07/2021 à 07:31, Christopher M. Riedl a écrit : > > When compiled with CONFIG_STRICT_KERNEL_RWX, the kernel must create > > temporary mappings when patching itself. These mappings temporarily > > override the strict RWX text pro

Re: [PATCH v5 0/8] Use per-CPU temporary mappings for patching on Radix MMU

2021-08-05 Thread Christophe Leroy
Le 13/07/2021 à 07:31, Christopher M. Riedl a écrit : When compiled with CONFIG_STRICT_KERNEL_RWX, the kernel must create temporary mappings when patching itself. These mappings temporarily override the strict RWX text protections to permit a write. Currently, powerpc allocates a per-CPU VM ar

[PATCH v5 0/8] Use per-CPU temporary mappings for patching on Radix MMU

2021-07-12 Thread Christopher M. Riedl
When compiled with CONFIG_STRICT_KERNEL_RWX, the kernel must create temporary mappings when patching itself. These mappings temporarily override the strict RWX text protections to permit a write. Currently, powerpc allocates a per-CPU VM area for patching. Patching occurs as follows: 1. Ma