[PATCH v2 0/2] x86/CPU/AMD: Add support for Extended Topology Enumeration

From: Suravee Suthikulpanit
Date: Wed Apr 04 2018 - 02:45:34 EST


Linux currently provides function detect_extended_topology()
for parsing CPUID Fn0xB and derive CPU topology information.
Therefore, also call this function in AMD code path.

Please note that this series depend on the previously submitted
series:
[PATCH 0/4] x86/CPU: Update AMD Last-Level-Cache Information
(https://lkml.org/lkml/2018/3/26/24)

Changes from v1 (https://lkml.org/lkml/2018/3/26/63)
* 2/2 Fix and simplify the logic in amd_get_topology()

Thanks,
Suravee

Suravee Suthikulpanit (2):
x86/CPU: Modify detect_extended_topology() to return result
x86/CPU/AMD: Derive CPU topology from CPUID Fn0xB when available

arch/x86/include/asm/processor.h | 2 +-
arch/x86/kernel/cpu/amd.c | 11 ++++++++++-
arch/x86/kernel/cpu/topology.c | 8 ++++----
3 files changed, 15 insertions(+), 6 deletions(-)

--
2.7.4