Re: [PATCH] x86, cpu, amd: Use 8-bit extractor for NodeId field

2015-01-20 Thread Aravind Gopalakrishnan
On 1/19/2015 12:21 PM, Borislav Petkov wrote: On Mon, Jan 19, 2015 at 12:18:58PM -0600, Aravind Gopalakrishnan wrote: The NodeId field in cpuid_ecx(0x801e) is a 8 bit field. Although current extractor works fine, it will break if/when the most significant 5 bits ever get used. So, lets hono

Re: [PATCH] x86, cpu, amd: Use 8-bit extractor for NodeId field

2015-01-19 Thread Borislav Petkov
On Mon, Jan 19, 2015 at 12:18:58PM -0600, Aravind Gopalakrishnan wrote: > The NodeId field in cpuid_ecx(0x801e) is a 8 bit field. > Although current extractor works fine, it will break if/when > the most significant 5 bits ever get used. > > So, lets honor the field as architected in the BKDG

[PATCH] x86, cpu, amd: Use 8-bit extractor for NodeId field

2015-01-19 Thread Aravind Gopalakrishnan
The NodeId field in cpuid_ecx(0x801e) is a 8 bit field. Although current extractor works fine, it will break if/when the most significant 5 bits ever get used. So, lets honor the field as architected in the BKDG Reference: BKDG for AMD Fam15h Models 00h-0fh, CPUID Fn8000_001E_ECX Node Identif