linux_dsm_epyc7002/arch/powerpc/include/asm/book3s/32
Christophe Leroy 385e89d5b2 powerpc/mm: add exec protection on powerpc 603
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@c-s.fr>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2018-12-19 18:56:32 +11:00
..
hash.h powerpc/mm: add exec protection on powerpc 603 2018-12-19 18:56:32 +11:00
mmu-hash.h powerpc/book3s/32: Use patch_site to patch hash functions 2018-12-19 18:56:32 +11:00
pgalloc.h powerpc/mm: enable the use of page table cache of order 0 2018-12-04 19:45:01 +11:00
pgtable.h powerpc/mm: add exec protection on powerpc 603 2018-12-19 18:56:32 +11:00
tlbflush.h powerpc: split asm/tlbflush.h 2018-07-30 22:48:21 +10:00