KVM: arm64: Fix CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC
PATCH 1/1 KVM: arm64: Fix CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC
A typo in the config guard in __hyp_do_panic broke the stage-2 disabling and made backtraces for pKVM quite unreliable.
Fix that typo.
Fixes 9019e82c7e46 ("KVM: arm64: Add PKVM_DISABLE_STAGE2_ON_PANIC")
Signed-off-by Vincent Donnefort <[email protected]>
arch/arm64/kvm/hyp/nvhe/host.S +1 -1
@@ -120,7 +120,7 @@ SYM_FUNC_START(__hyp_do_panic) mov x29, x0 -#ifdef PKVM_DISABLE_STAGE2_ON_PANIC +#ifdef CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC /* Ensure host stage-2 is disabled */ mrs x0, hcr_el2 bic x0, x0, #HCR_VM
base-commit: 5200f5f493f79f14bbdc349e402a40dfb32f23c8
Signature · 1 line
2.54.0.746.g67dd491aae-goog
Quoted 6 lines · Vincent Donnefort
A typo in the config guard in
__hyp_do_panicbroke the stage-2 disabling and made backtraces for pKVM quite unreliable.Fix that typo.
Applied to fixes, thanks!
[1/1] KVM: arm64: Fix CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC
commit: 373452ac0649846431ca0f88574a2fa6382d2045
Cheers,
M.
Signature · 1 line
Without deviation from the norm, progress is not possible.