#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:30
svenwe could also try kicking it from the hv, which acio do you test again? acio1?#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
svenhm... weird#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-12 19:28
svenunlikely, the ring 0 irqs work and the ring 1 are right next to them #asahi-dev · 2026-08-12 18:59
svenit writes stuff into ring1 but then no interrupt for that one ever fires #asahi-dev · 2026-08-12 18:59
svenand thanks to the tracer it’s also obvious it’s nothing else in the stack #asahi-dev · 2026-08-12 18:55
svenwhat still baffles me is that m1 works, M1 Pro doesn’t, and then m2 works again #asahi-dev · 2026-08-12 18:23
svenI already know more about how all that works than I’d like #asahi-dev · 2026-08-12 18:22
svenI really hope I won’t have to debug that core #asahi-dev · 2026-08-12 18:21
svenId blame the driver for now until proven otherwise #asahi-dev · 2026-08-12 18:20
sveni think lane bonding is broken somehow but that’s at most a 2x speedup#asahi-dev · 2026-08-12 18:20
svenno idea#asahi-dev · 2026-08-12 18:11
svenand then it’s time to go back to the PCIe hotplug horrors #asahi-dev · 2026-08-12 18:10
svenand then write dt-bindings and clean the rest up and then this should be ready for upstream submission #asahi-dev · 2026-08-12 18:09
svenNeed to fix the tipd issue and then figure out why the pro chips eat anything that’s sent on ring1 :/#asahi-dev · 2026-08-12 18:09
svenrafay: that’s still fairly slow, but at least m2 more or less works, so that’s good to know!#asahi-dev · 2026-08-12 08:11
sveneveryone has had issue getting it to actually use the thunderbolt0 interface so far #asahi-dev · 2026-08-12 08:11
svenno idea why perf is so low, are you sure it’s going over tbt?#asahi-dev · 2026-08-12 08:11
sventhat’s just the same thing essentially #asahi-dev · 2026-08-12 04:44
sventhe only error i see is "[ 65.440040] thunderbolt-apple-acio 501ac0000.nhi: RTKit: syslog message: high_speed_lane.c:289: Gen2/3 link error. lane=1, error=88" and i got that locally as well which made me suspect that something with lane bonding goes wrong yesterday#asahi-dev · 2026-08-12 04:37
svenrafay: what makes you think it breaks anything? that looks good actually #asahi-dev · 2026-08-11 20:22
svenprobably just need to move that return further down i guess#asahi-dev · 2026-08-11 20:22
svenanyway, will take another look tomorrow#asahi-dev · 2026-08-11 20:22
svenugh, sorry. should've tested that first locally but i already shut down my test rig. anyway, maybe lane bonding is somehow broken because i don't see that with my m1 setup but i think yours tries to do that#asahi-dev · 2026-08-11 20:09
svenchaos_princess: can you add return -ENODEV or whatever at the beginning of tb_xdomain_lane_bonding_enable in xdomain.c?#asahi-dev · 2026-08-11 19:57
svenso you not only have ~every mac out there, you also have ~every usb4 cable out there :D#asahi-dev · 2026-08-11 19:57
svenhahaha, nice!#asahi-dev · 2026-08-11 19:57
sveni think everything that doesn't use EUDO is very broken right now though. there's a bug somewhere in tipd that i'll have to figure out#asahi-dev · 2026-08-11 19:56
svennice!#asahi-dev · 2026-08-11 19:56
svenhrm... okay#asahi-dev · 2026-08-11 19:55
svenare you running linux on both machines? #asahi-dev · 2026-08-11 19:51
sveni just must be missing something dumb somewhere#asahi-dev · 2026-08-11 19:51
sveni'll get some sleep and stare at it again tomorrow#asahi-dev · 2026-08-11 19:51
sventhis must be the fabric firewall the slop generators always talk about /s#asahi-dev · 2026-08-11 19:34
svenchaos_princess: now this really shouldn't make a difference, but i'm kinda out of idea at this point: https://f.svpe.de/99fe30ff297fe3d18e7d347080279f27036bffe01b4f1bfc0500fc57bfa187f9_0002-HACK.patch#asahi-dev · 2026-08-11 19:16
svenshouldn't matter, but just with e2e#asahi-dev · 2026-08-11 19:15
svenchaos_princess: https://f.svpe.de/f1881bb46acce261fdbb1865e5d3093f5157cd31169501371ab71ce7f8bcd9c2_0001-HACK.patch#asahi-dev · 2026-08-11 19:07
svensame story every time :D#asahi-dev · 2026-08-11 19:07
svenlol, and ofc now i see a difference#asahi-dev · 2026-08-11 19:00
svenfor some reason it just triggers no interrupts for ring1#asahi-dev · 2026-08-11 18:57
svenchaos_princess: i dunno, this all looks very identical to me :-(#asahi-dev · 2026-08-11 18:34
sventhat actually looks like either a bug in the tipd driver or my tbt-switch thing because those modes don't make sense