KVM: arm64: nv: Add trap forwarding for CNTHCTL_EL2
authorMarc Zyngier <maz@kernel.org>
Tue, 15 Aug 2023 18:38:52 +0000 (19:38 +0100)
committerMarc Zyngier <maz@kernel.org>
Thu, 17 Aug 2023 09:00:27 +0000 (10:00 +0100)
commite880bd3363237ed8abbe623d1b49d59d5f6fe0d1
tree0f45a1097c68bd510358c4b11125a092efe7364c
parentcb31632c44529048c052a2961b3adf62a2c89b17
KVM: arm64: nv: Add trap forwarding for CNTHCTL_EL2

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