#asahi-dev · 2025-04-04 06:48
nickchanchadmed: who is "those guys"#asahi-dev · 2025-04-04 06:42
svenmaybe that. maybe arm lawyer being annoyed just because they were bored. maybe both. :/ #asahi-dev · 2025-04-04 06:35
chadmedwhat actually made them do this? was it literally those guys being like "we should implement AMX in linux" #asahi-dev · 2025-04-04 06:27
svenhaven’t thought about it in details but probably hijack exception vectors and maybe proxy calls to SPTM to mess with page tables #asahi-dev · 2025-04-04 06:26
svenit’s going to be painful, yes #asahi-dev · 2025-04-04 06:25
nickchannot looking forwards to the copyright implications#asahi-dev · 2025-04-04 06:24
nickchanwhich would be directly from binary RE given the situations#asahi-dev · 2025-04-04 06:22
nickchanand the thing with any kind of patcher is that it will neccessary contain xnu instructions either in code or in comments#asahi-dev · 2025-04-04 06:21
nickchansven: xnu patching, where should it go? (python or in m1n1)#asahi-dev · 2025-04-04 06:13
svenfor the rest patching our tracers into xnu might just work #asahi-dev · 2025-04-04 06:13
sventhough I guess it’s just iommus and power stuff that’s hidden in SPTM and that binary isn’t very large #asahi-dev · 2025-04-04 06:12
svenas long as they’re gonna reverse all the new hardware and write drivers then :D#asahi-dev · 2025-04-04 06:10
nickchanwe will see#asahi-dev · 2025-04-04 06:09
nickchanthink some other people may do it however#asahi-dev · 2025-04-04 06:08
svenbut anyway, I’m not going to play cat and mouse. I’ve done that ages ago on consoles and don’t want to ever do that again. it’s just no fun #asahi-dev · 2025-04-04 06:05
sventhere’s also the issue that booting on >15.1 seems to fail. maybe they accidentally broke raw boot objects and didn’t notice 🙃#asahi-dev · 2025-04-04 06:00
nickchanand the second option means keeping some things secret which is not very open source (though it should be possible to keep the shipped binaries fully open source as long as apple did not mess with hacr or actlr tso)#asahi-dev · 2025-04-04 05:58
nickchansigh so it's either not being able to trace some things or playing cat and mouse#asahi-dev · 2025-04-04 05:56
nickchansven: cpu power management is probably inside sptm too#asahi-dev · 2025-04-04 05:49
svenanother thing that’s going to be annoying: DART etc is inside SPTM so we won’t be able to trace that #asahi-dev · 2025-04-04 05:22
chadmedhopefully they left it as-is since those blas jokers didnt bring it up#asahi-dev · 2025-04-04 05:10
nickchanand the HACR one is *not* compliant at least the PMUv3 part#asahi-dev · 2025-04-04 04:58
nickchan we use those in Linux#asahi-dev · 2025-04-04 04:58
nickchanthat and HACR traps#asahi-dev · 2025-04-04 04:52
chadmedsince its part of the arm spec i dont see why theyd gate that#asahi-dev · 2025-04-04 04:46
nickchandoes ACTLR TSO work for raw boot objects at least?#asahi-dev · 2025-04-04 04:46
nickchanalso#asahi-dev · 2025-04-03 20:54
svent8112 (M2) seems to have SPTM support as well in the latest firmware #asahi-dev · 2025-04-03 16:58
nickchan(vresearch1 is the PCC Research Guest thing)#asahi-dev · 2025-04-03 16:58
nickchanBut I think sptm is very hw-specific#asahi-dev · 2025-04-03 16:58
nickchansven: vresearch1 has a sptm in GL1#asahi-dev · 2025-04-03 16:57
svenand even if there was we’d still need to see if we could stuff SPTM into GL1 and have everything still work as expected #asahi-dev · 2025-04-03 16:57
svenwould be surprised if there was a way to run code in GL2 though #asahi-dev · 2025-04-03 16:55
svenyeah, totally forgot about that #asahi-dev · 2025-04-03 16:55
nickchanright they stopeed doing so in macOS 15 beta 4#asahi-dev · 2025-04-03 16:55
svenohhh true #asahi-dev · 2025-04-03 16:55
nickchaniboot is not encrypted for so it is at least possible to *check* what is happening at least but that's firmly #asahi-re stuff#asahi-dev · 2025-04-03 16:52
sventhe problem with abusing bugs is that they’ll probably still be fixed unless we keep them secret and I really don’t want to play that game again #asahi-dev · 2025-04-03 16:51
svensounds like hv on m4+ is gonna be painful either way *sigh*#asahi-dev · 2025-04-03 16:50
chaos_princesswhose?#asahi-dev · 2025-04-03 16:50
chaos_princessmakes sense#asahi-dev · 2025-04-03 16:49
jannau_chaos_princess: j180d#asahi-dev · 2025-04-03 16:49
jannau_j`ey: not the current ones but https://lore.kernel.org/all/20241204150145.800408-3-maz@kernel.org/#asahi-dev · 2025-04-03 16:46
chaos_princessjannau_: what machine is it#asahi-dev · 2025-04-03 16:45
nickchanwell only apple knows and this also makes them not able to do NV on M2#asahi-dev · 2025-04-03 16:44
chaos_princessdidn't everyone agree that nvhe was a bad idea and was deprecated #asahi-dev · 2025-04-03 16:44
j`eyjannau_: I thought he was just upstreaming stuff from the tree#asahi-dev · 2025-04-03 16:44
chaos_princessbut, like, why#asahi-dev · 2025-04-03 16:44
nickchanand you are correct that the underlying chip is VHE only those do not conflict#asahi-dev · 2025-04-03 16:43
nickchanchaos_princess: macOS emulates nVHE EL2 to guests with virtualization extensions