#asahi-dev · 2026-01-23 13:46
mazyuka: clearly, the AIC on this machine does not behave as the previous generations.#asahi-dev · 2026-01-23 13:41
noopwafel(the SYS_IMP_APL_IPI_RR_LOCAL_EL1 write?)#asahi-dev · 2026-01-23 13:37
yukathe stacktrace already helps so much#asahi-dev · 2026-01-23 13:37
yukaOh, it's actually in aic_init_cpu#asahi-dev · 2026-01-23 13:36
yukanoopwafel: this is the full trace for the undefined instruction https://termbin.com/5wbr#asahi-dev · 2026-01-23 13:25
noopwafelthanks#asahi-dev · 2026-01-23 13:25
noopwafelomg there's a freaking scr .. sigh :)#asahi-dev · 2026-01-23 13:24
svenand the nvme node ofc#asahi-dev · 2026-01-23 13:24
svenyou need the pmgr nodes in the device tree, ./proxyclient/tools/pmgr_adt2dt.py should generate them#asahi-dev · 2026-01-23 13:24
noopwafelCONFIG_NVME_APPLE=y but the only dmesg entries are pmgr-related#asahi-dev · 2026-01-23 13:22
noopwafelhmm do I need to make power-related tweaks to the devicetree?#asahi-dev · 2026-01-23 13:19
svenhave you checked if the rtkit sequence is the same? does it use the same target power state, etc?#asahi-dev · 2026-01-23 13:18
integralpilotbut for us the read operation itself fails#asahi-dev · 2026-01-23 13:18
noopwafelsorry #asahi-dev · 2026-01-23 13:18
noopwafeloh no it's the other reg#asahi-dev · 2026-01-23 13:18
integralpilotseems to read and write 0x73a5 for me?#asahi-dev · 2026-01-23 13:18
noopwafelno?#asahi-dev · 2026-01-23 13:17
integralpilotyeah, it doesnt change it#asahi-dev · 2026-01-23 13:17
noopwafelit reads 0x1ffc and writes 0x17fc#asahi-dev · 2026-01-23 13:17
chaos_princessin the logs macos is not setting any bits, right? only the ones that it already read#asahi-dev · 2026-01-23 13:17
integralpilotnoopwafel: also change APPLE_ANS_UNKNOWN_CTRL to 0x24004 as the register was moved in M3 generation#asahi-dev · 2026-01-23 13:16
svenweird#asahi-dev · 2026-01-23 13:15
integralpilotalso doesnt seem to be an issue with waiting for ANS to boot, from the log i found from linux boot i did, we do mulitple handshakes ans setup syslog and stuff with ANS all prior to the SError#asahi-dev · 2026-01-23 13:14
integralpilotbut for us we get SError with FAR: 0x30dce4004#asahi-dev · 2026-01-23 13:14
noopwafelany other patches I need? right now I'm using jannau's asahi-wip tree#asahi-dev · 2026-01-23 13:14
integralpilotliterally from your trace macOS write and read from it FINE1#asahi-dev · 2026-01-23 13:14
integralpilot0x30dce4004 is the problem register#asahi-dev · 2026-01-23 13:11
integralpilotthough haven't tried it as a module, i just compile everything in#asahi-dev · 2026-01-23 13:11
noopwafelhttps://noopwafel.net/asahi/nvme_boot.txt#asahi-dev · 2026-01-23 13:11
integralpilotnoopwafel: yes#asahi-dev · 2026-01-23 13:11
integralpilotunpack it, add your /init and make it executable, then repack it#asahi-dev · 2026-01-23 13:10
integralpilotyes#asahi-dev · 2026-01-23 13:10
yukabecause it's a tar and not cpio#asahi-dev · 2026-01-23 13:10
yukaand then you re-pack it?#asahi-dev · 2026-01-23 13:10
integralpilotyou need to scroll down#asahi-dev · 2026-01-23 13:10
integralpilotthe red one on the download page#asahi-dev · 2026-01-23 13:10
integralpilotyuka: use "mini root filesystem"#asahi-dev · 2026-01-23 13:09
yukausing the netboot one I get stuck at Mounting boot media...#asahi-dev · 2026-01-23 13:09
yukaintegralpilot which initramfs from alpine do you use exactly?#asahi-dev · 2026-01-23 13:09
noopwafelis booting a kernel with the nvme module enough to hit it?#asahi-dev · 2026-01-23 13:08
integralpiloti've been trying to look at that but seems its just the one we turn on, but might have missed something#asahi-dev · 2026-01-23 13:08
svenor maybe some additional power domain is missing?#asahi-dev · 2026-01-23 13:07
integralpilot*cause it actually needs to wait for a response#asahi-dev · 2026-01-23 13:07
integralpilotim thinking the writes are posted and not actually going through and there's an issue with the entire region, but errors only come on reads cause it tries#asahi-dev · 2026-01-23 13:07
svenmaybe we're not waiting until the co-processor is fully up or something#asahi-dev · 2026-01-23 13:07
integralpilotinterestingly looking at my logs and testing now, our error occurs on the read but a write to the same address works perfectly fine#asahi-dev · 2026-01-23 13:07
sventhat's what i meant to write :D#asahi-dev · 2026-01-23 13:07
svenso it just wrote to that chicken but on t6030 there and it worked? #asahi-dev · 2026-01-23 13:06
integralpilotwhile it reads and writes from the bit to apply a mask, which we do too#asahi-dev · 2026-01-23 13:06
svenerm.