Repository navigation
drm/asahi: honor fault_log_ratelimit in mark_pending_events - #3608
Conversation
handle_timeout() and handle_fault() pass the log boolean from fault_log_ratelimit() to get_fault_info() and recover(), but mark_pending_events() still logged "Pending events:" and each pending stamp unconditionally with dev_err!(). Pass log into mark_pending_events() and gate its dev_err!() output on it while keeping event error marking and pending_stamps clearing unconditional. Signed-off-by: Marcelo Alcantara <[email protected]>
There was a problem hiding this comment.
Verdict: MERGE at 87830763
Blockers: none (await queued CI completion before merge).
Checked:
- Audited
drivers/gpu/drm/asahi/gpu.rs(+21/-12) and all callers ofmark_pending_events(). - Both callers (
handle_timeout()andhandle_fault()) pass thelogboolean returned byfault_log_ratelimit()intomark_pending_events(). - Only the
" Pending events:\n"header and per-slotdev_err!()prints are gated onif log; work error propagation (WorkError::Killed/ fault/timeout error) andpending_stampsclearing remain unconditional across all#[ver(...)]builds. - J416 (M2 Max, G14) hardware verification with a 4-shot Vulkan fragment-hang burst confirms full report +
Pending events:on timeout 1, zero leakedPending events:lines with clean recovery on rate-limited timeouts 2–3, and(+2 suppressed GPU fault/timeout reports)+Pending events:on timeout 4, withboot-healthandomarchy-m-testpassing. - DCO
Signed-off-by:present; no Apple material or policy issues.
Evidence
- Diff:
drivers/gpu/drm/asahi/gpu.rs(+21/-12). - Confirmed
handle_timeout()(L2039) andhandle_fault()(L2065) are the sole call sites ofmark_pending_events(). - CI at review time: 20 queued, 1 pending, 3 skipped (
0failures).
Carry four Omarchy 4.6 RC kernel fixes for J416 / Apple Silicon 7.3 until upstream merges and retires them: - aurora-silicon/linux#3605 (222e0e6): downgrade repeated ACIO Phase 3 AT register read timeout RTKit syslogs to dev_dbg() - aurora-silicon/linux#3606 (4551c62): bind ane_t6021 quietly when firmware is absent so the 7 PMGR domains reach sync_state() - aurora-silicon/linux#3607 (40936f1, runtime commits 21bf1ba and aa3002f): fix BCM4388 codecs_v2 SoA layout and -EINVAL SCO caps - aurora-silicon/linux#3608 (8783076): honor fault_log_ratelimit() in asahi mark_pending_events() All five carried commits cherry-pick cleanly onto carry/aurora-7.3 (3058cc5) with zero conflicts and passed hardware verification on m2-max (lab build b1129-174341-04de, jobs j1129-174818-e436 and j1129-175551-7b35). Signed-off-by: Marcelo Alcantara <[email protected]>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
|
J416c (16-inch M2 Max, T6021) at EvidenceBatched carry kernel
|
|
Merging at |
What: Pass the
logboolean returned byfault_log_ratelimit()inhandle_timeout()andhandle_fault()intomark_pending_events()so its"Pending events:"header and per-slotdev_err!()lines are suppressed alongside the rest of the rate-limited fault/timeout report, while still unconditionally marking event errors and clearingpending_stamps.Tested: J416 (MacBook Pro 16" M2 Max, legacy G14) on 7.3 carry build
7.3.0-lab3ceda392-11ed(lab jobsj1129-174818-e436andj1129-175551-7b35,b1129-174341-04de, clang 19.1.7 + rustc 1.93.1):FAULT_LOG_INTERVAL, clean compute verification in1.04 ms, 6 s pause, 4th 83 ms timeout, clean compute verification in0.59 ms).Pending events: [0:20] flags=7, timeouts 2 and 3 emitted zero leakedPending events:lines while recovering cleanly, and timeout 4 logged(+2 suppressed GPU fault/timeout reports)+ full report +Pending events: [0:27] flags=7(delta_banners=2,delta_pending=2,delta_suppressed=1).boot-healthpass (0 failed units, 0 kernel errors on clean bootj1129-174818-e436),omarchy-m-test 0.2.0pass (0 regressions);checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks.Risk: two-way door · logging gate only inside
mark_pending_events(); fault/timeout error propagation,pending_stampsclearing, and firmware recovery logic are unchanged.