Skip to content

Navigation Menu

Sign in
Sign up

arm64: dts: apple: t8103: Add SIO alias - #602

Merged
jannau merged 1 commit into
AsahiLinux:fairydust from
HexCodeYT:fix-t8103-sio-alias
Sep 8, 2026
Merged

arm64: dts: apple: t8103: Add SIO alias #602
jannau merged 1 commit into
AsahiLinux:fairydust from
HexCodeYT:fix-t8103-sio-alias

Conversation

@HexCodeYT

@HexCodeYT HexCodeYT commented Sep 7, 2026

Copy link
Copy Markdown

m1n1 looks up the SIO node through the sio FDT alias when setting up SIO firmware data. The common T8103 device trees currently lack this alias, so m1n1 silently skips SIO setup and leaves the node disabled.

Add the alias to t8103-jxxx.dtsi, matching the T600x device trees.

Tested on a J313 MacBook Air (M1) with stock m1n1 1.6.1.

Before this change:

  • /proc/device-tree/aliases/sio is absent
  • SIO remains status = "disabled"
  • dcp-dp-audio reports No DMA device
  • no DisplayPort ALSA playback device is created

With this change:

  • /proc/device-tree/aliases/sio resolves to /soc/sio@236400000
  • m1n1 sets SIO to status = "okay"
  • apple-sio initializes RTKit successfully and reports SIO protocol v9
  • with appledrm.hdmi_audio=1, aplay -l exposes Apple DisplayPort
  • USB-C DisplayPort audio was verified working through PipeWire on a Samsung M70D monitor

The DTBs for J274, J293, J313, J456 and J457 build successfully with this change.

m1n1 looks up the SIO node through the 'sio' FDT alias when setting up SIO firmware data. T8103 device trees lack this alias, causing m1n1 to silently skip SIO setup and leave the node disabled.
Add the alias to the common T8103 device tree, matching the T600x device trees.
Tested on a J313 MacBook Air (M1). With the alias present, stock m1n1 enables SIO, apple-sio initializes RTKit and SIO protocol v9, and DisplayPort audio becomes functional.
Signed-off-by: HexCodeYT <indices-chants-7u@icloud.com>
muratcyberfu pushed a commit to muratcyberfu/linux that referenced this pull request Sep 7, 2026
...ropagation
Add multiple test cases for linked register tracking with alu32 ops:
 - Add a test that checks sync_linked_regs() regarding reg->id (the linked
 target register) for BPF_ADD_CONST32 rather than known_reg->id (the
 branch register).
 - Add a test case for linked register tracking that exposes the cross-type
 sync_linked_regs() bug. One register uses alu32 (w7 += 1, BPF_ADD_CONST32)
 and another uses alu64 (r8 += 2, BPF_ADD_CONST64), both linked to the
 same base register.
 - Add a test case that exercises regsafe() path pruning when two execution
 paths reach the same program point with linked registers carrying
 different ADD_CONST flags (BPF_ADD_CONST32 from alu32 vs BPF_ADD_CONST64
 from alu64). This particular test passes with and without the fix since
 the pruning will fail due to different ranges, but it would still be
 useful to carry this one as a regression test for the unreachable div
 by zero.
With the fix applied all the tests pass:
 # LDLIBS=-static PKG_CONFIG='pkg-config --static' ./vmtest.sh -- ./test_progs -t verifier_linked_scalars
 [...]
 ./test_progs -t verifier_linked_scalars
 AsahiLinux#602/1 verifier_linked_scalars/scalars: find linked scalars:OK
 AsahiLinux#602/2 verifier_linked_scalars/sync_linked_regs_preserves_id:OK
 AsahiLinux#602/3 verifier_linked_scalars/scalars_neg:OK
 AsahiLinux#602/4 verifier_linked_scalars/scalars_neg_sub:OK
 AsahiLinux#602/5 verifier_linked_scalars/scalars_neg_alu32_add:OK
 AsahiLinux#602/6 verifier_linked_scalars/scalars_neg_alu32_sub:OK
 AsahiLinux#602/7 verifier_linked_scalars/scalars_pos:OK
 AsahiLinux#602/8 verifier_linked_scalars/scalars_sub_neg_imm:OK
 AsahiLinux#602/9 verifier_linked_scalars/scalars_double_add:OK
 AsahiLinux#602/10 verifier_linked_scalars/scalars_sync_delta_overflow:OK
 AsahiLinux#602/11 verifier_linked_scalars/scalars_sync_delta_overflow_large_range:OK
 AsahiLinux#602/12 verifier_linked_scalars/scalars_alu32_big_offset:OK
 AsahiLinux#602/13 verifier_linked_scalars/scalars_alu32_basic:OK
 AsahiLinux#602/14 verifier_linked_scalars/scalars_alu32_wrap:OK
 AsahiLinux#602/15 verifier_linked_scalars/scalars_alu32_zext_linked_reg:OK
 AsahiLinux#602/16 verifier_linked_scalars/scalars_alu32_alu64_cross_type:OK
 AsahiLinux#602/17 verifier_linked_scalars/scalars_alu32_alu64_regsafe_pruning:OK
 AsahiLinux#602/18 verifier_linked_scalars/alu32_negative_offset:OK
 AsahiLinux#602/19 verifier_linked_scalars/spurious_precision_marks:OK
 AsahiLinux#602 verifier_linked_scalars:OK
 Summary: 1/19 PASSED, 0 SKIPPED, 0 FAILED
Co-developed-by: Puranjay Mohan <puranjay@kernel.org>
Signed-off-by: Puranjay Mohan <puranjay@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260319211507.213816-2-daniel@iogearbox.net
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
jannau merged commit e87454f into AsahiLinux:fairydust Sep 8, 2026
1 check passed

jannau commented Sep 8, 2026

Copy link
Copy Markdown
Member

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /