]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: hyp-stub: improve ABI
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 3 Apr 2017 18:37:45 +0000 (19:37 +0100)
committerChristoffer Dall <cdall@linaro.org>
Sun, 9 Apr 2017 14:49:23 +0000 (07:49 -0700)
commit03f85677e9bfd6e815b6194242750cda69ecc990
treefc8e66214c8ed5ca28f8a11a11a228d9065c1f0a
parentbc6b32f5c1f1175029887eff267ea7240940276f
ARM: hyp-stub: improve ABI

Improve the hyp-stub ABI to allow it to do more than just get/set the
vectors.  We follow the example in ARM64, where r0 is used as an opcode
with the other registers as an argument.

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