[PATCH] powerpc/32s: Enable STRICT_MODULE_RWX for the 603 core
Michael Ellerman
patch-notifications at ellerman.id.au
Wed Feb 16 23:25:48 AEDT 2022
On Mon, 17 Jan 2022 10:06:39 +0000, 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 handler which doesn't load
> Instruction TLB for non executable pages. And RO protection is
> honored by clearing the C bit for RO pages, leading to DSI.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc/32s: Enable STRICT_MODULE_RWX for the 603 core
https://git.kernel.org/powerpc/c/0670010f3b10aeaad0dfdf0dad0bcd020fc70eb5
cheers
More information about the Linuxppc-dev
mailing list