linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] arm64: add SCHED_CLUSTER's dependency on ACPI
@ 2022-04-25  2:55 Qing Wang
  2022-04-25 10:06 ` Sudeep Holla
  0 siblings, 1 reply; 12+ messages in thread
From: Qing Wang @ 2022-04-25  2:55 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
  Cc: vincent.guittot, peterz, dietmar.eggemann, Wang Qing

From: Wang Qing <wangqing@vivo.com>

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 <wangqing@vivo.com>
---
v2:
- 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
 
 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


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2022-04-28  0:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-25  2:55 [PATCH V2] arm64: add SCHED_CLUSTER's dependency on ACPI Qing Wang
2022-04-25 10:06 ` Sudeep Holla
2022-04-25 11:18   ` 王擎
2022-04-25 16:59     ` Sudeep Holla
2022-04-26  2:23       ` 王擎
2022-04-26  6:40         ` Sudeep Holla
2022-04-26  6:52           ` 王擎
2022-04-26 13:25             ` Sudeep Holla
2022-04-26 19:14               ` Dietmar Eggemann
2022-04-27  2:18                 ` 王擎
2022-04-27 15:47                   ` Dietmar Eggemann
2022-04-28  0:04                     ` 王擎

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).