#
✕ nick:nickchan
#asahi-dev · 2025-04-06 11:24
nickchanthey should be standard ARM stuffs
#asahi-dev · 2025-04-06 11:23
nickchanmischa85: can you not use the cpu register timers?
#asahi-dev · 2025-04-06 11:20
nickchanmischa85: i do not think there is a timer in aic on 64-bit apple soc
#asahi-dev · 2025-04-06 11:10
nickchansven: i think interrupts are not used
#asahi-dev · 2025-04-05 07:04
nickchanbut since ps-regs is not present no one really knows how to mess with power domains right now
#asahi-dev · 2025-04-05 07:04
nickchanall i mean is disabling those power domains could possibly save power
#asahi-dev · 2025-04-05 07:03
nickchanmischa85: i never said that
#asahi-dev · 2025-04-04 07:17
nickchanthere are some alternatives that have not been tried however like turning off cpu power domains in pmgr
#asahi-dev · 2025-04-04 07:15
nickchanspace heater is unfun
#asahi-dev · 2025-04-04 07:14
nickchanthough I can see that will make people much more willing to play cat and mouse
#asahi-dev · 2025-04-04 07:14
nickchanchadmed: why would hiding cyc_ovrd defeat the purpose?
#asahi-dev · 2025-04-04 07:10
nickchanand that means on m4 by default wfi is already the shallow wfi
#asahi-dev · 2025-04-04 07:09
nickchanand yuka's fork forced the a7-a11 code path on wfi which is a shallow wfi
#asahi-dev · 2025-04-04 07:09
nickchanchaos_princess: CYC_OVRD is supposedly completely inaccessible so there is no wfi configuration to speak of
#asahi-dev · 2025-04-04 07:07
nickchanit does look like it assuming the m4 forks is not making a horribly incorrect assumption
#asahi-dev · 2025-04-04 07:06
nickchanchadmed: i think power management things and cpu start stop things like that are handled by sptm because of state loss
#asahi-dev · 2025-04-04 07:03
nickchanand we use that and not having that would make for a really bad experience
#asahi-dev · 2025-04-04 07:03
nickchandeep wfi
#asahi-dev · 2025-04-04 07:02
nickchanfrom some of the m1n1 m4 support code i think wfi is also broken somehow
#asahi-dev · 2025-04-04 07:02
nickchanchadmed: another thing
#asahi-dev · 2025-04-04 06:56
nickchannot like that matters in practice already confirmed it does not exist on a11
#asahi-dev · 2025-04-04 06:55
nickchanand after looking into xnu sources it seems that a12 and possibly a13 have TSO too, but not ACTLR, it's HID9[16]
#asahi-dev · 2025-04-04 06:53
nickchanah, *that* got posted onto the mailing list
#asahi-dev · 2025-04-04 06:51
nickchani think there's also a thing where some performance counters have some edge case regarding amx
#asahi-dev · 2025-04-04 06:48
nickchanchadmed: who is "those guys"
#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: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: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: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:46
nickchandoes ACTLR TSO work for raw boot objects at least?
#asahi-dev · 2025-04-04 04:46
nickchanalso
#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:55
nickchanright they stopeed doing so in macOS 15 beta 4
#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:45
nickchanwell only apple knows and this also makes them not able to do NV on M2
#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
#asahi-dev · 2025-04-03 16:42
nickchanneed to be under VHE even macOS NV only does nVHE i think
#asahi-dev · 2025-04-03 16:41
nickchanNV GL1 (so it appears to be GL2) should not need bugs but that would be immense complexity I would imagine
#asahi-dev · 2025-04-03 16:41
nickchanalternative is NV GL1

plus ›