#
#asahi-dev · 2026-08-13 20:09
svenyes
#asahi-dev · 2026-08-13 20:09
chaos_princessso, do a max verbose tracer on acio dart?
#asahi-dev · 2026-08-13 20:08
chaos_princessthats not confusing at all
#asahi-dev · 2026-08-13 20:08
svenchaos_princess: i vaguely remember that t8103 had a feature somewhere where you could map the hardware stream id to the stream id you actually program
#asahi-dev · 2026-08-13 20:07
svennope, just noticed that as well
#asahi-dev · 2026-08-13 20:06
jannauany idea what sat-dtf is?
#asahi-dev · 2026-08-13 20:05
chaos_princesswhat is remap about?
#asahi-dev · 2026-08-13 20:03
svenso the t600x ADT has sids = 32771 (0x8003, so streams 0,1 and 15) and fucking remap = 258 which is 0x0102
#asahi-dev · 2026-08-13 20:01
jannauI did enable all stream in the hv and did not see fault
#asahi-dev · 2026-08-13 19:57
svenor do iommus = <&DIE_NODE(usb4_1_dart) 0>, iommus = <&DIE_NODE(usb4_1_dart) 1>; in the dt?
#asahi-dev · 2026-08-13 19:56
svenwait. can you specifically enable stream 0 as well?
#asahi-dev · 2026-08-13 19:56
svenjust double checked i got the correct dart and stream with the adt. also no issue there :(
#asahi-dev · 2026-08-13 19:51
svenand iirc dart only faults on enabled streams
#asahi-dev · 2026-08-13 19:51
sventhat's more than enough, each entry is 16 bytes and i only need the first one
#asahi-dev · 2026-08-13 19:51
chaos_princessat least on t6000
#asahi-dev · 2026-08-13 19:51
chaos_princessi don't think so
#asahi-dev · 2026-08-13 19:51
jannauI'm pretty sure we would get fault irqs on the dart if acio would try use a disabled stream
#asahi-dev · 2026-08-13 19:49
jannauhow much data do you want from the buffer? https://paste.debian.net/hidden/1b5f9711 the restlooks like it repeats more or less
#asahi-dev · 2026-08-13 19:43
svenas expected :(
#asahi-dev · 2026-08-13 19:43
jannaut6001/t6002 doesn't work either
#asahi-dev · 2026-08-13 19:39
chaos_princessand yes, my previous cable was in fact, broken(?), but the new one does not fix the problem. But at least it manages to link up more stuff.
#asahi-dev · 2026-08-13 19:39
sven*tries
#asahi-dev · 2026-08-13 19:39
sveni'd kinda also expect acio to just panic if DART doesn't allow a write it tires
#asahi-dev · 2026-08-13 19:38
svenlet's just enable every single stream
#asahi-dev · 2026-08-13 19:38
chaos_princessbut thats just 15
#asahi-dev · 2026-08-13 19:38
svenchaos_princess: ah.. :(
#asahi-dev · 2026-08-13 19:38
nicolas17:)
#asahi-dev · 2026-08-13 19:37
chaos_princesssven: worth a try but unlikely. as a part of my tests i added stream 15 to nhi, and got no faults
#asahi-dev · 2026-08-13 19:37
svenand i can see from those hw regs if something arrived or was picked up by acio
#asahi-dev · 2026-08-13 19:37
sveni expect that the moment we fix this stupid crap it's just gonna work like m1/m1
#asahi-dev · 2026-08-13 19:37
nicolas17(it sounds like you know you're not there yet, I mean for later)
#asahi-dev · 2026-08-13 19:37
nicolas17btw maybe you can try UDP (netcat -u) instead of ping? could make it easier to tell if the connection is working in one direction and the packet arrives at the dest but there's no reply
#asahi-dev · 2026-08-13 19:36
svenwaaaait. can you hack the dart driver to enable all streams so that we see faults?
#asahi-dev · 2026-08-13 19:36
sveni would've expected 0xff there if nothing ever arrived
#asahi-dev · 2026-08-13 19:35
sven0x100ff
#asahi-dev · 2026-08-13 19:35
sveni wanna see if there's actually a single entry in that ring due to that here >>> read32(0xb01f84008)
#asahi-dev · 2026-08-13 19:35
svenack
#asahi-dev · 2026-08-13 19:35
jannauwill take a moment, I've shut down to test t6001/t6002
#asahi-dev · 2026-08-13 19:35
svenah, then that please for the dart :D
#asahi-dev · 2026-08-13 19:34
jannaudart.ioread()
#asahi-dev · 2026-08-13 19:34
chaos_princessdart.ioread?
#asahi-dev · 2026-08-13 19:34
svencan you do iova = read32(0xb01f84004) << 32 | read32(0xb01f84000) ... ah crap, do we have something to read a mapped buffer through dart?
#asahi-dev · 2026-08-13 19:33
svenyeah, because the kernel put more stuff in there for the hardware to ignore :(
#asahi-dev · 2026-08-13 19:32
jannauthis was ping from t8103, after ping on t6001 0xb01f14008 changed https://paste.debian.net/hidden/ad8b1642
#asahi-dev · 2026-08-13 19:30
svenwhich is weird
#asahi-dev · 2026-08-13 19:30
sventhird one shows the kernel prepared 0xff buffers and uhh.. the hardware sent at most one
#asahi-dev · 2026-08-13 19:29
svennext one shows the acio never fetched even a single entry from the txring even though the kernel sent 0xe in there :/
#asahi-dev · 2026-08-13 19:29
nicolas17I do wish I could do a direct wired connection between my two laptops, guess I'd have to buy a second USBC-Ethernet dongle and use an Ethernet cable :P
#asahi-dev · 2026-08-13 19:29
svenfirst one is txring0 and PROD=CONS=1 so it's working
#asahi-dev · 2026-08-13 19:27
svenlast one confirms there's no interrupt pending so the issue isn't a wrong irq number in the dt

plus ›