#asahi-dev · 2026-06-23 07:31
jannauone source are panics in PMGR due to timeouts#asahi-dev · 2026-06-23 07:31
StanfordAppliedCyber[m]but the closest xnu symbol for me is "restoreCPUEnergyAccumulator" (i didn't look beyond finding the closest symbol)#asahi-dev · 2026-06-23 07:31
StanfordAppliedCyber[m]it may or may not be related#asahi-dev · 2026-06-23 07:31
StanfordAppliedCyber[m]but i have a horrible file that's 50 lines of god awful hacks that does a combination of intercepting some pmgr writes (based on the program counter), and then either returning 0, performing the access from el2 and returning the restult, or returning a monotonically increasing counter#asahi-dev · 2026-06-23 07:30
jannauit's partly out of date, you don't need a patched m1n1 and the manual EL2 sysreg patching in com.apple.kernel:_arm_init and com.apple.kernel:_configure_misc_apple_regs anymore#asahi-dev · 2026-06-23 07:30
StanfordAppliedCyber[m]mine were deterministic tahnkfully#asahi-dev · 2026-06-23 07:30
StanfordAppliedCyber[m]on a18pro#asahi-dev · 2026-06-23 07:30
StanfordAppliedCyber[m]i had some weird pmgr difficulties also#asahi-dev · 2026-06-23 07:30
StanfordAppliedCyber[m]i have an idea of what that nondeterminism may come from#asahi-dev · 2026-06-23 07:29
yukaAdding --cpus 4 to the run_guest invocation on top of the existing instructions made it reliable for me#asahi-dev · 2026-06-23 07:28
jannauStanfordAppliedCyber[m]: https://gist.github.com/IntegralPilot/85c355124fe54e670e6d5586c7a07826#asahi-dev · 2026-06-23 07:28
jannaumcc init is still missing for M3 / M3 Pro #asahi-dev · 2026-06-23 07:28
StanfordAppliedCyber[m]iirc there was some gist about how to boot m3 devices under the hypervisor, where is that guide?#asahi-dev · 2026-06-23 07:27
jannauI plan to release m1n1 1.6.0 in the next days. Is there anything to take care of before the release?#asahi-dev · 2026-06-23 07:26
jannauintegralpilot: thanks. If you have any ideas how to fix this please try. I already compared HID and other sysregs. There is still a single bit difference in one of the HID regs but that doesn't chnage anything. My next step is to try to reproduce this in macOS but I can't reliably boot macOS under HV#asahi-dev · 2026-06-23 05:15
integralpilottracks for other sizes (64, 256, 1024, 8192, 16384) that core 4 is always about 3x slower than the other p-clores (5,6,7)#asahi-dev · 2026-06-23 05:15
integralpilotfor AES-256-GCM, core 4 is 58941.07k bytes/sec with 16 bytes size while 5,6,7 are ~150k#asahi-dev · 2026-06-23 05:13
integralpilotjannau: yes, i am on base m3. tested with openssl speed and can confirm core 4 is much slower than the other perf cores for me as well#asahi-dev · 2026-06-23 00:18
StanfordAppliedCyber[m]oh, apparently it isn't fully reliable and the run i did after making that change just got lucky, oh well#asahi-dev · 2026-06-23 00:07
StanfordAppliedCyber[m]it's kind of hard to read as it is#asahi-dev · 2026-06-23 00:07
StanfordAppliedCyber[m]does anyone mind if i reformat the apple proprietary instruction page into a regular markdown table?#asahi-dev · 2026-06-22 23:24
StanfordAppliedCyber[m]i'll make a pr to docs with my current understanding of these ops and sysregs to the apple custom instructions page#asahi-dev · 2026-06-22 23:23
StanfordAppliedCyber[m]progress bar is halfway full now#asahi-dev · 2026-06-22 23:23
StanfordAppliedCyber[m]yep that worked#asahi-dev · 2026-06-22 23:08
StanfordAppliedCyber[m]okay i can confirm the sptm sysreg series from m3 doesn't fault on a18 pro, going to wire that up to my emulator and hope it works#asahi-dev · 2026-06-22 23:07
StanfordAppliedCyber[m]yep#asahi-dev · 2026-06-22 23:06
chaos_princessprobably inspired by that#asahi-dev · 2026-06-22 23:06
chaos_princessfrom what i remember some cache management instructions are encoded almost the same way as a sysreg write#asahi-dev · 2026-06-22 22:55
StanfordAppliedCyber[m]okay i need to write a doc about this, this is useful to other people#asahi-dev · 2026-06-22 22:52
StanfordAppliedCyber[m]it appears sptm for m3 has a completely different cache maintenence mechanism that relies on some sysregs#asahi-dev · 2026-06-22 22:51
StanfordAppliedCyber[m]i can confirm that the weird gxf cache instructions are NOT present on m3 socs#asahi-dev · 2026-06-22 22:43
aites[m]🫡 alright thank you for the advice I shall try that#asahi-dev · 2026-06-22 22:43
aites[m]😭#asahi-dev · 2026-06-22 22:41
chaos_princessok, this is going to be annoying then. install 13.latest, then use that to install 13.5. yes, you will need to chain two installs#asahi-dev · 2026-06-22 22:40
aites[m]chaos_princess: It's a macbook pro M2 Max, which I think can't run 12.latest#asahi-dev · 2026-06-22 22:31
enverbalalicdoes anyone have a dtb for t6041 that i can use to try linux boot on it ?#asahi-dev · 2026-06-22 22:28
chaos_princesswhich device is it, and is it capable of running 12.latest#asahi-dev · 2026-06-22 22:27
aites[m]uploaded an image: (10622KiB) < https://matrix.org/oftc/media/v1/media/download/AfN0_b9jHfnQ4uwRNJ8N3pc_nt51Z1Gwoo9z0APOu7ticl8ZxEg-LwxxI7QvadylOPMOtnQsXOt4c6GjGR86AoxCefOYuG9gAG1vemlsbGEub3JnL2NhMDgyZDExODVlZGE1Mzk2NWVjOTNhMWY0MmU1Y2Q2NGQ1NDFjMWMyMDY5MTg1NjI5MjQ1MTQ1MDg4 >#asahi-dev · 2026-06-22 22:27
aites[m]required installer assets (SFR)"#asahi-dev · 2026-06-22 22:27
aites[m]I used the sudo installer -pkg InstallAssistant.pkg -target / like in the documentation and got the 12gb app, but I could not find in the docs where it explains how to install ventura from the app that this extracts - Can't just click it from macos because the version is too old. I tried flashing it to a USB stick according to the installation instructions on apple's website, but then it gives me the error saying "Failed to download#asahi-dev · 2026-06-22 22:27
aites[m]chaos_princess: Hi, I have tried installing macos ventura version 13.5 based on the installassistant on archive.org (https://archive.org/details/install-assistant_20240930) but in the end I seem to be running into this SFR issue for some reason#asahi-dev · 2026-06-22 22:06
StanfordAppliedCyber[m]it's probably new to m4+ socs#asahi-dev · 2026-06-22 22:06
StanfordAppliedCyber[m]yuka just checked and that instruction doesn't exist on m3 max#asahi-dev · 2026-06-22 21:34
StanfordAppliedCyber[m]sure, i can do that, thanks for the help! will send a pastebin with tests#asahi-dev · 2026-06-22 21:34
StanfordAppliedCyber[m]basically real sptm has a block like dsb 0x00201401 dsb which clearly is doing some page/cache/whatever shenanigans but i'm not sure what and emulating it is proving a pain#asahi-dev · 2026-06-22 21:34
chaos_princesscan you just send over a m1n1 py file with all the tests you want to perform#asahi-dev · 2026-06-22 21:33
StanfordAppliedCyber[m]UNEXP_RT_HIT_DIR#asahi-dev · 2026-06-22 21:33
StanfordAppliedCyber[m]it's some nondeterministic page fault#asahi-dev · 2026-06-22 21:33
StanfordAppliedCyber[m]these instructions are casuing me problems#asahi-dev · 2026-06-22 21:32
StanfordAppliedCyber[m]oh amazing, can someone with an m3 check if 0x00201401 and 0x00201328 fault?