From: Qing Wang <wangqing@vivo.com> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: vincent.guittot@linaro.org, peterz@infradead.org, dietmar.eggemann@arm.com, Wang Qing <wangqing@vivo.com> Subject: [PATCH V2] arm64: add SCHED_CLUSTER's dependency on ACPI Date: Sun, 24 Apr 2022 19:55:01 -0700 [thread overview] Message-ID: <1650855303-91388-1-git-send-email-wangqing@vivo.com> (raw) 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
WARNING: multiple messages have this Message-ID (diff)
From: Qing Wang <wangqing@vivo.com> To: Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will@kernel.org>, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: vincent.guittot@linaro.org, peterz@infradead.org, dietmar.eggemann@arm.com, Wang Qing <wangqing@vivo.com> Subject: [PATCH V2] arm64: add SCHED_CLUSTER's dependency on ACPI Date: Sun, 24 Apr 2022 19:55:01 -0700 [thread overview] Message-ID: <1650855303-91388-1-git-send-email-wangqing@vivo.com> (raw) 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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next reply other threads:[~2022-04-25 2:55 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-25 2:55 Qing Wang [this message] 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 10:06 ` Sudeep Holla 2022-04-25 11:18 ` 王擎 2022-04-25 11:18 ` 王擎 2022-04-25 16:59 ` Sudeep Holla 2022-04-25 16:59 ` Sudeep Holla 2022-04-26 2:23 ` 王擎 2022-04-26 2:23 ` 王擎 2022-04-26 6:40 ` Sudeep Holla 2022-04-26 6:40 ` Sudeep Holla 2022-04-26 6:52 ` 王擎 2022-04-26 6:52 ` 王擎 2022-04-26 13:25 ` Sudeep Holla 2022-04-26 13:25 ` Sudeep Holla 2022-04-26 19:14 ` Dietmar Eggemann 2022-04-26 19:14 ` Dietmar Eggemann 2022-04-27 2:18 ` 王擎 2022-04-27 2:18 ` 王擎 2022-04-27 15:47 ` Dietmar Eggemann 2022-04-27 15:47 ` Dietmar Eggemann 2022-04-28 0:04 ` 王擎 2022-04-28 0:04 ` 王擎
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1650855303-91388-1-git-send-email-wangqing@vivo.com \ --to=wangqing@vivo.com \ --cc=catalin.marinas@arm.com \ --cc=dietmar.eggemann@arm.com \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-kernel@vger.kernel.org \ --cc=peterz@infradead.org \ --cc=vincent.guittot@linaro.org \ --cc=will@kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.