#asahi-dev · 2026-01-16 17:32
svenif someone's looking for a yak to shave that could also replace some boilerplace in drivers already upstream (nvme for sure has that, possibly others too)#asahi-dev · 2026-01-16 17:31
svenlooks like there's dev(m)_pm_domain_attach_list now for any drivers that need >1 pd domain#asahi-dev · 2026-01-15 20:32
svenhuh, i thought we hadn't released it yet#asahi-dev · 2026-01-15 20:31
svenwe should be able to do that after 6.18 is actually released and not just asahi-wip / for testing anymore :)#asahi-dev · 2026-01-15 20:30
svenand i couldn't get it work with the snps,dwc3 compatible present#asahi-dev · 2026-01-15 20:30
svenwe had to change the way the device tree looks because we moved to the dwc3 glue driver approach#asahi-dev · 2026-01-15 20:29
svenyes :-(#asahi-dev · 2026-01-15 13:56
sveniirc shiz suspected something with our adt handling was off #asahi-dev · 2026-01-15 13:55
svennice, wonder if this also caused issues with m3#asahi-dev · 2026-01-15 13:43
svenlol, what#asahi-dev · 2026-01-15 13:31
sventrue, even better!#asahi-dev · 2026-01-15 13:31
svenor just use one from a machine that's exclusive for development anyway#asahi-dev · 2026-01-15 13:30
svenshould be fine as long as we remove nvram and stuff like that#asahi-dev · 2026-01-15 13:19
svenlater this afternoon#asahi-dev · 2026-01-15 13:17
sveneven better if you fix the issues it has ;)#asahi-dev · 2026-01-15 13:14
svenlet's revert it for now then#asahi-dev · 2026-01-15 12:58
sventhen why even bother with ghidra#asahi-dev · 2026-01-15 12:58
svennvm then#asahi-dev · 2026-01-15 12:58
svenah, lol#asahi-dev · 2026-01-15 12:58
svenbut I don't want that same person to implement sptm_emu.c, especially not when they're completely anonymous and haven't worked with the project before at all and when the code is written with AI and looks like asm2c#asahi-dev · 2026-01-15 12:58
svensomeone reverse engineering all SPTM calls with inputs and outputs, etc and *writing that down without asm2c-isms* might be useful#asahi-dev · 2026-01-15 11:43
svenfound it by bisecting and reverting it locally makes the interrupts work again#asahi-dev · 2026-01-15 11:41
svenit's definitely something in that commit#asahi-dev · 2026-01-15 11:22
svenreverting it seems to fix it#asahi-dev · 2026-01-15 11:22
sveni think the tipd interrupts no longer reach macos for some reason with that#asahi-dev · 2026-01-15 11:22
svennickchan: edc2178e59779f7fc2034af456b511213614aa60 breaks usb under the hv for me, do you see anything obivous wrong there?#asahi-dev · 2026-01-15 06:53
svenintegralpilot: sure! just added one more suggestion to the dt-bindings. i think we can just do what we did for smc for the dockchannel parent and the hid-dockchannel child#asahi-dev · 2026-01-14 08:48
svenliterally the length? So just andding invalid stuff like “aaaaaaaaaaa…aaa” has an effect on the boot time? :D#asahi-dev · 2026-01-13 20:12
svenmaybe it's time to drop it everywhere and see what breaks :D#asahi-dev · 2026-01-13 20:06
svenand i guess we need that because some devices can't use the full iova range? i guess some co-processors that do weird things in the firmware?#asahi-dev · 2026-01-13 19:59
svenand we usually need a good justification for any property like apple,sram-iova-base so i'd rather just hardcode it in the driver for now when it's the same everywhere anyway#asahi-dev · 2026-01-13 19:57
sveni'm writing device tree bindings here and wanted to figure out if this thing has to be variable#asahi-dev · 2026-01-13 19:57
svenhmm?#asahi-dev · 2026-01-13 19:56
svenwhat does apple,dma-range do again?#asahi-dev · 2026-01-13 19:56
svenjust to verify that the buffer the co-proc requests aren't outside of its sram region#asahi-dev · 2026-01-13 19:55
svennot really#asahi-dev · 2026-01-13 19:44
svenall machines seems to have 0x10000000 as iova base for the sram, just gonna hardcode that instead of adding another apple, device tree property for now i think#asahi-dev · 2026-01-13 19:37
svengreat, thanks! that should be all i need#asahi-dev · 2026-01-13 19:34
sventhanks!#asahi-dev · 2026-01-13 19:24
svenbut no need to set that all up, there are usually enough people in here who can grab them from m1n1 and extract the nodes :)#asahi-dev · 2026-01-13 19:24
svenit's about apple device trees#asahi-dev · 2026-01-13 19:18
svenhm, good point. maybe all of them ideally to be sure#asahi-dev · 2026-01-13 19:17
svenall variants ideally :D#asahi-dev · 2026-01-13 19:11
sven(from the ADT)#asahi-dev · 2026-01-13 19:11
svenwould be great if people with various M1/M2 devices could paste their /device-tree/arm-io/acio-cpu0 node + subnodes somewhere#asahi-dev · 2026-01-13 17:16
sventhat's weird. it looks like it wants to power on ATC1 but that doesn't happen within its timeout#asahi-dev · 2026-01-13 16:56
svenand that's even without hooking el1 exceptions?