#asahi-dev · 2026-08-18 18:43
jannaudevicetree looks good, I assumed it was a t602x thing but should test if t600x regressed#asahi-dev · 2026-08-18 18:43
floklisven: https://github.com/AsahiLinux/linux/blob/53a142828b08cbcacde04538d49e4166901ff254/drivers/thunderbolt/apple.c#L753 s/happens/happen/#asahi-dev · 2026-08-18 18:43
sventhat sounds like the control ring doesn't work though because it get an unmapped iova somehow#asahi-dev · 2026-08-18 18:42
svenhrm... how did i break that now.#asahi-dev · 2026-08-18 18:39
jannaudoesn't work though, I get a dart translatrion error for stream 1 and it fails to allocate host router due to a timeout#asahi-dev · 2026-08-18 18:33
jannauthe mailbox is correct and acio boots. was probably caused by the tunables mixup#asahi-dev · 2026-08-18 18:14
svenreg = <0x7 0x01108000 0x0 0x4000>#asahi-dev · 2026-08-18 18:14
svener, wait, the mailbox didn't even move below the parent node. #asahi-dev · 2026-08-18 18:12
jannauit's 0x701108000#asahi-dev · 2026-08-18 18:12
jannauyes, looks like it#asahi-dev · 2026-08-18 18:11
sveni did move them below the parent with ranges but that worked on m1, maybe something went wrong there#asahi-dev · 2026-08-18 18:11
svendid i get the mailbox addr wrong then?#asahi-dev · 2026-08-18 18:11
svenhuh#asahi-dev · 2026-08-18 18:10
jannauMMIO: W.4 0x28e08a02c (error-handler[2], offset 0xa02c) = 0x2, then poll until it reads 0, and then M3 ctrl = 0x2 (START=1)#asahi-dev · 2026-08-18 18:10
svenhrm, and rtkit still fails to boot? that's odd#asahi-dev · 2026-08-18 18:10
jannauI think your magic pmgr offset is correct#asahi-dev · 2026-08-18 18:01
svenah :D#asahi-dev · 2026-08-18 18:01
jannauwhich was required for the old version#asahi-dev · 2026-08-18 18:01
jannau"kboot: Change name of acio alias" as local change#asahi-dev · 2026-08-18 18:01
jannaukinda my fault. My m1n1 still has your "#asahi-dev · 2026-08-18 17:56
sveni'm very confused now. https://github.com/AsahiLinux/m1n1/blob/53f8ee9b54ba52b7f87e607e8206a8c827f06b04/src/kboot.c#L1264 #asahi-dev · 2026-08-18 17:54
jannaum1n1 logged "Unable to find alias usb4_1_acio" and the linux driver failed to load with missing tunables. I haven't looked further#asahi-dev · 2026-08-18 17:52
sveni don't think m1n1 would even look for usb4_N_acio. it still has that old ..._{rc,nhi} I think#asahi-dev · 2026-08-18 17:51
svengimme a moment, let me find the kext again #asahi-dev · 2026-08-18 17:51
svenare you sure that alias patch is required? because I don't think they should be neccessary unless I'm confused#asahi-dev · 2026-08-18 17:50
jannausure, do you have a good guess where it is or do I better trace pmgr completely?#asahi-dev · 2026-08-18 17:43
svenit's unfortunately no longer hardcoded in that kext since m2#asahi-dev · 2026-08-18 17:42
svencan you trace pmgr on macos? i tried to statically reverse engineer that reset-controller address but somehow got it wrong then#asahi-dev · 2026-08-18 17:41
svenapple_rtkit_poweroff+0x2c/0xb0 <-- probably not the best idea to try to send a message when rtkit never came up :D#asahi-dev · 2026-08-18 17:40
svenwell, the "not exactly duplicate set"#asahi-dev · 2026-08-18 17:40
sventhat's why i have the duplicate set of aliases so that the current and the to-be-fixed one works#asahi-dev · 2026-08-18 17:40
svenyes#asahi-dev · 2026-08-18 17:40
jannauoh, so we need to fix m1n1#asahi-dev · 2026-08-18 17:40
svenyes, that works#asahi-dev · 2026-08-18 17:39
jannauuse https://gist.github.com/jannau/38035e43d862bf8a41b75573a5e227dd if github works#asahi-dev · 2026-08-18 17:39
svenhrm, now it loaded but "Your requested paste entry '59485152' could not be found "#asahi-dev · 2026-08-18 17:39
svenright, eventually i only need the "-" ones because the dts check complains otherwise. it doesn't like the _#asahi-dev · 2026-08-18 17:38
jannauthey overlap. usb4_?_acio aliases are missing but there there is complete set of usb4-?-* aliases with "-"#asahi-dev · 2026-08-18 17:37
svenpaste.debian.net doesn't seem to load here#asahi-dev · 2026-08-18 17:36
svenprobably lost the missing aliases during the last rebase :(#asahi-dev · 2026-08-18 17:35
jannauresults in an hung irq handler https://paste.debian.net/hidden/59485152#asahi-dev · 2026-08-18 17:34
svenhmmm… then I have the address for the reset controller wrong probably #asahi-dev · 2026-08-18 17:34
jannausven: m2 pro: "thunderbolt-apple-acio f01ac0000.cio: M3 RTKit failed to boot: -62" after the obvious incomplete fix for the aliases: https://paste.centos.org/view/68e73df7#asahi-dev · 2026-08-18 16:06
sven*if#asahi-dev · 2026-08-18 16:06
svencompletely untested, happy to take patches of it breaks ;)#asahi-dev · 2026-08-18 16:05
svenliv[m]: as promised, the ping once the m2 dt changes are ready #asahi-dev · 2026-08-18 15:55
fl0_idthx!#asahi-dev · 2026-08-18 15:55
svenhope i didn't regress anything there but that should match what xnu does#asahi-dev · 2026-08-18 15:53
svenfl0_id: https://github.com/AsahiLinux/linux/blob/53a142828b08cbcacde04538d49e4166901ff254/drivers/thunderbolt/apple.c#L710 that the cable VSE nonsense#asahi-dev · 2026-08-18 15:52
svenhttps://github.com/AsahiLinux/linux/commits/tbt-reset-wip/ new version, now with all M2 dts changes as well. only lightly tested on base M1