summaryrefslogtreecommitdiffstats
path: root/net/rds/info.c
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-11-10 19:02:59 +0000
committerMarc Zyngier <maz@kernel.org>2022-11-11 17:19:35 +0000
commitbe66e67f175096f283c9d5614c4991fc9e7ed975 (patch)
treefa477573896bc6eb967252485754a38dc695c8fc /net/rds/info.c
parent169cd0f8238f2598b85d2db2e15828e8f8da18e5 (diff)
downloadlinux-stable-be66e67f175096f283c9d5614c4991fc9e7ed975.tar.gz
linux-stable-be66e67f175096f283c9d5614c4991fc9e7ed975.tar.bz2
linux-stable-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 'net/rds/info.c')
0 files changed, 0 insertions, 0 deletions