#asahi-dev · 2023-02-14 10:38
svenmarcan: the one that adds the t8112-pmgr compatible? #asahi-dev · 2023-02-12 16:10
svenyeah#asahi-dev · 2023-02-12 16:09
svenI mean in the binding where we just list all compatibles #asahi-dev · 2023-02-12 16:00
svenRy_Darcy: please keep that to #asahi #asahi-dev · 2023-02-12 16:00
svencan’t reply on the ML yet cause I’m not at my computer but we should order the compatible by either release date or just numerically#asahi-dev · 2023-02-12 15:01
svennice, less work for me \o/#asahi-dev · 2023-02-10 15:09
svenand I cursed C multiple times while writing it due to that slightly awkward ring buffer #asahi-dev · 2023-02-10 15:08
svenyeah, that implementation was required for dptx #asahi-dev · 2023-02-09 22:08
svenluckily so far we almost never had to actually reverse engineer any firmware#asahi-dev · 2023-02-09 19:36
svenwebcam requires quite a bit of reverse engineering I think #asahi-dev · 2023-02-09 19:35
svenI dunno #asahi-dev · 2023-02-09 19:33
svenwebcam is a pretty big yak ;)#asahi-dev · 2023-02-09 11:34
svenyeah, it's strange#asahi-dev · 2023-02-09 11:26
svenbut I can only test one at a time because the hypervisor needs the other port ofc#asahi-dev · 2023-02-09 11:26
sventhey should be completely separate#asahi-dev · 2023-02-09 11:13
svenlooks like on the M1 one dart has [0x4000, 0x8000_0000] and the other [0x8000_0000 - 0xffff_c000]#asahi-dev · 2023-02-09 11:11
svenjannau: just did a quick test, pciec seems to work fine for iovas inside and outside that region#asahi-dev · 2023-02-09 09:22
svenbut I can test later what happens if I force the iommu domain aperture to that range #asahi-dev · 2023-02-09 09:22
svenno idea#asahi-dev · 2023-02-09 08:43
svenlooks like it only ever tries to read from that mystery address#asahi-dev · 2023-02-09 08:43
svenapple-dart 501a80000.iommu: translation fault: status:0x8f0f0010 stream:15 code:0x10 (READ FAULT) at 0x100100#asahi-dev · 2023-02-08 16:42
svenguess we can eventually try and see what happens on t6k with my Linux driver and that stream set to translate with an empty pagetable #asahi-dev · 2023-02-08 16:37
svenit doesn’t matter much because thunderbolt works just fine even with that stream set to block all access but I’d really like to know what these 0x100100 reads/writes are supposed to do#asahi-dev · 2023-02-08 16:36
svenweird #asahi-dev · 2023-02-08 16:27
svenhuh.. that doesn’t even enable bypass i think #asahi-dev · 2023-02-08 16:19
svenyou need to plug in a tbt device fwiw #asahi-dev · 2023-02-08 16:19
sveni only care about the TCR value for stream 15#asahi-dev · 2023-02-08 16:19
svenjust trace_device should work #asahi-dev · 2023-02-08 15:55
svenohh… wait.. maybe whatever triggers that 0x100100 access actually sends a 64bit address but because once I enable translation I’m limited to 32bit I just don’t see the upper bits #asahi-dev · 2023-02-08 15:38
svenjannau: can you trace a acio dart on your j314? the adt you sent me some time ago seems to have a bypass-address configured for those#asahi-dev · 2023-02-08 14:42
sven... that probably didn't work because stream 15 just seems to be related to an entirely different physical space afaict#asahi-dev · 2023-02-08 13:08
svenlet's see if I can just map that page to some memory and observe if it tries to write anything there#asahi-dev · 2023-02-08 13:07
svenhrm, every write to a NHI ring seems to trigger that fault#asahi-dev · 2023-02-08 12:16
svenyeah, and there's also not DAPF behind the DART#asahi-dev · 2023-02-08 12:07
svenand ofc the thunderbolt/usb4 firmware has almost no strings :<#asahi-dev · 2023-02-08 12:03
svenjannau: hm... possibly. the iova which should be 1:1 to phyaddr in bypass mode is just very strange#asahi-dev · 2023-02-08 09:06
svenso... uh... what the hell is that stream doing?#asahi-dev · 2023-02-08 09:06
svenI've enabled translation without setting up any pagetables and get these faults: apple-dart 501a80000.iommu: translation fault: status:0x8f0f0001 stream:15 code:0x1 (NO TTBR FOR IOVA) at 0x100100#asahi-dev · 2023-02-08 09:06
sventhunderbolt still works if I don't do that#asahi-dev · 2023-02-08 09:06
svenhrm, so the acio dart's stream 15 is set to bypass by macos#asahi-dev · 2023-02-07 19:41
svenpovik works on sound but I think he already added one to that list#asahi-dev · 2023-02-07 19:40
svenno idea, I only know about the ones on the list #asahi-dev · 2023-02-07 07:12
svenprobably not since you couldn’t test it#asahi-dev · 2023-02-06 16:25
svenand figure out why dcpext doesn’t like the DP tunnel #asahi-dev · 2023-02-06 16:25
svenso now I just need to wait for my tbt3 dock and that usb4 hub and hope those work as well#asahi-dev · 2023-02-06 16:24
svenfixed usb2/3 again :)#asahi-dev · 2023-02-06 13:11
svenso now I only have to fix usb2/3 again…#asahi-dev · 2023-02-06 13:11
svenlol, fixed the first plug event by applying the fuse values before nhi is brought up#asahi-dev · 2023-02-06 08:55
sventhat t8112 dart or however it's called was a pretty big upgrade