[PATCH v2 0/2] KVM: arm64: VHE: Debug fixes

Alexandru Elisei alexandru.elisei at arm.com
Tue Sep 2 06:08:31 PDT 2025


This is v2 of the patch that zeroes PMSCR_EL1 [1] at boot, hopefully now it's
not as bad.

Picked up another fix - patch #2 ("KVM: arm64: VHE: Save and restore host
MDCR_EL2 value correctly") is new.

[1] https://lore.kernel.org/kvmarm/20241106122654.38234-1-alexandru.elisei@arm.com/

Alexandru Elisei (2):
  KVM: arm64: VHE: Initialize PMSCR_EL1
  KVM: arm64: VHE: Save and restore host MDCR_EL2 value correctly

 arch/arm64/kvm/debug.c                  | 20 ++++++++++++++++----
 arch/arm64/kvm/hyp/include/hyp/switch.h |  5 -----
 arch/arm64/kvm/hyp/nvhe/switch.c        |  6 ++++++
 3 files changed, 22 insertions(+), 9 deletions(-)


base-commit: b320789d6883cc00ac78ce83bccbfe7ed58afcf0
-- 
2.51.0




More information about the linux-arm-kernel mailing list