Re: [PATCH v10 00/27] PM / Domains: Support hierarchical CPU arrangement (PSCI/ARM)

From: Sudeep Holla
Date: Thu Jan 03 2019 - 07:06:28 EST


On Thu, Nov 29, 2018 at 06:46:33PM +0100, Ulf Hansson wrote:
> Over the years this series have been iterated and discussed at various Linux
> conferences and LKML. In this new v10, a quite significant amount of changes
> have been made to address comments from v8 and v9. A summary is available
> below, although let's start with a brand new clarification of the motivation
> behind this series.

I would like to raise few points, not blockers as such but need to be
discussed and resolved before proceeding further.
1. CPU Idle Retention states
- How will be deal with flattening (which brings back the DT bindings,
i.e. do we have all we need) ? Because today there are no users of
this binding yet. I know we all agreed and added after LPC2017 but
I am not convinced about flattening with only valid states.
- Will domain governor ensure not to enter deeper idles states based
on its sub-domain states. E.g.: when CPUs are in retention, so
called container/cluster domain can enter retention or below and not
power off states.
- Is the case of not calling cpu_pm_{enter,exit} handled now ?

2. Now that we have SDM845 which may soon have platform co-ordinated idle
support in mainline, I *really* would like to see some power comparison
numbers(i.e. PC without cluster idle states). This has been the main theme
for most of the discussion on this topic for years and now we are close
to have some platform, we need to try.

3. Also, after adding such complexity, we really need a platform with an
option to build and upgrade firmware easily. This will help to prevent
this being not maintained for long without a platform to test, also
avoid adding lots of quirks to deal with broken firmware so that newer
platforms deal those issues in the firmware correctly.

--
Regards,
Sudeep