[lkml]   [2018]   [Dec]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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 <>
> Reviewed-by: Aneesh Kumar K.V <>

Applied to powerpc next, thanks.


 \ /
  Last update: 2018-12-22 18:02    [W:0.039 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site