]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: hyp-stub: Implement HVC_RESET_VECTORS stub hypercall
authorMarc Zyngier <marc.zyngier@arm.com>
Mon, 3 Apr 2017 18:37:52 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:27 +0000 (07:49 -0700)
commit45481dfe3276f64a386b4476161528da82450929
treeeb51f41c4aeed1dc30a9f2763f5620c4c198b419
parentd74869067748c6ff6e4816008af9cd97ae35e44b
ARM: hyp-stub: Implement HVC_RESET_VECTORS stub hypercall

Let's define a new stub hypercall that resets the HYP configuration
to its default: hyp-stub vectors, and MMU disabled.

Of course, for the hyp-stub itself, this is a trivial no-op.
Hypervisors will have a bit more work to do.

Tested-by: Keerthy <j-keerthy@ti.com>
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <cdall@linaro.org>
arch/arm/include/asm/virt.h
arch/arm/kernel/hyp-stub.S