arm64: hyp-stub: Define a return value for failed stub calls
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Apr 2017 18:37:37 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:19 +0000 (07:49 -0700)
commit4993fdcf399f59ed56a16ecfedf8a61066198816
tree7a8779155a6d2e6fdcbcb67c3558fbca34b926b1
parent9bae3ae513015eea9534cc2c2b6f7e405abad71a
arm64: hyp-stub: Define a return value for failed stub calls

Define a standard return value to be returned when a hyp stub
call fails, and make KVM use it for ARM_EXCEPTION_HYP_GONE
(instead of using a KVM-specific value).

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm64/include/asm/kvm_asm.h
arch/arm64/include/asm/virt.h
arch/arm64/kernel/hyp-stub.S