#
✕ nick:sven
#asahi-dev · 2026-10-13 08:13
svenvery nice!
#asahi-dev · 2026-10-13 07:17
svenlooks nice on mobile!
#asahi-dev · 2026-10-12 15:36
svenyay, my m5 MacBook just arrived. probably won't have any time today to see how hard it is to get the hv up there :(
#asahi-dev · 2026-10-12 14:51
sventhis looks very nice! thanks for those mockups!
#asahi-dev · 2026-10-12 12:25
svenstats should be either opt-in if it’s a checkbox or a yes/no choice
#asahi-dev · 2026-10-12 12:20
svenagreed, looks really nice!
#asahi-dev · 2026-10-12 11:28
svenwow, that looks incredible. especially compared to the very first draft
#asahi-dev · 2026-10-12 08:38
sventhat looks quite nice
#asahi-dev · 2026-10-12 08:16
svennice!
#asahi-dev · 2026-10-12 06:53
svenfair enough, I didn’t think about vibes
#asahi-dev · 2026-10-12 06:52
svenwhat’s so bad about curl|sh?
#asahi-dev · 2026-10-12 06:29
svenTrue, and I’d rather not annoy Apple into locking down 1TR further because we hide the scary text
#asahi-dev · 2026-10-11 20:02
svenso this should actually be easy i think
#asahi-dev · 2026-10-11 20:02
svenwait.. i actually use heapblock_alloc directly anyway because dlmalloc wastes a lot of heap space for the shadow tables otherwise
#asahi-dev · 2026-10-11 19:59
sveni'd have to move m1n1's heap there.. dunno how much effort that actually requires
#asahi-dev · 2026-10-11 19:59
sven$effort
#asahi-dev · 2026-10-11 19:42
svenit really doesn't like me stealing 2 GiB or so at the beginning of RAM and i need to patch out one panic
#asahi-dev · 2026-10-11 19:42
svenah.. i broke the PAC crap again. now there's only one binary patch required to SPTM that i probably can't get rid of
#asahi-dev · 2026-10-11 16:46
svenbah.. how did i break the hv with this :( binary patching hvcs into xnu and sptm worked
#asahi-dev · 2026-10-11 14:01
sveni already own the pagetables anyway so i can inject a custom exception table that just does hvc
#asahi-dev · 2026-10-11 14:00
svenyeah, i can trap erets with FEAT_FGT or however it's called
#asahi-dev · 2026-10-11 13:58
sveneither way, next PR is gonna be fun as well because i need to trap all exceptions (and erets from GL) to keep track of state
#asahi-dev · 2026-10-11 13:56
svenso maybe it also calls to SPTM for pagetables?
#asahi-dev · 2026-10-11 13:56
sventhough i guess then they'd need to do two-stage translations if they want to protect SPTM
#asahi-dev · 2026-10-11 13:55
sveni'm not sure what secure kernel does, it might just built its own pagetables
#asahi-dev · 2026-10-11 13:55
sventhe nice part about SPTM and XNU is that they both share pagetables and VBAR
#asahi-dev · 2026-10-11 13:55
svenyeah, i need to swap VBAR when switching between EL and GL to the right shadow tables
#asahi-dev · 2026-10-11 13:44
sventhe other concern i had with that hack is that EL1 can write to CPACR_EL1 as well
#asahi-dev · 2026-10-11 13:43
svenoh, nice!
#asahi-dev · 2026-10-11 13:41
svenit felt like a big hack to me because only a few fields line up iirc
#asahi-dev · 2026-10-11 13:40
svenhuh, really?
#asahi-dev · 2026-10-11 13:36
sventhanks, and yup, that's a typo!
#asahi-dev · 2026-10-11 12:56
svenalso, yay, looks like my m5 air will arrive tomorrow a week and a half ahead of schedule \o/
#asahi-dev · 2026-10-11 12:48
svenany chance i could get https://github.com/AsahiLinux/m1n1/pull/695 reviewed (or just blindly merged because it won't break anything for end-users :-P). kinda want to continue building the rest of the SPTM crap on top of that
#asahi-dev · 2026-10-11 07:14
sveni'll try to get the rest ready in the next days now that i'm back from vacation
#asahi-dev · 2026-10-11 07:14
svenyuka: don't think that's enough for m4, lukas' PR should be enough to run SPTM on M2/M3 though
#asahi-dev · 2026-10-08 09:39
svenyeah, I’ll check once my m5 arrives if the hv just works with disabled secure kernel and enclaves
#asahi-dev · 2026-10-05 11:55
svenif it happens more often or something else happens there’s another bug somewhere that I never hit
#asahi-dev · 2026-10-05 11:54
svenand when it doesn’t work it will just hang when the secondaries are started
#asahi-dev · 2026-10-05 11:54
sveneven without C1 it should work like 95% of the time
#asahi-dev · 2026-10-05 11:52
svenbut it works most of the time for me now
#asahi-dev · 2026-10-05 11:51
sventhere’s probably another rare cache race bug or something similar
#asahi-dev · 2026-10-05 11:51
svenI very rarely see it now
#asahi-dev · 2026-10-05 11:51
svensometimes m4 pro smp bringup hangs but that should already be much better in the current main branch
#asahi-dev · 2026-10-05 08:08
svenand ugh… that fucking description :(
#asahi-dev · 2026-10-05 08:07
svenNice, do maybe PCIe hotplug will just work now
#asahi-dev · 2026-10-04 17:41
svenit’ll tell you which one
#asahi-dev · 2026-10-04 17:41
svenno need to disable FileVault, you just have to drop one of the flags from bputil then
#asahi-dev · 2026-10-04 17:25
svenjust need to clean all that stuff up and wait for j-annau to review it
#asahi-dev · 2026-10-04 17:24
sventhe SPRR/GXF emulator also needs a few fixes

plus ›