diff options
author | Suzuki K Poulose <suzuki.poulose@arm.com> | 2018-09-26 19:32:39 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-10-01 15:08:41 +0300 |
commit | 9f98ddd6686cc9469fb73b11ddd403271d65cbdf (patch) | |
tree | b5c87f8b5faeaefcf88d2fbfb959ee4776dbdd1c /arch/arm64/include/asm/kvm_arm.h | |
parent | 7788a28062aca211979ecd2c334e06e2ef5281cc (diff) | |
download | linux-9f98ddd6686cc9469fb73b11ddd403271d65cbdf.tar.xz |
kvm: arm64: Add helper for loading the stage2 setting for a VM
We load the stage2 context of a guest for different operations,
including running the guest and tlb maintenance on behalf of the
guest. As of now only the vttbr is private to the guest, but this
is about to change with IPA per VM. Add a helper to load the stage2
configuration for a VM, which could do the right thing with the
future changes.
Cc: Christoffer Dall <cdall@kernel.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/kvm_arm.h')
0 files changed, 0 insertions, 0 deletions