diff options
| author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-07-19 14:49:31 +1000 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-08-03 16:06:45 +1000 |
| commit | f3d96e698ed0f83d8faa35071ea9ca0a57e74c50 (patch) | |
| tree | 6597a1cf1224d3aa81eefd1b3a507e1b9bb317f5 /tools/lib/python | |
| parent | e6c8290a894bcaf0d8f06c504a04da3412a3cf55 (diff) | |
powerpc/mm: Overhaul handling of bad page faults
A bad page fault is when the HW signals an error such as a bad
copy/paste, an AMO error, or some other type of error that will
not be fixed by updating the PTE.
Use a helper page_fault_is_bad() to check for bad page faults thus
removing the per-processor family open-coding in __do_page_fault()
and trigger a SIGBUS rather than a SIGSEGV which is more appropriate.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
