Re: [PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-27 Thread Yazen Ghannam
>> +/* >> + * LLC is at the Core Complex level. >> + * Core Complex Id is ApicId[3]. >> + */ >> +else if (c->x86 == 0x17) >> +per_cpu(cpu_llc_id, cpu) = c->initial_apicid

Re: [PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-27 Thread Yazen Ghannam
>> +/* >> + * LLC is at the Core Complex level. >> + * Core Complex Id is ApicId[3]. >> + */ >> +else if (c->x86 == 0x17) >> +per_cpu(cpu_llc_id, cpu) = c->initial_apicid

Re: [PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-26 Thread Thomas Gleixner
On Wed, 26 Oct 2016, Yazen Ghannam wrote: > Fix an underflow bug with the current Fam17h LLC ID derivation by > simplifying the derivation, and also move it into amd_get_topology(). This changelog is useless. It does not give any information what the bug is and what kind of damage it does on

Re: [PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-26 Thread Thomas Gleixner
On Wed, 26 Oct 2016, Yazen Ghannam wrote: > Fix an underflow bug with the current Fam17h LLC ID derivation by > simplifying the derivation, and also move it into amd_get_topology(). This changelog is useless. It does not give any information what the bug is and what kind of damage it does on

[PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-26 Thread Yazen Ghannam
Fix an underflow bug with the current Fam17h LLC ID derivation by simplifying the derivation, and also move it into amd_get_topology(). Signed-off-by: Yazen Ghannam Cc: sta...@vger.kernel.org # v4.6.. Fixes: 3849e91f571d ("x86/AMD: Fix last level cache topology for AMD

[PATCH] x86/AMD: Fix LLC ID for AMD Fam17h systems

2016-10-26 Thread Yazen Ghannam
Fix an underflow bug with the current Fam17h LLC ID derivation by simplifying the derivation, and also move it into amd_get_topology(). Signed-off-by: Yazen Ghannam Cc: sta...@vger.kernel.org # v4.6.. Fixes: 3849e91f571d ("x86/AMD: Fix last level cache topology for AMD Fam17h systems") ---