#asahi-dev · 2026-08-13 17:13
Rafaysven: Sorry, it was not installed into the correct location. [ 53.289188] thunderbolt-apple-acio 501ac0000.nhi: TBT cable: cable_mode 0x30001, device_mode 0x10001, enter_vdo 0x30000, orientation 2 -> cable info 0x413#asahi-dev · 2026-08-13 17:11
Rafaysven: Yeah you are right, let me double check.#asahi-dev · 2026-08-13 17:11
sveni'm about to grab dinner, so mac os can take its time booting and getting tbt up and running :D#asahi-dev · 2026-08-13 17:10
svenRafay: tbt_data.enter_vdo = (u32)le16_to_cpu(st->intel_vid_status.enter_vdo) << 16; <-- with that enter_vdo 0x3 cannot be possible#asahi-dev · 2026-08-13 17:09
svenhuh#asahi-dev · 2026-08-13 17:09
chaos_princessidk what is up with macos under the tracer, it is just dog slow#asahi-dev · 2026-08-13 17:09
svenyes#asahi-dev · 2026-08-13 17:09
RafayIt modifies the tps6598x driver only, right?#asahi-dev · 2026-08-13 17:09
svenack#asahi-dev · 2026-08-13 17:08
chaos_princessworking on it#asahi-dev · 2026-08-13 17:08
svencan you also grab an atcphy trace from macos?#asahi-dev · 2026-08-13 17:08
svenchaos_princess: latest trace looks like an unbonded link, so it's not lane bonding at fault :(#asahi-dev · 2026-08-13 17:07
sveni don't see how enter_vdo can every contain anything in the lowest 16bits after that one#asahi-dev · 2026-08-13 17:05
svenare you sure you applied that patch?#asahi-dev · 2026-08-13 17:05
Rafaysven: [ 53.071650] thunderbolt-apple-acio 501ac0000.nhi: TBT cable: cable_mode 0x0, device_mode 0x0, enter_vdo 0x3, orientation 2 -> cable info 0x603#asahi-dev · 2026-08-13 17:02
svenah, but /proc/interrupts showed they never fired so nvm#asahi-dev · 2026-08-13 17:00
sveni just realized we wouldn't see interrupts happening because the tracer has verbose=1#asahi-dev · 2026-08-13 16:54
svencan you grab a trace to confirm nothing bonded this time? maybe together with that atcphy trace#asahi-dev · 2026-08-13 16:54
chaos_princessno reconnect spam, but still no packets#asahi-dev · 2026-08-13 16:51
svenand while you're at it maybe also trace atcphy both linux and macos to see if i messed up fuses or tunables#asahi-dev · 2026-08-13 16:48
svenmaybe set it to false here already https://elixir.bootlin.com/linux/v7.1.8/source/drivers/thunderbolt/xdomain.c#L1940 though i don't quite see how that should make a difference#asahi-dev · 2026-08-13 16:46
svenoh, weird#asahi-dev · 2026-08-13 16:46
chaos_princessforced else is a reconnect spam#asahi-dev · 2026-08-13 16:45
chaos_princessjust slw#asahi-dev · 2026-08-13 16:45
svenwas that run just with slw=1 or also with that forced else path?#asahi-dev · 2026-08-13 16:44
svenyeah, i think the tracer only looks at ring0#asahi-dev · 2026-08-13 16:41
chaos_princessis the fact that no new lines appear on tracer when i run ping normal?#asahi-dev · 2026-08-13 16:30
svenyeah, worth a look#asahi-dev · 2026-08-13 16:29
chaos_princessi mean phy-side#asahi-dev · 2026-08-13 16:29
svenmust be somewhere outside of acio then, because that MMIO traces contains those and iirc i compared them and they looked the same#asahi-dev · 2026-08-13 16:28
chaos_princesstunables? fuses?#asahi-dev · 2026-08-13 16:27
sveni'm essentially out of ideas at this point :(#asahi-dev · 2026-08-13 16:27
chaos_princesssure#asahi-dev · 2026-08-13 16:27
svenwith only slw#asahi-dev · 2026-08-13 16:26
svencan you grab a trace again?#asahi-dev · 2026-08-13 16:26
chaos_princessdisabling both results in disconnect/reconnect spam, disabling only slw - same as before#asahi-dev · 2026-08-13 16:26
chaos_princessdoes not work#asahi-dev · 2026-08-13 16:21
chaos_princessyea, also just realized that i can do that#asahi-dev · 2026-08-13 16:19
sventhought you already found it, just set slw and tlw in that LINK_STATE_STATUS_REQUEST to 1#asahi-dev · 2026-08-13 16:14
chaos_princesshow do i stop the other side#asahi-dev · 2026-08-13 16:10
svenand in the trace it's also trying to initiate that link state change request. so maybe really do both sides to be safe#asahi-dev · 2026-08-13 16:09
svenguess i should also figure out where that actually comes from#asahi-dev · 2026-08-13 16:09
svenhuh, your mac also has a real uuid, the linux driver currently has a fallback one. #asahi-dev · 2026-08-13 16:03
svenor maybe just do both ends to be safe :D#asahi-dev · 2026-08-13 16:03
svenokay, then forcing that else branch should work to skip the states that would eventually initiate bonding#asahi-dev · 2026-08-13 16:02
chaos_princessdepends on machine uuids, i think in my case it is the linux side#asahi-dev · 2026-08-13 16:02
svener wait.. we're looking at different sides, aren't we?. let me check which side actually initiates the bonding#asahi-dev · 2026-08-13 16:01
svenyeah, that's one state before it reaches your line i think