diff options
| author | Christophe Leroy <[email protected]> | 2018-11-28 17:21:10 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2018-12-19 18:56:32 +1100 |
| commit | 385e89d5b20f5a7c33fd7c1904da0e6a8e1b366f (patch) | |
| tree | 6bca1bde5792cd345deca9a6dea1f0b929f42e31 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | badb9687cec50bdba59746532de1969d6d26f3a7 (diff) | |
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 <[email protected]>
Reviewed-by: Aneesh Kumar K.V <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions