xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] CPUID level 0x00000007:0 (ebx) is word 9, instead of word 7
@ 2011-05-30 23:39 Li, Xin
  2011-05-31 12:39 ` Keir Fraser
  0 siblings, 1 reply; 7+ messages in thread
From: Li, Xin @ 2011-05-30 23:39 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel

CPUID level 0x00000007:0 (ebx) is word 9, instead of word 7.

... make it consistent with native Linux.

Signed-off-by: Li Xin <xin.li@intel.com>

diff -r d7c755c25bb9 xen/include/asm-x86/cpufeature.h
--- a/xen/include/asm-x86/cpufeature.h  Sat May 28 08:58:08 2011 +0100
+++ b/xen/include/asm-x86/cpufeature.h  Tue May 31 07:34:34 2011 +0800
@@ -142,7 +142,7 @@
 #define X86_FEATURE_TOPOEXT     (6*32+22) /* topology extensions CPUID leafs */

 /* Intel-defined CPU features, CPUID level 0x00000007:0 (ebx), word 9 */
-#define X86_FEATURE_FSGSBASE   (7*32+ 0) /* {RD,WR}{FS,GS}BASE instructions */
+#define X86_FEATURE_FSGSBASE   (9*32+ 0) /* {RD,WR}{FS,GS}BASE instructions */

 #define cpu_has(c, bit)                test_bit(bit, (c)->x86_capability)
 #define boot_cpu_has(bit)      test_bit(bit, boot_cpu_data.x86_capability)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-06-01 14:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 23:39 [PATCH] CPUID level 0x00000007:0 (ebx) is word 9, instead of word 7 Li, Xin
2011-05-31 12:39 ` Keir Fraser
2011-05-31 12:54   ` Jan Beulich
2011-05-31 14:59     ` Li, Xin
2011-06-01  6:35       ` Jan Beulich
2011-06-01  6:47         ` Keir Fraser
2011-06-01 14:41           ` Li, Xin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).