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)
commit1342337bc80a5bfb9aa83574da9fb2e22cc64121
treefc8e66214c8ed5ca28f8a11a11a228d9065c1f0a
parent506c372ac41dc0c7c1f50f718a8a53cb0748ea96
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