[PATCH v7 05/16] arm64: kvm: Move lr save/restore from do_el2_call into EL1

Marc Zyngier marc.zyngier at arm.com
Tue Apr 19 08:11:03 PDT 2016


On 01/04/16 17:53, James Morse wrote:
> Today the 'hvc' calling kvm or the hyp-stub is expected to preserve all
> registers. Kvm saves/restores the registers it needs on the EL2 stack using
> do_el2_call. The hyp-stub has no stack, later patches need at least one
> register they can use.
> 
> Allow theses calls to clobber the link register, and add code to
> save/restore this register at the call sites.
> 
> Signed-off-by: James Morse <james.morse at arm.com>

Acked-by: Marc Zyngier <marc.zyngier at arm.com>

	M.
-- 
Jazz is not dead. It just smells funny...



More information about the linux-arm-kernel mailing list