KVM: arm64: nv: Add trap forwarding for MDCR_EL2
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Aug 2023 18:38:51 +0000 (19:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Aug 2023 09:00:27 +0000 (10:00 +0100)
commitcb31632c44529048c052a2961b3adf62a2c89b17
treed31ffa9d23c310ae9a2fb02be6470bb1a2be502b
parenta0b70fb00db83e678f92b8aed0a9a9e4ffcffb82
KVM: arm64: nv: Add trap forwarding for MDCR_EL2

Describe the MDCR_EL2 register, and associate it with all the sysregs
it allows to trap.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Jing Zhang <jingzhangos@google.com>
Link: https://lore.kernel.org/r/20230815183903.2735724-18-maz@kernel.org
arch/arm64/kvm/emulate-nested.c