[PATCH] pmdomain: arm: scmi_pm_domain: Initialize state as off
Sudeep Holla
sudeep.holla at arm.com
Mon Jan 13 02:31:21 PST 2025
On Fri, Jan 10, 2025 at 02:13:46PM +0800, Peng Fan (OSS) wrote:
> From: Peng Fan <peng.fan at nxp.com>
>
> Per ARM SCMI Spec DEN0056E, page 16, "The platform may disable a resource
> if no agent has requested to use that resource."
>
True, but ...
> Linux Kernel should not rely on a state that it has not requested, so
> make state as off during initialization.
>
IIUC, this was done to avoid any transitions if the bootloader like U-Boot
has turned on the resource and OS can just rely on that stay. Anyways if
the resource is not used by any driver/device in the kernel, won't it be
turned off anyways ? What am I missing ?
I need to dig details, but I remember doing what this patch does and
reverting to what we have based on the feedback IIRC.
--
Regards,
Sudeep
More information about the linux-arm-kernel
mailing list