diff options
| author | Rong Zhang <rongrong@oss.cipunited.com> | 2026-02-01 00:32:58 +0300 |
|---|---|---|
| committer | Thomas Bogendoerfer <tsbogend@alpha.franken.de> | 2026-02-05 12:00:37 +0300 |
| commit | 6a00c043af07492502ba7a2263ddc4cdb01b66a7 (patch) | |
| tree | 767e3cbb3a56b5364dc0a81769a2a43884dd8117 /include/linux/platform_data | |
| parent | a6ab150deb4b740334721d18e02ad400a9d888f5 (diff) | |
| download | linux-6a00c043af07492502ba7a2263ddc4cdb01b66a7.tar.xz | |
MIPS: Loongson2ef: Register PCI controller in early stage
We are about to set loongson_pci_io_resource.start to 0 and adopt
PCIBIOS_MIN_IO. As the first step, PCI controller needs to be registered
in early stage to make it the root of other resources (e.g., i8259) and
prevent resource conflicts.
Register it in plat_mem_setup() instead of arch_initcall().
Fixes: ae81aad5c2e1 ("MIPS: PCI: Use pci_enable_resources()")
Cc: stable@vger.kernel.org
Tested-by: Beiyan Yun <root@infi.wang>
Tested-by: Yao Zi <me@ziyao.cc>
Signed-off-by: Rong Zhang <rongrong@oss.cipunited.com>
Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions
