x86/cpu: Use common topology code for Intel
Intel CPUs use either topology leaf 0xb/0x1f evaluation or the legacy SMP/HT evaluation based on CPUID leaf 0x1/0x4. Move it over to the consolidated topology code and remove the random topology hacks which are sprinkled into the Intel and the common code. No functional change intended. Signed-off-by:Thomas Gleixner <tglx@linutronix.de> Tested-by:
Juergen Gross <jgross@suse.com> Tested-by:
Sohil Mehta <sohil.mehta@intel.com> Tested-by:
Michael Kelley <mhklinux@outlook.com> Tested-by:
Zhang Rui <rui.zhang@intel.com> Tested-by:
Wang Wendy <wendy.wang@intel.com> Tested-by:
K Prateek Nayak <kprateek.nayak@amd.com> Link: https://lore.kernel.org/r/20240212153624.893644349@linutronix.de
Showing
- arch/x86/kernel/cpu/common.c 0 additions, 65 deletionsarch/x86/kernel/cpu/common.c
- arch/x86/kernel/cpu/cpu.h 0 additions, 4 deletionsarch/x86/kernel/cpu/cpu.h
- arch/x86/kernel/cpu/intel.c 0 additions, 25 deletionsarch/x86/kernel/cpu/intel.c
- arch/x86/kernel/cpu/topology.c 0 additions, 22 deletionsarch/x86/kernel/cpu/topology.c
- arch/x86/kernel/cpu/topology_common.c 4 additions, 1 deletionarch/x86/kernel/cpu/topology_common.c
Please register or sign in to comment