]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/32s: move DABR match out of handle_page_fault
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 30 Jan 2021 13:08:13 +0000 (23:08 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 8 Feb 2021 13:02:08 +0000 (00:02 +1100)
commit7a24ae2e172f770df07f8e48ed3ed2f3a6b17e37
tree96584b167d91c87a5c0e2ba5e8ffb38729a16f8a
parent112665286d08c87e66d699e7cba43c1497ad165f
powerpc/32s: move DABR match out of handle_page_fault

handle_page_fault() has some code dedicated to book3s/32 to
call do_break() when the DSI is a DABR match.

On other platforms, do_break() is handled separately.

Do the same for book3s/32, do it earlier in the process of DSI.

This change also avoid doing the test on ISI.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210130130852.2952424-4-npiggin@gmail.com
arch/powerpc/kernel/entry_32.S
arch/powerpc/kernel/head_book3s_32.S