Repository navigation
iommu/apple-dart: revert the stream-window intersection that crashes the J613 display - #3270
scottjones wants to merge 1 commit into
Conversation
…am window" This reverts commit 7e60426. On the J613 (13-inch M3 Air, macOS 14.7 stub) the display co-processor crashes about 3 s into boot with that commit applied. The DCP DART logs NO PMD FOR IOVA at 0x10007800000, then RTKit reports the co-processor crashed and IOMFB reports axi_rd_err. The panel stays on the boot splash, brightness can't be read back and s2idle fails. The fault address is inside the window 7e60426 narrows the J613 display stream to (0x10000000000..0x10ffffeffff), so the excluded top 64 KiB is not the cause, and the real interaction isn't understood yet. On main 8b0a383, the series without this commit (a02fd54, 6245efd, 36a5f13, f3c1254) boots the J613 with the display lit and no DART faults; adding 7e60426 brings the crash back. Revert it until the stream intersection can be redone without breaking the J613. 6245efd, which fixes the J613 display on its own, stays. Fixes: 7e60426 ("iommu/apple-dart: intersect consumer apertures with each stream window") Signed-off-by: Scott Jones <[email protected]>
2fd96d2 to
8f0376d
Compare
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: FINISH at 8f0376d510cb
The J613 control shows a real display regression. The proposed fix changes every DART consumer with apple,dma-range: apple_dart_parse_dma_window() now returns the consumer interval even when it is disjoint from an explicit five-cell stream window, and domain allocation can use the same override. The removed KUnit case already checks this case. Please keep rejecting disjoint explicit windows and fix the J613 alias or its stream description without weakening the common constraint. If the intended alias contract differs, document it and show why all affected consumers remain confined to usable regions. Re-run the target/peer rows at the landing head. The posted host job died at apt setup with HTTP 403 before running fixtures.
Hosted Ubuntu 24.04 runners pre-install third-party apt sources such as packages.microsoft.com under /etc/apt/sources.list.d/. Workflows that pass -o APT::Update::Error-Mode=any abort with exit code 100 whenever one of those unused repositories returns a transient 403/5xx (observed on PR aurora-silicon#3270 and PR aurora-silicon#2603). Drop non-ubuntu.sources files from /etc/apt/sources.list.d/ before apt-get update and pass -o Acquire::Retries=3 to apt-get update/install across the Ubuntu runner workflows. All packages installed by these workflows come from the standard signed Ubuntu archives. Also update tools/asahi/run-host-tests.py so failed suites print any 'not ok ' TAP lines before the 40-line log tail; previously a failure early in a long suite like apple-dcp scrolled off the tail and could not be identified without downloading the artifact zip. Signed-off-by: Ryan Murray <[email protected]>
|
J615 (M3 Air 15", T8122, 27.2 fw) current- |
What: Revert 7e60426 ("iommu/apple-dart: intersect consumer apertures with each stream window", from #2145). On main it brings back the J613 display crash: the DCP DART faults inside the narrowed display window and the display co-processor crashes about 2.7 s into boot. 6245efd, which fixes the J613 display on its own, stays.
Tested: J613 M3 Air (macOS 14.7 stub) at 2fd96d2: display lit with Hyprland, 0 DART faults, no DCP crash, brightness reads back, s2idle 1/1, Wi-Fi 5/5, 0 failed units; GPU unchanged (M3 firmware ready, Hyprland on Apple M3). Plain main 859e8a2 on the same Mac: DART faults and a DCP crash, no active display, s2idle fails.
Risk: two-way door · M3 Macs whose display DART uses the stream window (J613 tested); other DARTs unaffected by this revert, untested here
Not yet: a proper fix for the stream intersection that keeps the J613 working; other M3 boards not run.
Details
7e60426 narrows the J613 display stream window to
0x10000000000..0x10ffffeffff. The first fault is inside that range, so the excluded top 64 KiB isn't the cause, and the real interaction isn't understood yet. This reverts only that commit so main stops breaking the J613 while the intersection is reworked.Before the merge, on main
8b0a3832, the #2145 series without 7e60426 (a02fd54e,6245efd7,36a5f137,f3c1254b) booted the J613 clean, and adding 7e60426 brought the crash back. Results are in the comment on #2145.Evidence
Both kernels with the fleet config (
DRM_ASAHI_M3_T8122=y), default fleet command line, one-shot boot, then restored to the stock kernel.859e8a29+ this revert (2fd96d2d)859e8a2928d304000NO PMD / NO PTE0x10006800000, 2.67 s)apple-dart KUnit (arm64 QEMU, LLVM=1): this branch 29 tests, 28 passed, 1 skipped; main 30 tests, 29 passed, 1 skipped. The difference is
apple_dart_test_disjoint_consumer_window, which goes with the reverted commit. The skip on both isapple_dart_test_independent_remap_roots(needs 16 KiB kernel pages).