#
✕ nick:sven
#asahi-dev · 2026-09-27 20:32
svenoh lol, i think the pmgr panic and the wfi loop are a symptom of the same thing
#asahi-dev · 2026-09-27 19:28
svenit either dies with that PMGR thing, with that AMCC thing or it ends up trying to put all cores into deep sleep which makes them all get stuck in an endless 1: wfi; 1b loop
#asahi-dev · 2026-09-27 19:26
svenit's still somewhat unstable but if it boots the login screen i usually have 1-2 minutes before it dies
#asahi-dev · 2026-09-27 19:26
svenyuka: fwiw, i'll try to get this thing up as a PR in the next 1-2 weeks, let me know if you need something specific traced before that on my m4 pro
#asahi-dev · 2026-09-27 18:27
svenhuh.. that's new
#asahi-dev · 2026-09-27 18:27
svenpanic(cpu 2 caller 0xfffffe003a2fe8c4): AMCC1 PLANE2 UNEXP_RT_HIT_DIR error: INTSTS1 0x00000100 AFERRLOG0/1/2/3/4/5 0xc8000800/0xfe2902/0x11c1f5d0/0x800/0x4/0 ADDR 0x102c8000800 CMD/SIZE 0x5(ncrdincri)/0x7f AID/TID 0x1f5d0/0x11c/0 @AppleH16GFamilyPlatformErrorHandler.cpp:2915
#asahi-dev · 2026-09-27 16:50
svennickchan: done
#asahi-dev · 2026-09-27 15:37
sven+an
#asahi-dev · 2026-09-27 15:37
svensecure kernel for m5+ is also going to be even more cursed with this, but that's issue for later i guess
#asahi-dev · 2026-09-27 15:26
sveni think i can't get rid of the last one, but i should be able to virtualize those mmio regions and just report the correct values
#asahi-dev · 2026-09-27 15:26
svenwith correct initial values for the CTRR sysregs that's even less binary patching for SPTM. what's missing is the mmio part of the locked memory regions and another patch where it fails if its base is somewhat above ram_start
#asahi-dev · 2026-09-27 14:42
svenit's luckily rare enough but that also means i have almost no motivation to debug it :D
#asahi-dev · 2026-09-27 14:41
svennickchan: i dunno, but even the latest HEAD still has some cursed issue, probably something with caching around MMU enable, that i hit occasionally on M4 pro :(
#asahi-dev · 2026-09-27 14:31
svennow let's see about that CTRR crap
#asahi-dev · 2026-09-27 14:31
svenwith that mpidr thing i need one less binary patch to sptm \o/
#asahi-dev · 2026-09-27 12:40
svenhrm, i guess i can just seed the CTRR regs which I emulate anyway with the correct values
#asahi-dev · 2026-09-27 12:39
svenit checks if CTRR and the lockdown stuff in AMCC is configured correctly which it really isn't once I move SPTM 2GB up in RAM
#asahi-dev · 2026-09-27 12:38
svenor at least move them to python so that they're done automatically
#asahi-dev · 2026-09-27 12:38
svenyeah... i'll also see if i can get rid of the binary patches done to sptm now
#asahi-dev · 2026-09-27 12:36
svengetting this thing to work was clearly much more fun than now trying to understand wtf is actually required and what's just weird hacks that went nowhere :D
#asahi-dev · 2026-09-27 09:30
svennice, i'll wait with cleaning up the rest of the m4 hv until that's merged then
#asahi-dev · 2026-09-27 09:19
svenjannau: can i convince you to review (or just merge and hope for the best, lol) https://github.com/AsahiLinux/m1n1/pull/643 ?
#asahi-dev · 2026-09-26 18:41
svenodd
#asahi-dev · 2026-09-26 18:21
svenyeah
#asahi-dev · 2026-09-26 18:20
svenone RC earlier
#asahi-dev · 2026-09-26 18:20
sventhis is probably useable for tracing random hardware but it still dies very often
#asahi-dev · 2026-09-26 18:20
sveni'll do the double reinstall tomorrow
#asahi-dev · 2026-09-26 18:20
svenyup
#asahi-dev · 2026-09-26 18:19
svenbut that's good enough for today
#asahi-dev · 2026-09-26 18:19
svenhttps://f.svpe.de/b2947e94340fd9094450e37430424e7ee38c1a37a56cfc906154056d8b69162c_yay.jpeg well.. very unstable, i see those PMGR panics and just got another ACC one
#asahi-dev · 2026-09-26 18:17
sven*shouldn't
#asahi-dev · 2026-09-26 18:15
svenwell.. i should've have celebrated already panic(cpu 9 caller 0xfffffe003a12ae60): "ApplePMGR: void ApplePMGR::_waitForXNUClusterPowerGatingThreadCall():11868 " "Deadline: 0xf796445f, AbsTime: 0xf7b91b9b XNU ACC cluster rail-gating callback failed to respond in 30 seconds" @ApplePMGR.cpp:11868
#asahi-dev · 2026-09-26 18:14
svenlol, old SPTM boots with the slightly newer kernelcache it seems :D
#asahi-dev · 2026-09-26 18:09
svenyeah, i guess i'll try that tomorrow
#asahi-dev · 2026-09-26 18:04
svenwell fuck... recovery ofc installed another macos version and this still relies on binary patches to SPTM to remove some checks
#asahi-dev · 2026-09-26 17:25
sven\o/
#asahi-dev · 2026-09-26 17:04
svenyeah, that password doesn't work in recoveryos either
#asahi-dev · 2026-09-26 17:02
svensep is up just fine from what i can tell
#asahi-dev · 2026-09-26 17:02
sventhis is clearly PEBKAC
#asahi-dev · 2026-09-26 17:01
svenno, i probably used something unusual for some dumb reason and forgot
#asahi-dev · 2026-09-26 17:01
svennow it's up to 5 minutes :(
#asahi-dev · 2026-09-26 16:59
svenbut my usual password doesn't work
#asahi-dev · 2026-09-26 16:59
sventhat's under the hv, i had to drop the atc from that dfp-endpoints
#asahi-dev · 2026-09-26 16:59
svenhttps://f.svpe.de/db8c233b524a008a1dceeab1b3013e1012f92111c56cb0500b5bf27a8ee4b4e3_sigh.jpeg
#asahi-dev · 2026-09-26 16:57
sventhough i don't see why that would make hdmi fail
#asahi-dev · 2026-09-26 16:57
sventhe atc i stole is still in dfp-endpoints of the crossbar, let's see if removing it helps
#asahi-dev · 2026-09-26 16:56
sventhere's just an alias for dcpext3 that points to an invalid node
#asahi-dev · 2026-09-26 16:56
svenit doesn't :D
#asahi-dev · 2026-09-26 16:55
svenoh... is this because i'm stealing that one atc from the adt for the hv and something changed on m4?
#asahi-dev · 2026-09-26 16:49
sventhere's dcp0 = /arm-io/dcp0 in aliases but i don't see that node

plus ›