summaryrefslogtreecommitdiff
path: root/kernel/cpu.c
diff options
context:
space:
mode:
authorPu Wen <puwen@hygon.cn>2023-08-14 10:18:26 +0200
committerThomas Gleixner <tglx@linutronix.de>2023-10-10 14:38:16 +0200
commitee545b94d39a00c93dc98b1dbcbcf731d2eadeb4 (patch)
tree9097ef1153875565d5ea322952bb6617d1570635 /kernel/cpu.c
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
x86/cpu/hygon: Fix the CPU topology evaluation for real
Hygon processors with a model ID > 3 have CPUID leaf 0xB correctly populated and don't need the fixed package ID shift workaround. The fixup is also incorrect when running in a guest. Fixes: e0ceeae708ce ("x86/CPU/hygon: Fix phys_proc_id calculation logic for multi-die processors") Signed-off-by: Pu Wen <puwen@hygon.cn> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: <stable@vger.kernel.org> Link: https://lore.kernel.org/r/tencent_594804A808BD93A4EBF50A994F228E3A7F07@qq.com Link: https://lore.kernel.org/r/20230814085112.089607918@linutronix.de
Diffstat (limited to 'kernel/cpu.c')
0 files changed, 0 insertions, 0 deletions