Improve handling of SError interrupts. Print some useful information and
authorkettenis <kettenis@openbsd.org>
Tue, 26 Dec 2023 09:19:15 +0000 (09:19 +0000)
committerkettenis <kettenis@openbsd.org>
Tue, 26 Dec 2023 09:19:15 +0000 (09:19 +0000)
commit4ef70b62034cf214c9106bacee4aa3895e44cfc7
treef4172fcecc3f4db9c40e7f46ac1cca8d08bfd63a
parentfa679d4f7b6530cdb111c9b11479de3ab1da10cc
Improve handling of SError interrupts.  Print some useful information and
allow additional information to be printed for specific CPU types.  Use
this to print the L2C registers on Apple CPUs which can be very useful
in tracking down the source of certain SError interrupts.

ok miod@, dlg@
sys/arch/arm64/arm64/cpu.c
sys/arch/arm64/arm64/exception.S
sys/arch/arm64/arm64/trap.c
sys/arch/arm64/include/cpu.h