]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
x86/resctrl: Fix SNC detection
authorTony Luck <tony.luck@intel.com>
Tue, 3 Mar 2026 10:55:44 +0000 (11:55 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 4 Mar 2026 15:35:09 +0000 (16:35 +0100)
commit59674fc9d0bfd96ce8a776680ee1cf22c28c9ac7
treef1fe787cc98c2d7b8023fc6911f779f59d3a6d84
parent528d89a4707e5bfd86e30823c45dbb66877df900
x86/resctrl: Fix SNC detection

Now that the x86 topology code has a sensible nodes-per-package
measure, that does not depend on the online status of CPUs, use this
to divinate the SNC mode.

Note that when Cluster on Die (CoD) is configured on older systems this
will also show multiple NUMA nodes per package. Intel Resource Director
Technology is incomaptible with CoD. Print a warning and do not use the
fixup MSR_RMID_SNC_CONFIG.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Chen Yu <yu.c.chen@intel.com>
Link: https://patch.msgid.link/aaCxbbgjL6OZ6VMd@agluck-desk3
Link: https://patch.msgid.link/20260303110100.367976706@infradead.org
arch/x86/kernel/cpu/resctrl/monitor.c