Messages in this thread | | | From | David Wang <> | Subject | [PATCH 0/3] x86/CPU: Report correct cpu/cache topo for Centaur CPUs and some minor changes | Date | Thu, 3 May 2018 10:32:43 +0800 |
| |
There are three patches:
The first patch define detect_num_cpu_cores() in common.c to replace the original intel_num_cpu_cores() which is defined in intel.c;
The second patch is used to include the legacy cpu_detect_cache_sizes() into the init_intel_cacheinfo() function;
The third patch is used to report correct CPU/Cache topology by using the functions defined in the first and the second patch;
David Wang (3): x86/CPU: Replace intel_num_cpu_cores with detect_num_cpu_cores x86/cpu/intel_cacheinfo: include cpu_detect_cache_size in init_intel_cacheinfo x86/Centaur: Report correct CPU/cache topology
arch/x86/include/asm/processor.h | 1 + arch/x86/kernel/cpu/centaur.c | 5 +++++ arch/x86/kernel/cpu/common.c | 14 ++++++++++++++ arch/x86/kernel/cpu/intel.c | 28 ++-------------------------- arch/x86/kernel/cpu/intel_cacheinfo.c | 6 ++++++ 5 files changed, 28 insertions(+), 26 deletions(-)
-- 1.9.1
| |