[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164501434892.521186.15893809567759741150.b4-ty@ellerman.id.au>
Date: Wed, 16 Feb 2022 23:25:48 +1100
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Michael Ellerman <mpe@...erman.id.au>,
Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] powerpc/32s: Enable STRICT_MODULE_RWX for the 603 core
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
Powered by blists - more mailing lists