Repository navigation
arm64: dts: apple: t6040: map the NHI ring interrupts the right way round - #1212
Merged
Merged
Conversation
…ound The ADT lists each router's NHI interrupts as twelve higher numbers, twelve lower ones and the SRAM parity line (acio0: 1774-1785, 1762-1773, 1791). The lower twelve are the TX rings and the higher twelve the RX rings, as the T6050 router description that works on the J716c maps them. The T6040 nodes had the two halves the other way round, so the TX-done interrupt reached the RX handler, which acknowledged the wrong status bit; the level interrupt never dropped. The CPU then kept taking the ring interrupt, and the watchdog reset the SoC shortly after ring 0 started. Swap the halves for all three routers. With this mapping on ACIO0 the J616s brings up a USB4 link to an M2 (XDomain, two bonded lanes at 20 Gb/s each way) and thunderbolt-net carries 17.9 Gbit/s one way and 19.6 Gbit/s the other in iperf3. The nodes stay disabled in this tree, so no board changes behaviour yet. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
This was referenced Nov 8, 2026
This was referenced Nov 8, 2026
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.
The T6040 NHI nodes had the TX and RX ring interrupts the wrong way round. The ADT lists each router's NHI interrupts as the higher twelve, then the lower twelve, then SRAM parity (acio0: 1774-1785, 1762-1773, 1791). The lower twelve are the TX rings, which matches the T6050 description that works on the J716c. With the halves swapped, the TX-done interrupt went to the RX handler, which acked the wrong status bit, so the level interrupt never dropped. Every J616s link attempt hung as soon as ring 0 started, and the watchdog reset the SoC 30-60 s later.
This swaps the halves for all three routers. The nodes are still
status = "disabled"in this tree, so no board's behaviour changes until the USB4 driver is enabled.Testing
starting RX ring 0, then a watchdog reset.Linux chloe-mba). Lane bonding is enabled, 20.0 Gb/s on each of 2 lanes in each direction on both sides. thunderbolt-net comes up on both Macs.interruptsproperties.ACIO1 and ACIO2 were not run on hardware; their maps change the same way (TX now starts at 1810 and 1858).
🤖 Generated with Claude Code