Skip to content

Commit b52c620

Browse files
committed
x86/cpu: Enable SD_ASYM_PACKING for PKG domain on AMD
JIRA: https://issues.redhat.com/browse/RHEL-53784 commit b0979e5 Author: Perry Yuan <[email protected]> Date: Fri Oct 25 12:14:57 2024 -0500 x86/cpu: Enable SD_ASYM_PACKING for PKG domain on AMD Enable the SD_ASYM_PACKING domain flag for the PKG domain on AMD heterogeneous processors. This flag is beneficial for processors with one or more CCDs and relies on x86_sched_itmt_flags(). Signed-off-by: Perry Yuan <[email protected]> Co-developed-by: Mario Limonciello <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Gautham R. Shenoy <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: David Arcari <[email protected]>
1 parent 41253c1 commit b52c620

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

arch/x86/kernel/smpboot.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,8 +505,9 @@ static int x86_cluster_flags(void)
505505

506506
static int x86_die_flags(void)
507507
{
508-
if (cpu_feature_enabled(X86_FEATURE_HYBRID_CPU))
509-
return x86_sched_itmt_flags();
508+
if (cpu_feature_enabled(X86_FEATURE_HYBRID_CPU) ||
509+
cpu_feature_enabled(X86_FEATURE_AMD_HETEROGENEOUS_CORES))
510+
return x86_sched_itmt_flags();
510511

511512
return 0;
512513
}

0 commit comments

Comments
 (0)