#asahi · 2021-03-08 16:05
never_releasedI wonder if the reg to trap the GIC regs is known though#asahi · 2021-03-08 16:02
never_releasedknowing Apple, it's probably fully functional#asahi · 2021-03-08 16:01
never_releasedand just traps all the regs to the VMM through Hypervisor.framework#asahi · 2021-03-08 16:01
never_releasedmaz: pretty odd that macOS doesn't use that at all#asahi · 2021-03-08 16:00
never_releasedmakes sense#asahi · 2021-03-08 15:55
never_releasedin addition to AIC?#asahi · 2021-03-08 15:55
never_releasedmaz: so there is a GICv3?#asahi · 2021-02-24 11:49
never_releasedactlr, acfg, ahcr#asahi · 2021-02-24 11:48
never_releasedwouldn't bet against it#asahi · 2021-02-24 11:48
never_releasedI wonder if there's an Apple-specific implementation sitting in AHCR#asahi · 2021-02-24 11:46
never_releasedbut not regular A78 (to match the A55 ISA level I guess)#asahi · 2021-02-24 11:46
never_releasedmeanwhile, Cortex-A78AE and C have PAC among other backports#asahi · 2021-02-24 11:45
never_releasedoh nice#asahi · 2021-02-24 11:44
never_releasedof the NV extensions#asahi · 2021-02-24 11:44
never_releaseddidn't TX3 implement the lunatic ARMv8.3 variant#asahi · 2021-02-24 11:42
never_releasedis apparently no nested virt support#asahi · 2021-02-24 11:42
never_releasedwhat really annoys me in the M1 tho#asahi · 2021-02-24 11:40
never_released(some companies annoyingly do this in the devices they ship)#asahi · 2021-02-24 11:40
never_releasedand then you lose EL2 forever after dropping to EL1, with no way to come back#asahi · 2021-02-24 11:40
never_releasedyou set interrupt routing in HCR to EL1#asahi · 2021-02-24 11:39
never_releasedif you aren't ever going to go back to EL2#asahi · 2021-02-24 11:39
never_releasednot even the need for that#asahi · 2021-02-24 11:39
never_releasedmarcan: you also have the _EL12 variant on those#asahi · 2021-02-24 11:36
never_releasedyes#asahi · 2021-02-24 11:35
never_released*EL2#asahi · 2021-02-24 11:35
never_releasedw/ nothing running at EL#asahi · 2021-02-24 11:35
never_releasedand run Linux there#asahi · 2021-02-24 11:35
never_releasedmarcan: you can drop to EL1#asahi · 2021-02-24 11:35
never_releasedwhat you care about is two things#asahi · 2021-02-24 11:35
never_releasedhint: you can just test without m1n1 there, just from a booted up Linux#asahi · 2021-02-24 11:34
never_releasedEL0 is sane#asahi · 2021-02-24 11:34
never_releasedmarcan: there is, for virtual machines#asahi · 2021-02-24 11:32
never_releasedbecause it could allow communication between VMs#asahi · 2021-02-24 11:31
never_released(for KVM)#asahi · 2021-02-24 11:31
never_releasedmore important than EL2 tbh#asahi · 2021-02-24 11:31
never_releasedmarcan: you might want to test at EL1.#asahi · 2021-02-24 11:29
never_releasedmarcan: no reason to make it trap on EL2 in practice anyway... so#asahi · 2021-02-24 10:30
never_released(only there in the macOS kernel one, private entitlement on iOS)#asahi · 2021-02-24 10:30
never_releasedbut is gated by CONFIG_HYPERVISOR_PUBLIC, which isn't present in the MASTER.arm64 config#asahi · 2021-02-24 10:29
never_releasedthe hypervisor is present on iOS builds too#asahi · 2021-02-24 10:29
never_releasedfunnily enough#asahi · 2021-02-24 10:24
never_releasednot yet, didn't want to poke in detail at the binaries themselves, but will have to do it at some point#asahi · 2021-02-24 10:23
never_releasedthe reg for it is amx_config_el1#asahi · 2021-02-24 10:23
never_releasedand then you specifically have to arm it with the AMX enable instruction#asahi · 2021-02-24 10:22
never_releasedmarcan: you have specific AMX sysregs to toggle#asahi · 2021-02-24 10:22
never_releasedeven AMX is accessible to VMs#asahi · 2021-02-24 10:21
never_releasedyou can experiment from within macOS with GL1 just fine#asahi · 2021-02-24 10:21
never_releasedincluding guarded exec#asahi · 2021-02-24 10:20
never_releasedare accessible within a VM#asahi · 2021-02-24 10:20
never_releasedis that almost all the Apple extensions