Skip to content

wifi: apple: centauri: t6050: recover stopped N1 firmware via warm reset - #3346

Merged
DjDeveloperr merged 4 commits into
mainfrom
fix/centauri-t6050-recovery
Dec 1, 2026
Merged

DjDeveloperr merged 4 commits into
mainfrom
fix/centauri-t6050-recovery

Conversation

@erikwb

@erikwb erikwb commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

What: Recover T6050 N1 Wi-Fi firmware runtime stops (stage != 2 / transport loss, often surfacing as firmware country update failed: -5) via SMC warm reset and PCIe radio port recycle instead of leaving wlan0 wedged until reboot or deep sleep.
Tested: J716c (M5 Max) at 04228e796271: boots cleanly on the default command line (wlan0 connected, 0% ping loss to LAN and gateway, active scan, iw reg set US, hci0 powered, disconnect/reconnect clean, 0 firmware country update failed, 0 WARNING/BUG/Oops, 0 new failed units); in candidate 3e4078f656d5 (main fcb124279183 plus unchanged 04228e796271 and sibling PRs, default command line): clean boot (wlan0 associated at 5 GHz with 0% packet loss to the gateway, hci0 powered, 0 new failed units, 0 LSM denials, 0 Centauri/PCIe/SMC kernel errors; after manual wake from a 4h52m s2idle, wlan0 reassociated with 0% loss and Bluetooth scanned cleanly, while forced runtime recovery did not run because the clean build carries no fault-injection hook, and unattended deep sleep did not run because apple,t6050-pmu-rtc has no interrupts in t6050-j716c-sleep.dtsi / rtc-apple-pmu.c, confirmed by rtcwake -m no -s 5 leaving wakealarm set with alrm_pending: no); all 6 Centauri host test suites (plus negative controls and all 8 physical mutations), W=1 KCFLAGS="-Werror", and checkpatch.pl --strict on drivers/ and include/ pass.
Risk: two-way door · M5 (T6050: J716c, J714s) and Centauri SMC warm-reset boards (J813, J815, J873g via centauri_port.c calling apple_smc_warm_reset()); J313, J713, and other Macs without Centauri do not execute the changed paths
Not yet: J716c forced runtime N1 recovery and committed deep sleep + post-sleep recovery check at 04228e796271 (clean build has no fault-injection hook, and unattended deep sleep wake is blocked because apple,t6050-pmu-rtc has no interrupts in t6050-j716c-sleep.dtsi / rtc-apple-pmu.c, confirmed by rtcwake -m no -s 5 leaving wakealarm set with alrm_pending: no; earlier temporary fault-injection testing is in Evidence); J714s (M5 Pro, runtime recycle with sibling SD reader on port 1 active, then deep sleep) and J813/J815/J873g (Centauri SMC warm-reset restart path) at 04228e796271 (external hardware not in lab).

Details

Problem

When the T6050 N1 Wi-Fi Alpha firmware unexpectedly leaves execution stage 2 at runtime (for example stage=0x3), apple_centauri_t6050 fails commands with -EIO (-5) and leaves wlan0 wedged until a full reboot or deep sleep cycle. Regulatory country updates (command 9) continue failing with firmware country update failed: -5 against the dead transport.

Design

Four scoped commits enable safe runtime radio recovery without affecting sleep/resume or sibling PCIe devices:

  1. mfd: macsmc: serialize runtime warm reset against unbind (cb8fd175d548)

    • Holds device_lock(&wr->smc->dev) and checks device_is_bound() across runtime (!noirq) warm-reset transactions.
    • Exports apple_smc_warm_reset_lock(), apple_smc_warm_reset_unlock(), apple_smc_warm_reset_locked(), and apple_smc_warm_reset_ready().
  2. soc: apple: sleep: allow runtime T6050 radio port recycle (ca94dc057ee6)

    • Resolves t6050_n1_host_bound() directly instead of relying on r->n1_host / !r->committed (which failed before the first sleep or left the APCIE0 DART GAPF slice gated after a prior committed sleep).
    • Tracks r->n1_gapf_gated, clears BIT(T6050_DART_APCIE0) in r->dart_slice_written on restore, keeps pins_saved scoped to live sleep attempts (r->attempt_active), and exports apple_sleep_radio_port_ready().
  3. PCI: apple: allow runtime T6050 radio port recycle (0960ced52724)

    • Resolves pcie->t6050_dart lazily via apple_pcie_t6050_ensure_dart() under pcie->lock so runtime recycles work before the first deep sleep.
    • Keeps non-noirq warm-reset state local to apple_pcie_t6050_port_recycle(), asserts PERST# before warm reset, scopes t6050_down config gating, lost-port disconnection, and apple_pcie_shutdown() skipping to the radio port hierarchy (keeping the J714s sibling SD reader live), serializes port recycle against deferred sibling cold-port wake via t6050_recycle_lock, refuses deep sleep before parking a sibling cold port if the radio port is lost, and exports apple_pcie_t6050_can_recycle() and apple_pcie_t6050_recycle_lock()/unlock() (guarded by IS_REACHABLE(CONFIG_MFD_MACSMC)).
  4. wifi: apple: centauri: t6050: recover stopped N1 firmware via warm reset (04228e796271)

    • Detects runtime transport stops across link_worker(), command_reply(), scan_transport_stopped(), connect_worker(), wait_disconnect(), and hardware boot failures (boot_hw_failed set only at firmware/transport failure sites, never on -ENOMEM or registration errors).
    • Separates observed stage != 2 (stage_fault_logged) from sticky command_failed so transient stage blips clear cleanly without restarting while preserving the DMA fence for submitted commands with unknown completion.
    • Re-checks after 2 s on an ordered non-freezable recovery workqueue (cen_rewake_wq), gated on DT warm-reset properties (apple,function-warm-reset / apple,warm-reset-writes) and host readiness (apple_pcie_t6050_can_recycle()), rate-limited to 3 restarts in 30 minutes.
    • Serializes recovery against deep sleep and reboot via lock_system_sleep() + cen_active_lock before pci_lock_rescan_remove() (preventing pci_rescan_remove_lock <-> PM notifier chain AB-BA deadlock and draining in-flight workers on direct restart paths such as deferred_cad), pins SMC across teardown and recycle, revalidates generation and active stall in rewake_teardown(), blocks replacement F0 bindings via teardown_active until PCI removal finishes, allows replacement-generation startup faults to queue a check while the prior generation's rewake cleans up, uses a dedicated quiesce-only .shutdown, and skips command 9 country updates in wifi_regulatory() when stopping, faulted, or outside stage 2.
Evidence

Host Tests & Static Checks (at 04228e796271)

  • python3 tools/asahi/centauri-recovery-tests.py (+ --negative-controls): PASS
  • python3 tools/asahi/centauri-physical-recovery-tests.py (+ all 8 --mutation controls): PASS
  • python3 tools/asahi/centauri-wifi-pm-tests.py (+ --negative-controls): PASS
  • python3 tools/asahi/centauri-scan-tests.py (+ --negative-controls): PASS
  • python3 tools/asahi/centauri-bt-arena-tests.py (+ --negative-controls): PASS
  • python3 tools/asahi/centauri-wifi-avoid-tests.py (+ --negative-control): PASS
  • make ARCH=arm64 LLVM=1 W=1 KCFLAGS="-Werror" on drivers/mfd/macsmc.o, drivers/soc/apple/sleep.o, drivers/pci/controller/pcie-apple.o, drivers/net/wireless/apple/centauri/t6050/: 0 warnings, 0 errors
  • git diff 5a5531a6e45b..04228e796271 -- drivers/ include/ | ./scripts/checkpatch.pl --strict --no-signoff -: 0 errors, 0 warnings, 0 checks (1376 lines checked)
  • ./scripts/checkpatch.pl --strict --no-signoff --git 5a5531a6e45b..04228e796271: on the first 3 commits (cb8fd175d548, ca94dc057ee6, 0960ced52724), 0 errors, 1 commit-description >75-col warning each, 0 checks; on 04228e796271, 1 commit-description >75-col warning plus 1 error, 82 warnings, 6 checks in tools/asahi/centauri-physical-recovery-tests.c (total 1 error, 83 warnings, 6 checks: space indentation / line length / single-line statement in test fixture)

J716c (M5 Max) Hardware Verification

Clean production build at 04228e796271 (default command line, no debug knobs):

  • wlan0 (192.168.1.110) associated on 5240 MHz:
    • ping -I wlan0 -c 5 192.168.0.97: 5/5 received, 0% loss, avg 4.216 ms
    • ping -I wlan0 -c 3 192.168.0.1: 3/3 received, 0% loss, avg 2.510 ms
  • iw dev wlan0 scan: returned 2.4 GHz and 5 GHz SSIDs cleanly
  • iw reg set US: applied country US: DFS-FCC, 0 firmware country update failed
  • btmgmt info: hci0 powered ssp br/edr le secure-conn cis-central
  • nmcli dev disconnect wlan0 && nmcli dev connect wlan0: re-associated cleanly, post-reconnect ping -I wlan0 -c 3 192.168.0.97 3/3 (0% loss)
  • dmesg: 0 Oops/BUG:/WARNING:/Call Trace/firmware country update failed
  • systemctl --failed: 0 new failed units (only pre-existing aurora-peripherals.service)

Earlier fault-injection build (04228e796271 + temporary local fault hook, prior to clean 04228e796271 build):

  1. Transient fault (injected-transient): logged checking again in 2 s -> N1 firmware fault cleared; no restart.
  2. Persistent fault mux: apple-display-crossbar: replace the T602x selector fields instead of OR-ing them #1 (injected-stalled): warm reset -> link up again after the sleep in 293 ms.
  3. Persistent fault drm/apple: release a stale DPTX link before borrowing a Type-C route #2 (injected-stalled): warm reset -> link up again after the sleep in 288 ms.
  4. Suspend attempt (PM: suspend entry (s2idle)): aborted at dwc3-apple 382280000.usb: PM: device_prepare(): genpd_prepare returns -11 (PM: suspend exit; not a committed deep sleep).
  5. Persistent fault HID: haptics for the Apple SPI trackpad #3 (injected-stalled): warm reset -> link up again after the sleep in 288 ms.
  6. Persistent fault HID: haptics for the Apple SPI trackpad #4 within 30 min: logged N1 firmware stopped again after 3 restarts in 30 min; leaving Wi-Fi down with no 4th restart.

apple_smc_warm_reset() previously read platform_get_drvdata(wr->smc) without
holding device_lock(&wr->smc->dev), leaving runtime (!noirq) callers racing
concurrent macsmc driver unbind and devm freeing of struct apple_smc across
the multi-write reset sequence.

Export apple_smc_warm_reset_lock(), apple_smc_warm_reset_unlock(),
apple_smc_warm_reset_locked(), and apple_smc_warm_reset_ready() so callers
can pin the SMC binding across both preflight and runtime reset
transactions, and use the same device_lock exclusion inside runtime
apple_smc_warm_reset().

Signed-off-by: Erik Bourget <[email protected]>
apple_sleep_radio_port_down(), apple_sleep_radio_rc_ready(), and
apple_sleep_radio_port_wake() previously relied on r->n1_host (populated only
during t6050_sleep_begin()) and !r->committed (which stays false only until
the first committed deep sleep). Calling apple_pcie_t6050_port_recycle()
outside a suspend cycle either failed with -ENODEV before the first sleep or
left the APCIE0 DART GAPF slice gated after a prior committed sleep.

Check t6050_n1_host_bound() directly in the radio port helpers, track
r->n1_gapf_gated explicitly across port down/ready, clear the APCIE0 bit in
r->dart_slice_written when restoring the slice, keep pins_saved updates
scoped to live sleep attempts (r->attempt_active), and export
apple_sleep_radio_port_ready() so callers can preflight sleep-helper support
before destructive teardown.

Signed-off-by: Erik Bourget <[email protected]>
On T6050, pcie-apple probes before apple-dart, so pcie->t6050_dart is only
resolved lazily. Previously that lookup happened only on PM_SUSPEND_PREPARE,
causing runtime apple_pcie_t6050_port_recycle() calls before the first sleep
to fail with -EBUSY. On boards with a sibling port on the same controller
(such as the J714s SD reader), t6050_down also gated config access across
the whole host, failure handling marked the entire host bus disconnected,
shutdown skipped live sibling ports when t6050_down was set, deferred
cold-port wake could race a concurrent port recycle, and a later deep
suspend could park the sibling port without being able to restore it.

Extract apple_pcie_t6050_ensure_dart() under pcie->lock, keep non-noirq
warm-reset status local to apple_pcie_t6050_port_recycle(), assert PERST#
before the warm reset, scope t6050_down config gating, lost-port
disconnection, and shutdown skipping to the radio port hierarchy, serialize
port recycle against deferred sibling cold-port wake via t6050_recycle_lock,
refuse deep sleep before parking a sibling cold port if the radio port is
lost, and export apple_pcie_t6050_can_recycle() plus
apple_pcie_t6050_recycle_lock()/unlock() (all properly
IS_REACHABLE(CONFIG_MFD_MACSMC)-guarded) to pin the SMC binding across
teardown and port recycle.

Signed-off-by: Erik Bourget <[email protected]>
When the T6050 N1 Wi-Fi Alpha firmware unexpectedly leaves execution stage
2 at runtime, commands fail with -EIO and wlan0 stays wedged until reboot
(often surfacing later as 'firmware country update failed: -5' when cfg80211
updates regulatory state after a disconnect).

Detect runtime transport stops across link_worker(), command_reply(),
scan_transport_stopped(), connect_worker(), wait_disconnect(), and hardware
startup failures (set specifically at firmware/transport failure sites in
rom_boot, start_ipc_locked, and radio_start, never on host allocation or
registration errors), and schedule a delayed re-check (2 s) on the ordered
recovery workqueue when the port describes warm-reset properties in DT. Keep
observed stage!=2 separate from sticky command_failed so transient stage
blips clear cleanly without restarting while preserving the DMA fence for
submitted commands with unknown completion.

Serialize both fault_worker() and rewake_worker() against system sleep and
reboot via lock_system_sleep() (with cen_rewake_wq non-freezable) and
cen_active_lock before taking pci_lock_rescan_remove(), eliminating the
AB-BA deadlock between pci_rescan_remove_lock and the PM notifier chain,
preventing concurrent port recycles from racing sibling cold-port parking,
protecting bridge->subordinate lookups against PCI removal, and letting
reboot_notify() drain in-flight workers on direct restart paths (such as
deferred_cad) without deadlocking sys_reboot(). Pin the SMC binding via
apple_pcie_t6050_recycle_lock() for every recovery path that requires port
recycle (both runtime faults and sleep fallback), revalidate generation and
active stall inside rewake_teardown() before quiescing or charging/latching
the 3-in-30-minute rate limit, block replacement F0 bindings via
teardown_active until PCI removal completes, and rescan if a non-ENOLINK
recycle failure leaves the link active. Give .shutdown its own quiesce-only
callback and skip firmware country update (command 9) in wifi_regulatory()
when stopping, faulted, or outside stage 2.

Signed-off-by: Erik Bourget <[email protected]>
@erikwb
erikwb requested review from a team and DjDeveloperr as code owners November 27, 2026 04:13

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict at 04228e796271: no code blockers. It isn't ready to merge yet: CI is still running, and the rows and the Risk line need updating (see below).

Checked

  • SMC lock (cb8fd175d548):
    • Runtime apple_smc_warm_reset() now holds the SMC device_lock and re-checks device_is_bound() across the writes. The noirq path stays lockless, as before.
    • The only runtime caller that holds the lock longer is the T6050 recovery worker, through apple_pcie_t6050_recycle_lock(). apple_pcie_t6050_warm_reset() then uses apple_smc_warm_reset_locked(), so the lock is never taken twice.
    • apple_pcie_t6050_port_recycle() has no other caller.
  • Lock order in the recovery worker:
    • The order is lock_system_sleep() → cen_active_lock → pci_lock_rescan_remove() → the SMC device lock → F0's device lock (teardown) → t6050_recycle_lock → pcie->lock.
    • I found nothing that takes these in reverse:
      • macsmc's own bind and unbind don't touch the PCI functions;
      • apple_pcie_t6050_unpark_cold() takes t6050_recycle_lock before pcie->lock, as port_recycle() does;
      • boot_lock is always taken before wifi->lock (fault worker, teardown, PM callbacks).
    • The SMC lock is dropped before the rescan, so the new F0's probe never runs under it.
    • centauri_t6050_fault_report() takes only cen_recovery_lock, and every call site is in sleeping context.
  • Sleep exclusion:
    • Both workers hold lock_system_sleep(). So a recycle can't overlap a suspend, the PCIe PM notifier, or the sleep driver's state changes.
    • The reboot notifier drains cen_active_lock for the direct restart paths.
    • Dropping WQ_FREEZABLE is consistent with that.
  • Sleep helpers (ca94dc057ee6):
    • The radio-port helpers now check t6050_n1_host_bound() live, and rc_ready() restores the slice from the explicit n1_gapf_gated flag, clearing the APCIE0 bit in dart_slice_written. Together these give the GAPF slice back after a runtime down/up, both before and after the first committed sleep.
    • pins_saved is only touched inside a live sleep attempt.
  • PCIe (0960ced52724):
    • The t6050_down and lost-port handling is now scoped to the radio port, so the J714s SD reader on the same host stays reachable.
    • PERST# is asserted before the warm reset.
    • The runtime result stays local (warm_done), so the noirq t6050_warm_done isn't overwritten.
    • On hosts without a t6050_port, map_bus() and shutdown() behave as before.
  • Recovery policy (04228e796271):
    • It runs only when the bridge describes apple,function-warm-reset and apple,warm-reset-writes, when apple_pcie_t6050_can_recycle() passes, and for the current generation.
    • It re-checks after 2 s and caps restarts at 3 per 30 min.
    • centauri_t6050_stop_recovery() walks the owner list without the lock, which is safe: cen_exiting stops new owners first, and the list holds its own reference.
  • Commits:
    • All four are signed off by the author, with no attribution.
    • checkpatch --strict finds nothing in the kernel files. The three non-Centauri commits each have one commit-message line over 75 columns.
    • In 04228e796271, the 1 error, 83 warnings and 6 checks are all in tools/asahi/centauri-physical-recovery-tests.c: space indentation, long lines, and if (recycle_ret) return recycle_ret; on one line. So the body's "0/0/0" doesn't hold for that file.

Not blocking

  • The comment on centauri_t6050_fault_report() still says "freezable recovery workqueue", but the queue is no longer freezable.
  • apple_pcie_t6050_recycle_lock() takes the SMC binding, not t6050_recycle_lock, so the two names suggest the opposite of what each does.

Before merge

  1. CI: most checks were still running when I posted, including KUnit macsmc, rust-build and host-tests. They need to finish green.
  2. The Risk line:
    • It says non-T6050 Macs don't call apple_smc_warm_reset*(). But centauri/centauri_port.c does, for J813, J815 and J873g, and its runtime warm reset now takes the SMC device lock.
    • So the shared macsmc change needs a row on one of those boards: a Centauri warm-reset restart.
    • J313 and J713 run none of the changed code. They have no Centauri driver, and the PCIe changes only act on T6050.
  3. Rows at the exact head:
    • J716c: the row at this head covers a clean boot and normal Wi-Fi and Bluetooth use. The recovery sequence ran on a build with a local fault hook. Either run one forced recovery at this head, or name the exact tree of the injection build (this head plus the hook only).
    • J714s: a runtime recycle while the SD reader on port 1 is in use, then a deep sleep (already under Not yet).

@github-actions github-actions Bot added area:gpu Area from CODEOWNERS (bot) area:platform Area from CODEOWNERS (bot) area:power Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 27, 2026
@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

Merge readiness at 04228e79: not ready yet

Check Detail
CI at head running running: KUnit jpeg, KUnit prores, KUnit scaler, KUnit macsmc, KUnit clpc, KUnit trusted-keys
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok in the PR body at 04228e79
Conflicts ok none
PR text ok Risk: two-way · M5 (T6050: J716c, J714s) and Centauri SMC warm-reset boards (J813, J815, J873g via centauriport.c calling applesmcwarmreset()); J313, J713, and other Macs without Centauri do not execute the changed paths

Areas: area:gpu, area:platform, area:power

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@erikwb

erikwb commented Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Updated the PR body at 04228e796271 without changing code or invalidating CI/hardware rows:

  1. CI: At 04228e796271, 27 check runs (apple-build, host-tests, rust-build, KUnit macsmc, pr-text, pr-readiness, etc.) succeeded with 1 queued readiness check run at the time of snapshot (since completed: 28/28 successful).
  2. Risk and Not yet: Corrected **Risk:** to include J813, J815, and J873g (since drivers/net/wireless/apple/centauri/centauri_port.c:77 calls apple_smc_warm_reset(&wr, false)), while noting that J313, J713, and Macs without Centauri do not execute any changed paths. Added J813/J815/J873g alongside J714s under **Not yet:** as external hardware not available in the lab.
  3. J716c rows and Evidence accuracy:
    • Scoped the clean 04228e796271 J716c row accurately (including the 3e4078f656d5 boot/non-sleep regression pass: wlan0 5 GHz 0% gateway loss, hci0 powered, 0 new failed units, 0 LSM denials, 0 Centauri/PCIe/SMC errors; committed deep sleep and forced runtime N1 recovery remain under **Not yet:** as the clean build has no fault trigger and s2idle did not wake via RTC alarm) and corrected the prior local fault-injection summary (noting that the suspend step in that run entered s2idle and aborted in dwc3-apple -11 rather than a committed deep sleep).
    • Fixed the host test list to the 6 Centauri test suites present in tools/asahi/ (centauri-recovery-tests.py, centauri-physical-recovery-tests.py, centauri-wifi-pm-tests.py, centauri-scan-tests.py, centauri-bt-arena-tests.py, centauri-wifi-avoid-tests.py) and scoped the 0 errors, 0 warnings, 0 checks checkpatch.pl --strict line to drivers/ and include/, noting the 1 commit-description >75-char checkpatch warning on each of the first 3 commits (cb8fd175d548, ca94dc057ee6, 0960ced52724) as well as the 04228e796271 commit-description warning and tools/asahi/centauri-physical-recovery-tests.c findings (1 error, 82 warnings, 6 checks).
  4. Non-blocking nits: Noted the stale "freezable" comment on centauri_t6050_fault_report() (drivers/net/wireless/apple/centauri/t6050/centauri_pci.c:1162) and the apple_pcie_t6050_recycle_lock() vs t6050_recycle_lock naming for a follow-up cleanup PR.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved at this head. The earlier pass here found no code blockers: the SMC warm reset now runs under the SMC device lock, with a locked variant for the T6050 recovery worker; the worker's lock order has no reversal; and the sleep exclusion holds. The body now names J813, J815 and J873g in Risk. Rows at this head:

  • J714s (M5 Pro), kernel main 07cb39a2 + this PR: Wi-Fi associated with 0 % loss and Bluetooth powered. After a deep sleep the link came back in 281 ms, the same as the default kernel. The forced firmware stop wasn't exercised (no trigger in a clean build).
  • Neo (J700), a second generation for the shared SMC and PCIe code, in a candidate carrying this head unchanged: Wi-Fi and Bluetooth up before and after one deep sleep, 0 SMC or PCIe errors, no new message types.

@DjDeveloperr

Copy link
Copy Markdown
Contributor

J700 (Neo, G17P) row at combined SHA 936d72d0 (wip/ewb-g17-rows-20261130 = main fe9af4b6 + #3684 + #3407 + #3306 + #3415 + #3346)

Kernel: one-shot trial boot 472ed0ed with the dead-man timer and the default command line. Stock Fedora -41 was restored and verified afterwards.

  • Built warm from an existing J700 tree; the source tree was verified to equal 936d72d0 (tree 9da3305d).
  • Image sha256 27185481, aurora.ko sha256 625c14e8, vmlinux build ID a7620fb3.

Results

  • GPU use on the KDE desktop: gpubench 4-queue render (per-queue CRC ok), 2-queue compute, concurrent render + compute, vkcube --c 300 on Wayland. All completed.
  • GPU effort after work: effort_full was true during work (48/49 samples) and cleared within about 0.3 s of idle.
  • Host hold at the default idle_off_delay_ms=2: stayed off.
  • Host hold at idle_off_delay_ms=50: on during work (18 samples), released as soon as the work ended, and stayed off through 5 s of idle.
  • Wi-Fi (wld0) connected and Bluetooth (hci0) powered, before and after the sleep.
  • One test sleep (rtcwake -m mem -s 30, deep): suspended and resumed on the same boot. Afterwards Wi-Fi was up and a GPU render readback was valid. During suspend entry the log had one line, dwc3-apple 40a280000.usb: PM: device_prepare(): genpd_prepare returns -11; the suspend still completed.
  • 0 GPU faults, timeouts or submission errors; 0 WARN, 0 AVC; 0 failed units (stock: 0).
  • Kernel error lines: 11, against 12 on a stock boot, with no new kinds. SMC 0 and PCIe 0, before and after the sleep.

This PR: Wi-Fi was up and listed networks before and after the test sleep, with 0 PCIe or SMC error lines. The N1 warm-reset recovery path itself (a stopped firmware) was not triggered on this run.

@github-actions github-actions Bot removed the needs-review No approving review from Core or Omarchy Mac yet (bot) label Dec 1, 2026
@DjDeveloperr
DjDeveloperr merged commit 118742b into main Dec 1, 2026
68 of 81 checks passed
@DjDeveloperr
DjDeveloperr deleted the fix/centauri-t6050-recovery branch December 1, 2026 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:gpu Area from CODEOWNERS (bot) area:platform Area from CODEOWNERS (bot) area:power Area from CODEOWNERS (bot) blast:m5 Macs affected, from Merge risk (bot) door:two-way Revertible or not, from Merge risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants