[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMRc=Meb0jWxwxA16g2FKXESF-oNjO_HQNZEQhwd2JTxb5q-cg@mail.gmail.com>
Date: Sat, 24 Aug 2024 09:49:17 +0200
From: Bartosz Golaszewski <brgl@...ev.pl>
To: Bjorn Helgaas <helgaas@...nel.org>
Cc: Rob Herring <robh+dt@...nel.org>, Bjorn Helgaas <bhelgaas@...gle.com>,
Krishna chaitanya chundru <quic_krichai@...cinc.com>,
Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>, linux-pci@...r.kernel.org,
linux-kernel@...r.kernel.org,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
Subject: Re: [PATCH v3 1/2] PCI: don't rely on of_platform_depopulate() for
reused OF-nodes
On Sat, Aug 24, 2024 at 12:10 AM Bjorn Helgaas <helgaas@...nel.org> wrote:
>
> [+to Rob]
>
> On Fri, Aug 23, 2024 at 11:33:22AM +0200, Bartosz Golaszewski wrote:
> > From: Bartosz Golaszewski <bartosz.golaszewski@...aro.org>
> >
> > of_platform_depopulate() doesn't play nice with reused OF nodes - it
> > ignores the ones that are not marked explicitly as populated and it may
> > happen that the PCI device goes away before the platform device in which
> > case the PCI core clears the OF_POPULATED bit. We need to
> > unconditionally unregister the platform devices for child nodes when
> > stopping the PCI device.
>
> Rob, any concerns with this?
>
If there will be any concerns: I'm OoO next week so I'll only be able
to address them on September 2nd.
Bart
Powered by blists - more mailing lists