All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: make SCHED_CLUSTER depend on ACPI
@ 2022-04-15  7:04 ` Qing Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Qing Wang @ 2022-04-15  7:04 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
  Cc: vincent.guittot, peterz, wangqing

From: wangqing <11112896@bbktel.com>

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@bbktel.com>
---
 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] 4+ messages in thread

* [PATCH] arm64: make SCHED_CLUSTER depend on ACPI
@ 2022-04-15  7:04 ` Qing Wang
  0 siblings, 0 replies; 4+ messages in thread
From: Qing Wang @ 2022-04-15  7:04 UTC (permalink / raw)
  To: Catalin Marinas, Will Deacon, linux-arm-kernel, linux-kernel
  Cc: vincent.guittot, peterz, wangqing

From: wangqing <11112896@bbktel.com>

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@bbktel.com>
---
 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

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

* [PATCH] arm64: make SCHED_CLUSTER depend on ACPI
  2022-04-15  7:04 ` Qing Wang
  (?)
@ 2022-04-22  1:58 ` 王擎
  2022-04-22 10:26   ` Will Deacon
  -1 siblings, 1 reply; 4+ messages in thread
From: 王擎 @ 2022-04-22  1:58 UTC (permalink / raw)
  To: Will Deacon, linux-kernel, Dietmar Eggemann, Vincent Guittot,
	Catalin Marinas

Hi Catalin, Will, Vincent, Dietmar:

What's your opinion on this patch, and I sent another patch 
"Add complex scheduler level for arm64" yesterday,

Can someone make some comments so things can move forward.

Thanks,
Qing

>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@bbktel.com>
>---
> 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.7.4

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

* Re: [PATCH] arm64: make SCHED_CLUSTER depend on ACPI
  2022-04-22  1:58 ` 王擎
@ 2022-04-22 10:26   ` Will Deacon
  0 siblings, 0 replies; 4+ messages in thread
From: Will Deacon @ 2022-04-22 10:26 UTC (permalink / raw)
  To: 王擎
  Cc: linux-kernel, Dietmar Eggemann, Vincent Guittot, Catalin Marinas

On Fri, Apr 22, 2022 at 01:58:00AM +0000, 王擎 wrote:
> What's your opinion on this patch, and I sent another patch 
> "Add complex scheduler level for arm64" yesterday,
> 
> Can someone make some comments so things can move forward.
>
> >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.

I don't understand the commit message at all, I'm afraid.

Will

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

end of thread, other threads:[~2022-04-22 10:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-15  7:04 [PATCH] arm64: make SCHED_CLUSTER depend on ACPI Qing Wang
2022-04-15  7:04 ` Qing Wang
2022-04-22  1:58 ` 王擎
2022-04-22 10:26   ` Will Deacon

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.