#
…

2026-01-27

00:24hdbngr has quit [Ping timeout: 480 seconds]
00:33hdbngr has joined #asahi-re
00:41pb17 has quit [Remote host closed the connection]
00:42pb17 has joined #asahi-re
00:47hdbngr has quit [Ping timeout: 480 seconds]
00:55rubano1421 has joined #asahi-re
00:55hdbngr has joined #asahi-re
01:04hdbngr has quit [Ping timeout: 480 seconds]
01:12hdbngr has joined #asahi-re
01:20hdbngr has quit [Ping timeout: 480 seconds]
01:26hdbngr has joined #asahi-re
01:35hdbngr has quit [Ping timeout: 480 seconds]
01:42hdbngr has joined #asahi-re
01:45rubano1421 has quit [Quit: Textual IRC Client: www.textualapp.com]
01:51hdbngr has quit [Ping timeout: 480 seconds]
01:58hdbngr has joined #asahi-re
02:07hdbngr has quit [Ping timeout: 480 seconds]
02:14hdbngr has joined #asahi-re
02:23hdbngr has quit [Ping timeout: 480 seconds]
02:30hdbngr has joined #asahi-re
02:33pb17 has quit [Ping timeout: 480 seconds]
02:39hdbngr has quit [Ping timeout: 480 seconds]
02:46hdbngr has joined #asahi-re
02:55hdbngr has quit [Ping timeout: 480 seconds]
02:59pb17 has joined #asahi-re
03:05hdbngr has joined #asahi-re
03:13hdbngr has quit [Ping timeout: 480 seconds]
03:23hdbngr has joined #asahi-re
03:31hdbngr has quit [Ping timeout: 480 seconds]
03:39hdbngr has joined #asahi-re
03:48hdbngr has quit [Ping timeout: 480 seconds]
03:55hdbngr has joined #asahi-re
04:04hdbngr has quit [Ping timeout: 480 seconds]
04:11hdbngr has joined #asahi-re
04:20hdbngr has quit [Ping timeout: 480 seconds]
04:27hdbngr has joined #asahi-re
04:36hdbngr has quit [Ping timeout: 480 seconds]
04:43hdbngr has joined #asahi-re
04:51hdbngr has quit [Ping timeout: 480 seconds]
04:59hdbngr has joined #asahi-re
05:07hdbngr has quit [Ping timeout: 480 seconds]
05:14hdbngr has joined #asahi-re
05:25hdbngr has quit [Ping timeout: 480 seconds]
05:33hdbngr has joined #asahi-re
05:39pb17 has quit [Ping timeout: 480 seconds]
05:42hdbngr has quit [Ping timeout: 480 seconds]
05:45pb17 has joined #asahi-re
05:50hdbngr has joined #asahi-re
05:56lukeleppan has quit [Quit: The Lounge - https://thelounge.chat]
05:58hdbngr has quit [Ping timeout: 480 seconds]
06:00hdbngr has joined #asahi-re
06:00lukeleppan has joined #asahi-re
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:11hdbngr has joined #asahi-re
06:20hdbngr has quit [Ping timeout: 480 seconds]
06:26nnym has quit [Ping timeout: 480 seconds]
06:29hdbngr has joined #asahi-re
06:37hdbngr has quit [Ping timeout: 480 seconds]
06:46hdbngr has joined #asahi-re
06:54hdbngr has quit [Ping timeout: 480 seconds]
07:04hdbngr has joined #asahi-re
07:13hdbngr has quit [Ping timeout: 480 seconds]
07:20hdbngr has joined #asahi-re
07:27pb17 has quit [Ping timeout: 480 seconds]
07:29hdbngr has quit [Ping timeout: 480 seconds]
07:38hdbngr has joined #asahi-re
07:47hdbngr has quit [Ping timeout: 480 seconds]
07:47pb17 has joined #asahi-re
07:54hdbngr has joined #asahi-re
08:03hdbngr has quit [Ping timeout: 480 seconds]
08:12hdbngr has joined #asahi-re
08:21hdbngr has quit [Ping timeout: 480 seconds]
08:29hdbngr has joined #asahi-re
08:37hdbngr has quit [Ping timeout: 480 seconds]
08:45hdbngr has joined #asahi-re
08:52nnym has joined #asahi-re
08:53hdbngr has quit [Ping timeout: 480 seconds]
09:01hdbngr has joined #asahi-re
09:10hdbngr has quit [Ping timeout: 480 seconds]
09:13hdbngr has joined #asahi-re
09:22hdbngr has quit [Ping timeout: 480 seconds]
09:29hdbngr has joined #asahi-re
09:38hdbngr has quit [Ping timeout: 480 seconds]
09:39hdbngr has joined #asahi-re
09:48hdbngr has quit [Ping timeout: 480 seconds]
09:55hdbngr has joined #asahi-re
10:03ferdzo has joined #asahi-re
10:04hdbngr has quit [Ping timeout: 480 seconds]
10:13hdbngr has joined #asahi-re
10:21integralpilot has joined #asahi-re
10:22hdbngr has quit [Ping timeout: 480 seconds]
10:30hdbngr has joined #asahi-re
10:38hdbngr has quit [Ping timeout: 480 seconds]
10:46hdbngr has joined #asahi-re
10:55hdbngr has quit [Ping timeout: 480 seconds]
11:03hdbngr has joined #asahi-re
11:12hdbngr has quit [Ping timeout: 480 seconds]
11:14hdbngr has joined #asahi-re
11:23hdbngr has quit [Ping timeout: 480 seconds]
11:30hdbngr has joined #asahi-re
11:39hdbngr has quit [Ping timeout: 480 seconds]
11:46hdbngr has joined #asahi-re
11:55hdbngr has quit [Ping timeout: 480 seconds]
12:04hdbngr has joined #asahi-re
12:09integralpilot has quit [Remote host closed the connection]
12:09integralpilot has joined #asahi-re
12:24hdbngr has quit [Ping timeout: 480 seconds]
12:32hdbngr has joined #asahi-re
12:40hdbngr has quit [Ping timeout: 480 seconds]
12:41integralpilot has quit [Quit: integralpilot]
12:47pb17 has quit [Ping timeout: 480 seconds]
12:48hdbngr has joined #asahi-re
12:56hdbngr has quit [Ping timeout: 480 seconds]
13:01hdbngr has joined #asahi-re
13:14pb17 has joined #asahi-re
13:41hdbngr has quit [Ping timeout: 480 seconds]
14:17lukeleppan has quit [Quit: Ping timeout (120 seconds)]
14:21lukeleppan has joined #asahi-re
14:53chadmed has quit [Remote host closed the connection]
14:53chadmed has joined #asahi-re
14:58john-cabaj has joined #asahi-re
15:07hdbngr has joined #asahi-re
16:14chadmed has quit [Read error: Connection reset by peer]
16:15chadmed has joined #asahi-re
16:21pb17 has quit [Ping timeout: 480 seconds]
16:41pb17 has joined #asahi-re
16:55hdbngr has quit [Ping timeout: 480 seconds]
16:59hdbngr has joined #asahi-re
17:14hdbngr has quit [Ping timeout: 480 seconds]
17:25hdbngr has joined #asahi-re
17:34hdbngr has quit [Ping timeout: 480 seconds]
17:35hdbngr has joined #asahi-re
17:43hdbngr has quit [Ping timeout: 480 seconds]
17:52hdbngr has joined #asahi-re
18:01hdbngr has quit [Ping timeout: 480 seconds]
18:07hdbngr has joined #asahi-re
18:12jgoyvaerts has joined #asahi-re
18:13pb17 has quit [Ping timeout: 480 seconds]
18:15lukeleppan has quit [Ping timeout: 480 seconds]
18:18pb17 has joined #asahi-re
18:33hdbngr has quit [Ping timeout: 480 seconds]
18:41hdbngr has joined #asahi-re
18:50hdbngr has quit [Ping timeout: 480 seconds]
18:55hdbngr has joined #asahi-re
18:58john-cabaj has quit [Remote host closed the connection]
18:59john-cabaj has joined #asahi-re
19:00lukeleppan has joined #asahi-re
19:02e9 has joined #asahi-re
19:04emptynine has quit [Ping timeout: 480 seconds]
19:11hdbngr has quit [Ping timeout: 480 seconds]
19:12hdbngr has joined #asahi-re
19:21hdbngr has quit [Ping timeout: 480 seconds]
19:27john-cabaj has quit [Read error: Connection reset by peer]
19:28hdbngr has joined #asahi-re
19:38lukeleppan has quit [Quit: The Lounge - https://thelounge.chat]
19:45lukeleppan has joined #asahi-re
19:50hdbngr has quit [Ping timeout: 480 seconds]
19:55john-cabaj has joined #asahi-re
20:09pb17 has quit [Ping timeout: 480 seconds]
20:09ece314378925355451680698427415 has joined #asahi-re
20:12pb17 has joined #asahi-re
20:40john-cabaj has quit [Read error: No route to host]
21:11john-cabaj has joined #asahi-re
21:21hdbngr has joined #asahi-re
21:28michaelrostom has joined #asahi-re
21:30hdbngr has quit [Ping timeout: 480 seconds]
21:35michaelros has joined #asahi-re
21:35michaelrostom has quit [Quit: Konversation terminated!]
21:39hdbngr has joined #asahi-re
21:45Artingl has joined #asahi-re
21:45Artinglhello everyone. wanted to share findings I did last week over ans initialization on M3/new firmware. hope I didn't forget to comment on all important things https://gist.github.com/Artingl/c5e7f9fbb0307f7c236e29e4f1fc1f8e
21:50pb17 has quit [Ping timeout: 480 seconds]
21:51hdbngr has quit [Ping timeout: 480 seconds]
21:58john-cabaj has quit [Read error: No route to host]
21:58john-cabaj has joined #asahi-re
21:58pb17 has joined #asahi-re
22:04jannauthanks. so APPLE_ANS_UNKNOWN_CTRL and APPLE_ANS_LINEAR_SQ_CTRL moved. not sure what we can do except using new compatibles. I guess "apple,t*-ans2-15" and add code to m1n1 to modify compitbles when iboot is >= 15
22:05chaos_princesswasn't one of the tunables for allowing cdw12=0?
22:05chaos_princessand now it must be non-zero
22:06jannauhave you tested other values for sart_add_allowed_region()? 0x100_0000_0000 is the start of the physical ram on M3. That should be be mostly empty. I suspect it tries to access some MMIO. its own, pmp or pmgr would be my first guesses
22:08Artingljannau: for sart i did only this value, only worked with that. i am not really into arm64/apple silicon, just started learning in december. is sart something like mmu that allows certain memory regions?
22:11Artinglthe sart_add_allowed_region i placed before rtkit_init in nvme.c m1n1, and before booting ans
22:12svenit’s a very simple memory protection unit
22:12svenonly things listed there can be reached by the and co-processor
22:13Artinglso that's a way for cpu to restrict/allow memory regions for co-processors to access?
22:14sventhe m1 co-processors already is ans3 fwiw, I messed the name up because I trusted some string the firmware printed
22:14svenjust for the nvme coprocessor
22:15sventhe other usually have a much more powerful iommu called dart
22:15sven*others
22:15chaos_princessArtingl: pretty much, SART is ans-specific, everything else uses DART that can also do remapping
22:16Artinglnow it makes more sense. thank you'all
22:18svenit’s very annoying they moved registers :/
22:18jannaualso apple's devicetree have up M5 still have "role = ANS2" in the ans node
22:19svenand I don’t think there’s any version register or similar we could use to change the offsets with some patch cc‘ed to stable@
22:22Artingli thought about that. in M3 adt the ans has compatible to ascwrap-v6. i don't have adt for other devices except m1, and there it is ascwrap-v4. maybe that can be used?
22:22chaos_princesslinux doesn't have access to adt
22:22Artinglm1n1 can pass values
22:23chaos_princessadt processing is done in m1n1, and at this point, it can change the compatible anyway
22:24Artingland m1n1 needs a way to know that this is ans for M3 and so on, right? because role is ANS2 still there in adt
22:24chaos_princesswe know the fw version in m1n1
22:25Artingloh, well yeah
22:25jannauas fair as I'm aware it affects every device using macOS 15 for system fw
22:25jannaunot just m3 and later
22:27Artinglwhile i was looking at init of ans during RE, there ware some conditions checking to use either 0x24008 or 0x28130 for unknown_ctrl and so on. and that happens on newer macos versions as well
22:28Artingli am not sure what the condition checked, as it referenced other kexts and i didnt want to look into that
22:30Artingli only could find that it referenced nvme-secure-reg-layout, passed that to external kext, and based result of that either chose the old reg address or a new one
22:37hdbngr has joined #asahi-re
22:41jannauthat doesn't sound like it would help. we would need something which is contained inside ans. there are various ways of how we could signal this externally
22:42jannaubut if we do that we could just do the right thing and modify the compatible
22:44jannauthe new compatible should get a "firmware_abi" or so property so that we don't run into the same issue again
22:45Artingli dont understand what nvme-secure-reg-layout is. i just went through the RE again to fresh memory, it seems like it gets this from the adt. and in adt i cannot find anything like that
22:45chaos_princessare you looking at the template adt or live adt?
22:46Artingldumped from m1n1 with a proxy script
22:48Artingli actually just realized the adt is 6 months old, when i still was on sonoma. maybe that's also the issue
22:48jannauhere neither but /defaults has 'nvme-iboot-sptm-security = None'
22:48jannau15.2 if I can believe my file naming
22:48john-cabaj has quit [Read error: No route to host]
22:49john-cabaj has joined #asahi-re
22:49jannauyes, iBoot 11881.61.3
22:53Artingli can get fresh adt from tahoe if it would help
23:08john-cabaj has quit [Ping timeout: 480 seconds]
23:28michaelros has quit [Quit: The Lounge - https://thelounge.chat]
23:48pb17 has quit [Ping timeout: 480 seconds]
23:50pb17 has joined #asahi-re
23:55Artingl has quit [Quit: Textual IRC Client: www.textualapp.com]
23:56hdbngr has quit [Ping timeout: 480 seconds]
…