#asahi-dev · 2026-09-25 17:15
svenah, that probably explains it. actual xnu might just die too early to initialize the display#asahi-dev · 2026-09-25 17:10
svenunrelated, but either my hdmi capture card is broken or i somehow dont get any display output in m1n1 already#asahi-dev · 2026-09-25 16:02
svenblergh.. now PMP doesn't want to init i think and that makes xnu panic after a timeout#asahi-dev · 2026-09-25 14:39
sventhat was an serror#asahi-dev · 2026-09-25 14:39
svenprobably a writing to that SPRR sysreg#asahi-dev · 2026-09-25 14:39
svenyes, it's a userspace panic#asahi-dev · 2026-09-25 14:38
svenbut yeah... wouldn't surprise me#asahi-dev · 2026-09-25 14:38
svencan't easily see the backtrace, but it's an undefined instruction EL0 panic#asahi-dev · 2026-09-25 14:35
svenwell, pages. cpu-impl-reg points to them i think#asahi-dev · 2026-09-25 14:33
svenstill gotta figure out what exactly goes on there#asahi-dev · 2026-09-25 14:33
sveni'm just shadowing the page now and it boots :D#asahi-dev · 2026-09-25 14:32
svenguess m4 needs more than aprr_jit=0#asahi-dev · 2026-09-25 14:32
svenyay, it dies in launchd now. probably userspace sprr stuff#asahi-dev · 2026-09-25 13:51
svenyeah, i'm going to try to just shadow that area now#asahi-dev · 2026-09-25 13:47
svenyuka: it's somewhere in PMGR but it's not power-domain#asahi-dev · 2026-09-25 13:46
svennice#asahi-dev · 2026-09-25 13:46
sven\o/#asahi-dev · 2026-09-25 13:09
svenokay, wtf, not even sure these serrors are related to pmgr anymore#asahi-dev · 2026-09-25 11:44
svendo you have a list of pmgr register that are off-limits? or is there some way to identify them from the adt?#asahi-dev · 2026-09-25 11:43
sveni think i see the same now with that hypervisor#asahi-dev · 2026-09-25 11:43
svenyuka: you ran into some pmgr mmio write serror on m4 before, didn't you?#asahi-dev · 2026-09-25 11:18
sventhough i dunno what that does#asahi-dev · 2026-09-25 11:18
svenquick grep for reserved shows something like gpio-reserved-ranges#asahi-dev · 2026-09-25 11:03
svenintegralpilot: i like to wait at least 24h-48h because the maintainer might comment on something else especially if it's a tiny patch that can be reviewed quickly, but i've also sent a v2 after an hour before and wasn't screamed at so *shrug*#asahi-dev · 2026-09-25 11:02
svenyuka: works as well i think#asahi-dev · 2026-09-25 10:55
svenweird#asahi-dev · 2026-09-25 10:54
svenhow did you add that property to the dt-binding? it should be a uint32 array or something like that#asahi-dev · 2026-09-25 10:52
svenurgh.. i think this might be irq delivery going wrong when i'm inside an emulated guarded level :/#asahi-dev · 2026-09-25 10:27
svenmaybe i just need to steal the memory for the shadow pagetables from the end of RAM #asahi-dev · 2026-09-25 10:26
sveni didn't really like being loaded at ram_base + >2GiB#asahi-dev · 2026-09-25 10:26
svenor maybe some of those SPTM checks actually checked something important#asahi-dev · 2026-09-25 10:24
svencould be guarded emulation going wrong#asahi-dev · 2026-09-25 10:24
svenso that's the issue now: panic(cpu 4 caller 0xfffffe003d541ea8): Kernel data abort. at pc 0xfffffe003d390098, lr 0xfffffe001854446c (saved state: 0xfffffe4eaf65b240)#asahi-dev · 2026-09-25 10:24
svenyeah, it's also done a full trip through all the guarded levels at this point#asahi-dev · 2026-09-25 10:18
svenwill have to do that properly but i like this progress#asahi-dev · 2026-09-25 10:18
svenhttps://f.svpe.de/7e626ba98ee21dc9955f066d777e2b7ea024f06e457f9c92a44b05339af36722_m4_xnu.log i just patched out all those annoying sptm checks :D#asahi-dev · 2026-09-25 09:12
sven# [cpu4] ctXr_check_all_regions: CTRR-A per-core register not locked by iBoot (expected: 8000000000000001, got: 0)#asahi-dev · 2026-09-25 09:12
sven# [cpu4] SPTM panic at 0xfffffe001900d620 (SPTM-rx+0x5d620 = 0xfffffff0270fd620): format=0xfffffe0018f17e34 args=0xfffffe001903fe80#asahi-dev · 2026-09-25 09:12
svenin other news, made some progress on the m4 hv on the train. sptm checks a lot of crap now on m4:#asahi-dev · 2026-09-25 08:32
svenintegralpilot: no need to cc it, and no idea if that fix is correct. i've seen the lockdep splat before and just ignored it :D#asahi-dev · 2026-09-25 08:20
svenit's also describing hardware so should be fine i think#asahi-dev · 2026-09-25 08:20
svensure#asahi-dev · 2026-09-25 08:20
sveneither device tree property or table based on compatible in the driver#asahi-dev · 2026-09-25 08:18
svenhuh#asahi-dev · 2026-09-25 08:16
sven"fake m4" :P#asahi-dev · 2026-09-25 08:16
svener, yes#asahi-dev · 2026-09-25 08:13
svenchaos_princess: i think he got the day wrong, he wanted to speak to the r4l guys on wednesday. but given that he disappeared then for a few hours i think that's what he did at kernel recipes :D#asahi-dev · 2026-09-25 08:12
svenalright, now that the watchdog thing is applied i can pick up the m4 series this evening#asahi-dev · 2026-09-24 16:16
svenworks for me