rk3588: VOP IOMMU faults at boot while the firmware window is on

Francesco Saverio Pavone pavone.lawyer at gmail.com
Sun Nov 29 01:38:19 PST 2026


Hi,

On a ROCK 5B+ (RK3588) booted from EDK2 with the display on, plain
v7.4-rc4 logs this around the VOP bind:

 platform fdd90000.vop: Adding to iommu group 7
 ...
 rk_iommu fdd97e00.iommu: Enable stall request timed out, status: 0x00001d
 rk_iommu fdd97e00.iommu: Enable stall request timed out, status: 0x00030b
 rockchip-drm display-subsystem: bound fdd90000.vop (ops vop2_component_ops)
 rk_iommu fdd97e00.iommu: Page fault at 0x00000000e6810000 of type read

Bank 0 stalls. Bank 1 is paging with a page fault active, bus id 0xc,
and never stalls. The stall lines and a page fault come once more
about 13 s into the boot.

This looks like what Jagan Teki reported for RK3328 in 2023 [1], where
Robin pointed out that resetting the IOMMU while bootloader framebuffer
traffic is still going through is a problem of its own. Lucas Tanure's
PX30 patch from 14 Nov [2] deals with the same kind of master at reboot.

What I traced here: the firmware leaves one window enabled (Esmart2 on
VP2) and it keeps reading its framebuffer. Paging is first enabled from
the IOMMU's runtime resume, the read faults because that address is not
mapped, and the stall times out. b10d5920cafa acks the stale fault, but
the window is still running and faults again at once. A 7.2-rc5 tree
without that commit logs the same two lines. Jiaxing Hu's patch from
23 Nov [3] does not change them either: both banks report paging
enabled, so its check does not trigger.

As an experiment, on a tree with Collabora's rockchip-devel on top, I
disabled that window, put VP2 in standby and waited for it before
letting the IOMMU enable paging. That took 22 and 31 ms in two boots
and the two lines were gone in both. The hack does it from
rockchip-iommu.c by writing VOP registers, so it is not a patch. I can
post it for reference.

Where should this be handled? The driver has no get_resv_regions, so
iommu-addresses on a firmware framebuffer node would not help today.
The reset that Collabora's tree does in vop2_bind() comes after the
first paging enable: with it the page fault line is gone, the two stall
lines stay. Or is the firmware expected to turn the display
off?

One board, one firmware (EDK2 v1.1.1 for the ROCK 5B+). The plain
v7.4-rc4 log is from a single boot; the Collabora-based tree shows the
two stall lines on every boot.

LLM agents (OpenAI Codex and Hermes) wrote the instrumentation and ran
the boots on my board, and Claude helped write this mail. I went
through the traces quoted here.

Francesco

[1] https://lore.kernel.org/all/20230330131746.1475514-2-jagan@amarulasolutions.com/
[2] https://lore.kernel.org/all/20261114133738.52817-1-tanure@linux.com/
[3] https://lore.kernel.org/all/20261123235154.315460-1-gahing@gahingwoo.com/



More information about the Linux-rockchip mailing list