[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] xen/arm: disable interrupts on return_to_hypervisor



On Wed, 2012-12-05 at 18:37 +0000, Stefano Stabellini wrote:
> At the moment it is possible to reach return_to_hypervisor with
> interrupts enabled (it happens all the times when we are actually going
> back to hypervisor mode, when we don't take the return_to_guest path).
> 
> If that happens we risk loosing the content of ELR_hyp: if we receive an
> interrupt right after restoring ELR_hyp, once we come back we'll have a
> different value in ELR_hyp and the original is lost.
> 
> In order to make the return_to_hypervisor path safe, we disable
> interrupts before restoring any registers.
> 
> Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

Acked + applied, thanks.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.