#
✕ nick:nickchan
#asahi-dev · 2026-05-03 05:58
nickchansven: loaded iOS 11's pmp firmware on t8015 now, system endpoint is 0-4, the pmp endpoint is 0x6
#asahi-dev · 2026-05-03 05:58
nickchanhttps://oftc.catirclogs.org/asahi-dev/2026-01-04#34929169
#asahi-dev · 2026-05-01 16:13
nickchanI can deal with that I already get a few during kboot already
#asahi-dev · 2026-05-01 16:12
nickchanit would print the message with ! under normal situation
#asahi-dev · 2026-05-01 16:12
nickchanokay I see now
#asahi-dev · 2026-05-01 16:12
nickchanerm
#asahi-dev · 2026-05-01 16:11
nickchanActually no because the if () condition prints a message and then ignored
#asahi-dev · 2026-05-01 16:08
nickchanjannau: pre-M1 / wdt-version < 2 doesn't have reg[2] in /arm-io/wdt
#asahi-dev · 2026-04-25 11:39
nickchaninexplicible crashes that is also seen on m1/m2
#asahi-dev · 2026-04-25 11:38
nickchan+ there's some hard to fix bugs in the m1n1 hypervisor in general now
#asahi-dev · 2026-04-25 11:38
nickchanin practice though, the macOS kernel definitely needs to be patched cause it tries to access EL2 only registers in in EL1
#asahi-dev · 2026-04-25 11:37
nickchanm3 tracing can work in principle
#asahi-dev · 2026-04-25 11:36
nickchan(for m3)
#asahi-dev · 2026-04-25 11:35
nickchanif you use raw boot mode, then it's *not* due to sptm nonsense
#asahi-dev · 2026-04-25 11:22
nickchannot really possible to distinguish
#asahi-dev · 2026-04-25 11:21
nickchanas in, in some cases not really possible to know if iboot is bugged or the hw has changed
#asahi-dev · 2026-04-25 11:20
nickchanand without unrestricted access to m4 cpu it is hard to see what is supposed to work and what is not supposed to work
#asahi-dev · 2026-04-22 23:54
nickchant8103 still does *not* have sptm
#asahi-dev · 2026-04-22 23:50
nickchan"sptm.t6000.release.im4p"
#asahi-dev · 2026-04-22 23:50
nickchansince macOS 26.4 IPSW
#asahi-dev · 2026-04-22 23:50
nickchangg
#asahi-dev · 2026-04-22 12:47
nickchanm5 confirmed to have microcode https://github.com/apple-oss-distributions/xnu/blob/5c306bec31e314fa4d8bbdafb2f6f5a6b7e7b291/osfmk/arm64/cpc_arm64_events.c#L963
#asahi-dev · 2026-04-20 00:51
nickchanfrom yuka's files all the chicken bits registers are READONLY so the only thing that can really be done is assume they aren't needed
#asahi-dev · 2026-04-20 00:50
nickchanbut a17 very much has chicken bits in sptm
#asahi-dev · 2026-04-20 00:50
nickchanm4/a18 doesn't seem to have any chicken bits in sptm
#asahi-dev · 2026-04-18 02:32
nickchanreplace wfi with wfe; wfit with wfet
#asahi-dev · 2026-04-17 08:33
nickchanthe hypervisor section would save restore all the funny registers
#asahi-dev · 2026-04-17 08:32
nickchanokay I missed that
#asahi-dev · 2026-04-17 08:31
nickchanresearch guest should have most secret registers that aren't power-management related
#asahi-dev · 2026-04-17 08:30
nickchansptm probably would have its own (different) bootargs struct though
#asahi-dev · 2026-04-17 08:30
nickchanyuka: under sptm is a relatively cursed environment I think for starters you should restore a pcc research VM and then set m1n1 as the custom sptm (all documented)
#asahi-dev · 2026-04-17 08:25
nickchanchaos_princess: best bet is to make Linux work and then make windows under kvm :)
#asahi-dev · 2026-04-17 08:23
nickchannamely any hvcs that is part of the vmapple pac calls
#asahi-dev · 2026-04-17 08:22
nickchannot only is the env cursed i have reasons to suspect that the host hv would eat some hvcs so the guest hypervisor can't receive them
#asahi-dev · 2026-04-17 08:20
nickchanand nested virtualization itself is not exposed to guest so no recursive nesting either
#asahi-dev · 2026-04-17 08:20
nickchanthat is the nested virtualization is nVHE (this actually breaks it with windows 11 since it requires VHE for Hyper-V)
#asahi-dev · 2026-04-17 08:20
nickchanthe biggest one being E2H=0
#asahi-dev · 2026-04-17 08:19
nickchanbut it's quite a bit different environment, I am not actually sure if NV is supported for internal ISA level in hypervisor.framework
#asahi-dev · 2026-04-17 08:19
nickchannested virtualization so like vGL2
#asahi-dev · 2026-04-17 08:18
nickchanwhich even has NV on M4!
#asahi-dev · 2026-04-17 08:18
nickchananother place where those secret registers could be used is inside a internal/research ISA level VM
#asahi-dev · 2026-04-17 08:17
nickchanso yeah a macho boot object or a macos kext can use the registers but there's GL2 only registers
#asahi-dev · 2026-04-17 01:08
nickchani don't see how finding out meaning of impl regs that can't be nomially used could be useful
#asahi-dev · 2026-04-10 05:52
nickchanone thing to note about M5 Pro and M5 Max is that there seems to be no T6051 - it's all T6050
#asahi-dev · 2026-04-01 08:41
nickchanMIDR would be different: for A18 Pro it is: 0x60 E-core 0x61 P-core
#asahi-dev · 2026-04-01 08:34
nickchanin the kernel the pmu event names for m1 is generated from /usr/share/kpep/a14.plist and for m2 /usr/share/kpep/a15.plist
#asahi-dev · 2026-04-01 08:34
nickchanthe most confusing one is probably A16 ~ A17 ~ M3 but yeah featureset should be exact same for same core generation
#asahi-dev · 2026-03-14 19:02
nickchan(both of them has 18 cpu cores max)
#asahi-dev · 2026-03-14 19:02
nickchaninterestingly, template adt for m5 pro/max contains 36 cpu entries
#asahi-dev · 2026-03-14 18:18
nickchannice

plus ›