Repository navigation
Conversation
|
Review at 3dc03fc. Changes requested, for the commit trailer only; the code is speaker-safe.
|
There was a problem hiding this comment.
Formal §1–§6 pre-PR checklist review at 3dc03fc707b82196957bf697f997d2409ee827f4.
The code change itself is speaker-safe: verified against macaudio_speakers_allowed() (sound/soc/apple/macaudio.c:2375-2382), which requires both cfg->enable_speakers and cfg->safe_vol < 0. macaudio_j716_cfg sets .enable_speakers = false and .safe_vol = 0 (and omits .tweeter_hpf_granted), so any speaker link is refused regardless of DT contents and the six SN012776 amps stay un-driven until a qualified speakerguardd v2 profile exists. The fork diff is a 24-line C table addition (safe for a maintainer to approve fork CI runs).
Blockers
- §4 AI trailer in commit message (
3dc03fc707b8):
The commit carriesCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>. Commits must carry human author/committer and humanSigned-off-by:only (zero AI trailers in commit messages; keep AI disclosure in the PR body). - §5 CI not run & missing exact-head
integration/aurorahardware evidence:- Fork CI (
Host tests) isaction_requiredand has not run yet (diff is safe to approve). - The reported J716s run was on an out-of-tree kernel (
omarchy-m5v272-17) with this built as an out-of-tree module and lacks regression counts. Please post anintegration/auroraJ716s boot at the updated head (stacked with#2285/#2277if needed) confirming: card registration, jack plug detection, PipeWire Headphones + headset mic visibility, no speaker controls exposed inamixer, and regression status (0 SELinux denials, 0 failed units, 0 new kernel errors).
- Fork CI (
Non-blocking notes
sound/soc/apple/macaudio.c:4483: the table comment lists gain15even though speakers are disabled with.safe_vol = 0; use-in the gain column (matchingj775c/j775d) so15is not mistaken for a granted level.
Checklist summary
- §1 No model gating: Pass (matches existing per-chassis
of_device_idtopology pattern inmacaudio.c; dedicated entry is required by §3 so J716 cannot inherit J714's enabled speakers). - §2 Production-ready: Pass (default cmdline).
- §3 Safety: Pass (
.enable_speakers = false,.safe_vol = 0;macaudio_speakers_allowed()fails closed). - §4 Clean-room & attribution: Blocked on
Co-Authored-By:AI trailer in commit3dc03fc707b8. - §5 Evidence: Blocked on
action_requiredCI and missingintegration/auroraexact-head J716s hardware + regression row. - §6 Naming: Pass.
DjDeveloperr
left a comment
There was a problem hiding this comment.
Verdict: FINISH, then merge at 3dc03fc707b8
Blockers:
- Commit
3dc03fc7carries aCo-Authored-By:trailer naming an AI tool. Fix:git commit --amend -s, remove the trailer, force-push. - Missing row: one J716 at this head with headphone playback on the jack (jack only, no speaker playback). I've approved the waiting CI run.
Checked: thank you. No Apple material; jack only, so the speakers stay off.
Superseded by the review at 3dc03fc
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
The J716s's AOP-fed card is the J714s's: the J716sAP 27.2 (26B123) ADT describes the same CS42L84 jack codec, AOP audio service and six SN012776 amps. No speaker protection has played on this board yet, so its entry has speakers disabled and no safe level, as the J873's, and macaudio_speakers_allowed() refuses a speaker link whatever the device tree says. The jack frame is the J714s's. Seen on one J716s (27.2 stub, omarchy-m5 v272-17 kernel with this entry as a module and a jack-only card in its tree): the card registers, the jack reports a plug and PipeWire shows Headphones and the headset microphone. Playback through the jack was not listened to (no working wired headphones at hand). The device tree card follows once the AOP (aurora-silicon#2285) and jack codec (aurora-silicon#2277) descriptions for the J716s land. Signed-off-by: Julian Arango <julianarango1818@gmail.com>
3dc03fc to
d48abdc
Compare
|
Thanks. v2 is pushed, rebased on main: no Co-Authored-By, and the j716 row's gain column reads The row from this tree waits for two things: the J716s's AOP (#2285) and jack codec (#2277) descriptions, still open, without which main has no J716s card to play through; and a working wired headset to test with. Once both are there I'll post headphone playback on the jack, PipeWire Headphones and headset mic, and no speaker controls in amixer. |
The trailer is gone at d48abdc. Thanks.
|
Thanks, the trailer is gone at One overlap: #3085 adds the same So please hold this one until #3085 lands. After that this PR has nothing left to add and can close, and your jack-playback row can go on #2277/#2285 with the J716s card. |
|
Tested on J716s (16-inch M5 Pro, 27.3 beta stub) at d48abdc: the J716s daily kernel with this entry in place of its own
|
There was a problem hiding this comment.
The current diff adds apple,j716-macaudio as a driver match, but the compatible is absent from the macaudio binding at this head. It also collides with #3085, which uses the same match for a different speaker policy. Keep this held and coordinate the jack-only path with #3085 and the DT owners. If a separate match still needs to land, describe it in the binding and verify the resolved J716s path preserves speaker refusal while the headphone jack works. No speaker playback is needed for this jack-only row.
|
Merge-train review at |
|
Closing as a duplicate of #3085 (merged as |
What: Adds a J716 entry: the J714s's AOP-fed jack card with speakers disabled and no safe level (as the J873), so the driver refuses a speaker link on this board however its tree is written. No speaker protection has played on a J716s yet.
Tested: no runtime change on main yet: no J716s card node until #2285 and #2277 land. Earlier, on omarchy-m5's v272-17 kernel with this entry as a module: the card registers, the jack reports a plug, PipeWire shows Headphones and the headset mic (betizzel/omarchy-m5#28).
Risk: two-way door · J716s only (a new compatible)
Not yet: headphone playback on the jack (no working headset yet); the J716s card node (after #2285 and #2277).