[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240708155856.GE5745@thinkpad>
Date: Mon, 8 Jul 2024 21:28:56 +0530
From: Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>
To: Mario Limonciello <superm1@...nel.org>
Cc: Bartosz Golaszewski <brgl@...ev.pl>,
Bartosz Golaszewski <bartosz.golaszewski@...aro.org>,
Krzysztof Wilczyński <kw@...ux.com>,
Lukas Wunner <lukas@...ner.de>, Bert Karwatzki <spasswolf@....de>,
caleb.connolly@...aro.org, bhelgaas@...gle.com,
amit.pundir@...aro.org, neil.armstrong@...aro.org,
linux-kernel@...r.kernel.org, linux-pci@...r.kernel.org,
Praveenkumar Patil <PraveenKumar.Patil@....com>
Subject: Re: [PATCH v2] pci: bus: only call of_platform_populate() if
CONFIG_OF is enabled
On Mon, Jul 08, 2024 at 10:53:18AM -0500, Mario Limonciello wrote:
> On 7/8/2024 10:49, Bartosz Golaszewski wrote:
>
> >
> > If you have CONFIG_OF enabled then of_platform_populate() will go the
> > normal path and actually try to populate sub-nodes of the host bridge
> > node. If there are no OF nodes (not a device-tree system) then it will
> > fail.
> >
> > Bart
>
> So how about keep both patches then?
Why would anyone running non OF system have CONFIG_OF enabled? If that's the
case, they have to see the error because there would be no DT nodes.
- Mani
--
மணிவண்ணன் சதாசிவம்
Powered by blists - more mailing lists