+2
−2
Loading
Sunway inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IBDJNZ -------------------------------- This is backport of commit 661c4c4f("PCI: Let pci_bios_root_bridge_prepare() access bridge->windows") When pci_register_host_bridge() is called, bridge->windows are already available. However these windows are being moved temporarily from there. To let pcibios_root_bridge_prepare() have access to these windows, move the windows movement after calling this function. This is useful for the MIPS ralink mt7621 platform so it can set up I/O coherence units and avoid custom MIPS code in the mt7621 PCIe controller driver. Link: https://lore.kernel.org/r/20211207104924.21327-2-sergio.paracuellos@gmail.com Signed-off-by:Sergio Paracuellos <sergio.paracuellos@gmail.com> Signed-off-by:
Bjorn Helgaas <bhelgaas@google.com> Acked-by:
Arnd Bergmann <arnd@arndb.de> Signed-off-by:
Jing Li <jingli@wxiat.com> Reviewed-by:
He Sheng <hesheng@wxiat.com> Signed-off-by:
Gu Zitao <guzitao@wxiat.com>