Skip to content

avz: leave the i.MX UART's interrupt to the guest - #378

Merged
daniel-rossier merged 1 commit into
mainfrom
fix/avz-imx-uart-irq
Nov 14, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
fix/avz-imx-uart-irq

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor

Under AVZ, the i.MX UART's interrupt belongs to the agency, whose console driver attaches its own handler. AVZ bound imx_uart_int to it as well: gic_handle ran it and EOIed the interrupt before it reached the guest, and the handler's read of URXD took the byte, so on Verdin the agency console received nothing. pl011.c already skips the binding under CONFIG_AVZ; imx_uart.c now does the same.

The fix comes from edgem1, where it was carried as an AVZ patch (since 2026-11-05); edgem1 can drop it once it points at a tag containing this change. Also adds the line to the v6.4.0 CHANGELOG entry, as #377 did, so it can ship in 6.4.0.

Checks

  • verdin-imx8mp_avz_defconfig and verdin-imx8mp_defconfig build, no warning in imx_uart.c; under AVZ, imx_uart.o references neither imx_uart_int nor irq_bind.
  • In edgem1 the same patch applied on v6.4.0 builds (virt64). Not booted on Verdin from this tree.

Under AVZ the UART's interrupt belongs to the agency, whose console
driver attaches its own handler. AVZ bound imx_uart_int to it as well:
gic_handle then ran that handler and EOIed the interrupt before it
reached the guest, and the handler's read of URXD took the byte. On
Verdin the agency console received nothing. pl011.c already skips the
binding under CONFIG_AVZ; do the same here.

edgem1 carried this as an AVZ patch; it can drop it.
@daniel-rossier
daniel-rossier merged commit 4302e03 into main Nov 14, 2026
6 checks passed
@daniel-rossier
daniel-rossier deleted the fix/avz-imx-uart-irq branch November 14, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant