summaryrefslogtreecommitdiffstats
path: root/arch/arm64/include
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-11-10 20:02:59 +0100
committerMarc Zyngier <maz@kernel.org>2022-11-11 18:19:35 +0100
commitbe66e67f175096f283c9d5614c4991fc9e7ed975 (patch)
treefa477573896bc6eb967252485754a38dc695c8fc /arch/arm64/include
parentKVM: arm64: Don't unnecessarily map host kernel sections at EL2 (diff)
downloadlinux-be66e67f175096f283c9d5614c4991fc9e7ed975.tar.xz
linux-be66e67f175096f283c9d5614c4991fc9e7ed975.zip
KVM: arm64: Use the pKVM hyp vCPU structure in handle___kvm_vcpu_run()
As a stepping stone towards deprivileging the host's access to the guest's vCPU structures, introduce some naive flush/sync routines to copy most of the host vCPU into the hyp vCPU on vCPU run and back again on return to EL1. This allows us to run using the pKVM hyp structures when KVM is initialised in protected mode. Tested-by: Vincent Donnefort <vdonnefort@google.com> Co-developed-by: Fuad Tabba <tabba@google.com> Signed-off-by: Fuad Tabba <tabba@google.com> Signed-off-by: Will Deacon <will@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20221110190259.26861-27-will@kernel.org
Diffstat (limited to 'arch/arm64/include')
0 files changed, 0 insertions, 0 deletions