#
…

2026-09-27

00:03alanlyu has joined #asahi-dev
00:09pb17 has quit [Ping timeout: 480 seconds]
00:10alanlyu has quit [Read error: Connection reset by peer]
00:10distantorigin has joined #asahi-dev
00:18pb17 has joined #asahi-dev
01:08alanlyu has joined #asahi-dev
01:13Tramtrist has quit [Remote host closed the connection]
01:14Tramtrist has joined #asahi-dev
01:16alanlyu has quit [Ping timeout: 480 seconds]
01:18alanlyu has joined #asahi-dev
01:27alanlyu has quit [Ping timeout: 480 seconds]
01:48alanlyu has joined #asahi-dev
01:49alanlyu has quit [Read error: Connection reset by peer]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:06pb17 has quit [Ping timeout: 480 seconds]
02:19pb17 has joined #asahi-dev
02:20tobhe_ has joined #asahi-dev
02:26voidah has joined #asahi-dev
02:26tobhe has quit [Ping timeout: 480 seconds]
02:38linkmauve has quit [Remote host closed the connection]
03:06JamesCalligeros[m]Oops i deadlocked something
03:36JamesCalligeros[m]hmm taking the controls_rwsem from the speaker safety workqueue deadlocks everything
03:45alanlyu has joined #asahi-dev
03:45alanlyu has quit [Read error: Connection reset by peer]
03:50mrrpmeow has quit [Ping timeout: 480 seconds]
03:51nora has joined #asahi-dev
03:53nora_ has quit [Ping timeout: 480 seconds]
03:53JamesCalligeros[m]oh actually i think this might be really bad
03:53JamesCalligeros[m]we cant take the semaphore because speakersafetyd always has the controls open
03:54JamesCalligeros[m]i wonder if we can get away with just commenting that and not taking the semaphore
03:58yurix has quit [Read error: Connection reset by peer]
04:00yurix has joined #asahi-dev
04:00julesmeow has joined #asahi-dev
04:12N_Tempus_04 has joined #asahi-dev
04:20N_Tempus_04 has quit [Ping timeout: 480 seconds]
05:39roxfan has joined #asahi-dev
05:42roxfan2 has quit [Ping timeout: 480 seconds]
05:47lacamar_ has joined #asahi-dev
05:51lacamar has quit [Ping timeout: 480 seconds]
06:16chadmed has quit [Quit: Konversation terminated!]
06:16chadmed has joined #asahi-dev
06:20voidah has quit [Ping timeout: 480 seconds]
06:27voidah has joined #asahi-dev
06:31alanlyu has joined #asahi-dev
06:31alanlyu has quit [Remote host closed the connection]
06:31alanlyu has joined #asahi-dev
06:50voidah has quit [Ping timeout: 480 seconds]
06:58voidah has joined #asahi-dev
07:04alanlyu has quit [Read error: Connection reset by peer]
07:04alanlyu has joined #asahi-dev
07:07voidah has quit [Ping timeout: 480 seconds]
07:15chadmed has quit [Quit: Konversation terminated!]
07:15chadmed has joined #asahi-dev
07:16voidah has joined #asahi-dev
07:19alessaba has joined #asahi-dev
07:25voidah has quit [Ping timeout: 480 seconds]
07:28linkmauve has joined #asahi-dev
07:32voidah has joined #asahi-dev
07:35pb17 has quit [Ping timeout: 480 seconds]
07:36pb17 has joined #asahi-dev
07:39N_Tempus_04 has joined #asahi-dev
07:41voidah has quit [Ping timeout: 480 seconds]
07:50voidah has joined #asahi-dev
07:56hello00921 has joined #asahi-dev
07:59voidah has quit [Ping timeout: 480 seconds]
08:06hello0092 has joined #asahi-dev
08:07voidah has joined #asahi-dev
08:10alanlyu has quit [Ping timeout: 480 seconds]
08:10alanlyu has joined #asahi-dev
08:10hello00921 has quit [Ping timeout: 480 seconds]
08:20voidah has quit [Ping timeout: 480 seconds]
08:20hello0092 has quit [Quit: Konversation terminated!]
08:20hello0092 has joined #asahi-dev
08:27N_Tempus_04 has quit [Remote host closed the connection]
08:29voidah has joined #asahi-dev
08:32alanlyu has quit [Remote host closed the connection]
08:33alanlyu has joined #asahi-dev
08:35chadmedauuughhh another deadlock when stopping pipewire/wireplumber
08:36chadmedi dont know if we should change how speakersafetyd works (i dont think we even can?) or just justify the relaxed locking
08:36chadmedits worked with no issues for like 5 years now
08:38voidah has quit [Ping timeout: 480 seconds]
08:45user890104_ is now known as user890104
08:45user890104 has quit []
08:45user890104 has joined #asahi-dev
08:46voidah has joined #asahi-dev
08:54voidah has quit [Ping timeout: 480 seconds]
09:02voidah has joined #asahi-dev
09:07meow67676767 has quit [Read error: Connection reset by peer]
09:07meow67676767 has joined #asahi-dev
09:19svenjannau: can i convince you to review (or just merge and hope for the best, lol) https://github.com/AsahiLinux/m1n1/pull/643 ?
09:21voidah has quit [Ping timeout: 480 seconds]
09:28voidah has joined #asahi-dev
09:30svennice, i'll wait with cleaning up the rest of the m4 hv until that's merged then
09:31alanlyu has quit [Read error: Connection reset by peer]
09:31alanlyu has joined #asahi-dev
09:37voidah has quit [Ping timeout: 480 seconds]
09:45voidah has joined #asahi-dev
09:54voidah has quit [Ping timeout: 480 seconds]
09:56Tramtrist has quit [Quit: leaving]
09:56Tramtrist has joined #asahi-dev
09:56Tramtrist has quit []
10:03voidah has joined #asahi-dev
10:11voidah has quit [Ping timeout: 480 seconds]
10:13voidah has joined #asahi-dev
10:19Tramtrist has joined #asahi-dev
10:21Tramtrist has quit [Remote host closed the connection]
10:21pb17 has quit [Ping timeout: 480 seconds]
10:21Tramtrist has joined #asahi-dev
10:22voidah has quit [Ping timeout: 480 seconds]
10:23Tramtrist has quit [Remote host closed the connection]
10:23pb17 has joined #asahi-dev
10:31voidah has joined #asahi-dev
10:36marvin24 has quit [Ping timeout: 480 seconds]
10:38alanlyu has quit [Remote host closed the connection]
10:40voidah has quit [Ping timeout: 480 seconds]
10:42meow67676767 has quit [Quit: The Lounge - https://thelounge.chat]
10:43meow67676767 has joined #asahi-dev
10:47bennofs3 has quit [Ping timeout: 480 seconds]
10:49voidah has joined #asahi-dev
10:51bennofs3 has joined #asahi-dev
10:58voidah has quit [Ping timeout: 480 seconds]
11:05voidah has joined #asahi-dev
11:23voidah has quit [Ping timeout: 480 seconds]
11:31voidah has joined #asahi-dev
11:33pb17 has quit [Ping timeout: 480 seconds]
11:38pb17 has joined #asahi-dev
11:39voidah has quit [Ping timeout: 480 seconds]
11:46voidah has joined #asahi-dev
11:55voidah has quit [Ping timeout: 480 seconds]
12:03voidah has joined #asahi-dev
12:11voidah has quit [Ping timeout: 480 seconds]
12:15voidah has joined #asahi-dev
12:24voidah has quit [Ping timeout: 480 seconds]
12:32voidah has joined #asahi-dev
12:36svengetting this thing to work was clearly much more fun than now trying to understand wtf is actually required and what's just weird hacks that went nowhere :D
12:36hardy94 has joined #asahi-dev
12:37chadmedwe cant just move fast and break things all the time, thats how we end up with enterprise codebases
12:38svenyeah... i'll also see if i can get rid of the binary patches done to sptm now
12:38svenor at least move them to python so that they're done automatically
12:39svenit checks if CTRR and the lockdown stuff in AMCC is configured correctly which it really isn't once I move SPTM 2GB up in RAM
12:40svenhrm, i guess i can just seed the CTRR regs which I emulate anyway with the correct values
12:41voidah has quit [Ping timeout: 480 seconds]
12:49voidah has joined #asahi-dev
12:57voidah has quit [Ping timeout: 480 seconds]
13:06voidah has joined #asahi-dev
13:20voidah has quit [Ping timeout: 480 seconds]
13:22pb17 has quit [Remote host closed the connection]
13:29voidah has joined #asahi-dev
13:38voidah has quit [Ping timeout: 480 seconds]
13:39pb17 has joined #asahi-dev
13:41Felixawaytill27ofSeptember[m] is now known as Felix[m]
13:42jannauyuka: are you sure t6050 uses the same CPU start offset as t6031...? pmgr_reg + CPU_START_OFFSET + 4 does not read 0x0
13:42jannau"write32(cpu_start_base + 0x4, 1 << (4 * cluster + core));" looks very broken for clusters with 6 CPU cores
13:46voidah has joined #asahi-dev
13:54voidah has quit [Ping timeout: 480 seconds]
14:04voidah has joined #asahi-dev
14:12voidah has quit [Ping timeout: 480 seconds]
14:21voidah has joined #asahi-dev
14:31svenwith that mpidr thing i need one less binary patch to sptm \o/
14:31svennow let's see about that CTRR crap
14:33jannauthe CPU start offset seems to be in pmgr.misc-cores, unfortunately no such property on t6050
14:34jannaupmgr.misc-cores-offset
14:38nickchanvalidated the pre-M1 cpufreq changes
14:39argonaut has quit [Quit: argonaut]
14:39nickchanspeaking of which maybe I should try to fix the cursed concurrency issue with start A7-A9 CPUs for the third time (after stopping them for 2 times) that makes the secondary die when it tries to eret from EL3 into EL1 that has been there since the beginning
14:39nickchanWhy is starting secondary always cursed for everybody
14:40jannaunickchan: thanks. I meant to ping you in the PR and forgot
14:41svennickchan: i dunno, but even the latest HEAD still has some cursed issue, probably something with caching around MMU enable, that i hit occasionally on M4 pro :(
14:42svenit's luckily rare enough but that also means i have almost no motivation to debug it :D
14:46nickchansven: mind picking these aarch32 rtkit crashlog section additions for 7.4: https://lore.kernel.org/asahi/20260919-rtkit-armv7-crashlog-v1-0-f4a671ea453c@gmail.com/T
14:49jannausigh: "Try allocating in the lower 4GB first, and limit arm64 allocations to the 4GB boundary. (091e50562, 1cae86131)" from grub 2.16
14:51yukaI think I tested many offsets and this one did not give SError or similar and it did result in the pmgr entries coming up
15:03voidah has quit [Ping timeout: 480 seconds]
15:11voidah has joined #asahi-dev
15:26svenwith correct initial values for the CTRR sysregs that's even less binary patching for SPTM. what's missing is the mmio part of the locked memory regions and another patch where it fails if its base is somewhat above ram_start
15:26sveni think i can't get rid of the last one, but i should be able to virtualize those mmio regions and just report the correct values
15:26pb17 has quit [Ping timeout: 480 seconds]
15:35voidah has quit [Ping timeout: 480 seconds]
15:37svensecure kernel for m5+ is also going to be even more cursed with this, but that's issue for later i guess
15:38meow67676767 has quit [Quit: The Lounge - https://thelounge.chat]
15:39meow67676767 has joined #asahi-dev
15:43Guest971 has quit [Quit: Bridge terminating on SIGTERM]
15:43rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
15:44voidah has joined #asahi-dev
15:46pb17 has joined #asahi-dev
15:48rhysmdnz has joined #asahi-dev
15:49Guest1090 has joined #asahi-dev
15:53voidah has quit [Ping timeout: 480 seconds]
16:00voidah has joined #asahi-dev
16:03jannauyuka: I'm suspicious because (0x280600000 + 0x88000) + [0, 4] both read 0x3fffe after reset. those read 0x0 on M3 Max (with the correct PMGR reg)
16:04jannaubased on the pmgr ADT CPU start might have changed on T6050. T8152 still has misc-cores-offset
16:06jannauthe write to (cpu_start_base + 0x4) is clearly bad on SoCs with 6 core clusters. should strace it on M3*
16:11chadmed has quit [Quit: Konversation terminated!]
16:12chadmed has joined #asahi-dev
16:25lucy0092 has joined #asahi-dev
16:28hello0092 has quit [Ping timeout: 480 seconds]
16:47voidah has quit [Ping timeout: 480 seconds]
16:47nano has quit [Quit: User left the chat]
16:50svennickchan: done
16:50nano has joined #asahi-dev
16:55voidah has joined #asahi-dev
16:56nano has quit [Quit: User left the chat]
16:59nano has joined #asahi-dev
17:11voidah has quit [Ping timeout: 480 seconds]
17:17voidah has joined #asahi-dev
18:02zkrx has quit [Ping timeout: 480 seconds]
18:26voidah has quit [Ping timeout: 480 seconds]
18:27svenpanic(cpu 2 caller 0xfffffe003a2fe8c4): AMCC1 PLANE2 UNEXP_RT_HIT_DIR error: INTSTS1 0x00000100 AFERRLOG0/1/2/3/4/5 0xc8000800/0xfe2902/0x11c1f5d0/0x800/0x4/0 ADDR 0x102c8000800 CMD/SIZE 0x5(ncrdincri)/0x7f AID/TID 0x1f5d0/0x11c/0 @AppleH16GFamilyPlatformErrorHandler.cpp:2915
18:27svenhuh.. that's new
18:34voidah has joined #asahi-dev
18:42voidah has quit [Ping timeout: 480 seconds]
18:48distantorigin has quit [Ping timeout: 480 seconds]
18:51voidah has joined #asahi-dev
19:00voidah has quit [Ping timeout: 480 seconds]
19:04voidah has joined #asahi-dev
19:19pb17 has quit [Ping timeout: 480 seconds]
19:21pb17 has joined #asahi-dev
19:22zkrx has joined #asahi-dev
19:24hardy94 has quit [Quit: hardy94]
19:26svenyuka: fwiw, i'll try to get this thing up as a PR in the next 1-2 weeks, let me know if you need something specific traced before that on my m4 pro
19:26svenit's still somewhat unstable but if it boots the login screen i usually have 1-2 minutes before it dies
19:28svenit either dies with that PMGR thing, with that AMCC thing or it ends up trying to put all cores into deep sleep which makes them all get stuck in an endless 1: wfi; 1b loop
19:40zkrx has quit [Ping timeout: 480 seconds]
19:42hardy94 has joined #asahi-dev
19:43zkrx has joined #asahi-dev
19:49linkmauve has quit [Remote host closed the connection]
19:51linkmauve has joined #asahi-dev
19:55lucy0092 has quit [Remote host closed the connection]
19:59lucy0092 has joined #asahi-dev
20:00lucy0092 has quit []
20:00lucy0092 has joined #asahi-dev
20:05hardy94 has quit [Remote host closed the connection]
20:09zkrx has quit []
20:11zkrx has joined #asahi-dev
20:12voidah has quit [Ping timeout: 480 seconds]
20:21voidah has joined #asahi-dev
20:28mattia013 has quit [Ping timeout: 480 seconds]
20:32svenoh lol, i think the pmgr panic and the wfi loop are a symptom of the same thing
20:32svenxnu thinks the cluster is offline while it's actually stuck in that wfi loop and then tries to bring it back up which can't happen because it's been powered on the entire time :D
20:35sventhat just leaves that weird AMCC panic then
20:44elara has quit [Ping timeout: 480 seconds]
20:45pb17 has quit [Ping timeout: 480 seconds]
20:46pb17 has joined #asahi-dev
20:48svenhttps://github.com/AsahiLinux/m1n1/commit/fabe27e3f14891674a2fc42e9fbd2b51542230cd https://github.com/AsahiLinux/m1n1/commit/8fa422c0d3c11b3cc09e758c80d88ad3f5bf9a6a that sounds similar, so i'm probably just missing some new carveouts or whatever that have to be mapped differently
20:49chaos_princesscould RT in UNEXP_RT mean "realtime"?
20:49svenpossibly, yeah
21:15mrkajetanp_ has joined #asahi-dev
21:15mrkajetanp has quit [Remote host closed the connection]
21:31elara has joined #asahi-dev
21:49bennofs3 has quit [Quit: Ping timeout (120 seconds)]
21:49bennofs3 has joined #asahi-dev
22:08chadmed has quit [Quit: Konversation terminated!]
22:08chadmed has joined #asahi-dev
22:29lucy0092 has quit [Quit: Konversation terminated!]
22:37chadmed has quit [Quit: Konversation terminated!]
22:38chadmed has joined #asahi-dev
22:49rosalyntg_ has joined #asahi-dev
22:49rosalyntg has quit [Read error: Connection reset by peer]
23:44linkmauve has quit [Remote host closed the connection]
23:47Simonx22 has quit []
23:48elara has quit [Remote host closed the connection]
23:50Simonx22 has joined #asahi-dev
23:50elara has joined #asahi-dev
23:51linkmauve has joined #asahi-dev
23:53zkrx has quit [Ping timeout: 480 seconds]
…