#
#asahi-dev · 2026-08-13 16:00
svenhttps://elixir.bootlin.com/linux/v7.1.8/source/drivers/thunderbolt/xdomain.c#L1619 or maybe force the else branch there to skip the entire state machine
#asahi-dev · 2026-08-13 15:59
chaos_princesshttps://elixir.bootlin.com/linux/v7.2-rc7/source/drivers/thunderbolt/xdomain.c#L864 - this is better
#asahi-dev · 2026-08-13 15:59
chaos_princessoh, this is quite different
#asahi-dev · 2026-08-13 15:58
chaos_princesstlw = target link width
#asahi-dev · 2026-08-13 15:58
sventb_xdomain_lane_bonding_enable is probably too late alreayd
#asahi-dev · 2026-08-13 15:58
chaos_princesshttps://elixir.bootlin.com/linux/v7.1.8/source/drivers/thunderbolt/xdomain.c#L564
#asahi-dev · 2026-08-13 15:58
svenhrm, okay. so maybe it has to be disabled much earlier. let me try to find where it decides to lane bonding
#asahi-dev · 2026-08-13 15:58
chaos_princessno, it got into a connect/disconnect loop
#asahi-dev · 2026-08-13 15:56
svenhrm... but didn't something fail with -ENODEV then?
#asahi-dev · 2026-08-13 15:55
chaos_princessthe caller is ignoring the return value there
#asahi-dev · 2026-08-13 15:55
chaos_princesshttps://elixir.bootlin.com/linux/v7.1.8/source/drivers/thunderbolt/xdomain.c#L2126
#asahi-dev · 2026-08-13 15:53
svenlast attempt was -ENODEV at the beginning of something in xdomain.c, wasnt it?
#asahi-dev · 2026-08-13 15:53
svenyeah, let's see how to break that without breaking the entire connection :D
#asahi-dev · 2026-08-13 15:53
svenoh right, that didn't work out because my first attempt was 5 minutes before i went to bed :D
#asahi-dev · 2026-08-13 15:52
chaos_princessdo we want to try breaking lane bonding again?
#asahi-dev · 2026-08-13 15:52
svenah :/
#asahi-dev · 2026-08-13 15:51
chaos_princessthat is how i figured out that it can't arp, looked at what macos does when sending a ping, and it ended up sending arp requests to nowhere
#asahi-dev · 2026-08-13 15:51
chaos_princessdoing the hypervisor kick did not help
#asahi-dev · 2026-08-13 15:51
svenwhat if you try the other way around? so pings from macos and wireshark on linux?
#asahi-dev · 2026-08-13 15:49
chaos_princessoh, that's because it can't arp
#asahi-dev · 2026-08-13 15:49
svenhuh
#asahi-dev · 2026-08-13 15:48
chaos_princesswhat may also be interesting is that the error i get on the linux side is "destination host unreachable"
#asahi-dev · 2026-08-13 15:48
chaos_princessso, wireshark does not see anything
#asahi-dev · 2026-08-13 15:37
svenbecause the traces look very very similar, it's just that one them doesn't work.
#asahi-dev · 2026-08-13 15:36
sveni'm wondering if it's some weird "this controller only updates state when enable is set" or something similar
#asahi-dev · 2026-08-13 15:35
svenit might just break everything, but given that it's already not working it can't hurt
#asahi-dev · 2026-08-13 15:35
svenclears and then sets the enable bit for ring1
#asahi-dev · 2026-08-13 15:34
chaos_princesswhat's that supposed to do?
#asahi-dev · 2026-08-13 15:33
svenwrite32(0xb01f14010, tx); write32(0xb01f84010, rx)
#asahi-dev · 2026-08-13 15:33
svenrx = read32(0xb01f84010)
#asahi-dev · 2026-08-13 15:33
svenwrite32(0xb01f14010, tx & ~0x80000000); write32(0xb01f84010, rx & ~0x80000000)
#asahi-dev · 2026-08-13 15:33
sventx = read32(0xb01f14010)
#asahi-dev · 2026-08-13 15:33
svenokay for acio1 something like this i think
#asahi-dev · 2026-08-13 15:31
chaos_princessi can do whatever
#asahi-dev · 2026-08-13 15:30
svenwe could also try kicking it from the hv, which acio do you test again? acio1?
#asahi-dev · 2026-08-13 15:28
chaos_princessthat one does
#asahi-dev · 2026-08-13 15:27
svendoes the base m2 list tb4? because that one works as well it seems
#asahi-dev · 2026-08-13 15:27
sveniirc the differnce between usb4/tb and tb4 is just all the optional features required and at least 2 tunneled display streams
#asahi-dev · 2026-08-13 15:26
chaos_princessbase m1 technically does not list tb4 only "usb4/tb", while the other two do
#asahi-dev · 2026-08-13 15:26
svenhm... weird
#asahi-dev · 2026-08-13 15:26
chaos_princessanother thing i noticed is that i again get link errors (the same kind that are from wrong vse) if i connect m1 <-> m1pro, while m1pro <-> m3max works
#asahi-dev · 2026-08-13 15:25
chaos_princesssure, will do in a bit.
#asahi-dev · 2026-08-13 15:24
svenchaos_princess: can you run tcpdump on the macos side and see if the ping packets arrive? i'd like to figure out if the packets already disappear on the way there or on the way back
#asahi-dev · 2026-08-13 14:02
svenif it doesn't work i'd like to see that "TBT cable: ..." message again
#asahi-dev · 2026-08-13 14:02
svenRafay: can you remove your 0x413 hack and apply this commit instead? https://f.svpe.de/ce6aa91d071fe2edbc36be46e407b92491ae126641e158ecca52a0072442eb2e_0001-usb-typec-tipd-TODO.patch
#asahi-dev · 2026-08-13 12:08
chadmedsigh all consumers now have to agree on both assert and deassert
#asahi-dev · 2026-08-13 11:31
chadmedthe i2c bus is unhappy
#asahi-dev · 2026-08-13 11:30
chadmedhmm it doesnt quite work right on suspend/resume
#asahi-dev · 2026-08-13 11:20
chadmedyou might even be able to see a tiling pattern
#asahi-dev · 2026-08-13 11:20
chadmedrender it into linear space, if its mostly black/null with some coloured specks in there then it's a compressed fb

plus ›