Repository navigation
wifi: apple: centauri: Drop the alpha_sleep_untested parameter - #3728
Conversation
The Alpha host-power and ACIPC sleep handshake has run by default since the J813/J815 deep sleep rows, and the board gate is gone. The module parameter only lets a user turn off the handshake the firmware needs before a deep sleep; without it the firmware aborts the sleep about a minute in. Remove it, so the handshake always runs for a deep sleep (pm_suspend_via_firmware()) and never across s2idle, as before. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
There was a problem hiding this comment.
Verdict: MERGE at cd9bb4d
Checked: the full diff. alpha_sleep_untested defaulted to 1, so !wifi || !pm_suspend_via_firmware() is the old condition at the default. The handshake still runs only for a deep sleep and never across s2idle. The comment moved with the code; no other use of the parameter remains.
Follow-ups: none. The merge gate still needs one N1 deep-sleep row (J813/J815/J873).
|
Merging at cd9bb4d under the 12-01 bar: one non-author approval + local proof while linux PR CI is ~19 h behind (B1-CI-REVIEW 17:30). Local proof: this head's own touched-object W=1 build + its KUnit/host tests (see body), plus all ten B1-GATES heads merged on main a29e/b2cd (57856a3b7327) build clean together (drivers/gpu/drm/asahi + apple, soc/apple, mfd, tipd, centauri, pmdomain: rc 0, no warning in a touched file). Boards without a row stay in Not yet; a regression gets a same-day revert. |
What: remove the
alpha_sleep_untestedmodule parameter fromapple_centauri. Since #2385 (with #3136) it defaults to on and the J813 board gate is gone; all it still does is let a user switch off the Alpha host-power and ACIPC sleep handshake the firmware needs before a deep sleep. The handshake now always runs for a deep sleep (pm_suspend_via_firmware()) and never across s2idle, exactly as the default does today.Tested: build only, no N1 hardware here.
make ARCH=arm64 LLVM=1 W=1 drivers/net/wireless/apple/centauri/centauri_wifi.oat cd9bb4d: no warnings.checkpatch.pl -g HEAD: clean. Host testsrun-host-tests.py --only centauri --jobs 8: 22/22 pass. KUnitapple-centauri-wifi(arm64 QEMU, kunit.py build of this head): 1/1 pass.Risk: two-way door. Wi-Fi deep sleep on every N1 board
apple_centauribinds (J813, J815, J873). No change at the default;apple_centauri.alpha_sleep_untested=0on a command line is now ignored with an "unknown parameter" warning.Not yet: a row on J813/J815 from their owners (we have no N1 hardware; J815 owner m0d16l14n1 can row): expected to match the #3136 J815 deep-sleep row at f63bd68, since the code path is the default one.