diff options
author | Mostafa Saleh <smostafa@google.com> | 2025-09-09 13:36:30 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2025-09-15 13:04:22 +0100 |
commit | 92b7624fe052ffb0b7b70d96cd514e02e91664a8 (patch) | |
tree | 3f216b6d937d9d36a888bd09ad19c3751d591ed4 /rust/kernel/alloc/allocator_test.rs | |
parent | 1b237f190eb3d36f52dffe07a40b5eb210280e00 (diff) |
KVM: arm64: Dump instruction on hyp panic
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 <chentao@kylinos.cn>
Reviewed-by: Kunwu Chan <chentao@kylinos.cn>
Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'rust/kernel/alloc/allocator_test.rs')
0 files changed, 0 insertions, 0 deletions