#asahi-dev · 2026-08-11 18:33
svenprobably won't make a difference, there's something wrong with the cable mode#asahi-dev · 2026-08-11 18:16
svenso 0x413 is correct and 0x603 wrong#asahi-dev · 2026-08-11 18:16
svenand macos writes [cpu2] [ACIOTracer@/arm-io/acio1] CTL TX WRITE route=0x0 port=0 space=SWITCH offset=0x36 len=1 seq=2 data=[0x00000413]#asahi-dev · 2026-08-11 18:16
sven[cpu4] [ACIOTracer@/arm-io/acio1] CTL TX WRITE route=0x0 port=0 space=SWITCH offset=0x36 len=1 seq=0 data=[0x00000603] <-- that's the VSE being written and after that nothing happens#asahi-dev · 2026-08-11 18:15
sventhe issue there is just that the apple cable VSE is wrong#asahi-dev · 2026-08-11 18:15
svenRafay: are you running the latest commits from the tbt-reset-wip branch? if yes, do you see a "TBT cable: cable_mode " entry in dmesg?#asahi-dev · 2026-08-11 18:04
sven*spot#asahi-dev · 2026-08-11 18:04
sventhere has to be some difference somewhere and the closer the trace are the easier it will be to stop#asahi-dev · 2026-08-11 18:04
svenyes#asahi-dev · 2026-08-11 18:03
sventhat should still work ofc, but that makes the traces hard to compare#asahi-dev · 2026-08-11 18:02
sveni think it's still disabled#asahi-dev · 2026-08-11 18:02
sven[cpu1] [ACIOTracer@/arm-io/acio1] TX ring 1 flags = 0x80000000 (ENABLE=1, RAW=0, NO_SNOOP=0, E2E_FLOW_CONTROL=0, ISOCH_ENABLE=0)#asahi-dev · 2026-08-11 18:00
svenchaos_princess: is that still with e2e enabled or disabled?#asahi-dev · 2026-08-11 17:55
sventhanks! let me look at chaos' traces first and then yours#asahi-dev · 2026-08-11 17:03
svenideally both on macos and on linux once#asahi-dev · 2026-08-11 17:01
svenack#asahi-dev · 2026-08-11 16:57
svenchaos_princess: can you run https://f.svpe.de/f9237287e3af548f79fb0d8ceaa85c49b7f8f6ed27a36d07d15d6f86d1292b21_trace_acio.py.txt under the hv up until the point where you run ping and the packets then disappear?#asahi-dev · 2026-08-11 16:54
svenso probably#asahi-dev · 2026-08-11 16:54
svenmy kernel branch does not contain much of the asahi-wip stuff#asahi-dev · 2026-08-11 16:07
svenack#asahi-dev · 2026-08-11 16:06
sventhat's base M2, right?#asahi-dev · 2026-08-11 16:06
svennice, thanks!#asahi-dev · 2026-08-11 16:06
sveni'm writing a tracer for traffic on ring 0 anyway due track down that weird race where some ports are locked and then xdomain doesn't work at all if i remove enough debug prints in apple.c#asahi-dev · 2026-08-11 16:05
sventhen there's just something wrong / new with the Pro/Max variants#asahi-dev · 2026-08-11 16:05
svenbut good to know this works on M1/M1#asahi-dev · 2026-08-11 16:04
svenaw...#asahi-dev · 2026-08-11 15:59
svendamn#asahi-dev · 2026-08-11 15:50
sven"In our tests, 13.6 Gbps is within a realistic range. Although this may seem below the raw capacity, real-world factors (including half-duplex operation) usually limit effective throughput." lol#asahi-dev · 2026-08-11 15:45
svenhah :D#asahi-dev · 2026-08-11 15:37
svennow that's much better :-)#asahi-dev · 2026-08-11 15:36
sventhere's also that magic 0x186 write next to irq enable which might just be some tweaking to when that irq fires#asahi-dev · 2026-08-11 15:34
sveni accidentally added a two or three level indirect pointer lookup plus jump to the hot path so it's not surprising we don't get the full speed, but 2gbps seems low#asahi-dev · 2026-08-11 15:26
sveni wonder if there's some way to get to that info from macos when not running under the hv#asahi-dev · 2026-08-11 15:24
sventhat should tell you what macos sets for VSE cable info for the cables that don't work#asahi-dev · 2026-08-11 15:24
sventhat's at least in my bash_history#asahi-dev · 2026-08-11 15:24
sventblog=0xffffffff tblogmode=3 tbdp=0xffffffff tbip=0xffffffff are the relevant bootargs I used to enable all verbose debug spam I think#asahi-dev · 2026-08-11 15:23
svenso then something breaks on the non-base M1 chips#asahi-dev · 2026-08-11 15:23
sven\o/#asahi-dev · 2026-08-11 15:08
svennow for the interesting part: does ping work?#asahi-dev · 2026-08-11 15:08
svendunno if it'll show up there, i don't have that on my busybox shell :D#asahi-dev · 2026-08-11 15:06
sven*interface#asahi-dev · 2026-08-11 15:06
svendo you see a thunderbolt0 intefcace?#asahi-dev · 2026-08-11 15:06
sventhat looks good#asahi-dev · 2026-08-11 15:05
svenCONFIG_USB4_NET i think#asahi-dev · 2026-08-11 15:05
svendo you have USB4NET enabled?#asahi-dev · 2026-08-11 15:05
svenis this host2host? not sure that will even show up in boltctl#asahi-dev · 2026-08-11 14:55
svenuh.. that's not good#asahi-dev · 2026-08-11 14:54
svenbut let me double check