Jan Beulich
2011-Nov-09 09:41 UTC
[Xen-devel] [PATCH] x86/cpuidle: add Westmere-EX support to hw residencies reading logic
This is in accordance with http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/ Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/acpi/cpu_idle.c +++ b/xen/arch/x86/acpi/cpu_idle.c @@ -120,6 +120,7 @@ static void do_get_hw_residencies(void * /* Westmere */ case 0x25: case 0x2C: + case 0x2F: GET_PC3_RES(hw_res->pc3); GET_PC6_RES(hw_res->pc6); GET_PC7_RES(hw_res->pc7); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Haitao Shan
2011-Nov-30 06:13 UTC
Re: [PATCH] x86/cpuidle: add Westmere-EX support to hw residencies reading logic
ACK! Thanks Jan for making the cpu model list more complete. Shan Haitao 2011/11/9 Jan Beulich <JBeulich@suse.com>:> This is in accordance with > http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/ > > Signed-off-by: Jan Beulich <jbeulich@suse.com> > > --- a/xen/arch/x86/acpi/cpu_idle.c > +++ b/xen/arch/x86/acpi/cpu_idle.c > @@ -120,6 +120,7 @@ static void do_get_hw_residencies(void * > /* Westmere */ > case 0x25: > case 0x2C: > + case 0x2F: > GET_PC3_RES(hw_res->pc3); > GET_PC6_RES(hw_res->pc6); > GET_PC7_RES(hw_res->pc7); > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >
George Dunlap
2011-Dec-14 16:12 UTC
Re: [PATCH] x86/cpuidle: add Westmere-EX support to hw residencies reading logic
Should this be back-ported to 4.1? -George On Wed, Nov 30, 2011 at 6:13 AM, Haitao Shan <maillists.shan@gmail.com> wrote:> ACK! > Thanks Jan for making the cpu model list more complete. > > Shan Haitao > > 2011/11/9 Jan Beulich <JBeulich@suse.com>: >> This is in accordance with >> http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/ >> >> Signed-off-by: Jan Beulich <jbeulich@suse.com> >> >> --- a/xen/arch/x86/acpi/cpu_idle.c >> +++ b/xen/arch/x86/acpi/cpu_idle.c >> @@ -120,6 +120,7 @@ static void do_get_hw_residencies(void * >> /* Westmere */ >> case 0x25: >> case 0x2C: >> + case 0x2F: >> GET_PC3_RES(hw_res->pc3); >> GET_PC6_RES(hw_res->pc6); >> GET_PC7_RES(hw_res->pc7); >> >> >> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel
George Dunlap
2011-Dec-19 16:09 UTC
Re: [PATCH] x86/cpuidle: add Westmere-EX support to hw residencies reading logic
Ping? On Wed, Dec 14, 2011 at 4:12 PM, George Dunlap <George.Dunlap@eu.citrix.com> wrote:> Should this be back-ported to 4.1? > -George > > On Wed, Nov 30, 2011 at 6:13 AM, Haitao Shan <maillists.shan@gmail.com> wrote: >> ACK! >> Thanks Jan for making the cpu model list more complete. >> >> Shan Haitao >> >> 2011/11/9 Jan Beulich <JBeulich@suse.com>: >>> This is in accordance with >>> http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid-model-and-family-numbers/ >>> >>> Signed-off-by: Jan Beulich <jbeulich@suse.com> >>> >>> --- a/xen/arch/x86/acpi/cpu_idle.c >>> +++ b/xen/arch/x86/acpi/cpu_idle.c >>> @@ -120,6 +120,7 @@ static void do_get_hw_residencies(void * >>> /* Westmere */ >>> case 0x25: >>> case 0x2C: >>> + case 0x2F: >>> GET_PC3_RES(hw_res->pc3); >>> GET_PC6_RES(hw_res->pc6); >>> GET_PC7_RES(hw_res->pc7); >>> >>> >>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel >>> >>> >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel
Jan Beulich
2011-Dec-19 16:39 UTC
Re: [PATCH] x86/cpuidle: add Westmere-EX support to hw residencies reading logic
>>> On 19.12.11 at 17:09, George Dunlap <George.Dunlap@eu.citrix.com> wrote: > Ping?Oops - was the original question directed to me, and overlooked it? Anyway - it can easily be backported, but I don''t view it as a critical fix. Jan> On Wed, Dec 14, 2011 at 4:12 PM, George Dunlap > <George.Dunlap@eu.citrix.com> wrote: >> Should this be back-ported to 4.1? >> -George >> >> On Wed, Nov 30, 2011 at 6:13 AM, Haitao Shan <maillists.shan@gmail.com> wrote: >>> ACK! >>> Thanks Jan for making the cpu model list more complete. >>> >>> Shan Haitao >>> >>> 2011/11/9 Jan Beulich <JBeulich@suse.com>: >>>> This is in accordance with >>>> > http://software.intel.com/en-us/articles/intel-processor-identification-with-cpuid > -model-and-family-numbers/ >>>> >>>> Signed-off-by: Jan Beulich <jbeulich@suse.com> >>>> >>>> --- a/xen/arch/x86/acpi/cpu_idle.c >>>> +++ b/xen/arch/x86/acpi/cpu_idle.c >>>> @@ -120,6 +120,7 @@ static void do_get_hw_residencies(void * >>>> /* Westmere */ >>>> case 0x25: >>>> case 0x2C: >>>> + case 0x2F: >>>> GET_PC3_RES(hw_res->pc3); >>>> GET_PC6_RES(hw_res->pc6); >>>> GET_PC7_RES(hw_res->pc7); >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xen-devel mailing list >>>> Xen-devel@lists.xensource.com >>>> http://lists.xensource.com/xen-devel >>>> >>>> >>> >>> _______________________________________________ >>> Xen-devel mailing list >>> Xen-devel@lists.xensource.com >>> http://lists.xensource.com/xen-devel