Re: [PATCH] powerpc/32s: Enable STRICT_MODULE_RWX for the 603 core

2022-02-16 Thread Michael Ellerman
On Mon, 17 Jan 2022 10:06:39 +, Christophe Leroy wrote: > The book3s/32 MMU doesn't support per page execution protection and > doesn't support RO protection for kernel pages. > > However, on the 603 which implements software loaded TLBs, execution > protection is honored by the TLB Miss handl

[PATCH] powerpc/32s: Enable STRICT_MODULE_RWX for the 603 core

2022-01-17 Thread Christophe Leroy
The book3s/32 MMU doesn't support per page execution protection and doesn't support RO protection for kernel pages. However, on the 603 which implements software loaded TLBs, execution protection is honored by the TLB Miss handler which doesn't load Instruction TLB for non executable pages. And RO