Files
openwrt/target
Rustam Adilov 347ea96b26 realtek: fix PCI IO map panic with set_io_port_base(KSEG1)
When the realtek target changed to generic mips initialization
the set_io_port_base(KSEG1); from plat_mem_setup wasn't brought
over to the realtek board file. This results in boot hang when
trying to load PCIE driver on RTL9607C machine as it panics
after devm_pci_alloc_host_bridge due to lack of mips_io_port_base
definition.

Fix it by adding set_io_port_base(KSEG1) to realtek_fixup_fdt.
Generic MIPS calls fixup_fdt during plat_mem_setup so that
roughly matches that of an old initialization from before.

As this changes the board file, refresh the 300-03 patch to
align with the new changes.

Reported-by: Michael Zavertkin <misha.zavertkin@mail.ru>
Fixes: 7cc31af7bd ("realtek: convert to generic machine initialization")
Signed-off-by: Rustam Adilov <adilov@tutamail.com>
Link: https://github.com/openwrt/openwrt/pull/24942
Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
2026-08-31 16:37:28 +02:00
..
…
…
…