Repository navigation
avz: leave the i.MX UART's interrupt to the guest - #378
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Under AVZ, the i.MX UART's interrupt belongs to the agency, whose console driver attaches its own handler. AVZ bound
imx_uart_intto it as well:gic_handleran it and EOIed the interrupt before it reached the guest, and the handler's read ofURXDtook the byte, so on Verdin the agency console received nothing.pl011.calready skips the binding underCONFIG_AVZ;imx_uart.cnow 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_defconfigandverdin-imx8mp_defconfigbuild, no warning inimx_uart.c; under AVZ,imx_uart.oreferences neitherimx_uart_intnorirq_bind.