OSDN Git Service

KVM: arm64: MDCR_EL2 is a 64-bit register
authorFuad Tabba <tabba@google.com>
Tue, 17 Aug 2021 08:11:22 +0000 (09:11 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Aug 2021 10:12:17 +0000 (11:12 +0100)
commitd6c850dd6ce9ce4b410142a600d8c34dc041d860
tree06d088de53e1a24ec9a36d9c137a74d2a74027ae
parente6bc555c96990046d680ff92c8e2e7b6b43b509f
KVM: arm64: MDCR_EL2 is a 64-bit register

Fix the places in KVM that treat MDCR_EL2 as a 32-bit register.
More recent features (e.g., FEAT_SPEv1p2) use bits above 31.

No functional change intended.

Acked-by: Will Deacon <will@kernel.org>
Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210817081134.2918285-4-tabba@google.com
arch/arm64/include/asm/kvm_arm.h
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/debug.c
arch/arm64/kvm/hyp/nvhe/debug-sr.c
arch/arm64/kvm/hyp/vhe/debug-sr.c