Thread (26 messages) 26 messages, 6 authors, 2023-08-03

Re: [PATCH pci] PCI: don't skip probing entire device if first fn OF node has status = "disabled"

From: Vladimir Oltean <vladimir.oltean@nxp.com>
Date: 2023-06-05 09:35:17
Also in: linux-pci, lkml

On Mon, Jun 05, 2023 at 08:59:23AM +0800, Jianmin Lv wrote:
For a multi-function device, if func 0 is not allowed to be scanned, as I
said in way of 2, the other funcs of the device will be described as
platform devices instead of pci and be not scanned either, which is
acceptable for Loongson. The main goal by any way for us is to resolve the
problem that shared pins can not be used simultaneously by devices sharing
them. IMO, configure them in DT one by one may be reasonable, but adapting
each driver will be bothered.
Could you give an example of PCIe functions being described as platform
devices, and how does that work for Loongson? Are you saying that there
will be 2 drivers for the same hardware, one pci_driver and one platform_driver?
In the case of the platform_driver, who will do the PCI-specific stuff
required by the IP, like function level reset and enabling the memory space?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help