[PATCH 2/2] KVM: arm64: Map hyp text as RO and dump instr on panic
Will Deacon
will at kernel.org
Mon Sep 8 05:11:15 PDT 2025
On Thu, Jul 17, 2025 at 11:47:44PM +0000, Mostafa Saleh wrote:
> Map the hyp text section as RO, there are no secrets there
> and that allows the kernel extract info for debugging.
>
> As in case of panic we can now dump the faulting instructions
> similar to the kernel.
>
> Signed-off-by: Mostafa Saleh <smostafa at google.com>
> ---
> arch/arm64/kvm/handle_exit.c | 4 +---
> arch/arm64/kvm/hyp/nvhe/setup.c | 12 ++++++++++--
> 2 files changed, 11 insertions(+), 5 deletions(-)
Acked-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list