#
#asahi-dev · 2026-08-13 21:05
sven:(
#asahi-dev · 2026-08-13 21:05
jannauusb3 appears to be broken after thunderbolt was active
#asahi-dev · 2026-08-13 21:04
svenI don’t care tbh, I’m just not going to take part in that discussion
#asahi-dev · 2026-08-13 21:03
sven🙃
#asahi-dev · 2026-08-13 21:03
chaos_princessminor memory savings
#asahi-dev · 2026-08-13 21:02
svenand it might be hard to argue for that when adding multiple iommus already works
#asahi-dev · 2026-08-13 21:02
svenit would require an additional device tree property
#asahi-dev · 2026-08-13 21:02
chaos_princessor do we want to not bother
#asahi-dev · 2026-08-13 21:01
chaos_princessbtw, since this is a thing, can we use it for linked darts on isp and such
#asahi-dev · 2026-08-13 21:01
sven*tried
#asahi-dev · 2026-08-13 21:00
svenI‘m kinda glad I obsessively tired to figure out how dart works back when m1 was released and still remembered this
#asahi-dev · 2026-08-13 21:00
chaos_princessthe make-darts-more-confusing one
#asahi-dev · 2026-08-13 21:00
Sobek[m]What feature ?
#asahi-dev · 2026-08-13 21:00
sven🤷
#asahi-dev · 2026-08-13 21:00
chaos_princesswhy is that feature even a thing
#asahi-dev · 2026-08-13 20:59
chaos_princesswait, wtf
#asahi-dev · 2026-08-13 20:58
svenfuck you Apple, was that really necessary :D
#asahi-dev · 2026-08-13 20:57
sven🥳🥳🥳
#asahi-dev · 2026-08-13 20:57
jannauping works
#asahi-dev · 2026-08-13 20:55
svencan you try those two in the fdt?
#asahi-dev · 2026-08-13 20:54
svenSo that’s sid 1 and 2 both mapped to 1
#asahi-dev · 2026-08-13 20:54
jannaudart-acio1 stream 0 is enabled but has nothing mapped
#asahi-dev · 2026-08-13 20:53
jannaudart-dcp with remap = 5 is [0x3020100, 0x7060004, 0xb0a0908, 0xf0e0d0c]
#asahi-dev · 2026-08-13 20:52
jannauREMAP[] is [0x3010100, 0x7060504, 0xb0a0908, 0xf0e0d0c]
#asahi-dev · 2026-08-13 20:39
sventrue, that also works
#asahi-dev · 2026-08-13 20:39
jannauI guess we can just dump it after it is running
#asahi-dev · 2026-08-13 20:39
svenotherwise on the first acio register access
#asahi-dev · 2026-08-13 20:38
svenmaybe hook that pmgr register? though i don't know how quickly the dart comes up after that
#asahi-dev · 2026-08-13 20:38
svenhm.. right, we'd need to capture the early setup
#asahi-dev · 2026-08-13 20:35
jannaudo you have a way to trigger to start the dart tracer when it's powered on
#asahi-dev · 2026-08-13 20:28
jannaum1 has a much more complicated remap in dart-acio* as well
#asahi-dev · 2026-08-13 20:25
svenwould still be good to trace the dart with verbose=3 and just hack the linux driver to reproduce as much of that as possible to rule it out
#asahi-dev · 2026-08-13 20:25
svenso maybe this is just another dead end :(
#asahi-dev · 2026-08-13 20:25
svenhm... okay, that's odd
#asahi-dev · 2026-08-13 20:24
jannauwhat about dart-usb* with remap = 256?
#asahi-dev · 2026-08-13 20:23
svenyes, so it'll just stay however iboot programmed it
#asahi-dev · 2026-08-13 20:23
jannauyes, so we won't reset it at least
#asahi-dev · 2026-08-13 20:22
svenisn't the dcp dart locked?
#asahi-dev · 2026-08-13 20:22
jannaunot sure if it matters. m2 dart-dcp has remap = 0x50700000506 and I'm not aware that we're doing anything with it
#asahi-dev · 2026-08-13 20:17
svenok
#asahi-dev · 2026-08-13 20:17
jannausven: my fault, I looked at the m2 pro adt
#asahi-dev · 2026-08-13 20:15
svenjannau: huh, did i look in the wrong device tree then? i thought base M2 also had no remap
#asahi-dev · 2026-08-13 20:14
sven:(
#asahi-dev · 2026-08-13 20:14
jannauiommus = <.. 0>, <.. 1> did not change anything on linux
#asahi-dev · 2026-08-13 20:13
svenyes
#asahi-dev · 2026-08-13 20:13
jannaum2 dart-acio1 has "remap = 258" as well
#asahi-dev · 2026-08-13 20:13
chaos_princessmax verbose on macos, no?
#asahi-dev · 2026-08-13 20:12
svenmax verbose trace on the dart and also iommus = <.. 0>, <.. 1>; would be nice
#asahi-dev · 2026-08-13 20:11
svenit's usually 0102030405060708090a0b0c0d0e0f iirc
#asahi-dev · 2026-08-13 20:10
svenhttps://github.com/AsahiLinux/m1n1/blob/06a4601a351ebfd1abb6abba9a44c34e40d94776/src/dart.c#L36 that thing

plus ›