arm64: KVM: Add Virtual Abort injection helper
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 6 Sep 2016 13:02:01 +0000 (14:02 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 8 Sep 2016 10:53:00 +0000 (12:53 +0200)
commit10cf33900fb27a5b5a107e9c37fa249e0deb5a96
tree0f38e76f29e67ec01715c52e3ee3f3387765430f
parent44636f976f5bb92631f0dd5fd26547d64c2c6a80
arm64: KVM: Add Virtual Abort injection helper

Now that we're able to context switch the HCR_EL2.VA bit, let's
introduce a helper that injects an Abort into a vcpu.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/kvm_emulate.h
arch/arm64/kvm/inject_fault.c