[PATCH 0/2] x86/CPU/AMD: Fix multi-die processor topology info

From: Suravee Suthikulpanit
Date: Tue Jun 27 2017 - 02:41:58 EST


This patch series changes how kernel derives cpu "package" from
package-as-socket to package-as-die in order to fix following issues
on AMD family17h multi-die processor platforms:

* irqbalance fails to allocating IRQs to individual CPU within the die.

* The scheduler fails to load-balance across 8 threads within a die
(e.g. running 8-thread application w/ taskset -c 0-7 ) with
the DIE schedule domain omitted due to x86_has_numa_in_package.

These issues are fixed when properly intepretes package as DIE.

This series has also been tested on existing AMD systems w/ family15h
and family10h multi-die processors.

Suravee Suthikulpanit (2):
x86/CPU/AMD: Present package as die instead of socket
x86/CPU/AMD: Use L3 Cache info from CPUID to determine LLC ID

arch/x86/kernel/cpu/amd.c | 205 ++++++++++++++++++++++++++++------------------
1 file changed, 124 insertions(+), 81 deletions(-)

--
2.7.4