Skip to content

Commit 9bce6e9

Browse files
aeglbp3tk0v
authored andcommitted
x86/resctrl: Support Sub-NUMA cluster mode SNC6
Support Sub-NUMA cluster mode with 6 nodes per L3 cache (SNC6) on some Intel platforms. Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 29eaa79 commit 9bce6e9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/x86/kernel/cpu/resctrl/monitor.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1158,11 +1158,12 @@ static __init int snc_get_config(void)
11581158

11591159
ret = cpus_per_l3 / cpus_per_node;
11601160

1161-
/* sanity check: Only valid results are 1, 2, 3, 4 */
1161+
/* sanity check: Only valid results are 1, 2, 3, 4, 6 */
11621162
switch (ret) {
11631163
case 1:
11641164
break;
11651165
case 2 ... 4:
1166+
case 6:
11661167
pr_info("Sub-NUMA Cluster mode detected with %d nodes per L3 cache\n", ret);
11671168
rdt_resources_all[RDT_RESOURCE_L3].r_resctrl.mon_scope = RESCTRL_L3_NODE;
11681169
break;

0 commit comments

Comments
 (0)