ARM: KVM: Add populating of fault data structure
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 13 Jan 2016 19:02:51 +0000 (19:02 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:14 +0000 (18:34 +0000)
commit97e964371377ebf3958701b082597c2162e3df18
treeebbded37b4a0bcacd16d38401aaa1c2486ac73c4
parent9dddc2dfa5da95fa380635d400f80767077ef936
ARM: KVM: Add populating of fault data structure

On guest exit, we must take care of populating our fault data
structure so that the host code can handle it. This includes
resolving the IPA for permission faults, which can result in
restarting the guest.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm/kvm/hyp/hyp.h
arch/arm/kvm/hyp/switch.c