Re: [PATCH v6 2/7] PCI: Export pci_set_target_speed()

From: Bjorn Helgaas

Date: Fri Nov 20 2026 - 12:08:52 EST


On Thu, Nov 19, 2026 at 06:26:34PM +0530, Krishna Chaitanya Chundru wrote:
> Export pci_set_target_speed() so that other kernel drivers can use it
> to change the PCIe data rate.
>
> Acked-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> Acked-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
> Signed-off-by: Krishna Chaitanya Chundru <krishna.chundru@xxxxxxxxxxxxxxxx>

Acked-by: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>

The bulk of this is in MHI, so I assume this series will be routed
that way; let me know if otherwise.

> ---
> drivers/pci/pcie/bwctrl.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pci/pcie/bwctrl.c b/drivers/pci/pcie/bwctrl.c
> index c1e749df5bbe..0512ec62dd5b 100644
> --- a/drivers/pci/pcie/bwctrl.c
> +++ b/drivers/pci/pcie/bwctrl.c
> @@ -219,6 +219,7 @@ int pcie_set_target_speed(struct pci_dev *port, enum pci_bus_speed speed_req,
>
> return ret;
> }
> +EXPORT_SYMBOL_GPL(pcie_set_target_speed);
>
> static void pcie_bwnotif_enable(struct pcie_device *srv)
> {
>
> --
> 2.34.1
>