Re: [PATCH v2] pci: bus: only call of_platform_populate() if CONFIG_OF is enabled
From: Bartosz Golaszewski
Date: Mon Jul 08 2024 - 02:53:01 EST
On Mon, 8 Jul 2024 at 02:37, Krzysztof Wilczyński <kw@xxxxxxxxx> wrote:
>
> Hello,
>
> > > If of_platform_populate() is called when CONFIG_OF is not defined this
> > > leads to spurious error messages of the following type:
> > > pci 0000:00:01.1: failed to populate child OF nodes (-19)
> > > pci 0000:00:02.1: failed to populate child OF nodes (-19)
> > >
> > > Fixes: 8fb18619d910 ("PCI/pwrctl: Create platform devices for child OF nodes of the port node")
> > >
> > > Signed-off-by: Bert Karwatzki <spasswolf@xxxxxx>
> >
> > Reported-by: Praveenkumar Patil <PraveenKumar.Patil@xxxxxxx>
> > Closes: https://lore.kernel.org/all/20240702173255.39932-1-superm1@xxxxxxxxxx/
> > Reviewed-by: Lukas Wunner <lukas@xxxxxxxxx>
> > Cc: Mario Limonciello <mario.limonciello@xxxxxxx>
>
> If there aren't any objections, I will take this via the PCI tree, and add
> the missing tags. So, no need to send a new version of this patch.
>
> Thank you for the work here! Appreciated.
>
> Krzysztof
I don't think you can take it via the PCI tree as it depends on the
changes that went via the new pwrseq tree (with Bjorn's blessing).
Please leave your Ack here and I will take it with the other PCI
pwrctl changes.
After the upcoming merge window we should go back to normal.
Bart