Re: [PATCH v3 0/2] KVM: arm64: Debug fixes

2021-04-07 Thread Marc Zyngier
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 >

[PATCH v3 0/2] KVM: arm64: Debug fixes

2021-04-07 Thread Alexandru Elisei
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