KVM: arm64: nv: Add trap forwarding for HCR_EL2
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Aug 2023 18:38:49 +0000 (19:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Aug 2023 09:00:27 +0000 (10:00 +0100)
commitd0fc0a2519a6dd906aac448e742958d30b5787ac
tree2e028f570e380129658ba6248a8e78e3010b5452
parente58ec47bf68d2bcaaa97d80cc13aca4bc4abe07b
KVM: arm64: nv: Add trap forwarding for HCR_EL2

Describe the HCR_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-16-maz@kernel.org
arch/arm64/kvm/emulate-nested.c