KVM: arm64: Add basic hooks for injecting exceptions from EL2
authorMarc Zyngier <maz@kernel.org>
Wed, 14 Oct 2020 18:42:38 +0000 (19:42 +0100)
committerMarc Zyngier <maz@kernel.org>
Tue, 10 Nov 2020 08:34:25 +0000 (08:34 +0000)
commite650b64f1a56cbc700f0a2d2ab8d23155757e2f3
treeb5b004d025564c836867233a7c59be87adb14073
parent21c810017cef75435be8b8f1da2110c6d1fd887b
KVM: arm64: Add basic hooks for injecting exceptions from EL2

Add the basic infrastructure to describe injection of exceptions
into a guest. So far, nothing uses this code path.

Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/kvm_host.h
arch/arm64/kvm/hyp/exception.c [new file with mode: 0644]
arch/arm64/kvm/hyp/include/hyp/adjust_pc.h
arch/arm64/kvm/hyp/nvhe/Makefile
arch/arm64/kvm/hyp/vhe/Makefile