xen/x86: Add support for cpuid masking on Intel Xeon Processor E5 Family
PATCH 1/1 xen/x86: Add support for cpuid masking on Intel Xeon Processor E5 Family
Although the "Intel Virtualization Technology FlexMigration Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf)
does not document support for extended model 2H model DH (Intel Xeon Processor E5 Family), empirical evidence shows that the same MSR addresses can be used for cpuid masking as exdended model 2H model AH (Intel Xen Processor E3-1200 Family).
xen/arch/x86/cpu/intel.c +1 -1
@@ -104,7 +104,7 @@ static void __devinit set_cpuidmask(consreturn ; extra ="xsave " ;break ; -case 0x2a : +case 0x2a :case 0x2d :wrmsr (MSR_INTEL_CPUID1_FEATURE_MASK_V2 , opt_cpuid_mask_ecx, opt_cpuid_mask_edx);
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
Although the "Intel Virtualization Technology FlexMigration Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf)
does not document support for extended model 2H model DH (Intel Xeon Processor E5 Family), empirical evidence shows that the same MSR addresses can be used for cpuid masking as exdended model 2H model AH (Intel Xen Processor E3-1200 Family).
Empirical evidence isn't really enough - let's have someone at Intel confirm this - Jun, Don?
Jan
Quoted 14 lines
Signed-off-by Matt Wilson <[email protected]>diff -r
e6266fc76d08-rbf922651da96xen/arch/x86/cpu/intel.cxen/arch/x86/cpu/intel.c +1
-1@@ -104,7 +104,7 @@ static void __devinit set_cpuidmask(consreturn ; extra ="xsave " ;break ; -case 0x2a : +case 0x2a :case 0x2d :wrmsr (MSR_INTEL_CPUID1_FEATURE_MASK_V2 , opt_cpuid_mask_ecx, opt_cpuid_mask_edx);
Quoted 11 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
Although the "Intel Virtualization Technology FlexMigration Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf)
does not document support for extended model 2H model DH (Intel Xeon Processor E5 Family), empirical evidence shows that the same MSR addresses can be used for cpuid masking as exdended model 2H model AH (Intel Xen Processor E3-1200 Family).Empirical evidence isn't really enough - let's have someone at Intel confirm this - Jun, Don?
Thanks for the patch. The patch looks good, and it should be in. We'll update the document.
Quoted 21 lines
Jan
Quoted 14 lines
Signed-off-by Matt Wilson <[email protected]>diff -r
e6266fc76d08-rbf922651da96xen/arch/x86/cpu/intel.cxen/arch/x86/cpu/intel.c Sat Jul 28 17:27:30 2012 +0000 renamed from xen/arch/x86/cpu/intel.c Fri Jul 27 12:22:13 2012 +0200 +1
-1@@ -104,7 +104,7 @@ static void __devinit set_cpuidmask(cons return; extra = "xsave "; break; - case 0x2a: + case 0x2a: case 0x2d: wrmsr(MSR_INTEL_CPUID1_FEATURE_MASK_V2, opt_cpuid_mask_ecx, opt_cpuid_mask_edx);
Signature · 2 lines
Jun Intel Open Source Technology Center
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Jun
Quoted 8 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
Although the "Intel Virtualization Technology FlexMigration Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf)
does not document support for extended model 2H model DH (Intel Xeon Processor E5 Family), empirical evidence shows that the same MSR addresses can be used for cpuid masking as exdended model 2H model AH (Intel Xen Processor E3-1200 Family).
Quoted 6 lines
Quoted 3 lines
Empirical evidence isn't really enough - let's have someone at Intel confirm this - Jun, Don?
Thanks for the patch. The patch looks good, and it should be in. We'll update the document.
I take this as an ack then, and will commit it that way.
Jan
Quoted 23 lines
Quoted 18 lines
Quoted 14 lines
Signed-off-by Matt Wilson <[email protected]>diff -r
e6266fc76d08-rbf922651da96xen/arch/x86/cpu/intel.cxen/arch/x86/cpu/intel.c Sat Jul 28 17:27:30 2012 +0000 renamed from xen/arch/x86/cpu/intel.c Fri Jul 27 12:22:13 2012 +0200 +1
-1@@ -104,7 +104,7 @@ static void __devinit set_cpuidmask(cons return; extra = "xsave "; break; - case 0x2a: + case 0x2a: case 0x2d: wrmsr(MSR_INTEL_CPUID1_FEATURE_MASK_V2, opt_cpuid_mask_ecx, opt_cpuid_mask_edx);Signature · 2 lines
Jun Intel Open Source Technology Center
Quoted 11 lines · Jan Beulich
Quoted 11 lines
Quoted 1 line
Quoted 1 line · Jun
Quoted 8 lines · Jan Beulich
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
Although the "Intel Virtualization Technology FlexMigration Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf)
does not document support for extended model 2H model DH (Intel Xeon Processor E5 Family), empirical evidence shows that the same MSR addresses can be used for cpuid masking as exdended model 2H model AH (Intel Xen Processor E3-1200 Family).
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
Empirical evidence isn't really enough - let's have someone at Intel confirm this - Jun, Don?
Thanks for the patch. The patch looks good, and it should be in. We'll update the document.
I take this as an ack then, and will commit it that way.
Thanks for committing, Jan.
For what it's worth, I think that the first line of the commit log got dropped, which makes for a strange short log message of:
Although the "Intel Virtualization Technology FlexMigration
Matt
Quoted 22 lines
Quoted 20 lines
Quoted 18 lines
Quoted 14 lines
Signed-off-by Matt Wilson <[email protected]>diff -r
e6266fc76d08-rbf922651da96xen/arch/x86/cpu/intel.cxen/arch/x86/cpu/intel.c Sat Jul 28 17:27:30 2012 +0000 renamed from xen/arch/x86/cpu/intel.c Fri Jul 27 12:22:13 2012 +0200 +1
-1@@ -104,7 +104,7 @@ static void __devinit set_cpuidmask(cons return; extra = "xsave "; break; - case 0x2a: + case 0x2a: case 0x2d: wrmsr(MSR_INTEL_CPUID1_FEATURE_MASK_V2, opt_cpuid_mask_ecx, opt_cpuid_mask_edx);
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
For what it's worth, I think that the first line of the commit log got dropped, which makes for a strange short log message of:
Although the "Intel Virtualization Technology FlexMigration
Yes, I'm sorry for that, but I realized this only after pushing, and I'm unaware of ways to adjust the commit message of an existing c/s.
Jan
Quoted 9 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
For what it's worth, I think that the first line of the commit log got dropped, which makes for a strange short log message of:
Although the "Intel Virtualization Technology FlexMigration
Yes, I'm sorry for that, but I realized this only after pushing, and I'm unaware of ways to adjust the commit message of an existing c/s.
There is an hg rebase extension something like git's rebase -i but I find the easiest way is to use the mq extension's function which pulls the tip commit into a patch in the queue.
Actually, that's not quite true, I find the real easiest way is to hg strip the wrong commit and try again.
Actually, that's not true either, the real easiest way IMHO is to use a git mirror for all the leg work and Ian J's git2hgapply script to actually "apply" it. YMMV depending on your feelings about git though ;-)
Ian.
Quoted 12 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 9 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
For what it's worth, I think that the first line of the commit log got dropped, which makes for a strange short log message of:
Although the "Intel Virtualization Technology FlexMigration
Yes, I'm sorry for that, but I realized this only after pushing, and I'm unaware of ways to adjust the commit message of an existing c/s.
Quoted 6 lines
There is an hg rebase extension something like git's rebase -i but I find the easiest way is to use the mq extension's function which pulls the tip commit into a patch in the queue.
Actually, that's not quite true, I find the real easiest way is to hg strip the wrong commit and try again.
But that's only if it didn't get pushed yet?
Quoted 4 lines
Actually, that's not true either, the real easiest way IMHO is to use a git mirror for all the leg work and Ian J's git2hgapply script to actually "apply" it. YMMV depending on your feelings about git though ;-)
Indeed. While I'm slowly getting to know it better, I'm still not really friends with it.
Jan
Quoted 12 lines · Jan Beulich
Quoted 12 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 9 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
For what it's worth, I think that the first line of the commit log got dropped, which makes for a strange short log message of:
Although the "Intel Virtualization Technology FlexMigration
Yes, I'm sorry for that, but I realized this only after pushing, and I'm unaware of ways to adjust the commit message of an existing c/s.
Quoted 8 lines
Quoted 6 lines
There is an hg rebase extension something like git's rebase -i but I find the easiest way is to use the mq extension's function which pulls the tip commit into a patch in the queue.
Actually, that's not quite true, I find the real easiest way is to hg strip the wrong commit and try again.
But that's only if it didn't get pushed yet?
Yes, it's only if you catch the mistake before pushing. If you've pushed then in principal you could hg strip on the server but in practice you don't want to do that on a widely used/shared repo and you just have to live with the mistake, or I suppose you could hg revert and recommit if the bad cset was really confusing etc.
Quoted 7 lines
Quoted 4 lines
Actually, that's not true either, the real easiest way IMHO is to use a git mirror for all the leg work and Ian J's git2hgapply script to actually "apply" it. YMMV depending on your feelings about git though ;-)
Indeed. While I'm slowly getting to know it better, I'm still not really friends with it.
I'm not sure any one is ;-)
Ian.
Jan-
If we're using git doesn't git -amend' do what you want? If we're talking hg' then I have no clue.
--
Don Dugger
"Censeo Toto nos in Kansa esse decisse." - D. Gale
Ph: 303/443-3786
-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: Wednesday, August 08, 2012 2:48 AM
To: Ian Campbell
Cc: Matt Wilson; Dugger, Donald D; Liu, Jinsong; Nakajima, Jun; [email protected]; Keir(Xen.org)
Subject: Re: [Xen-devel] [PATCH] xen/x86: Add support for cpuid masking on Intel Xeon Processor E5 Family
Quoted 12 lines
Quoted 1 line
Quoted 1 line · Ian Campbell
Quoted 9 lines · Jan Beulich
Quoted 5 lines
Quoted 1 line
Quoted 1 line · Matt Wilson
For what it's worth, I think that the first line of the commit log got dropped, which makes for a strange short log message of:
Although the "Intel Virtualization Technology FlexMigration
Yes, I'm sorry for that, but I realized this only after pushing, and I'm unaware of ways to adjust the commit message of an existing c/s.
Quoted 6 lines
There is an hg rebase extension something like git's rebase -i but I find the easiest way is to use the mq extension's function which pulls the tip commit into a patch in the queue.
Actually, that's not quite true, I find the real easiest way is to hg strip the wrong commit and try again.
But that's only if it didn't get pushed yet?
Quoted 4 lines
Actually, that's not true either, the real easiest way IMHO is to use a git mirror for all the leg work and Ian J's git2hgapply script to actually "apply" it. YMMV depending on your feelings about git though ;-)
Indeed. While I'm slowly getting to know it better, I'm still not really friends with it.
Jan
IMO, it's risky since it's not architecturally committed.
Only processor family 6 w/ 0x17, 0x1d, 0x1a, 0x1e, 0x1f, 0x25, 0x2c, 0x2e, 0x2f, 0x2a are *architecturally* supported.
Thanks,
Jinsong
Quoted 21 lines · Matt Wilson
Although the "Intel Virtualization Technology FlexMigration Application Note" (http://www.intel.com/Assets/PDF/manual/323850.pdf)
does not document support for extended model 2H model DH (Intel Xeon Processor E5 Family), empirical evidence shows that the same MSR addresses can be used for cpuid masking as exdended model 2H model AH (Intel Xen Processor E3-1200 Family).Signed-off-by Matt Wilson <[email protected]>diff -r
e6266fc76d08-rbf922651da96xen/arch/x86/cpu/intel.cxen/arch/x86/cpu/intel.c +1
-1@@ -104,7 +104,7 @@ static void __devinit set_cpuidmask(consreturn ; extra ="xsave " ;break ; -case 0x2a : +case 0x2a :case 0x2d :wrmsr (MSR_INTEL_CPUID1_FEATURE_MASK_V2 , opt_cpuid_mask_ecx, opt_cpuid_mask_edx);