KVM: arm64: Add accessor for per-CPU state
authorMarc Zyngier <maz@kernel.org>
Fri, 1 Mar 2024 11:16:56 +0000 (11:16 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 12 Apr 2024 12:57:30 +0000 (13:57 +0100)
commit87f842c6c6543cf0dd66161fdf4b62cec804479b
tree072f7284996f7dbd2f86205c908baf8aae53dd09
parent4cece764965020c22cff7665b18a012006359095
KVM: arm64: Add accessor for per-CPU state

In order to facilitate the introduction of new per-CPU state,
add a new host_data_ptr() helped that hides some of the per-CPU
verbosity, and make it easier to move that state around in the
future.

Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/arm.c
arch/arm64/kvm/hyp/include/hyp/debug-sr.h
arch/arm64/kvm/hyp/include/hyp/switch.h
arch/arm64/kvm/hyp/nvhe/psci-relay.c
arch/arm64/kvm/hyp/nvhe/setup.c
arch/arm64/kvm/hyp/nvhe/switch.c
arch/arm64/kvm/hyp/vhe/switch.c
arch/arm64/kvm/hyp/vhe/sysreg-sr.c
arch/arm64/kvm/pmu.c