[lkml]   [2022]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH V2] arm64: add SCHED_CLUSTER's dependency on ACPI
From: Wang Qing <>

cluster sched_domain configured by cpu_topology[].cluster_sibling,
which is set by cluster_id, cluster_id can only get from ACPI.

If the system does not enable ACPI, cluster_id is always -1, even enable
SCHED_CLUSTER is invalid, this is misleading.

So we add SCHED_CLUSTER's dependency on ACPI here.

Signed-off-by: Wang Qing <>
- just modify commit log
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

bool "Cluster scheduler support"
+ depends on ACPI
Cluster scheduler support improves the CPU scheduler's decision
making when dealing with machines that have clusters of CPUs.
 \ /
  Last update: 2022-04-25 04:56    [W:0.043 / U:23.644 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site