see https://lore.kernel.org/linux-pci/
20220203154728.GA96160@bhelgaas/T/#m1e9498ed2ebeaabf39c1b714c88f23812a88c279
Patch8000: rpi-sound.patch
Patch8001: kernel-pinebook-pro.patch
Patch8002: atheros-disallow-retrain-nongen1-pcie.patch
+Patch8003: mvebu-pcie.patch
# Do not remove this line, please. It is easier for me to uncomment two lines, then patch
# kernel.spec every time.
%patch8000 -p1
%patch8001 -p1
%patch8002 -p1
+%patch8003 -p1
%endif
%if %{with rt}
--- /dev/null
+--- linux-5.16/drivers/pci/controller/pci-mvebu.c.orig 2022-02-04 16:52:46.089869659 +0100
++++ linux-5.16/drivers/pci/controller/pci-mvebu.c 2022-02-04 17:00:31.993825135 +0100
+@@ -1288,7 +1288,8 @@
+ * indirectly via kernel emulated PCI bridge driver.
+ */
+ mvebu_pcie_setup_hw(port);
+- mvebu_pcie_set_local_dev_nr(port, 0);
++ mvebu_pcie_set_local_dev_nr(port, 1);
++ mvebu_pcie_set_local_bus_nr(port, 0);
+ }
+
+ pcie->nports = i;