#asahi-dev · 2026-07-24 17:37
jannauwe need a new compatible anyway because the the macOS 15 fw is very not compatible. it even breaks boot if it is not used#asahi-dev · 2026-07-24 17:31
sveni know we discussed that at some point#asahi-dev · 2026-07-24 17:30
chaos_princessdidn't we decide to do sth like t8103-nvme-fw-15 for compatible override in m1n1, and then add firmware-abi?#asahi-dev · 2026-07-24 17:29
svenfor linux we probably want some apple,firmware-abi compatible then :(#asahi-dev · 2026-07-24 17:23
yukathe conditionals for this will be a bit of a mess since some of the things depend on the firmware versions, others on the hardware, but the hardware-dependend things don't have any apparent indicator in the adt (compatible is same, only that there's more regs)#asahi-dev · 2026-07-24 17:22
yukaI guess I should test M1 with new firmware too just to be sure#asahi-dev · 2026-07-24 17:14
yukathe bit that we'd clear is already cleared at 0x28130 (the new offset according to the gist)#asahi-dev · 2026-07-24 17:14
yukahowever I'm pretty sure it's just no longer needed#asahi-dev · 2026-07-24 17:14
yuka(the old offset for unknown_ctrl)#asahi-dev · 2026-07-24 17:14
yuka0x24008 is indeed abad1dea#asahi-dev · 2026-07-24 17:13
yukaOkay, I'm testing nvme things with 26.5 on my M3 Max#asahi-dev · 2026-07-24 16:20
chaos_princessyea, i am filling out the rest of the changes #asahi-dev · 2026-07-24 16:18
svenonly one way to figure out :D#asahi-dev · 2026-07-24 16:11
chaos_princessso, hopefully it does not matter?#asahi-dev · 2026-07-24 16:10
chaos_princesst603x does a lot of the same things but in different order#asahi-dev · 2026-07-24 16:10
svenalmost iirc#asahi-dev · 2026-07-24 16:09
chaos_princesssven: is atc.c doing writes in the same order as xnu does?#asahi-dev · 2026-07-24 16:09
yukaanyways I will prepare a PR#asahi-dev · 2026-07-24 16:08
yukabut t8132 does#asahi-dev · 2026-07-24 16:08
yukat8140 does not throw serrors when trying to write to the nvme_base + NVMMU_*#asahi-dev · 2026-07-24 16:08
yukathe t8140 trace someone gave me was helpful in figuring out what they are used for: nvmmu and nvme are now two separate bases (reg 3 = nvmmu, reg 9 = nvme)#asahi-dev · 2026-07-24 16:07
yukaSo... the main insight I got from looking at the t8140/t8132 adts is that there is more ans regs#asahi-dev · 2026-07-24 16:07
chaos_princessso that can be used for future tracing#asahi-dev · 2026-07-24 16:07
chaos_princesst600x is still sptm-less on 26, right?#asahi-dev · 2026-07-24 16:06
svenso they wrote that gist instead of implementing anything themselves#asahi-dev · 2026-07-24 16:06
sventhrowing kexts at ghidra iirc#asahi-dev · 2026-07-24 16:06
yukayes it seems like it#asahi-dev · 2026-07-24 16:06
yukaI wonder where the person who wrote the gist got the new addresses from#asahi-dev · 2026-07-24 16:06
sveni guess it just defaults to linear sq now and what i guessed what a chicken bit in unknown_ctrl just isn't required anymore then#asahi-dev · 2026-07-24 16:05
svenyeah, that's a bug in m1n1 because i misread the spec iirc#asahi-dev · 2026-07-24 16:05
yukanoted in the same gist#asahi-dev · 2026-07-24 16:05
yukainstead what I needed to change was cmd.cdw12 1 -> 0#asahi-dev · 2026-07-24 16:05
yukahowever, I just skipped the unknown_ctrl and linear_sq_ctrl writes completely#asahi-dev · 2026-07-24 16:04
yukait works#asahi-dev · 2026-07-24 16:04
yukathanks for reminding me that this gist on the ans3 changes exists#asahi-dev · 2026-07-24 16:04
yukab'EFI PART...'#asahi-dev · 2026-07-24 16:01
yukathe old addresses contain sensible values, and the trace I am working with also has the old ones#asahi-dev · 2026-07-24 16:00
yukaI am not convinced this is the case here#asahi-dev · 2026-07-24 15:58
chaos_princessyes#asahi-dev · 2026-07-24 15:58
yukayou mean that APPLE_ANS_UNKNOWN_CTRL moved?#asahi-dev · 2026-07-24 15:58
chaos_princesshave you fixed the 15 firmware differences?#asahi-dev · 2026-07-24 15:57
yukaI think I'm close, but this is not a particularly helpful error message: "assert failed: [13075]:undefined error. interrupt status 0x0, status valid 0x0"#asahi-dev · 2026-07-24 15:57
yukaHas anyone gotten M4+ nvme to work? a few weeks back someone with the nick starcatmeow posted something on it but haven't seen them around#asahi-dev · 2026-07-24 15:32
svenGL0 also works essentially as i expected. i can eret there from GL1 and then svc back up to GL1#asahi-dev · 2026-07-24 15:31
svenalright, so genter with an imm values works kinda like hvc, the imm ends up in ESR_GL1#asahi-dev · 2026-07-24 13:24
svenUNK + some explanation why it's required is probably fine#asahi-dev · 2026-07-24 13:19
yukaOr if "UNK" will fly with upstream#asahi-dev · 2026-07-24 13:18
yukaQuestion is still what it does exactly#asahi-dev · 2026-07-24 13:17
nickchanit's probably safe to set it everywhere#asahi-dev · 2026-07-24 13:17
nickchan1<<10 in UCON is set on s5l8960x