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: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] [help] rsp in case of interrupt/exception in ring0
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Wed, 24 Feb 2010 08:35:31 +0000
Cc:
Delivery-date: Wed, 24 Feb 2010 00:36:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100223193957.33c3e13e@xxxxxxxxxxxxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> 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.

Jan


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

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