Skip to content
Commit 86b89c1b authored by Ricardo Neri's avatar Ricardo Neri Committed by Greg Kroah-Hartman
Browse files

x86/sched: Restore the SD_ASYM_PACKING flag in the DIE domain

[ Upstream commit 108af4b4 ]

Commit 8f2d6c41 ("x86/sched: Rewrite topology setup") dropped the
SD_ASYM_PACKING flag in the DIE domain added in commit 044f0e27
("x86/sched: Add the SD_ASYM_PACKING flag to the die domain of hybrid
processors"). Restore it on hybrid processors.

The die-level domain does not depend on any build configuration and now
x86_sched_itmt_flags() is always needed. Remove the build dependency on
CONFIG_SCHED_[SMT|CLUSTER|MC].

Fixes: 8f2d6c41

 ("x86/sched: Rewrite topology setup")
Signed-off-by: default avatarRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Reviewed-by: default avatarChen Yu <yu.c.chen@intel.com>
Tested-by: default avatarCaleb Callaway <caleb.callaway@intel.com>
Link: https://lkml.kernel.org/r/20230815035747.11529-1-ricardo.neri-calderon@linux.intel.com
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent ceb5278e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment