[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <43MLSR6WTrz9sDP@ozlabs.org>
Date: Sat, 22 Dec 2018 20:54:31 +1100 (AEDT)
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Christophe Leroy <christophe.leroy@....fr>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Paul Mackerras <paulus@...ba.org>
Cc: linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org
Subject: Re: [v3] powerpc/mm: add exec protection on powerpc 603
On Wed, 2018-11-28 at 17:21:10 UTC, Christophe Leroy wrote:
> The 603 doesn't have a HASH table, TLB misses are handled by
> software. It is then possible to generate page fault when
> _PAGE_EXEC is not set like in nohash/32.
>
> There is one "reserved" PTE bit available, this patch uses
> it for _PAGE_EXEC.
>
> In order to support it, set_pte_filter() and
> set_access_flags_filter() are made common, and the handling
> is made dependent on MMU_FTR_HPTE_TABLE
>
> Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@...ux.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/385e89d5b20f5a7c33fd7c1904da0e
cheers
Powered by blists - more mailing lists