x86/sched: Restore the SD_ASYM_PACKING flag in the DIE domain
authorRicardo Neri <ricardo.neri-calderon@linux.intel.com>
Tue, 15 Aug 2023 03:57:47 +0000 (20:57 -0700)
committerIngo Molnar <mingo@kernel.org>
Wed, 13 Sep 2023 13:03:18 +0000 (15:03 +0200)
commit108af4b4bd3813610701379a58538e3339b162e4
treefa6fad833cc40f8dad488ee8465b82b889e5ac07
parent450e749707bc1755f22b505d9cd942d4869dc535
x86/sched: Restore the SD_ASYM_PACKING flag in the DIE domain

Commit 8f2d6c41e5a6 ("x86/sched: Rewrite topology setup") dropped the
SD_ASYM_PACKING flag in the DIE domain added in commit 044f0e27dec6
("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: 8f2d6c41e5a6 ("x86/sched: Rewrite topology setup")
Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Chen Yu <yu.c.chen@intel.com>
Tested-by: Caleb Callaway <caleb.callaway@intel.com>
Link: https://lkml.kernel.org/r/20230815035747.11529-1-ricardo.neri-calderon@linux.intel.com
arch/x86/kernel/smpboot.c