On Tue, 23 Jan 2024 at 02:27, Mathieu Poirier <mathieu.poirier@xxxxxxxxxx> wrote: > > On Mon, Jan 22, 2024 at 01:02:08PM -0700, Mathieu Poirier wrote: > > On Mon, 22 Jan 2024 at 10:51, Iuliana Prodan <iuliana.prodan@xxxxxxx> wrote: > > > > > > On 1/5/2024 6:01 PM, Ulf Hansson wrote: > > > > Let's avoid the boilerplate code to manage the multiple PM domain case, by > > > > converting into using dev_pm_domain_attach|detach_list(). > > > > > > > > Cc: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx> > > > > Cc: Bjorn Andersson <andersson@xxxxxxxxxx> > > > > Cc: Shawn Guo <shawnguo@xxxxxxxxxx> > > > > Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > > > > Cc: Iuliana Prodan <iuliana.prodan@xxxxxxx> > > > > Cc: Daniel Baluta <daniel.baluta@xxxxxxx> > > > > Cc: <linux-remoteproc@xxxxxxxxxxxxxxx> > > > > Signed-off-by: Ulf Hansson <ulf.hansson@xxxxxxxxxx> > > > > --- > > > > > > > > Changes in v2: > > > > - None. > > > > > > > > Iuliana/Daniel I am ccing you to request help with test/review of this change. > > > > Note that, you will need patch 1/5 in the series too, to be able to test this. > > > > > > > > Kind regards > > > > Ulf Hansson > > > > > > Tested-by: Iuliana Prodan <iuliana.prodan@xxxxxxx> > > > Reviewed-by: Iuliana Prodan <iuliana.prodan@xxxxxxx> > > > > > > > Thanks for the leg-work on this. I'll pick this up in rc1 later this week. > > Looking at the other files in this set, Ulf of perhaps Bjorn should take this > set. Yes, all patches in the series depend on the new helper function that is introduced in patch 1. I can certainly take the whole series via my pmdomain tree, if that's fine by everyone. Note that, there is also another series for genpd and qcom drivers that might make it for v6.9. It may be best to keep all these things together to avoid conflicts. Let's see what Greg/Rafael thinks about patch 1 first though. > > for: > > drivers/remoteproc/imx_rproc.c > drivers/remoteproc/imx_dsp_rproc.c > > Reviewed-by: Mathieu Poirier <mathieu.poirier@xxxxxxxxxx> Thanks Mathieu and Iuliana! [...] Kind regards Uffe [1] https://lore.kernel.org/all/20240122-gdsc-hwctrl-v4-0-9061e8a7aa07@xxxxxxxxxx/