arm64: KVM: VHE: Enable minimal sysreg save/restore
authorMarc Zyngier <marc.zyngier@arm.com>
Wed, 28 Oct 2015 13:59:46 +0000 (13:59 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 29 Feb 2016 18:34:17 +0000 (18:34 +0000)
commitd1526e5efc3978efe8c9c37a2396d91e4702251b
treef341231253ab3275da755caa2e4fafef6edc950c
parent094f8233c0da602712e8a206984431026a1530aa
arm64: KVM: VHE: Enable minimal sysreg save/restore

We're now in a position where we can introduce VHE's minimal
save/restore, which is limited to the handful of shared sysregs.

Add the required alternative function calls that result in a
"do nothing" call on VHE, and the normal save/restore for non-VHE.

Reviewed-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
arch/arm64/kvm/hyp/sysreg-sr.c