diff options
author | Sergio Paracuellos <sergio.paracuellos@gmail.com> | 2021-12-07 11:49:20 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-01-12 15:37:10 -0600 |
commit | 661c4c4f2693a8cdd42a93a2418244b8f5115e6b (patch) | |
tree | 2ac86ced24876c4168536344b26475e2cd5eec7d /samples | |
parent | da48157092e7dd25e8c0fa38e0ccd93219a66046 (diff) | |
download | lwn-661c4c4f2693a8cdd42a93a2418244b8f5115e6b.tar.gz lwn-661c4c4f2693a8cdd42a93a2418244b8f5115e6b.zip |
PCI: Let pcibios_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>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions