Repository navigation
PCI/ASPM: add sleep L1SS suppression and deferred D0 PM recheck - #3495
Conversation
Add core PCI/ASPM support for host controllers that must keep L1 PM Substates disabled across system sleep and defer PCI-PM L1.1/L1.2 re-enable until both ends of a link reach D0. Introduce pcie_aspm_l1ss_sleep_begin_locked(), pcie_aspm_l1ss_sleep_end(), and pcie_aspm_l1ss_hw_exec() serialized by an IRQ-safe leaf spinlock (aspm_l1ss_hw_lock, compiled for both CONFIG_PCIEASPM=y and =n) plus aspm_lock under CONFIG_PCIEASPM=y. Global lock order is pci_rescan_remove_lock -> pci_bus_sem -> aspm_lock -> host hib_l1ss_lock -> aspm_l1ss_hw_lock -> pci_lock. Store aspm_sleep_disable and aspm_hw_l1ss as standalone u8 fields outside struct pcie_link_state's aspm_lock bitfield word, and store aspm_pcipm_deferred and aspm_l1ss_resync as standalone u8 fields on struct pci_dev, so atomic restore paths never perform unlocked bitfield RMWs. Wrap pci_save_pcie_state(), pci_restore_pcie_state(), pci_set_low_power_state(), and pci_pm_reset()'s D3hot PMCSR write under aspm_l1ss_hw_lock, and validate all four L1SS register reads before committing in pci_save_aspm_l1ss_state_locked() so a D3cold 0xffffffff read cannot corrupt saved timing. Have pci_restore_aspm_l1ss_state() mask suppressed or non-D0 PCI-PM bits before writing and compare both ends against aspm_hw_l1ss so both missing and stale-enabled substates set aspm_l1ss_resync and force reprogramming on the next policy pass. Propagate config-access errors from pcie_config_aspm_dev(), pcie_config_aspm_l1ss() (unwinding child-first on partial failure), and pcie_config_aspm_link_locked() through pcie_aspm_l1ss_sleep_end(), re-arming aspm_sleep_disable and setting aspm_l1ss_resync on error so callers can retain recovery records and retry cleanly. Add pci_host_bridge->pm_state_change() and notify both core ASPM and host bridges from pci_pm_default_resume_early(), pci_pm_runtime_resume(), pci_set_power_state() on D0 entry, and pci_pm_reset() after returning to D0, dispatching deferred core ASPM reconciliation via a preallocated freezable work item on system_freezable_wq. Signed-off-by: Erik Bourget <[email protected]>
…CI-PM Switch apple_pcie's sleep L1SS teardown, suspend recheck, and restore to pcie_aspm_l1ss_sleep_begin_locked(), pcie_aspm_l1ss_sleep_end(), and pcie_aspm_l1ss_hw_exec() so L1SS/LNKCTL/PMCSR hardware sequences serialize with pci_rescan_remove_lock, pci_bus_sem, aspm_lock, hib_l1ss_lock, and aspm_l1ss_hw_lock across both CONFIG_PCIEASPM=y and CONFIG_PCIEASPM=n. Keep prepare's bounded hotplug-safe runtime-PM pin and drain loop before walking the bus under pci_lock_rescan_remove(), hold hib_l1ss_lock across pending-record inspection and drain, and run each link's CTL2/CTL1/LNKCTL snapshot together with hardware teardown inside pcie_aspm_l1ss_hw_exec(). In apple_pcie_hib_recheck_l1ss_link(), pre-allocate the recovery record before modifying hardware and retain it whenever L1SS was cleared or core suppression was armed. Check unmanaged D0 state inside pcie_aspm_l1ss_hw_exec() so pci_set_low_power_state() and pci_pm_reset() cannot transition an endpoint out of D0 before PCI-PM L1SS enable bits are written. Route all non-removal restore errors (driver config/D3cold errors, double-failed LNKCTL restore during normal completion, and core-managed pcie_config_aspm_link_locked() errors returned by pcie_aspm_l1ss_sleep_end()) through apple_pcie_hib_retain_failed(), retaining the recovery record in hib_l1ss_pending with timing_pending set, preserving intended LNKCTL values and rollback_pending when LNKCTL restore fails, and queueing a bounded worker retry when both ends are in PCI_D0. Route deferred unmanaged PCI-PM L1.1/L1.2 restores and timing retries through a freezable work item (hib_l1ss_work on system_freezable_wq) scheduled locklessly from bridge->pm_state_change(). Keep hib_l1ss_pending_cnt elevated while a pending record is active (including on the worker's retry list) and re-check D0 after splicing retry entries back into hib_l1ss_pending. Release the sleep-window runtime-PM pins on complete/rollback/free, purge both hib_l1ss and hib_l1ss_pending on BUS_NOTIFY_DEL_DEVICE, and cancel hib_l1ss_work before taking pci_lock_rescan_remove() in remove/cleanup paths. Extend tools/asahi/pciec-policy-tests.py to cover core-managed and unmanaged D3hot defer, pci_pm_default_resume_early() notification, atomic-safe save/restore and D3cold 0xffffffff validation, aspm_hw_l1ss resync forced reprogramming, core L1SS enable-error unwind and retry, double-failed LNKCTL restore retention, hotplug during runtime-PM drain, PMCSR/reset/LNKCTL locking, BUS_NOTIFY_DEL_DEVICE purging, and negative mutation controls. Signed-off-by: Erik Bourget <[email protected]>
|
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: HOLD at b886f11a
Blockers:
- Targets open non-default base branch
feat/t8103-pcie-l1ss-sleep(#3494). Retarget tomainonce#3494merges so fullmainCI runs on the final diff. - Missing exact-head hardware sleep/resume row on the merged
mainbase.
Checked:
0dd1485a(PCI/ASPM core sleep L1SS suppression +aspm_l1ss_hw_lock+ deferredaspm_pm_workonsystem_freezable_wq) andb886f11a(pcie-apple.cintegration) cleanly implement part 2 of the#3221split;MERGEABLEagainstfeat/t8103-pcie-l1ss-sleep.- Checked for Apple material, tool attribution, and private serials: clean; human
Signed-off-bypresent.
Evidence
- Head:
b886f11a(base: feat/t8103-pcie-l1ss-sleep,mergeable: MERGEABLE,+3042/-297across 8 files).
Forward-merge main (62675fa, including merged #3494) into feat/pci-aspm-l1ss-sleep-core (b886f11 -> HEAD) with zero conflicts. All eight PR-modified files under drivers/pci/, include/linux/pci.h, and tools/asahi/pciec-policy-tests.py remain byte-identical to a90a2bf..b886f11. Signed-off-by: Erik Bourget <[email protected]>
|
Acknowledged the
|
There was a problem hiding this comment.
Verdict: FINISH at a53f57492079
Blockers: The base issue is resolved. Keep the lockdep runtime check, live dock regression and isolation of the J313 post-wake ISP fault outstanding. The current grouped test cannot attribute the fault.
Checked: All eight PR-path blobs are identical to the prior review, #3494 has merged and this PR now targets main. The current tests cover undocked J713 wake and grouped J313 wake.
Evidence
Compared the current head, prior review and current PR receipts.
|
Lockdep run and standalone matched pair on J313 (M1 MacBook Air,
Lockdep: no report on either kernel. On the test kernel, lockdep registered the PR's L1SS lock classes and the paths ran across both sleep types. That closes the lockdep item. ISP isolation: not conclusive this time. The J313 is docked (Thunderbolt dock with Ethernet and an external display on Still open: the undocked J313 deep-wake ISP pair, and the live TB5 dock regression on J713 (needs the dock attached there). Evidence
|
There was a problem hiding this comment.
Verdict: MERGE at a53f57492079
Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.
Checked: All eight PR-path blobs are identical to the prior review, #3494 has merged and this PR now targets main. The current tests cover undocked J713 wake and grouped J313 wake.
Follow-ups (not blocking): lockdep runtime check, live dock regression, isolate J313 post-wake ISP fault (reproduces on main per #3506)
|
Updated the PR body at
|
DjDeveloperr
left a comment
There was a problem hiding this comment.
Reviewed PMCSR and L1SS serialization, deferred D0 rechecks, and restoring saved state through suspend and device removal. Apple build, host tests, PCI-related KUnit, and the J313/J713 rows passed. The three red KUnit jobs stopped in Ubuntu package setup before tests ran.
What: Add shared PCI/ASPM core sleep L1SS suppression (
pcie_aspm_l1ss_sleep_begin_locked(),pcie_aspm_l1ss_sleep_end(),pcie_aspm_l1ss_hw_exec()), IRQ-safeaspm_l1ss_hw_lockserialization across PCI config save/restore/low-power/reset paths, deferred D0 PCI-PM L1.1/L1.2 recheck (aspm_pm_workonsystem_freezable_wq), and apci_host_bridge->pm_state_change()hook; integratedrivers/pci/controller/pcie-apple.cwith these core interfaces. Part 2 of the split requested on #3221, forward-merged ontomain(62675fa56aba, which includes merged part 1 #3494d95848ae72b4).Tested: Offline checks pass at merged head
a53f57492079(all 8 PR-modified files byte-identical toa90a2bfab82d..b886f11afb33against62675fa56aba,W=1CONFIG_PCIEASPM=y/nbuilds 0 warnings/errors,checkpatch.pl --strictclean, all 7 host suites pass, andapple-spmi-nvmem+trusted-keysKUnit suites pass via local QEMU runs); hardware checks ata53f57492079passed on J313 (T8103standaloneCONFIG_PROVE_LOCKING=ymatched pair vsmain62675fa56aba:debug_locks: 1, 0 lockdep/RCU/sleep-in-atomic reports,aspm_l1ss_hw_lockandhib_l1ss_lockexercised across boot, docked deep S2R attempt, and 2xs2idle, Wi-Fi ASPM L1/ClockPM+/L1.1/L1.2 + ISP capture + smoke clean), J716c (T6050,pm_test=devices/platform,Clock PMoff unchanged), J713 (T8132, undocked BCM4388 ASPM L1/L1SS + 2xs2idle; one new non-repeating boot-timebrcmfmacring error of unknown cause), and J313 (T8103, Group A PCI/Wi-Fi ASPM L1/ClockPM+/L1SS + 2x deep resume; same Group A boot had an unisolated post-first-resume ISP-19/DART fault where baselinemainpassed before becoming unreachable on its 2nd cycle, and unmodifiedmainlater reproduced that ISP fault on #3506). See Evidence for digests, exact counts, and priorb886f11afb33rows.Risk: two-way door · touches shared PCI core PM/ASPM paths (
drivers/pci/{pci,pci-driver,probe,pci.h,pcie/aspm}.c,include/linux/pci.h) affecting all Macs, plusdrivers/pci/controller/pcie-apple.c.Revert:
git revert -m 1 <merge_commit>onmain(reverts the eventual GitHub merge commit cleanly). Kernel driver and host-test changes only; no persistent ESP, Stage 2, DT, or on-disk state is modified.Not yet: TB5 dock/I225 runtime-PM churn re-run at merged head
a53f57492079on J713 (no TB device attached to J713; verified at byte-identicalb886f11afb33); undocked J313 deep-wake isolation of the post-first-S2R ISP-19/DART fault (J313 is currently docked, whereapple-dcprefuses deep S2R-16before sleep on bothmain62675fa56abaanda53f57492079; unmodifiedmainalready reproduces the fault on #3506; clean isolation requires physically unplugging the J313 dock); real unattendeds2idle/deepsuspend on J716c (T6050, limited topm_test=devices/platformbecauseapple-pmu-rtccannot wake J716c unattended); and untested external Mac families (M2 / M3 / M4 Pro / M5 Pro / Neo, no hardware in local lab).Details
Forward merge onto
main(a53f57492079)#3494,feat/t8103-pcie-l1ss-sleep) landed inmainatd95848ae72b4.origin/main(62675fa56aba) intofeat/pci-aspm-l1ss-sleep-core(b886f11afb33->a53f57492079) with zero conflicts.cmp -s <(git diff a90a2bfab82d..b886f11afb33) <(git diff 62675fa56aba..a53f57492079)confirms all 8 PR-modified files are byte-identical.git merge-tree --write-tree origin/main a53f57492079against currentmain(a171afd2123f, including merged#2215) completes conflict-free (ef8f8723a9e9);apple_pcie_hib_links_no_l1_2()callspci_disable_link_state_locked()inapple_pcie_resume()whileaspm_sleep_disableholds L1SS off, andapple_pcie_complete()later runspcie_aspm_l1ss_sleep_end(), which restores L1SS timing only and respectslink->aspm_disablewhen re-applying ASPM.PCI/ASPM core (
0dd1485a290e)aspm_l1ss_hw_lock(compiled for bothCONFIG_PCIEASPM=yandCONFIG_PCIEASPM=n) serialized under the global orderpci_rescan_remove_lock -> pci_bus_sem -> aspm_lock -> host hib_l1ss_lock -> aspm_l1ss_hw_lock -> pci_lock.u8 aspm_sleep_disableandu8 aspm_hw_l1ssonstruct pcie_link_state(outside theaspm_lock-protected bitfield word) and standaloneu8 aspm_pcipm_deferredandu8 aspm_l1ss_resynconstruct pci_dev, eliminating unlocked bitfield RMWs in atomic config-restore paths.pci_save_pcie_state(),pci_restore_pcie_state(),pci_set_low_power_state(), andpci_pm_reset()'s D3hot PMCSR write underaspm_l1ss_hw_lock.pci_save_aspm_l1ss_state_locked()so D3cold0xffffffffreads cannot overwrite valid saved timing.pci_restore_aspm_l1ss_state_locked()and compares both ends againstaspm_hw_l1ssso both missing and stale-enabled substates setaspm_l1ss_resyncand trigger forced reprogramming.pci_host_bridge->pm_state_change()and notifies both core ASPM (aspm_pm_workonsystem_freezable_wq, gated byaspm_pcipm_deferred) and host bridges frompci_pm_default_resume_early(),pci_pm_restore_standard_config()(viapci_pm_notify_resume()),pci_set_full_power_state()/pci_set_low_power_state()refusal on D0, andpci_pm_reset()after returning to D0.pcie_config_aspm_link_locked(), never writes PCI-PM L1.1/L1.2 enable bits while either end is outside D0, propagates config-access errors throughpcie_l1ss_ctl1_update(),pcie_config_aspm_dev(),pcie_config_aspm_l1ss()(child-first unwind on partial failure), andpcie_aspm_l1ss_sleep_end()(unwinding CTL1 child-first on post-L1SS LNKCTL failure, preservingaspm_l1ss_resyncacross retries, re-armingaspm_sleep_disableon sleep-end error, and clearingaspm_pcipm_deferredon sleep-end error while preserving it on worker error outside sleep suppression).Apple PCIe integration (
b886f11afb33)pcie_aspm_l1ss_sleep_begin_locked(),pcie_aspm_l1ss_sleep_end(), andpcie_aspm_l1ss_hw_exec(), keeping.prepare()'s bounded hotplug-safe runtime-PM pin/drain loop and running snapshot+teardown atomically underaspm_l1ss_hw_lock.0xffffffff, double-failed LNKCTL restore, and core L1SS enable errors) throughapple_pcie_hib_retain_failed(), retaining recovery records onhib_l1ss_pending(withtiming_pending, plusrollback_pendingand intended LNKCTL values when LNKCTL restore fails) and scheduling bounded retries viahib_l1ss_workonsystem_freezable_wqfrombridge->pm_state_change().hib_l1ssandhib_l1ss_pendingonBUS_NOTIFY_DEL_DEVICEand cancelshib_l1ss_workbefore takingpci_lock_rescan_remove()in remove/cleanup paths.Evidence
Commits (based on
main62675fa56aba)0dd1485a290ePCI/ASPM: add sleep L1SS suppression and deferred D0 PM recheckb886f11afb33PCI: apple: serialize sleep L1SS with ASPM core and defer unmanaged PCI-PMa53f57492079Merge origin/main into feat/pci-aspm-l1ss-sleep-coreOffline build, lint, host tests, and KUnit at
a53f57492079cmp -s <(git diff a90a2bfab82d..b886f11afb33) <(git diff 62675fa56aba..a53f57492079)— exit 0 (all 8 PR-modified files byte-identical).make O=_build_aspm_y ARCH=arm64 LLVM=1 W=1 drivers/pci/{pci,pci-driver,probe,pcie/aspm,controller/pcie-apple}.o(defconfig+asahi.config,RUST=n,CONFIG_PCIE_APPLE=m,CONFIG_PCIEASPM=y) — 0 warnings, 0 errors.make O=_build_aspm_n ARCH=arm64 LLVM=1 W=1 drivers/pci/{pci,pci-driver,probe,pcie/aspm,controller/pcie-apple}.o(defconfig+asahi.config,RUST=n,CONFIG_PCIE_APPLE=m,CONFIG_PCIEASPM=n) — 0 warnings, 0 errors../scripts/checkpatch.pl --strict --git 62675fa56aba..a53f57492079: 0 errors, 0 warnings, 0 checks (0dd1485a290e: 1065 lines;b886f11afb33: 3180 lines);git diff --check 62675fa56aba..a53f57492079: clean.a53f57492079:python3 tools/asahi/pciec-policy-tests.py: 86/86 PASS (positive + negative mutation controls, ASan+UBSan).python3 tools/asahi/pcie-adopted-clkpm-tests.py: 13 production cases; 2 negative controls PASS.python3 tools/asahi/radio-pm-tests.py,radio-sleep-fence-tests.py,radio-sleep-power-tests.py,radio-sleep-snapshot-tests.py: PASS.python3 tools/asahi/binding-lifetime-tests.py: 3/3 PASS.a53f57492079(./tools/testing/kunit/kunit.py run --arch=arm64 --make_options LLVM=1):drivers/nvmem/apple-spmi-nvmem.kunitconfig: 2/2 passed.security/keys/trusted-keys/tests/.kunitconfig: 8 passed, 1 skipped (trusted_source_after_mark_readonlywhen built-in).a53f57492079:Host tests,MT7932 KUnit,pr-text,apple-build,KUnit ane-boot,KUnit ane-pm,KUnit dcp-fabric, andKUnit dcp-topologypassed; the remaining 12Apple build and KUnitjobs in run46199770227(attempt 3) were cancelled before starting steps after sitting queued ~4 h (attempt 1 failedapple-spmi-nvmemandtrusted-keysinInstall kernel build and QEMU dependencies).Hardware verification at
a53f57492079T8103, docked, default cmdline, one-shotaura-tryStage 2 + GRUB trial) standaloneCONFIG_PROVE_LOCKING=ymatched pair (a53f57492079vsmain62675fa56aba):main62675fa56aba,CONFIG_PROVE_LOCKING=y): SHA-256bc7f227a01d57d447b9f8f544ca7f281e1c2c1ce78f257343c83c13584e54186.a53f57492079alone,CONFIG_PROVE_LOCKING=y): SHA-2567ee4d934a0a5e9385eb71d39825451c293c865bcda19a910020c03991aeda272.git diff control testis the 8 PR files only; both booted with identical trial Stage 2 SHA-256ebf270451dfae099a118f68d98da0d2587ebb69d26affa48dac70a68e7844838(defaultboot.bin1262bc5d…and default kernel untouched).s2idle(30 s):debug_locks: 1, 0 lockdep/RCU/sleep-in-atomic reports, 0 Oops/BUG/WARN/SError on both kernels; test kernel registeredaspm_l1ss_hw_lockfrom boot andhib_l1ss_lockafter the first sleep (4 -> 10 -> 11class entries).ASPM L1,ClockPM+, and L1.1/L1.2 enabled before sleep, after the deep S2R attempt, and after 2xs2idle(wlan00% loss at each probe) on both kernels.v4l2-ctl -d /dev/video0 --stream-mmap=4 --stream-count=90) before and after the sleep attempt completed cleanly (off-0) on both kernels; display, input, network, audio enumeration, GPU compute + render, and AVC smoke all passed;err+counts identical (20total,12new vs boot baseline).dcpext), so deep S2R was refused before SoC sleep on both control and test (apple-dcp 271c00000.dcp: PM: failed to suspend: error -16); the post-wake ISP fault did not occur on either, and clean isolation still requires an undocked deep S2R (unmodifiedmainalready reproduces the fault on#3506).3545ebecb76f(origin/mainb897ccb4e71c+ 18 open PR heads; 8/8 PR files blob-identical):Image.gzSHA-256d56efde4c7232208bd29d5c4e5890319e0050595dd4f4b1c3844df6656a08312,t6050-j716c.dtbSHA-256d2f0db7a5026ae9cc4e1cff61dca38b4d1b363d47e5bad696ef65c7d715517e0, stripped modules SHA-2569d5782bcf02ea60a225278c9319431f902b495f6beb485d79d127c0fb2fccc92, one-shotaura-tryStage 2 SHA-256b7d99286395ddd7dadccc6d9593f4bd55391d9e787af97c18b45f58688d9885d(default Stage 221edee972e1ff1718c6f41c32b91ee151afdc58cbb69f16f2f6a4d8d4c722170and default kernelbf2582ab357573db64031f39e7bc9d617eb574c6b221364ff417810bbddf4c87unchanged).Clock PMoff unchanged on00:00.0,01:00.0,01:00.1,01:00.2(ClockPM-,ASPM Disabled,L1SubCtl1controls clear); 2xpm_test=devices(freeze) + 2xpm_test=devices(mem) + 2xpm_test=platform(freeze) (rc=0,suspend_stats fail=0),wlan00% packet loss after each cycle, 0 PCIe/ASPM/AER lines. Reals2idle/deepnot run (apple-pmu-rtcalarm cannot wake J716c unattended);CONFIG_PROVE_LOCKING=ynot enabled in this kernel.eDP-13456x2234@120enabled; 4 input devices enumerated;wlan03/3 gateway ping 0% loss;AppleJ716+AppleJ716HPAIwithspeakerguarddv2 active (no playback outside#3085); BorealisApple M5 Max (G17C B1)+renderD128+vkcube --c 180 --wsi waylandclean; 0 failed user units, 0 new failed system units (aurora-peripherals.servicealso fails on default Stage 2 after warm reboots), 0 LSM denials (capability,landlock,yama, no SELinux/AppArmor), 0 Oops/BUG/fault lines (err+40 vs 55 on default boot, none beyondPM: suspend debugand DPMS syslog lines). Redacteddmesgexcerpt:[ 1.250760] sn201202x 1-08: port controller ready;[ 5.907044] apple-dcp 392e00000.dcp: RTKit: syslog message: ... fControllerPowerState 0 ...;[ 135.265810] PM: suspend entry (s2idle)/[ 140.691796] PM: suspend exit(pm_test=devices).panic=10, no CalDigit TS5 or external monitor attached) in batched trial kernel76649338a1bc(over J713 daily base8dbfa2895b93; 7/7 runtime files blob-identical,tools/asahi/pciec-policy-tests.pyhunks-present):e8e9fd2813dd6347176d0e4a55a70d1c694bdab75817c3ab83c441c203140491,t8132-j713.dtbSHA-256ceacf1d413c651396f4c1dfd9fa27b15c710dd849e46c2753fcff0a23a6681c6, one-shotaura-tryStage 2 SHA-256f7d4e2f7ebbfb423bd71f233f1aef7af0a39091b288a749d25f9250eb80adbfa(default Stage 23b2d2f059858d1891b225910864c02d68afb1b42893667e0afa8666491651071and default kernel592f7bc8834d8796d5bdb086091e90ac96fc6a17a83769cbadc92b3268604c49unchanged).0000:01:00.0) reportsASPM: default states L1,LnkCtl: ASPM L1 Enabled,L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+, runtimeactive,power/controlon; 5xwlan0down/up -> operstateup, gateway ping 0% loss (rtt min/avg/max 12.951/13.534/14.118 ms); 2xs2idle(rtcwake -d rtc1 -m freeze -s 20) ->wlan0 up, ping 0% loss (14.533/13.453 ms),0newerr+lines during the two testeds2idlecycles, same ASPM boot lines as default kernel. TB5 runtime-PM churn was not exercised (no Thunderbolt device attached, no NHI PCI class device present).eDP-12560x1664@60enabled; input enumerated;wlan03/3 gateway ping 0% loss;AppleJ713+AppleJ713HPAI+AppleJackwithspeakerguardd-v2active and protected-sink 1 s 440 Hz tone rc 0; BorealisApple M4 (G16G B0)+glmark2-es2-wayland5,099; 0 failed system/user units; 0 AppArmor denials (no SELinux);err+4 lines = 3 baseline lines plus one new, non-repeating boot-timebrcmfmacerror of unknown cause ([ 9.238552] brcmfmac 0000:01:00.0: brcmf_pcie_ring_mb_update_rptr: ring 4: r_ptr 0 outside depth 0, 0 occurrences in the previous 8 boots, never repeated across 5xwlan0down/up or 5s2idlecycles; no PR in the batch touchesbrcmfmac). Redacteddmesgexcerpt:[ 0.971231] apple-dcp 30ae00000.dcp: AFK[ep:20]: failed to extract init props: -2;[ 2.884802] aurora-g16 302600000.gpu: G16: firmware at READY, starting the backend;[ 9.238552] brcmfmac 0000:01:00.0: brcmf_pcie_ring_mb_update_rptr: ring 4: r_ptr 0 outside depth 0;[ 22.468225] apple-dcp 30ae00000.dcp: v27 idle cache active (mem=51117696 host=1).mainee36fbdcd1c8+#3085,#3290,#3329,#3333,#3495,#3506,#3546,#3289,#3320; all changed PR files verified byte-identical):888c041944da96032a9252504c4d5543b906fd98717234eca5e091150af85798, one-shotaura-tryStage 2 image SHA-256949dc089ed390b7535dd5ef2a6e99975c3026658e58dbd9d17e9b20d2bbb7d71(default Stage 21262bc5de585fc57e34c36f10560522d4b231be4f9ac7e45066bc4e364f95484and default kernel7b4eda418e92d4403c7018894108026bb65ac9fe3958d80028fce549918306f7unchanged).ASPM L1,ClockPM+, and L1.1/L1.2 sub-states enabled before and after 2xdeepS2R (rtcwake -d rtc1 -m mem -s 30,success 0 -> 2), 16 MB RAM integrity PASS, DPMS off/on x3 PASS, 0 Oops/BUG/WARN, boot smoke pass (eDP-1connected/enabled, input,wlan0gateway ping, audio enumerated, Borealis compute/renderApple M1 (G13G B1)), 0 AVC denials (no SELinux), 1 baseline failed unit (speakerguardd-v2-switchtest.service, also present on baselinemainee36fbdcd1c8). Same Group A boot saw an unisolated post-first-S2R ISP capture failure (apple-ispfirmware boot-19/ DART translation fault) where baselinemain(ee36fbdcd1c8, kernel SHA-256f750b04aebd30c439edbd3b995c17b3fd9ad805a4561dadc7ecbf78040c89289) captured cleanly after its first deep S2R (and later became unreachable after its second deep S2R; unmodifiedmainlater reproduced the ISP fault on#3506).b886f11afb33(before forward-merge ontomain62675fa56aba):b886f11afb33:ARCH=arm64 LLVM=1 W=1ondrivers/pci/{pci,pci-driver,probe,pcie/aspm,controller/pcie-apple}.o+ fullvmlinux+modules+modpostwithCONFIG_PCIE_APPLE=min bothCONFIG_PCIEASPM=yandCONFIG_PCIEASPM=n(0 warnings, 0 errors);tools/asahi/pciec-policy-tests.py(86/86 positive + negative mutation controls, ASan+UBSan),radio-{pm,sleep-fence,sleep-power,sleep-snapshot}-tests.py, andbinding-lifetime-tests.py(3/3): all PASS.pcie_aspmpolicy[default]. Pre-sleep, post-s2idle(rtcwake -d rtc1 -m freeze -s 8), post-deepmux: apple-display-crossbar: replace the T602x selector fields instead of OR-ing them #1, and post-deepdrm/apple: release a stale DPTX link before borrowing a Type-C route #2 (rtcwake -d rtc1 -m mem -s 8):00:00.0&01:00.0keepASPM L1 Enabled,ClockPM+(01:00.0),L1SubCtl1: PCI-PM_L1.2+ PCI-PM_L1.1+ ASPM_L1.2+ ASPM_L1.1+,L1SubCtl2: T_PwrOn=6us. Live kprobes:pcie_aspm_l1ss_sleep_begin_locked=4,pcie_aspm_l1ss_sleep_end=2,pcie_aspm_pm_state_change_deferred=7. Wi-Fi gateway ping 0% packet loss after every cycle (2.76-5.14 ms); 0 Oops/BUG/WARNING/SError/L1SS restore warnings.pcie_aspmpolicy[powersupersave], live BCM4388 (0000:01:00.0L1SS +ClockPM+) + Intel JHL9480 Thunderbolt 5 dock (0001:00:00.0..0001:02:03.0) + I225 Ethernet (0001:03:00.0). Runtime-PM churn across0001:02:0{1,2,3}.0kprobes:pci_pm_runtime_resume=9,pci_pm_runtime_suspend=9,pcie_aspm_pm_state_change_deferred=18,pcie_aspm_pm_work_fn=0. 1xs2idle(rtcwake -d rtc1 -m freeze -s 8) clean; 0 failed units; 0 Oops/BUG/WARNING/SError.pcie_aspmpolicy[default]. Boot log confirmspci 0000:01:00.0: Clock PM off: the host does not handle CLKREQ#;00:00.0/01:00.0keepASPM DisabledandL1SubCtl1all-. 2xpm_test=devicescycles (echo devices > /sys/power/pm_test; echo freeze > /sys/power/state, restored to[none]) pass cleanly; Wi-Fi 0% packet loss; 0 PCIe/ASPM/AER/Oops/BUG/WARNING/SError.