Re: [PATCH v10] PCI: Add pcie_link_is_active() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> From: "Timothy Pearson" <tpearson@xxxxxxxxxxxxxxxxxxxxxxxx>
> To: "Bjorn Helgaas" <helgaas@xxxxxxxxxx>
> Cc: "linux-pci" <linux-pci@xxxxxxxxxxxxxxx>, "mahesh" <mahesh@xxxxxxxxxxxxx>, "Oliver" <oohall@xxxxxxxxx>, "Madhavan
> Srinivasan" <maddy@xxxxxxxxxxxxx>, "Michael Ellerman" <mpe@xxxxxxxxxxxxxx>, "Lukas Wunner" <lukas@xxxxxxxxx>
> Sent: Tuesday, June 17, 2025 10:41:58 AM
> Subject: [PATCH v10] PCI: Add pcie_link_is_active() function

> Add pcie_link_is_active() function to check if the physical PCIe link is
> active, replacing duplicate code in multiple locations.

Note I have re-added EXPORT_SYMBOL here, since on further inspection it looks like we need to export the symbol after all.  The problem is that some hotplug drivers (pnv-php in particular) both a.) need this functionality and b.) may be built as a module.

I think we should still keep the definition in the PCI include directory, but the symbol itself needs to be exported.




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux