projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29eaa79
)
x86/resctrl: Support Sub-NUMA cluster mode SNC6
author
Tony Luck
<tony.luck@intel.com>
Thu, 31 Oct 2024 22:02:13 +0000
(15:02 -0700)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Wed, 6 Nov 2024 09:49:04 +0000
(10:49 +0100)
Support Sub-NUMA cluster mode with 6 nodes per L3 cache (SNC6) on some
Intel platforms.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Link:
https://lore.kernel.org/r/20241031220213.17991-1-tony.luck@intel.com
arch/x86/kernel/cpu/resctrl/monitor.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kernel/cpu/resctrl/monitor.c
b/arch/x86/kernel/cpu/resctrl/monitor.c
index 851b561850e0c2311683c860c20943e46e70c544..5fcb3d635d915873173329fe40bd667f7a6ef49b 100644
(file)
--- a/
arch/x86/kernel/cpu/resctrl/monitor.c
+++ b/
arch/x86/kernel/cpu/resctrl/monitor.c
@@
-1158,11
+1158,12
@@
static __init int snc_get_config(void)
ret = cpus_per_l3 / cpus_per_node;
- /* sanity check: Only valid results are 1, 2, 3, 4 */
+ /* sanity check: Only valid results are 1, 2, 3, 4
, 6
*/
switch (ret) {
case 1:
break;
case 2 ... 4:
+ case 6:
pr_info("Sub-NUMA Cluster mode detected with %d nodes per L3 cache\n", ret);
rdt_resources_all[RDT_RESOURCE_L3].r_resctrl.mon_scope = RESCTRL_L3_NODE;
break;