diff options
author | Will Deacon <[email protected]> | 2022-11-10 19:02:59 +0000 |
---|---|---|
committer | Marc Zyngier <[email protected]> | 2022-11-11 17:19:35 +0000 |
commit | be66e67f175096f283c9d5614c4991fc9e7ed975 (patch) | |
tree | fa477573896bc6eb967252485754a38dc695c8fc /drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c | |
parent | 169cd0f8238f2598b85d2db2e15828e8f8da18e5 (diff) |
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 <[email protected]>
Co-developed-by: Fuad Tabba <[email protected]>
Signed-off-by: Fuad Tabba <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_encoders.c')
0 files changed, 0 insertions, 0 deletions