]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite395e348e754af92261632081d1a302485fd878a
tree7a8779155a6d2e6fdcbcb67c3558fbca34b926b1
parente1305ac23b90cbf41b13f4ee91455211bb9de1fb
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