summaryrefslogtreecommitdiffstats
path: root/arch/arm/kvm
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2017-10-03 13:16:04 +0200
committerMarc Zyngier <marc.zyngier@arm.com>2018-03-19 11:53:12 +0100
commitdc251406bf244080adbc1a69b5a171ec4b43c93c (patch)
tree99ebd459bad18bdbb58308102df2f42e5fd8bd30 /arch/arm/kvm
parentKVM: arm64: Improve debug register save/restore flow (diff)
downloadlinux-dc251406bf244080adbc1a69b5a171ec4b43c93c.tar.xz
linux-dc251406bf244080adbc1a69b5a171ec4b43c93c.zip
KVM: arm64: Factor out fault info population and gic workarounds
The current world-switch function has functionality to detect a number of cases where we need to fixup some part of the exit condition and possibly run the guest again, before having restored the host state. This includes populating missing fault info, emulating GICv2 CPU interface accesses when mapped at unaligned addresses, and emulating the GICv3 CPU interface on systems that need it. As we are about to have an alternative switch function for VHE systems, but VHE systems still need the same early fixup logic, factor out this logic into a separate function that can be shared by both switch functions. No functional change. Reviewed-by: Marc Zyngier <marc.zyngier@arm.com> Reviewed-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'arch/arm/kvm')
0 files changed, 0 insertions, 0 deletions