#
✕ nick:sven
#asahi-re · 2026-01-26 21:20
svenyeah
#asahi-re · 2026-01-26 21:19
svenbut worth a try anyway
#asahi-re · 2026-01-26 21:19
svenmight just be that the msr that disables everything also disappears itself :D
#asahi-re · 2026-01-26 21:19
svenbut i think they could all be read on M1/M2 at least
#asahi-re · 2026-01-26 21:19
svenhm.. i know that certain msrs can't be _written_ to anymore once GL2 is enabled from EL2
#asahi-re · 2026-01-15 08:17
svenalso reads like asm2c which is precisely what we need to avoid
#asahi-re · 2026-01-15 08:16
svenfl0_id: nah, you're right. it's essentially **untested** AI slop by an anonymous contributor without even a nickname
#asahi-re · 2026-01-15 08:05
svenhrm, i'd really expect this to be a msr since it disables something inside the cpu and that's the easiest place to hook up that up
#asahi-re · 2026-01-13 19:33
svenyeah, if that ends up writing to some msr this disable could be something similar
#asahi-re · 2026-01-13 19:28
sven*machine
#asahi-re · 2026-01-13 19:28
svenhave to check on my other machines, this was a few weeks ago. I think I looked at m4 sptm back then
#asahi-re · 2026-01-13 19:28
svenbut dunno, maybe I just didn't see the real SPTM entry point that setups GL2
#asahi-re · 2026-01-13 19:27
sveni also thought SPTM setup happens there
#asahi-re · 2026-01-13 19:27
sveni'm pretty sure the lockout happens in iboot stage 2, maybe stage 1
#asahi-re · 2026-01-13 19:23
svenwhen I briefly looked at the SPTM blob a while ago it didn't appear that way, but maybe i missed something
#asahi-re · 2026-01-13 07:42
svenno, the macho is essentially deprecated
#asahi-re · 2026-01-11 21:33
sventhat would be nice
#asahi-re · 2026-01-11 21:32
sven*would make
#asahi-re · 2026-01-11 21:32
svenor if it turns out that the bit that disables gl2 isn't actually write-once :D
#asahi-re · 2026-01-11 21:32
svenyeah, custom boot object for sptm would be this much easier
#asahi-re · 2025-10-28 21:23
svenit won’t even have all function names probably
#asahi-re · 2025-10-28 21:23
svenit won’t have full debug symbols, etc
#asahi-re · 2025-10-28 21:22
sventhose development builds are also meant for people who write kexts and are probably not what Apple uses internally
#asahi-re · 2025-10-28 21:20
svenkeep in mind the the source dump is incomplete because Apple redacts all the interesting parts
#asahi-re · 2025-10-16 20:47
svenalso the usual warning: the full ADT blob contains a bunch of sensitive data
#asahi-re · 2025-10-16 07:51
svenpossibly, or they got better at preventing leaks
#asahi-re · 2025-10-07 11:55
svenprinting a stack trace is a bit tricky because that can easily cause an additional fault or get stuck otherwise
#asahi-re · 2025-04-24 12:13
sven*if we do the tracing via patching xnu
#asahi-re · 2025-04-24 12:13
svenif we do the tracing all this work you've been doing sounds like a good base to start from though
#asahi-re · 2025-04-24 12:13
svenso i still wonder if we'll have to resort to patching xnu for tracing m4+ or if it's easier to virtualize GL2, etc.
#asahi-re · 2025-04-06 13:04
svenor does it lock automatically after writing to it these days?
#asahi-re · 2025-04-06 13:03
sventhe only weird part is that the reg is locked
#asahi-re · 2025-04-06 13:03
svenyeah
#asahi-re · 2025-04-06 13:02
svenm1n1's entrypoint is 0x800 from its base
#asahi-re · 2025-04-06 13:01
svenbut i don't think we lock that reg down
#asahi-re · 2025-04-06 13:00
svendoesn't m1n1 set that to its reset vectors as well?
#asahi-re · 2025-04-06 12:57
svenyeah, could be that it was just locked by m1n1
#asahi-re · 2025-04-06 12:57
svenalso, where is m1n1 located?
#asahi-re · 2025-04-06 12:56
svenbut that explains why you had issues bringing up the other cores
#asahi-re · 2025-04-06 12:56
svennot inside CTRR though
#asahi-re · 2025-04-06 12:55
svenhah
#asahi-re · 2025-04-06 12:35
svenespecially for the secondary cores
#asahi-re · 2025-04-06 12:35
sveni'd take a look at that value and see if it happens to point into one of these CTRR regions
#asahi-re · 2025-04-06 12:34
svenalso dump that cpu start region and look for the IORVBAR value or however that's called
#asahi-re · 2025-04-06 12:33
svenif this was my machine I'd dump these regions and take a look at them, but since they contain apple code we shouldn't share them unfortunately . they seem to all be rather large though.
#asahi-re · 2025-04-06 12:22
sventhat's likely the coprocessor firmware region
#asahi-re · 2025-04-06 12:16
svens3_0_c11_c6_6 is [3, 0, 11, 6, 6] or what do you mean?
#asahi-re · 2025-04-06 12:09
svendidn't the sysregs also change when they introduced PPL? i'm not sure they still limit instruction fetches these days
#asahi-re · 2025-04-06 12:08
svenand the sysreg restrictions at least limit writes to caches
#asahi-re · 2025-04-06 12:06
svendram restriction is MMIO iirc

plus ›