diff options
| author | Rong Zhang <rongrong@oss.cipunited.com> | 2026-02-01 05:32:58 +0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:22 -0500 |
| commit | 3b8fa431e035424edfad93ccfb996fe158c2f53c (patch) | |
| tree | 0c3fa7d8f47fc0474838aab0277d94d600fb08f5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 222afcca91f36beb956ca4906352734c21e7b2d1 (diff) | |
| download | kernel-3b8fa431e035424edfad93ccfb996fe158c2f53c.tar.gz | |
MIPS: Loongson2ef: Register PCI controller in early stage
[ Upstream commit 6a00c043af07492502ba7a2263ddc4cdb01b66a7 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
