[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220425100635.ig4dxvlflglfagpx@bogus>
Date: Mon, 25 Apr 2022 11:06:35 +0100
From: Sudeep Holla <sudeep.holla@....com>
To: Qing Wang <wangqing@...o.com>
Cc: Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will@...nel.org>,
linux-arm-kernel@...ts.infradead.org,
Sudeep Holla <sudeep.holla@....com>,
linux-kernel@...r.kernel.org, vincent.guittot@...aro.org,
peterz@...radead.org, dietmar.eggemann@....com
Subject: Re: [PATCH V2] arm64: add SCHED_CLUSTER's dependency on ACPI
On Sun, Apr 24, 2022 at 07:55:01PM -0700, Qing Wang wrote:
> From: Wang Qing <wangqing@...o.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.
>
Any reason why this can't be extended to support DT based systems via
cpu-map in the device tree. IMO we almost have everything w.r.t topology
in DT and no reason to deviate this feature between ACPI and DT.
--
Regards,
Sudeep
Powered by blists - more mailing lists