#asahi-dev · 2026-02-11 19:36
sveni've seen the talk, he didn't get any debug capabilities#asahi-dev · 2026-02-11 19:36
svensame difference#asahi-dev · 2026-02-11 19:31
sventhat was misleading at best, he got a reply to the generic identify command but everything else was locked down#asahi-dev · 2026-02-11 19:31
svenno, he didn't#asahi-dev · 2026-02-11 19:29
svenapple is pretty damn good at securing their SoCs these days#asahi-dev · 2026-02-11 19:28
sventhere is also authentication these days so even if you have a device that has SWD enabled it needs to talk to apple's servers before it actually unlocks SWD afaik#asahi-dev · 2026-02-11 19:26
sventhere are some fuses deep inside the SoC that are blown#asahi-dev · 2026-02-11 19:26
svenlol, no#asahi-dev · 2026-02-11 19:25
sveni don't understand that question#asahi-dev · 2026-02-11 19:25
svencan you rephrase that?#asahi-dev · 2026-02-11 19:24
svenwhat?#asahi-dev · 2026-02-11 17:48
svenapple gets access to SWD hardware debugging which they unfortunately disable for us :-(#asahi-dev · 2026-02-11 17:47
svenyeah, there's no EL3#asahi-dev · 2026-02-11 17:43
sveni really hope apple can dynamically configure which msrs are read-only and will actually fix this with a firmware updaate#asahi-dev · 2026-02-11 17:42
svenyeah, i was thinking about something like that and in the worst case binary patching xnu to play nice. i was just confused when someone said it would prevent virtualization completely which i assume includes hacks like this#asahi-dev · 2026-02-11 17:35
svenmaz: yes, agreed. i was asking in the context of virtualizing xnu under m1n1 where i don't mind corrupting whatever is necessary for EL1 #asahi-dev · 2026-02-11 16:41
sveneither way, i don't quite see how it would prevent virtualizing xnu and sptm both inside el1. hopefully someone at apple looks at FB21831949 though and hopefully it's possibly for them to re-configure which MSRs are read-only#asahi-dev · 2026-02-11 16:28
sven(in m1n1, not in linux ofc)#asahi-dev · 2026-02-11 16:28
svenwhy does that prevent virtualization entirely and why can't that be hacked around?#asahi-dev · 2026-02-11 16:25
svenjust to put this into context: I'd be faster and more likely to succeed in implementing GL2 virtualization *and* SPTM emulation *and* vmapple+hardware-kexts than finding a SPTM+CTRR bypass#asahi-dev · 2026-02-11 16:24
svenand really, speculation here only makes sense if you have enough technical background otherwise these ideas aren't very useful#asahi-dev · 2026-02-11 16:23
sven"public sptm bypass" just doesn't exist and is extremely unlikely#asahi-dev · 2026-02-11 16:23
sven:-)#asahi-dev · 2026-02-11 16:22
svenfreetolga: yeah, no#asahi-dev · 2026-02-11 16:22
svenyeah#asahi-dev · 2026-02-11 16:21
svenmurdakah: what? i don't understand that question#asahi-dev · 2026-02-11 16:21
svenmeh, at least dart and sart are simple enough#asahi-dev · 2026-02-11 16:20
svenit's m4/m5 where we lose the apple isa extensions in raw mode and can't use apple-entitled mode because we only get control after SPTM is already up and running#asahi-dev · 2026-02-11 16:20
svenon m1/m2/m3 raw mode vs. apple mode doesn't really make a difference fwiw, raw mode is just more convenient #asahi-dev · 2026-02-11 16:15
svenhas to be inside SPTM and used to be in PPL#asahi-dev · 2026-02-11 15:55
svenbut we have no idea if any of those approaches work or what their limitations are#asahi-dev · 2026-02-11 15:53
svendoesn't solve the "EL0 uses apple isa extensions" problem though#asahi-dev · 2026-02-11 15:53
svenand the vmapple idea is to run that kernel in non-apple-entitled mode and inject hardware kexts to trace them that way#asahi-dev · 2026-02-11 15:52
svenEL0 is a bit more tricky, but i guess we could patch EL1 exception handlers and redirect anything undef to EL2 that way as well#asahi-dev · 2026-02-11 15:52
svenEL1 code is read-only anyway so could just static patch genter/exit and other stuff to a hvc#asahi-dev · 2026-02-11 10:37
svenno promises, but they want to support Linux while the kdk releases have been a mess for a long time #asahi-dev · 2026-02-11 10:36
sven*bootloop#asahi-dev · 2026-02-11 10:36
svenlet’s just say I’ve been more successful in e.g. getting that raw object bootloader on m4 fixed with a feedback assistant report ;)#asahi-dev · 2026-02-11 06:06
svenI’ve filed a feedback assistance thingy about that msr last week, so let’s see what happens #asahi-dev · 2026-02-11 05:54
svensame#asahi-dev · 2026-02-10 14:18
svenimho calling the situation on m2/m3 and m4 "similar" is misleading due to that#asahi-dev · 2026-02-10 14:17
svenchaos_princess: well, the biggest difference is that we can't virtualize it easily on m4 anymore but i'm pretty sure we can on m2/m3 if we really cared#asahi-dev · 2026-02-10 14:17
sven*different#asahi-dev · 2026-02-10 14:16
svendon't trust it more than people who actually looked at the difference machines and know the differences#asahi-dev · 2026-02-10 14:16
svenjust like the ADT the security guide is also inaccurate at places#asahi-dev · 2026-02-08 21:24
sventhat’s why you use ccache 🙃#asahi-dev · 2026-02-08 21:21
sven-by