]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: mt7621: Move MIPS setup to pcibios_root_bridge_prepare()
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Tue, 7 Dec 2021 10:49:21 +0000 (11:49 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 12 Jan 2022 21:38:20 +0000 (15:38 -0600)
commitda5bf17b3d00679e0eb42b24be82e2ce9803de5f
tree55b6bf03aeb47e257c7bddf7fa92b90962d20986
parent95e4775bb631430d7362fa370421c93212d3ad54
PCI: mt7621: Move MIPS setup to pcibios_root_bridge_prepare()

On the MIPS ralink mt7621 platform, we need to set up I/O coherency units
based on the host bridge apertures.

To remove this arch dependency from the driver itself, move the coherency
setup from the driver to pcibios_root_bridge_prepare().

[bhelgaas: squash add/remove into one patch, commit log]
Link: https://lore.kernel.org/r/20211207104924.21327-3-sergio.paracuellos@gmail.com
Link: https://lore.kernel.org/r/20211207104924.21327-4-sergio.paracuellos@gmail.com
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net> # arch/mips
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> # arch/mips
arch/mips/ralink/mt7621.c
drivers/pci/controller/pcie-mt7621.c