[PATCH] arm64: make SCHED_CLUSTER depend on ACPI
From: Qing Wang
Date: Fri Apr 15 2022 - 03:04:55 EST
From: wangqing <11112896@xxxxxxxxxx>
cls is made up of sd through cluster_sibling, which is set by cluster_id,
cluster_id is only provided by ACPI, DT just provide package_id.
So, SCHED_CLUSTER depends on ACPI actually.
Signed-off-by: wangqing <11112896@xxxxxxxxxx>
---
arch/arm64/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 25b33feed800..edbe035cb0e3 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1199,6 +1199,7 @@ config SCHED_MC
config SCHED_CLUSTER
bool "Cluster scheduler support"
+ depends on ACPI
help
Cluster scheduler support improves the CPU scheduler's decision
making when dealing with machines that have clusters of CPUs.
--
2.27.0.windows.1