]> git.ipfire.org Git - thirdparty/linux.git/commit
x86/resctrl: Only check Intel systems for SNC
authorTony Luck <tony.luck@intel.com>
Fri, 5 Jun 2026 04:46:49 +0000 (21:46 -0700)
committerIngo Molnar <mingo@kernel.org>
Fri, 5 Jun 2026 09:09:34 +0000 (11:09 +0200)
commit6f6947b2387e94e405f80d472f8a189bfbf2bd6c
treeb2ef01be7676ac0654ee70a9ea180fa08ba6bc06
parentb5f53e6d3d32f2884d71500bb6d773c7bfe21f2e
x86/resctrl: Only check Intel systems for SNC

topology_num_nodes_per_package() reports values greater than one on certain
AMD systems resulting in resctrl's Intel model specific SNC detection
printing the confusing message:

   "CoD enabled system? Resctrl not supported"

Add a check for Intel systems before looking at the topology.

[ reinette: Add Closes tag, fix tag typos, rework changelog ]

Fixes: 59674fc9d0bf ("x86/resctrl: Fix SNC detection")
Reported-by: Babu Moger <babu.moger@amd.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Babu Moger <babu.moger@amd.com>
Link: https://patch.msgid.link/9849330f45ac86344cc5ac54df2d313906d70bc4.1780634584.git.reinette.chatre@intel.com
Closes: https://lore.kernel.org/lkml/37ac0376-43a3-4283-a3d5-4d57b3bec578@amd.com/
arch/x86/kernel/cpu/resctrl/monitor.c