powerpc/64s: add do_bad_page_fault_segv handler
authorNicholas Piggin <npiggin@gmail.com>
Sat, 30 Jan 2021 13:08:22 +0000 (23:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Feb 2021 13:02:09 +0000 (00:02 +1100)
commit71f47976fafc4375674bd0714153be10f878040a
tree3df62506464a2dc4c279766b69aaffa793e495e2
parent8458c628a53ba4311b2df12370be1a6f1870ff37
powerpc/64s: add do_bad_page_fault_segv handler

This function acts like an interrupt handler so it needs to follow
the standard interrupt handler function signature which will be
introduced in a future change.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210130130852.2952424-13-npiggin@gmail.com
arch/powerpc/include/asm/bug.h
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/mm/fault.c