On Tue, Sep 09, 2025 at 01:36:30PM +0000, Mostafa Saleh wrote:
Similar to the kernel panic, where the instruction code is printed,
we can do the same for hypervisor panics.
This patch does that only in case of “CONFIG_NVHE_EL2_DEBUG” or nvhe.
The next patch adds support for pKVM.
Also, remove the hardcoded argument dump_kernel_instr().
Signed-off-by: Mostafa Saleh <smostafa@google.com>
Tested-by: Kunwu Chan <redacted>
Reviewed-by: Kunwu Chan <redacted>
---
arch/arm64/include/asm/traps.h | 1 +
arch/arm64/kernel/traps.c | 15 +++++++++------
arch/arm64/kvm/handle_exit.c | 5 +++++
3 files changed, 15 insertions(+), 6 deletions(-)
Thanks for the respin:
Acked-by: Will Deacon <will@kernel.org>
Will