WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [help] rsp in case of interrupt/exception in ring0

To: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] [help] rsp in case of interrupt/exception in ring0
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Wed, 24 Feb 2010 20:42:44 -0800
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 24 Feb 2010 20:43:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B84F2E30200007800030ECC@xxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20100223193957.33c3e13e@xxxxxxxxxxxxxxxxxxxx> <4B84F2E30200007800030ECC@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Wed, 24 Feb 2010 08:35:31 +0000
"Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> >>> Mukesh Rathor <mukesh.rathor@xxxxxxxxxx> 24.02.10 04:39 >>>
> >When a cpu is in hyp code and int/exception comes in, how/where is
> >rsp saved? According to intel manual if there's no ring transition,
> >then the cpu doesn't save ss/rsp. 
> 
> As you're apparently talking about x86-64, you probably simply read
> the wrong (32-bit) part of the manual. On 64-bits, ss:rsp are always
> getting saved, no matter whether there's a ring transition.
> 

You are right, few pages later, it talks about 64. Usually, they'll say
something about things being different on 64bit. Anyways. I'll email intel
docs to fix it...

thanks,
Mukesh



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>