All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: mingo@elte.hu, tglx@linutronix.de,
	Jeremy Fitzhardinge <jeremy@goop.org>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/3] x86: enlightenment for ticket spinlocks
Date: Sat, 30 Jan 2010 17:45:54 -0800	[thread overview]
Message-ID: <4B64E0D2.3000004@zytor.com> (raw)
In-Reply-To: <4B64E000.3020608@zytor.com>

On 01/30/2010 05:42 PM, H. Peter Anvin wrote:
> 
> + * EBX-EDX: "XenVMMXenVMM" signature, allowing positive identification
> + *      of a Xen host.
> + */
> +#define XEN_CPUID_SIGNATURE_EBX 0x566e6558 /* "XenV" */
> +#define XEN_CPUID_SIGNATURE_ECX 0x65584d4d /* "MMXe" */
> +#define XEN_CPUID_SIGNATURE_EDX 0x4d4d566e /* "nVMM" */
> 
> I hope you know this spells "MMXenVMMXenV".  The ordering is ecx-edx-ebx
> (register numbers 1, 2, 3).
> 

... and of course I got it wrong, too.  It spells "XenVnVMMMMXe".

The proper order is ebx-edx-ecx, in *reverse* numerical order.
Confusing, yes.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.


  reply	other threads:[~2010-01-31  1:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  8:00 [PATCH 0/3] x86: enlightenment for ticket spinlocks Jan Beulich
2010-01-31  1:42 ` H. Peter Anvin
2010-01-31  1:45   ` H. Peter Anvin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-01-31 18:02 Jan Beulich
2010-01-31 18:43 ` H. Peter Anvin
2010-02-01  7:56   ` Jan Beulich
2010-02-01 16:40     ` H. Peter Anvin

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=4B64E0D2.3000004@zytor.com \
    --to=hpa@zytor.com \
    --cc=JBeulich@novell.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    /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.