Commit d671ddd6 authored by Michael Ellerman's avatar Michael Ellerman Committed by Benjamin Herrenschmidt

powerpc: Add more exception trampolines for hypervisor exceptions

This makes back traces and profiles easier to read.
Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent fa111f1f
...@@ -293,27 +293,31 @@ system_call_pSeries: ...@@ -293,27 +293,31 @@ system_call_pSeries:
* out of line to handle them * out of line to handle them
*/ */
. = 0xe00 . = 0xe00
hv_exception_trampoline: hv_data_storage_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b h_data_storage_hv b h_data_storage_hv
. = 0xe20 . = 0xe20
hv_instr_storage_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b h_instr_storage_hv b h_instr_storage_hv
. = 0xe40 . = 0xe40
emulation_assist_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b emulation_assist_hv b emulation_assist_hv
. = 0xe60 . = 0xe60
hv_exception_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b hmi_exception_hv b hmi_exception_hv
. = 0xe80 . = 0xe80
hv_doorbell_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b h_doorbell_hv b h_doorbell_hv
...@@ -809,6 +813,7 @@ system_call_relon_pSeries: ...@@ -809,6 +813,7 @@ system_call_relon_pSeries:
b . /* Can't happen, see v2.07 Book III-S section 6.5 */ b . /* Can't happen, see v2.07 Book III-S section 6.5 */
. = 0x4e40 . = 0x4e40
emulation_assist_relon_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b emulation_assist_relon_hv b emulation_assist_relon_hv
...@@ -817,6 +822,7 @@ system_call_relon_pSeries: ...@@ -817,6 +822,7 @@ system_call_relon_pSeries:
b . /* Can't happen, see v2.07 Book III-S section 6.5 */ b . /* Can't happen, see v2.07 Book III-S section 6.5 */
. = 0x4e80 . = 0x4e80
h_doorbell_relon_trampoline:
SET_SCRATCH0(r13) SET_SCRATCH0(r13)
EXCEPTION_PROLOG_0(PACA_EXGEN) EXCEPTION_PROLOG_0(PACA_EXGEN)
b h_doorbell_relon_hv b h_doorbell_relon_hv
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment