From: Greg Kroah-Hartman Date: Wed, 15 Sep 2021 17:38:49 +0000 (+0200) Subject: 5.10-stable patches X-Git-Tag: v5.14.5~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cbd9af4cbee6731d4b5f34f3866249cd28d992ce;p=thirdparty%2Fkernel%2Fstable-queue.git 5.10-stable patches added patches: pci-export-pci_pio_to_address-for-module-use.patch --- diff --git a/queue-5.10/pci-export-pci_pio_to_address-for-module-use.patch b/queue-5.10/pci-export-pci_pio_to_address-for-module-use.patch new file mode 100644 index 00000000000..57b2059da38 --- /dev/null +++ b/queue-5.10/pci-export-pci_pio_to_address-for-module-use.patch @@ -0,0 +1,31 @@ +From 9cc742078c9a90cdd4cf131e9f760e6965df9048 Mon Sep 17 00:00:00 2001 +From: Jianjun Wang +Date: Tue, 20 Apr 2021 14:17:18 +0800 +Subject: PCI: Export pci_pio_to_address() for module use + +From: Jianjun Wang + +commit 9cc742078c9a90cdd4cf131e9f760e6965df9048 upstream. + +This interface will be used by PCI host drivers for PIO translation, +export it to support compiling those drivers as kernel modules. + +Link: https://lore.kernel.org/r/20210420061723.989-3-jianjun.wang@mediatek.com +Signed-off-by: Jianjun Wang +Signed-off-by: Lorenzo Pieralisi +Acked-by: Bjorn Helgaas +Signed-off-by: Greg Kroah-Hartman +--- + drivers/pci/pci.c | 1 + + 1 file changed, 1 insertion(+) + +--- a/drivers/pci/pci.c ++++ b/drivers/pci/pci.c +@@ -4043,6 +4043,7 @@ phys_addr_t pci_pio_to_address(unsigned + + return address; + } ++EXPORT_SYMBOL_GPL(pci_pio_to_address); + + unsigned long __weak pci_address_to_pio(phys_addr_t address) + { diff --git a/queue-5.10/series b/queue-5.10/series index eced79371b1..4d73438c1e5 100644 --- a/queue-5.10/series +++ b/queue-5.10/series @@ -49,5 +49,6 @@ pci-restrict-asmedia-asm1062-sata-max-payload-size-supported.patch pci-return-0-data-on-pciconfig_read-cap_sys_admin-failure.patch pci-xilinx-nwl-enable-the-clock-through-ccf.patch pci-aardvark-configure-pcie-resources-from-ranges-dt-property.patch +pci-export-pci_pio_to_address-for-module-use.patch pci-aardvark-fix-checking-for-pio-status.patch pci-aardvark-fix-masking-and-unmasking-legacy-intx-interrupts.patch