#asahi-dev · 2026-06-04 09:05
sventhat one: #define SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 sys_reg(3, 5, 15, 1, 3)#asahi-dev · 2026-06-04 09:05
svenSYS_IMP_APL_VM_TMR_FIQ_ENA_EL2#asahi-dev · 2026-06-04 09:04
svenit's just that fiq virt mask thingy used in the aic driver#asahi-dev · 2026-06-04 09:04
sveni can't link you because all radars are internal#asahi-dev · 2026-06-04 09:04
StanfordAppliedCyber[m]can you link me to the radar so i can make sure i know what you're talking about exactly? all ik is that i had to add a bunch of fiq stuff to my hypervisor#asahi-dev · 2026-06-04 09:01
svenand gaming still works without TSO, it's just a bit slower *shrug*#asahi-dev · 2026-06-04 09:01
svenand did someone check that TSO really isn't available in raw boot mode anymore? or are we just guessing so far?#asahi-dev · 2026-06-04 08:59
svenis that aic fiq virt thingy fixed now btw? i'll poke them again otherwise#asahi-dev · 2026-06-04 08:45
StanfordAppliedCyber[m]some of them are in the data section of the kernelcache macho that i'm just going to patch to 0#asahi-dev · 2026-06-04 08:45
StanfordAppliedCyber[m]there's just a lot of switches#asahi-dev · 2026-06-04 08:45
StanfordAppliedCyber[m]i think that there actually are ways of turning all this off#asahi-dev · 2026-06-04 07:50
StanfordAppliedCyber[m]and xnu uses our emulated values#asahi-dev · 2026-06-04 07:50
StanfordAppliedCyber[m]just force it to use the syscall#asahi-dev · 2026-06-04 07:50
StanfordAppliedCyber[m]yeah i'm doing that rn, commpage already had a fix for the timer issue#asahi-dev · 2026-06-04 07:49
NickChan[m]check commpage and sysctl possibly#asahi-dev · 2026-06-04 07:49
jannauyuka: yes, just half read what you said then#asahi-dev · 2026-06-04 07:48
StanfordAppliedCyber[m]well then how do the custom sysregs/memory encryption work?#asahi-dev · 2026-06-04 07:46
NickChan[m]it must all be the same#asahi-dev · 2026-06-04 07:46
NickChan[m]different userspace isn't compatible with booting macOS from an external drive#asahi-dev · 2026-06-04 07:46
yukajannau: I think even mac os does no longer use CYC_OVRD on these? Do you mean ACC_OVRD?#asahi-dev · 2026-06-04 07:38
StanfordAppliedCyber[m]is that information just outdated at this point and apple has different userspace for bare metal boot?#asahi-dev · 2026-06-04 07:38
StanfordAppliedCyber[m]how does this work with the custom sysregs#asahi-dev · 2026-06-04 07:38
StanfordAppliedCyber[m]i was told that userspace is the same between the macos vm images and the bare metal installs#asahi-dev · 2026-06-04 07:28
Sobek[m]Fair, though TSO being out is very consistent with ARM past actions on the LKML. (I don't think crippling TSO mode on Asahi was in Apple's interest. (Unless this is part of a plan to phase out Rosetta for Linux too ? Apple did say Rosetta for Linux wasn't going away like Rosetta on macOS).#asahi-dev · 2026-06-04 07:22
chadmedim not entirely sure all of this was done at arm's behest#asahi-dev · 2026-06-04 06:52
StanfordAppliedCyber[m]probably need some el1 helper to make things fast#asahi-dev · 2026-06-04 06:52
StanfordAppliedCyber[m]i think it's clear i'm going to have to settle for modifying the sigill handler#asahi-dev · 2026-06-04 06:51
StanfordAppliedCyber[m]okay well patching commpage fixed the first issue but new sysreg#asahi-dev · 2026-06-04 06:48
NickChan[m]this gets you similar architectural capability as a pcc research guest, where booting a custom sptm is documented#asahi-dev · 2026-06-04 06:47
Sobek[m]Would ARM strong-arm Apple more into breaking that approach / disabling all extensions in that case too ?#asahi-dev · 2026-06-04 06:47
Sobek[m]Or would it get them to stop being so vindictive about raw boot and Apple extensions ?#asahi-dev · 2026-06-04 06:47
Sobek[m]The question is, if we showed a PoC of that, what would ARM and Apple do ?#asahi-dev · 2026-06-04 06:45
NickChan[m]but of course one would still need some thin hypervisor in EL2 to virtualize all the sptm stuffs so it's a very cursed VM#asahi-dev · 2026-06-04 06:44
NickChan[m]Linux in real EL2 under SPTM is actually impossible because userspace can't have RWX#asahi-dev · 2026-06-04 06:44
NickChan[m]Sobek[m]: EL1 avoids the SPTM issues; imagine a Linux VM on macOS but you pass through more and more hardware#asahi-dev · 2026-06-04 06:44
StanfordAppliedCyber[m]to put it mildly, yes, upstreaming that would be an utter nightmare#asahi-dev · 2026-06-04 06:43
Sobek[m]NickChan[m]: But the whole SPTM makes it impractical right ?#asahi-dev · 2026-06-04 06:43
NickChan[m](all of that not withstanding putting linux in EL1 in macho boot mode which is perfectly possible)#asahi-dev · 2026-06-04 06:41
StanfordAppliedCyber[m]yeah i realized that a second after i sent the message#asahi-dev · 2026-06-04 06:41
Sobek[m]JamesCalligeros[m]: Is that a fence instruction that's used when TSO mode isn't a thing ?#asahi-dev · 2026-06-04 06:41
JamesCalligeros[m]Bare metal arm windows relies on acpi and a bunch of other awful shit, its not happening#asahi-dev · 2026-06-04 06:41
JamesCalligeros[m]lrcpc should be available right#asahi-dev · 2026-06-04 06:40
StanfordAppliedCyber[m]bare metal windows sounds horrifying for both apple and microsoft#asahi-dev · 2026-06-04 06:40
StanfordAppliedCyber[m]actually no because that'd just be a vm in macos#asahi-dev · 2026-06-04 06:40
StanfordAppliedCyber[m]..............................................................................................................................ironically microsoft could save us here, if they wanted windows to work on arm macs then apple would def work with them to make it happen#asahi-dev · 2026-06-04 06:39
NickChan[m]no more windows guests cause no hacr#asahi-dev · 2026-06-04 06:39
NickChan[m]definitely not available so no more gaming#asahi-dev · 2026-06-04 06:39
StanfordAppliedCyber[m]TSO ISN'T AVAILABLE IN RAW BOOT?#asahi-dev · 2026-06-04 06:38
Sobek[m](Wait, Apple TSO is not available in Raw boot now ?)#asahi-dev · 2026-06-04 06:36
StanfordAppliedCyber[m]this is definitely a problem we can engineer a solution for