]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Fix CONFIG_PKVM_DISABLE_STAGE2_ON_PANIC
authorVincent Donnefort <vdonnefort@google.com>
Wed, 20 May 2026 22:08:30 +0000 (23:08 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 21 May 2026 15:02:46 +0000 (16:02 +0100)
commit373452ac0649846431ca0f88574a2fa6382d2045
tree1f6918e7f8615f30c1041b9f77cf22782d1de3cd
parent1702da76e017ae0fbe1a92b07bc332972c293e89
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 <vdonnefort@google.com>
Link: https://patch.msgid.link/20260520220830.273289-1-vdonnefort@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/hyp/nvhe/host.S