2026-09-06
00:00chrisl has joined #asahi-dev
00:08chrisl has quit [Ping timeout: 480 seconds]
00:12chrisl has joined #asahi-dev
00:15pb17 has joined #asahi-dev
00:20chrisl has quit [Ping timeout: 480 seconds]
00:30chrisl has joined #asahi-dev
00:39chrisl has quit [Ping timeout: 480 seconds]
00:47chrisl has joined #asahi-dev
00:56chrisl has quit [Ping timeout: 480 seconds]
01:04chrisl has joined #asahi-dev
01:12chrisl has quit [Ping timeout: 480 seconds]
01:13chrisl has joined #asahi-dev
01:16___nick___ has quit []
01:18___nick___ has joined #asahi-dev
01:18___nick___ has quit []
01:21___nick___ has joined #asahi-dev
01:21chrisl has quit [Ping timeout: 480 seconds]
01:30chrisl has joined #asahi-dev
01:41chrisl has quit [Ping timeout: 480 seconds]
01:50chrisl has joined #asahi-dev
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:01chrisl has quit [Ping timeout: 480 seconds]
02:09chrisl has joined #asahi-dev
02:17tobhe_ has joined #asahi-dev
02:22chrisl has quit [Ping timeout: 480 seconds]
02:24tobhe has quit [Ping timeout: 480 seconds]
02:30chrisl has joined #asahi-dev
02:38chrisl has quit [Ping timeout: 480 seconds]
02:47chrisl has joined #asahi-dev
02:56chrisl has quit [Ping timeout: 480 seconds]
03:04chrisl has joined #asahi-dev
03:13chrisl has quit [Ping timeout: 480 seconds]
03:15chrisl has joined #asahi-dev
03:23chrisl has quit [Ping timeout: 480 seconds]
03:31chrisl has joined #asahi-dev
03:39pb17 has quit [Ping timeout: 480 seconds]
03:40chrisl has quit [Ping timeout: 480 seconds]
03:48chrisl has joined #asahi-dev
03:48pb17 has joined #asahi-dev
03:53nora has joined #asahi-dev
03:55nora_ has quit [Ping timeout: 480 seconds]
03:56chrisl has quit [Ping timeout: 480 seconds]
04:04chrisl has joined #asahi-dev
04:06zumi_ has joined #asahi-dev
04:11zumi has quit [Ping timeout: 480 seconds]
04:11zumi_ is now known as zumi
04:12chrisl has quit [Ping timeout: 480 seconds]
04:16chrisl has joined #asahi-dev
04:24chrisl has quit [Ping timeout: 480 seconds]
04:32chrisl has joined #asahi-dev
04:32nela has quit [Ping timeout: 480 seconds]
04:38nela has joined #asahi-dev
04:40chrisl has quit [Ping timeout: 480 seconds]
04:49chrisl has joined #asahi-dev
04:53rzhikharevich has joined #asahi-dev
04:58chrisl has quit [Ping timeout: 480 seconds]
05:00melnary has quit [Remote host closed the connection]
05:04rzhikharevich has quit [Ping timeout: 480 seconds]
05:07chrisl has joined #asahi-dev
05:15chrisl has quit [Ping timeout: 480 seconds]
05:17chrisl has joined #asahi-dev
05:25chrisl has quit [Ping timeout: 480 seconds]
05:54rzhikharevich has joined #asahi-dev
06:05rzhikharevich has quit [Ping timeout: 480 seconds]
06:18chrisl has joined #asahi-dev
06:24roxfan has quit [Ping timeout: 480 seconds]
06:29chrisl has quit [Ping timeout: 480 seconds]
06:42superdisk has joined #asahi-dev
07:09chrisl has joined #asahi-dev
07:13pjena has joined #asahi-dev
07:17pjena has quit []
07:18chrisl has quit [Ping timeout: 480 seconds]
07:19chrisl has joined #asahi-dev
07:27chrisl has quit [Ping timeout: 480 seconds]
07:36chrisl has joined #asahi-dev
07:44chrisl has quit [Ping timeout: 480 seconds]
07:54chrisl has joined #asahi-dev
08:02chrisl has quit [Ping timeout: 480 seconds]
08:10chrisl has joined #asahi-dev
08:13SandwichBtw has joined #asahi-dev
08:15Felix[m] has joined #asahi-dev
08:18chrisl has quit [Ping timeout: 480 seconds]
08:18roxfan has joined #asahi-dev
08:20rany has quit [Remote host closed the connection]
08:21rany has joined #asahi-dev
08:26chrisl has joined #asahi-dev
08:34chrisl has quit [Ping timeout: 480 seconds]
08:36rany has quit [Remote host closed the connection]
08:37rany has joined #asahi-dev
08:42chrisl has joined #asahi-dev
08:45rosalyntg_ has quit [Read error: Connection reset by peer]
08:45rosalyntg has joined #asahi-dev
08:51chrisl has quit [Ping timeout: 480 seconds]
08:54alessaba has quit [Ping timeout: 480 seconds]
08:59chrisl has joined #asahi-dev
09:07chrisl has quit [Ping timeout: 480 seconds]
09:15chrisl has joined #asahi-dev
09:23chrisl has quit [Ping timeout: 480 seconds]
09:33chrisl has joined #asahi-dev
09:36bennofs3 has quit [Quit: Ping timeout (120 seconds)]
09:36bennofs3 has joined #asahi-dev
09:41yurix has quit [Ping timeout: 480 seconds]
09:41chrisl has quit [Ping timeout: 480 seconds]
09:49chrisl has joined #asahi-dev
09:53alessaba has joined #asahi-dev
09:58chrisl has quit [Ping timeout: 480 seconds]
10:01rzhikharevich has joined #asahi-dev
10:01alessaba has quit [Ping timeout: 480 seconds]
10:06zumi_ has joined #asahi-dev
10:07chrisl has joined #asahi-dev
10:09rzhikharevich has quit [Ping timeout: 480 seconds]
10:10zumi has quit [Ping timeout: 480 seconds]
10:11zumi_ is now known as zumi
10:11alessaba has joined #asahi-dev
10:16chrisl has quit [Ping timeout: 480 seconds]
10:23chrisl has joined #asahi-dev
10:25bennofs3 has quit [Ping timeout: 480 seconds]
10:32chrisl has quit [Ping timeout: 480 seconds]
10:36bennofs3 has joined #asahi-dev
10:39chrisl has joined #asahi-dev
10:48chrisl has quit [Ping timeout: 480 seconds]
10:57chrisl has joined #asahi-dev
11:06chrisl has quit [Ping timeout: 480 seconds]
11:11kloenk has quit [Remote host closed the connection]
11:12kloenk has joined #asahi-dev
11:15chrisl has joined #asahi-dev
11:18ddxtanx_ has joined #asahi-dev
11:18ddxtanx has quit [Read error: Connection reset by peer]
11:23chrisl has quit [Ping timeout: 480 seconds]
11:31chrisl has joined #asahi-dev
11:39chrisl has quit [Ping timeout: 480 seconds]
11:48chrisl has joined #asahi-dev
11:57chrisl has quit [Ping timeout: 480 seconds]
12:01yurix has joined #asahi-dev
12:01chrisl has joined #asahi-dev
12:02yurix has quit [Remote host closed the connection]
12:09chrisl has quit [Ping timeout: 480 seconds]
12:17chrisl has joined #asahi-dev
12:20yurix has joined #asahi-dev
12:26chrisl has quit [Ping timeout: 480 seconds]
12:46mripard has quit [Remote host closed the connection]
12:47mripard has joined #asahi-dev
12:50___nick___ has quit [Ping timeout: 480 seconds]
12:56___nick___ has joined #asahi-dev
12:56mripard has quit [Remote host closed the connection]
12:57mripard has joined #asahi-dev
13:12AlohaHenry has joined #asahi-dev
13:21yukaI looked at two traces, one from my M3 Max with 14.x fw and one from https://noopwafel.net/asahi/ (I think it's M3 with 14.x fw)
13:22chrisl has joined #asahi-dev
13:24sventhe io submission "queue" isn't really a queue, more like a vector, isn't it? so you could just get away with using less entries than available
13:30svensince that's an actual queue and whatever is running on the SoC and ANS have to agree about that value
13:31chrisl has quit [Ping timeout: 480 seconds]
13:35___nick___ has quit [Ping timeout: 480 seconds]
13:36alessaba has quit [Ping timeout: 480 seconds]
13:38alessaba has joined #asahi-dev
13:40chrisl has joined #asahi-dev
13:40yukablaah, but yes I think this difference is what causes M4 to fail when it goes to completion entry 65
13:44yuka> Create IO completion queue [...] Command DWORD 10 contains the queue identifier in the low word, and the queue size in the high word. The queue size should be given as one less than the actual value.
13:45yukaThis matches what Linux does. We assume max_queue_depth = 64 and set the qsize attr to 63 when creating the completion queue, but the ANS still prints it as size 65 when it crashes
13:49chrisl has quit [Ping timeout: 480 seconds]
13:56chrisl has joined #asahi-dev
14:10chrisl has quit [Ping timeout: 480 seconds]
14:14svenfeel free, the names are all made up anyway and if there's a name that fits better we should do it
14:18chrisl has joined #asahi-dev
14:23yukaDo we think there is an advantage to running the nvme with queue size 256? This would require some more changes
14:25yukathe main change is decoupling the queue sizes from tags and NVMMU_NUM_TCBS, since those still only go up to 63
14:26chrisl has quit [Ping timeout: 480 seconds]
14:27sventhat's the whole idea behind doing stuff like "M3-nvme", "M1-nvme". that essentially says "This device works with M1-nvme already but may have additional, optional features with M3-nvme"
14:31[Kalisto] has joined #asahi-dev
14:33chrisl has joined #asahi-dev
14:34melnary has joined #asahi-dev
14:38yukaAssuming M3 has the same behavior of setting queue sizes through +0x1210 and being 0's based (and all signs point to that), I wonder how this even works.
14:40yukathe submission queue doesn't really matter I guess, since we can just use less than the full size
14:41yukabut the completion queue? all the data structures are allocated for size 64, but it would actually use up to 65 entries
14:42chrisl has quit [Ping timeout: 480 seconds]
14:44hardy94 has quit [Quit: hardy94]
14:44hardy94 has joined #asahi-dev
14:44hardy94 has quit []
14:44AlohaHenry has quit [Remote host closed the connection]
14:46AlohaHenry has joined #asahi-dev
14:49chrisl has joined #asahi-dev
14:58chrisl has quit [Ping timeout: 480 seconds]
15:03chrisl has joined #asahi-dev
15:11chrisl has quit [Ping timeout: 480 seconds]
15:20chrisl has joined #asahi-dev
15:26pb17 has quit [Ping timeout: 480 seconds]
15:28chrisl has quit [Ping timeout: 480 seconds]
15:32BlueMatt_ has joined #asahi-dev
15:35pb17 has joined #asahi-dev
15:36alessaba has quit [Ping timeout: 480 seconds]
15:37chrisl has joined #asahi-dev
15:37BlueMatt has quit [Ping timeout: 480 seconds]
15:43alessaba has joined #asahi-dev
15:45chrisl has quit [Ping timeout: 480 seconds]
15:53chrisl has joined #asahi-dev
15:54bennofs3 has quit [Ping timeout: 480 seconds]
15:56bennofs3 has joined #asahi-dev
16:02chrisl has quit [Ping timeout: 480 seconds]
16:04chrisl has joined #asahi-dev
16:07yukaThis is a weird situation. The register at this address does different things for <M4 and >=M4 but the same value happens to be reasonable for both
16:12chrisl has quit [Ping timeout: 480 seconds]
16:17alessaba has quit [Read error: Connection reset by peer]
16:17alessaba has joined #asahi-dev
16:21chrisl has joined #asahi-dev
16:29alessaba has quit [Read error: Connection reset by peer]
16:29alessaba has joined #asahi-dev
16:29chrisl has quit [Ping timeout: 480 seconds]
16:33alessaba has quit [Remote host closed the connection]
16:37alessaba has joined #asahi-dev
16:37chrisl has joined #asahi-dev
16:46chrisl has quit [Ping timeout: 480 seconds]
16:54chrisl has joined #asahi-dev
17:01rany has quit [Remote host closed the connection]
17:02rany has joined #asahi-dev
17:02chrisl has quit [Ping timeout: 480 seconds]
17:05chrisl has joined #asahi-dev
17:07yukathe entire "separate_nvmmu_base" thing seems to have been unnecessary. While that's how macOS does it, we can also just use reg[9] for everything and it works
17:08rzhikharevich has joined #asahi-dev
17:11svenhttps://github.com/AsahiLinux/linux/tree/b4/apple-soc-tbt probably read to go out like this
17:13chrisl has quit [Ping timeout: 480 seconds]
17:16rzhikharevich has quit [Ping timeout: 480 seconds]
17:22chaos_princesssven: how do you want to resolve my ace3 and your tb stuff conflicting
17:23chrisl has joined #asahi-dev
17:25alessaba has quit [Read error: No route to host]
17:26alessaba has joined #asahi-dev
17:31chrisl has quit [Ping timeout: 480 seconds]
17:33nela has quit [Ping timeout: 480 seconds]
17:39js6pak has quit [Quit: js6pak]
17:40chrisl has joined #asahi-dev
17:41neanderlot has joined #asahi-dev
17:42neanderlot has quit []
17:43js6pak has joined #asahi-dev
17:49chrisl has quit [Ping timeout: 480 seconds]
17:58chrisl has joined #asahi-dev
18:00jcbm has quit [Remote host closed the connection]
18:01jcbm has joined #asahi-dev
18:07leioWell, now you made me try to find more feedback, but only thing I could really do is nitpicking on English and typos, so feel free to just ignore :)
18:07leio"thunderbold" in cover letter "Changes in v2" (commit 0f3086f40d7), also "insid" -> "inside", don't understand the "Moved port unlock" sentence after that, something is off with it; commit e3cabed33 log probably s/not SVID/no SVID/? In commit bbee15ba6 code comments "The altmode has alreayd" -> already
18:14chrisl has quit [Ping timeout: 480 seconds]
18:24chrisl has joined #asahi-dev
18:26nicklvh has joined #asahi-dev
18:29roybxz[m] has joined #asahi-dev
18:32chrisl has quit [Ping timeout: 480 seconds]
18:35badravixyz[m] has left #asahi-dev [User left]
18:38hardy94 has joined #asahi-dev
18:38hardy94 has quit []
18:39hardy94 has joined #asahi-dev
18:39hardy94 has quit [Remote host closed the connection]
18:41chrisl has joined #asahi-dev
18:43hardy94 has joined #asahi-dev
18:49chrisl has quit [Ping timeout: 480 seconds]
18:58chrisl has joined #asahi-dev
18:58nicklvh has quit [Ping timeout: 480 seconds]
19:01nicklvh has joined #asahi-dev
19:04BlueMatt_ is now known as BlueMatt
19:06chrisl has quit [Ping timeout: 480 seconds]
19:07chrisl has joined #asahi-dev
19:09AlohaHenry has quit [Remote host closed the connection]
19:09AlohaHenry has joined #asahi-dev
19:15chrisl has quit [Ping timeout: 480 seconds]
19:19nicklvh has quit [Remote host closed the connection]
19:19WindowPain has quit [Ping timeout: 480 seconds]
19:19WindowPain has joined #asahi-dev
19:24chrisl has joined #asahi-dev
19:32chrisl has quit [Ping timeout: 480 seconds]
19:39alessaba has quit [Ping timeout: 480 seconds]
19:40chrisl has joined #asahi-dev
19:49chrisl has quit [Ping timeout: 480 seconds]
19:57chrisl has joined #asahi-dev
19:58rzhikharevich has joined #asahi-dev
20:06chrisl has quit [Ping timeout: 480 seconds]
20:08chrisl has joined #asahi-dev
20:09superdisk has quit [Ping timeout: 480 seconds]
20:16chrisl has quit [Ping timeout: 480 seconds]
20:20MalpasoMan[m] has joined #asahi-dev
20:24chrisl has joined #asahi-dev
20:32chrisl has quit [Ping timeout: 480 seconds]
20:39alessaba has joined #asahi-dev
20:42chrisl has joined #asahi-dev
20:50chrisl has quit [Ping timeout: 480 seconds]
20:51hardy94 has quit [Remote host closed the connection]
20:59chrisl has joined #asahi-dev
21:00rany has quit [Remote host closed the connection]
21:01rany has joined #asahi-dev
21:06hardy94 has joined #asahi-dev
21:07chrisl has quit [Ping timeout: 480 seconds]
21:09chrisl has joined #asahi-dev
21:10hardy94 has quit []
21:16SandwichBtw has quit [Ping timeout: 480 seconds]
21:17chrisl has quit [Ping timeout: 480 seconds]
21:25chrisl has joined #asahi-dev
21:27wiri has joined #asahi-dev
21:28pb17 has quit [Ping timeout: 480 seconds]
21:32rzhikharevich has quit [Ping timeout: 480 seconds]
21:33chrisl has quit [Ping timeout: 480 seconds]
21:38rzhikharevich has joined #asahi-dev
21:42chrisl has joined #asahi-dev
21:50pb17 has joined #asahi-dev
21:51chrisl has quit [Ping timeout: 480 seconds]
21:59chrisl has joined #asahi-dev
22:07chrisl has quit [Ping timeout: 480 seconds]
22:08hardy94 has joined #asahi-dev
22:10chrisl has joined #asahi-dev
22:14ddxtanx_ has quit [Remote host closed the connection]
22:14js6pak has quit [Quit: js6pak]
22:15js6pak has joined #asahi-dev
22:15rany has quit [Remote host closed the connection]
22:16rany has joined #asahi-dev
22:23rany has quit [Remote host closed the connection]
22:24chadmed has quit [Read error: Connection reset by peer]
22:24rany has joined #asahi-dev
22:24chadmed has joined #asahi-dev
22:26chrisl has quit [Ping timeout: 480 seconds]
23:04chrisl has joined #asahi-dev
23:12chrisl has quit [Ping timeout: 480 seconds]
23:16junefish has quit [Remote host closed the connection]
23:21rzhikharevich has quit [Ping timeout: 480 seconds]
23:31rzhikharevich has joined #asahi-dev
23:34junefish has joined #asahi-dev
23:37jsk has quit [Remote host closed the connection]
23:39rzhikharevich has quit [Ping timeout: 480 seconds]
23:56nano has quit [Quit: User left the chat]