Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU models
VMX: extend last branch MSR info to cover newer CPU models #2
xen/arch/x86/hvm/vmx/vmx.c +3 -4
@@ -1738,10 +1738,9 @@ static const struct lbr_info *last_branccase 23 :return c2_lbr;break ; -/* Nehalem */ -case 26 :case 30 :case 31 :case 46 : -/* Sandy Bridge */ -case 42 :case 45 : +/* Nehalem/Sandy Bridge */ +case 26 :case 30 :case 31 :case 37 : +case 42 :case 44 :case 45 :case 46 :case 47 :return nh_lbr;break ;/* Atom */
Hi, Jan,
I found one useful document in intel website.
http://software.intel.com/en-us/articles/intel-processor-identification-with
-cpuid-model-and-family-numbers/
Quoted 1 line
From the doc, it seems model 45 is not in the list.
Shan Haitao
Quoted 21 lines
-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: Thursday, November 03, 2011 5:24 PM
To: Haitao Shan; Shan, Haitao
Cc: Dugger, Donald D; Nakajima, Jun; [email protected]; Keir Fraser
Subject: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU modelsVMX: extend last branch MSR info to cover newer CPU models #2
Signed-off-by Jan Beulich <[email protected]>xen/arch/x86/hvm/vmx/vmx.c +0
-0@@ -1738,10 +1738,9 @@ static const struct lbr_info *last_branccase 23 :return c2_lbr;break ;
xen/arch/x86/hvm/vmx/vmx.c static const struct lbr_info *last_branc · line 1746
Quoted 10 lines
xen/arch/x86/hvm/vmx/vmx.c +3
-4-/* Nehalem */ -case 26 :case 30 :case 31 :case 46 : -/* Sandy Bridge */ -case 42 :case 45 : +/* Nehalem/Sandy Bridge */ +case 26 :case 30 :case 31 :case 37 : +case 42 :case 44 :case 45 :case 46 :case 47 :return nh_lbr;break ;/* Atom */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 7 lines
Quoted 1 line
Quoted 1 line · Haitao
Hi, Jan,
I found one useful document in intel website.
http://software.intel.com/en-us/articles/intel-processor-identification-with
-cpuid-model-and-family-numbers/
From the doc, it seems model 45 is not in the list.
Neither is model 31.
Which tells us what? That the page isn't up-to-date? After all model 31 is referenced in SDM Vol 3 appendix B.4, and model 45 in the same document appendix B.7. They're also both in table B-1 of the SDM doc changes (rev 032 from May this year). Or are you saying the SDM is incorrect?
At least this answers the question raised in
http://lists.xensource.com/archives/html/xen-devel/2011-11/msg00411.html
- 0x2E and 0x2F are supposed to go into the Nehalem/Westmere group then for cpuidle purposes.
Jan
Quoted 33 lines
Shan Haitao
Quoted 31 lines
-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: Thursday, November 03, 2011 5:24 PM
To: Haitao Shan; Shan, Haitao
Cc: Dugger, Donald D; Nakajima, Jun; [email protected]; Keir Fraser
Subject: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU modelsVMX: extend last branch MSR info to cover newer CPU models #2
Signed-off-by Jan Beulich <[email protected]>xen/arch/x86/hvm/vmx/vmx.c +3
-4@@ -1738,10 +1738,9 @@ static const struct lbr_info *last_branccase 23 :return c2_lbr;break ; -/* Nehalem */ -case 26 :case 30 :case 31 :case 46 : -/* Sandy Bridge */ -case 42 :case 45 : +/* Nehalem/Sandy Bridge */ +case 26 :case 30 :case 31 :case 37 : +case 42 :case 44 :case 45 :case 46 :case 47 :return nh_lbr;break ;/* Atom */
Frankly speaking, it is also a puzzle to me how to get an accurate exhaustive list of {Family, Model} given an architecture. Anyway, my thought is "if any models are listed in any intel public document, that information should be accurate". I myself does not know that SDMs also contains such kind of info.
Thus, I can ACK your patch now.
Shan Haitao
Quoted 18 lines
-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: Wednesday, November 09, 2011 4:44 PM
To: Haitao Shan; Shan, Haitao
Cc: Dugger, Donald D; Nakajima, Jun; [email protected]; Keir Fraser
Subject: RE: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU modelsQuoted 8 lines
Quoted 1 line
Quoted 1 line · Haitao
Hi, Jan,
I found one useful document in intel website.
http://software.intel.com/en-us/articles/intel-processor-identificatio
n-with
-cpuid-model-and-family-numbers/
From the doc, it seems model 45 is not in the list.
Quoted 5 lines
Neither is model 31.
Which tells us what? That the page isn't up-to-date? After all model 31 is referenced in SDM Vol 3 appendix B.4, and model 45 in the same document appendix B.7. They're also both in table B-1 of the SDM doc changes (rev
032
Quoted 35 lines
from May this year). Or are you saying the SDM is incorrect?
At least this answers the question raised in
http://lists.xensource.com/archives/html/xen-devel/2011-
11/msg00411.html
-0x2Eand0x2Fare supposed to go into the Nehalem/Westmere group then for cpuidle purposes.Jan
Quoted 25 lines
Shan Haitao
Quoted 23 lines
-----Original Message-----
From: Jan Beulich [mailto:[email protected]]
Sent: Thursday, November 03, 2011 5:24 PM
To: Haitao Shan; Shan, Haitao
Cc: Dugger, Donald D; Nakajima, Jun; [email protected]; Keir Fraser
Subject: Ping#2: [PATCH] VMX: extend last branch MSR info to cover newer CPU modelsVMX: extend last branch MSR info to cover newer CPU models #2
Signed-off-by Jan Beulich <[email protected]>xen/arch/x86/hvm/vmx/vmx.c +0
-4@@ -1738,10 +1738,9 @@ static const struct lbr_info *last_branccase 23 :return c2_lbr;break ; -/* Nehalem */ -case 26 :case 30 :case 31 :case 46 : -/* Sandy Bridge */ -case 42 :case 45 :
Quoted 10 lines
Quoted 8 lines
xen/arch/x86/hvm/vmx/vmx.c static const struct lbr_info *last_branc · line 1746
Quoted 8 lines
xen/arch/x86/hvm/vmx/vmx.c +3
-0+/* Nehalem/Sandy Bridge */ +case 26 :case 30 :case 31 :case 37 : +case 42 :case 44 :case 45 :case 46 :case 47 :return nh_lbr;break ;/* Atom */
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel