From: Ian Campbell Subject: Re: [PATCH] arm: restore ELR_hyp and SPSR_hyp on return from hypervisor to hypervisor. Date: Wed, 22 Feb 2012 14:34:55 +0000 Message-ID: <1329921295.8557.5.camel@zakaz.uk.xensource.com> References: <1329751321-32047-1-git-send-email-ian.campbell@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Stefano Stabellini Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On Wed, 2012-02-22 at 14:23 +0000, Stefano Stabellini wrote: > On Mon, 20 Feb 2012, Ian Campbell wrote: > > 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). > > ack Thanks, I have committed both patches from this thread: arm: restore ELR_hyp and SPSR_hyp on return from hypervisor to hypervisor. arm: lr register in hyp mode is really LR_usr. Ian.