]> xenbits.xensource.com Git - xen.git/commit
arm: restore ELR_hyp and SPSR_hyp on return from hypervisor to hypervisor.
authorIan Campbell <ian.campbell@citrix.com>
Wed, 22 Feb 2012 14:33:23 +0000 (14:33 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Wed, 22 Feb 2012 14:33:23 +0000 (14:33 +0000)
commitc52f64c8dc5c5b65cd5b1b8fdcde9f260ae75753
treec151150d31cfc6d6ec223ae75f379da1e5fa4012
parent5d22304c12dd901dff3a53284a303f1361255a97
arm: restore ELR_hyp and SPSR_hyp on return from hypervisor to hypervisor.

This is necessary to handle nested traps to the hypervisor more than one deep.

I've not seen an actually failure relating to this but I'm not quite sure how
we've managed to get away with not doing it (I suppose multiply nested traps
are uncommon).

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Committed-by: Ian Campbell <Ian.Campbell@citrix.com>
xen/arch/arm/entry.S