[PATCH v3 0/2] KVM: arm64: Debug fixes
Marc Zyngier
maz at kernel.org
Wed Apr 7 16:58:48 BST 2021
On Wed, 7 Apr 2021 15:48:55 +0100, Alexandru Elisei wrote:
> v2 can be found at [1]. Patch #1 in this series is new.
>
> Tested on an odroid-c4 with VHE. vcpu->arch.mdcr_el2 is calculated to be
> 0x84e66. Without this patch, reading MDCR_EL2 after the first vcpu_load() in
> kvm_arch_vcpu_ioctl_run() returns 0, subsequent reads return 0xe66
> (FEAT_TFF and FEAT_SPE are not implemented by the PE). With this patch, all
> reads, including the first time the VCPU is run, return 0xe66.
>
> [...]
Applied to kvm-arm64/debug-5.13, thanks!
[1/2] Documentation: KVM: Document KVM_GUESTDBG_USE_HW control flag for arm64
commit: feb5dc3de03711d846f0b729cb12fc05cbe49ccb
[2/2] KVM: arm64: Initialize VCPU mdcr_el2 before loading it
commit: 263d6287da1433aba11c5b4046388f2cdf49675c
Cheers,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list