Skip to content

wifi: apple: centauri: Drop the alpha_sleep_untested parameter - #3728

Merged
RyanTheTide merged 1 commit into
mainfrom
gates/centauri-alpha-sleep-param
Dec 1, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
gates/centauri-alpha-sleep-param

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

What: remove the alpha_sleep_untested module parameter from apple_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.o at cd9bb4d: no warnings. checkpatch.pl -g HEAD: clean. Host tests run-host-tests.py --only centauri --jobs 8: 22/22 pass. KUnit apple-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_centauri binds (J813, J815, J873). No change at the default; apple_centauri.alpha_sleep_untested=0 on 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.

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>
@RyanTheTide
RyanTheTide requested review from a team as code owners December 1, 2026 04:50

@aurora-silicon-review aurora-silicon-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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).

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

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.

@RyanTheTide
RyanTheTide merged commit 6a46dc0 into main Dec 1, 2026
5 of 25 checks passed
@RyanTheTide
RyanTheTide deleted the gates/centauri-alpha-sleep-param branch December 1, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant