From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Jan Beulich" Subject: RE: [PATCH] small adjustment to asm constraints forc/s19400 Date: Tue, 31 Mar 2009 10:40:41 +0100 Message-ID: <49D20139.76E4.0078.0@novell.com> References: <8FED46E8A9CA574792FC7AACAC38FE7701D4B7A421@PDSMSX501.ccr.corp.intel.com> <8FED46E8A9CA574792FC7AACAC38FE7701D4B7A7D8@PDSMSX501.ccr.corp.intel.com> <49D0A942.76E4.0078.0@novell.com> <8FED46E8A9CA574792FC7AACAC38FE7701D4EAF926@PDSMSX501.ccr.corp.intel.com> <49D1FD66.76E4.0078.0@novell.com> <0A882F4D99BBF6449D58E61AAFD7EDD6101840CC@pdsmsx502.ccr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <0A882F4D99BBF6449D58E61AAFD7EDD6101840CC@pdsmsx502.ccr.corp.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Guanqun Lu , Kevin Tian Cc: "xen-devel@lists.xensource.com" , KeirFraser List-Id: xen-devel@lists.xenproject.org >>> "Tian, Kevin" 31.03.09 11:26 >>> >>From: Jan Beulich >>Assuming this is an Intel box, the guest is certainly using=20 >>sysenter (which the user mode EIP saved on the stack would=20 >>also suggest), so you're really after the three SYSENTER MSRs.=20 >>And indeed - restore_rest_processor_state() seems to only care=20 >>for the STAR ones. >> > >There are also some set of registers save/restored in assembly code >in wakeup_prot.S, such as segment selectors, CRs, etc. Sure, but just grep-ing for MSR_IA32_SYSENTER across all of xen/ shows that the suspend/resume paths don't seem to consider them at all. Jan