Skip to content

Commit 73f7f2a

Browse files
committed
powerpc/smp: Disable MC domain for shared processor
JIRA: https://issues.redhat.com/browse/RHEL-118964 commit 0e1c198 Author: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Date: Thu Dec 14 23:37:12 2023 +0530 powerpc/smp: Disable MC domain for shared processor Like L2-cache info, coregroup information which is used to determine MC sched domains is only present on dedicated LPARs. i.e PowerVM doesn't export coregroup information for shared processor LPARs. Hence disable creating MC domains on shared LPAR Systems. Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231214180720.310852-3-srikar@linux.vnet.ibm.com Signed-off-by: Phil Auld <pauld@redhat.com>
1 parent ab21f06 commit 73f7f2a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/powerpc/kernel/smp.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,6 +1068,10 @@ static struct cpumask *cpu_coregroup_mask(int cpu)
10681068

10691069
static bool has_coregroup_support(void)
10701070
{
1071+
/* Coregroup identification not available on shared systems */
1072+
if (is_shared_processor())
1073+
return 0;
1074+
10711075
return coregroup_enabled;
10721076
}
10731077

0 commit comments

Comments
 (0)