#
✕ nick:sven
#asahi-dev · 2026-10-17 18:22
svenshutup :P
#asahi-dev · 2026-10-17 18:18
svenand with stealing memory from the end of RAM i just got rid of the last binary patch to SPTM \o/
#asahi-dev · 2026-10-17 09:57
sveni still have to move that to the end
#asahi-dev · 2026-10-17 09:57
svenand you still need a binary patch to SPTM to ignore a panic where it doesn't like that I steal 2 GiB at the beginning of RAM
#asahi-dev · 2026-10-17 09:56
svenmy plan is to get all of that pushed this weekend
#asahi-dev · 2026-10-17 09:56
svenso there could still be subtle cache issues but meh... good enough for now :D
#asahi-dev · 2026-10-17 09:56
sventhat's with just ignoring that weird AMCC panic that made it crash before
#asahi-dev · 2026-10-17 09:55
svenand at least 5 minutes after login, but probably ~forever as well
#asahi-dev · 2026-10-17 09:55
svenit survives ~forever on the login screen
#asahi-dev · 2026-10-17 09:45
svenjannau: ugh.. that sounds like a rather big limitation :/
#asahi-dev · 2026-10-17 09:44
svenI wonder if I should just merge hv_sptm and hv_sprr at this point since they're now rather coupled anyway and more or less do the same thing
#asahi-dev · 2026-10-17 09:43
sventhe good news is that I can just create all the missing PRs for the m4 hv now and j_anne then just gets to review 10 of them at once :D
#asahi-dev · 2026-10-17 09:24
sventhat github stacked PR things seems to be quite useful
#asahi-dev · 2026-10-16 20:05
svenyup, that's it
#asahi-dev · 2026-10-16 19:34
svenhttps://www.usenix.org/system/files/usenixsecurity23-cai-zechao.pdf
#asahi-dev · 2026-10-16 19:33
svenlet's see if that works instead of that hack I had
#asahi-dev · 2026-10-16 19:33
sven*overriding
#asahi-dev · 2026-10-16 19:33
svenlol, I finally figured out that PAC thing I hacked which made no sense to me. I think it's just APCTL override the bits in SCTLR
#asahi-dev · 2026-10-16 18:04
svenyup, thanks. merged!
#asahi-dev · 2026-10-16 16:22
svensure, I first wanna get the rest of the m4 hv upstream
#asahi-dev · 2026-10-15 13:30
svenbut I first want to merge that sptm PR for m2/3 and then hopefully get the rest of the m4 hv stuff up as a PR this weekend
#asahi-dev · 2026-10-15 13:30
svenstill need to get m1n1 on there and see if the hv just works
#asahi-dev · 2026-10-15 13:29
svensure, have a mba m5 base, just let me know if you need something tested
#asahi-dev · 2026-10-15 13:12
sventhe final release for 7.3 is this weekend, isn’t it? probably too late for the m4 pro/max series but I’ll pick it up after -rc1 is out then
#asahi-dev · 2026-10-15 09:29
sventhanks!
#asahi-dev · 2026-10-15 09:04
sventhanks, should be fixed now
#asahi-dev · 2026-10-15 08:23
svencan someone test if the HV still works for macOS on m1/2/3 before SPTM with this PR? I can test m1 this evening but have to go through a dfu restore https://github.com/AsahiLinux/m1n1/pull/698
#asahi-dev · 2026-10-14 16:30
svennice work!!
#asahi-dev · 2026-10-14 09:26
sven🎉
#asahi-dev · 2026-10-14 06:25
svenjust gotta finish the last parts now
#asahi-dev · 2026-10-14 06:25
svenyeah. the code that’s upstream is also much less hacky now
#asahi-dev · 2026-10-14 06:24
sven(excluding the fully automated single instruction patches for all the impdef sysregs and instructions ofc)
#asahi-dev · 2026-10-14 06:23
sven* able to
#asahi-dev · 2026-10-14 06:23
svenand with chaos suggestion I should be ablento get rid of the last one as well
#asahi-dev · 2026-10-14 06:23
svenLarstiQ: instead of five or so annoying binary patches in SPTM and XNU that changed for each version it’s down to a single patch now
#asahi-dev · 2026-10-13 20:48
sveni think at this point i spent almost as much time cleaning up that m4 hv as writing it in the first place 🙃
#asahi-dev · 2026-10-13 10:52
svenis still impressed how professional that thing looks now
#asahi-dev · 2026-10-13 10:40
sven!! just becomes the previous command
#asahi-dev · 2026-10-13 10:20
svenyup!
#asahi-dev · 2026-10-13 10:18
svennice!!
#asahi-dev · 2026-10-13 08:54
sventhird try worked now, second attempt failed with the same weird error
#asahi-dev · 2026-10-13 08:18
svenI kinda hope to get the rest of the mess up as PR this weekend. https://github.com/AsahiLinux/m1n1/pull/698 should already make SPTM work on M2 and possibly M3
#asahi-dev · 2026-10-13 08:17
sven:<
#asahi-dev · 2026-10-13 08:16
sventhey really don't want the hv to work on m5, do they? :P
#asahi-dev · 2026-10-13 08:16
svenbut maybe that's a different error then? :D
#asahi-dev · 2026-10-13 08:15
sventhe installer quit and even disk util shows me that I have to erase the disk
#asahi-dev · 2026-10-13 08:15
svenin this case it's actually what it says
#asahi-dev · 2026-10-13 08:15
svenat the end of the installation and now I can only erase that disk and try again
#asahi-dev · 2026-10-13 08:14
svenalso, lol, apple: osinstallersetupd 377]: Disk disk3s1 has secure tokens, but no local users. User will need to erase the volume before it can be used.
#asahi-dev · 2026-10-13 08:14
svenstill surprised we'll have a lovely looking installer soon :D

plus ›