[patch V2 00/22] x86/topology: More cleanups and preparatory work

From: Thomas Gleixner
Date: Tue Jan 23 2024 - 08:10:17 EST


This is a follow up to and a breakout from:

https://lore.kernel.org/all/20230807130108.853357011@xxxxxxxxxxxxx

It's mostly mopping up technical debt and preparing for the actual APIC ID
management rework, which is required to handle asymmetric configurations
like P/E systems correctly.

Changes vs. the original series:

- Split out the preparatory work

- Address review feedback (Andy)

It applies on top of:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git topo-cpuid-v5

and is available from git:

git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git topo-cleanup-v2

Thanks,

tglx
---
hyperv/hv_vtl.c | 5 +-
include/asm/apic.h | 11 +----
include/asm/io_apic.h | 1
include/asm/mpspec.h | 64 ++++++-----------------------
include/asm/prom.h | 4 -
include/asm/x86_init.h | 10 ++--
kernel/apic/apic.c | 29 ++-----------
kernel/apic/apic_common.c | 15 ------
kernel/apic/apic_flat_64.c | 9 ----
kernel/apic/apic_noop.c | 2
kernel/apic/apic_numachip.c | 12 -----
kernel/apic/bigsmp_32.c | 14 ------
kernel/apic/io_apic.c | 90 +++++++++++++++--------------------------
kernel/apic/local.h | 4 -
kernel/apic/probe_32.c | 3 -
kernel/apic/x2apic_cluster.c | 3 -
kernel/apic/x2apic_phys.c | 6 --
kernel/apic/x2apic_uv_x.c | 6 --
kernel/cpu/common.c | 15 ------
kernel/cpu/topology_common.c | 12 +++++
kernel/devicetree.c | 2
kernel/jailhouse.c | 28 ++++++------
kernel/mpparse.c | 14 +++++-
kernel/setup.c | 18 +++-----
kernel/smpboot.c | 8 +--
kernel/x86_init.c | 5 +-
mm/amdtopology.c | 7 ---
platform/ce4100/ce4100.c | 14 +++---
platform/intel-mid/intel-mid.c | 5 +-
xen/apic.c | 7 ---
xen/enlighten_hvm.c | 2
xen/smp_pv.c | 10 +---
32 files changed, 140 insertions(+), 295 deletions(-)