arm64: KVM: Basic ESR_EL2 helpers and vcpu register access
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 10 Dec 2012 13:27:52 +0000 (13:27 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Thu, 2 Oct 2014 15:10:24 +0000 (17:10 +0200)
commitb04c4cdfff4b701f01f1dae2ada92b580cc281d5
treea6b938269aea0542ed73994e29e84850bf34fea1
parent44848d746b7f29803f7ac9579d594f368a1cad11
arm64: KVM: Basic ESR_EL2 helpers and vcpu register access

Implements helpers for dealing with the EL2 syndrome register as
well as accessing the vcpu registers.

Reviewed-by: Christopher Covington <cov@codeaurora.org>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
(cherry picked from commit 83a4979483c8e597b69d4403794f87fea51fa549)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm64/include/asm/kvm_emulate.h [new file with mode: 0644]