All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: Guanqun Lu <guanqun.lu@intel.com>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: RE: [PATCH] small adjustment to asm constraints	 forc/s19400
Date: Tue, 31 Mar 2009 10:24:22 +0100	[thread overview]
Message-ID: <49D1FD66.76E4.0078.0@novell.com> (raw)
In-Reply-To: <8FED46E8A9CA574792FC7AACAC38FE7701D4EAF926@PDSMSX501.ccr.corp.intel.com>

>>> "Lu, Guanqun" <guanqun.lu@intel.com> 31.03.09 10:54 >>>
>[before] (XEN)  EFER: d01<0> STAR: e023e00800000000<0> LSTAR: ffff828c8029b000<0> CSTAR: ffff828c8029b080<0>
>SYSCALL_MASK: 34700<0> FS_BASE: 0<0> GS_BASE: b7f4a6c0<0> SH_GS_BASE: 0
>[after] (XEN)  EFER: d01<0> STAR: e023e00800000000<0> LSTAR: ffff828c8029b000<0> CSTAR: ffff828c8029b080<0>
>SYSCALL_MASK: 34700<0> FS_BASE: 0<0> GS_BASE: b7f4a6c0<0> SH_GS_BASE: 0
> 
>They're the same.
>
>And aslo I dump GDT, IDT, LDT and TR register and tss struct, there are no difference seen.
>
>
>So can you give some advice some more registers should be dumped?

Assuming this is an Intel box, the guest is certainly using sysenter (which the user mode EIP saved on the stack would also suggest), so you're really after the three SYSENTER MSRs. And indeed - restore_rest_processor_state() seems to only care for the STAR ones.

Jan

  parent reply	other threads:[~2009-03-31  9:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-27 16:35 [PATCH] small adjustment to asm constraints for c/s 19400 Jan Beulich
2009-03-30  4:45 ` Lu, Guanqun
2009-03-30  6:42   ` [PATCH] small adjustment to asm constraints for c/s19400 Jan Beulich
2009-03-30  8:58     ` Lu, Guanqun
2009-03-30  8:45   ` [PATCH] small adjustment to asm constraints for c/s 19400 Keir Fraser
2009-03-30  8:56     ` Lu, Guanqun
2009-03-30  9:13       ` [PATCH] small adjustment to asm constraints for c/s19400 Jan Beulich
2009-03-31  8:54         ` Lu, Guanqun
2009-03-31  9:05           ` Tian, Kevin
2009-03-31  9:24           ` Jan Beulich [this message]
2009-03-31  9:26             ` [PATCH] small adjustment to asm constraints forc/s19400 Tian, Kevin
2009-03-31  9:40               ` Jan Beulich
2009-03-31  9:47             ` Tian, Kevin
2009-03-31 10:15               ` Jan Beulich
2009-03-31 10:21                 ` Tian, Kevin
2009-03-31 10:54                   ` [PATCH] small adjustment to asm constraintsforc/s19400 Jan Beulich
2009-03-31 11:09                     ` Tian, Kevin
2009-03-31 11:30                       ` Jan Beulich
2009-03-31 11:35                         ` Tian, Kevin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49D1FD66.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=guanqun.lu@intel.com \
    --cc=keir.fraser@eu.citrix.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.