Re: [PATCH 02/12] soc: qcom: aoss: Drop power domain support

From: Sibi Sankar
Date: Tue Apr 27 2021 - 02:25:54 EST


On 2021-04-18 07:31, Stephen Boyd wrote:
Quoting Sibi Sankar (2021-04-16 05:03:48)
The load state resources are expected to follow the life cycle of the
remote processor it tracks. However, modeling load state resources as
power-domains result in them getting turned off during system suspend
and thereby falling out of sync with the remote processors that are still
on. Fix this by replacing load state resource control through the generic
qmp message send interface instead.

Signed-off-by: Sibi Sankar <sibis@xxxxxxxxxxxxxx>
---

Is it possible to keep this code around for a cycle so that there isn't
the chance that someone is using the deprecated DT bindings with a new
kernel? I worry that ripping the code out will cause them angst.

deprecated bindings with a newer kernel
shouldn't cause any problems since it is
the driver changes that make AOSS PD
mandatory or not. So the newer kernel will
just use qmp_send and leave the PD unused.

Certainly we have to keep the code in place until DT is updated, so this
patch should come last?

sure I don't mind, as long as it simplifies
the merge process.

--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project.