diff options
author | Saurabh Sengar <ssengar@linux.microsoft.com> | 2024-04-02 07:40:29 -0700 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2024-04-03 08:49:15 +0200 |
commit | 85900d061884de85f557a06cf56ff69dfae07e26 (patch) | |
tree | 172d331c487e5ca2f79be849db1430686edc09bd /arch/x86/platform/iris/iris.c | |
parent | 222408cde4d0ab17e54d4db26751c2b5cab9ac2b (diff) |
x86/of: Map NUMA node to CPUs as per DeviceTree
Currently for DeviceTree bootup, x86 code does the default mapping of
CPUs to NUMA, which is wrong. This can cause incorrect mapping and WARNs
on SMT enabled systems:
CPU #1's smt-sibling CPU #0 is not on the same node! [node: 1 != 0]. Ignoring dependency.
WARNING: CPU: 1 PID: 0 at topology_sane.isra.0+0x5c/0x6d
match_smt+0xf6/0xfc
set_cpu_sibling_map.cold+0x24f/0x512
start_secondary+0x5c/0x110
Call the set_apicid_to_node() function in dtb_cpu_setup() for setting
the NUMA to CPU mapping for DeviceTree platforms.
Signed-off-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/1712068830-4513-4-git-send-email-ssengar@linux.microsoft.com
Diffstat (limited to 'arch/x86/platform/iris/iris.c')
0 files changed, 0 insertions, 0 deletions