2025-05-29
00:03mildsunrise3 has quit [Quit: Ping timeout (120 seconds)]
00:03m5zs7k has quit [Remote host closed the connection]
00:03mildsunrise3 has joined #asahi-dev
00:03m5zs7k has joined #asahi-dev
00:08chrisl has joined #asahi-dev
00:16chrisl has quit [Ping timeout: 480 seconds]
01:03amarioguy has joined #asahi-dev
01:04amarioguyjust refreshing my memory here since i'm at the point where i have to finish the vgic implementation now: AICv2 and v3 i hear don't support setting CPU affinities?
01:05amarioguy(ik you can have CPUs opt out of interrupts via the SIQ cfg msr but iirc that only allows filtering between P and E core clusters
01:12chrisl has joined #asahi-dev
01:20chrisl has quit [Ping timeout: 480 seconds]
01:24popey__ has quit [Ping timeout: 480 seconds]
01:28amarioguymaz: not sure if you're still active so apologies in advance for the ping, but does kvm exactly care much about AIC2 seemingly routes interrupts to cores at random? didn't seem like there was any special code to do that in either the AIC driver or the KVM vgic code, but then again the fact that virtual CPU state is entirely maintained by the HV means that it may not matter much i suppose
01:48popey__ has joined #asahi-dev
02:04chrisl has joined #asahi-dev
02:14chrisl has quit [Ping timeout: 480 seconds]
02:22mesa has joined #asahi-dev
02:22chrisl has joined #asahi-dev
02:30chrisl has quit [Ping timeout: 480 seconds]
02:32pb17 has quit [Ping timeout: 480 seconds]
02:43pb17 has joined #asahi-dev
02:45tobhe has joined #asahi-dev
02:46hexdump01 has joined #asahi-dev
02:48hexdump0815 has quit [Ping timeout: 480 seconds]
02:51tobhe_ has quit [Ping timeout: 480 seconds]
03:09DragonStar has joined #asahi-dev
03:29nora has joined #asahi-dev
03:30chrisl has joined #asahi-dev
03:30nora_ has quit [Ping timeout: 480 seconds]
03:38chrisl has quit [Ping timeout: 480 seconds]
03:43Stary has quit [Quit: ZNC - http://znc.in]
03:50Stary has joined #asahi-dev
03:51john-cabaj has joined #asahi-dev
04:00john-cabaj has quit [Ping timeout: 480 seconds]
04:11Calandracas_ has joined #asahi-dev
04:16Calandracas has quit [Ping timeout: 480 seconds]
04:22Calandracas has joined #asahi-dev
04:27Calandracas_ has quit [Ping timeout: 480 seconds]
04:36aead has quit [Remote host closed the connection]
04:37aead has joined #asahi-dev
04:37chrisl has joined #asahi-dev
04:45chrisl has quit [Ping timeout: 480 seconds]
05:02DragonStar has quit [Ping timeout: 480 seconds]
05:09DragonStar has joined #asahi-dev
05:17DragonStar has quit [Ping timeout: 480 seconds]
05:24mesa has quit [Remote host closed the connection]
05:24DragonStar has joined #asahi-dev
05:33DragonStar has quit [Ping timeout: 480 seconds]
05:34DragonStar has joined #asahi-dev
05:37Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
05:44chrisl has joined #asahi-dev
05:52chrisl has quit [Ping timeout: 480 seconds]
06:12DragonStar has quit [Ping timeout: 480 seconds]
06:12sam_ is now known as Guest16962
06:15Guest16962 has quit [Read error: Connection reset by peer]
06:15sam_ has joined #asahi-dev
06:17DragonStar has joined #asahi-dev
06:26DragonStar has quit [Ping timeout: 480 seconds]
06:42chadmed_ has quit [Quit: Konversation terminated!]
07:39chrisl has joined #asahi-dev
07:46pb17 has quit [Ping timeout: 480 seconds]
07:47chrisl has quit [Ping timeout: 480 seconds]
07:53mazand since AIC2 is pretty retarded on that front (no direct injection), it's not like we're losing much.
08:07pb17 has joined #asahi-dev
08:18cylm has joined #asahi-dev
08:48chrisl has joined #asahi-dev
08:56chrisl has quit [Ping timeout: 480 seconds]
09:28SilverMoon has joined #asahi-dev
09:31Larwive has joined #asahi-dev
09:39Larwive has quit [Ping timeout: 480 seconds]
09:42chrisl has joined #asahi-dev
09:50chrisl has quit [Ping timeout: 480 seconds]
10:21SilverMoon has quit [Quit: SilverMoon]
10:31andymandias_ has joined #asahi-dev
10:35andymandias has quit [Ping timeout: 480 seconds]
10:39andymandias_ is now known as andymandias
10:48chadmed_ has joined #asahi-dev
10:50chrisl has joined #asahi-dev
10:55chadmed has quit [Ping timeout: 480 seconds]
10:58chrisl has quit [Ping timeout: 480 seconds]
11:02break95 has joined #asahi-dev
11:25break95 has quit [Ping timeout: 480 seconds]
11:27chadmed_ has quit [Quit: Konversation terminated!]
11:27chadmed_ has joined #asahi-dev
11:33Larwive has joined #asahi-dev
11:41Larwive has quit [Ping timeout: 480 seconds]
12:48chrisl has joined #asahi-dev
12:50lion328 has quit [Quit: Leaving]
12:51lion328 has joined #asahi-dev
12:56chrisl has quit [Ping timeout: 480 seconds]
13:08zkrx has quit []
13:23chadmed_ has quit [Quit: Konversation terminated!]
13:24chadmed_ has joined #asahi-dev
13:24chadmed_ has quit []
13:24chadmed_ has joined #asahi-dev
13:26cylm_ has joined #asahi-dev
13:30zkrx has joined #asahi-dev
13:32cylm has quit [Ping timeout: 480 seconds]
13:35Larwive has joined #asahi-dev
13:37zkrx has quit []
13:43Larwive has quit [Ping timeout: 480 seconds]
13:54break has joined #asahi-dev
13:54chrisl has joined #asahi-dev
13:58john-cabaj has joined #asahi-dev
13:59break is now known as break95
13:59zkrx has joined #asahi-dev
14:02chrisl has quit [Ping timeout: 480 seconds]
14:08zkrx has quit [Ping timeout: 480 seconds]
14:18zkrx has joined #asahi-dev
14:24svenhttps://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/log/?h=wip/atcphy and https://github.com/AsahiLinux/m1n1/pull/469 handles fuses as if they were another tunable and I think I like it that way
14:41glem8100548897 has joined #asahi-dev
14:42glem810054889 has quit [Ping timeout: 480 seconds]
14:42glem8100548897 is now known as glem810054889
15:17Larwive has joined #asahi-dev
15:23svenatcphy needs then because what Apple calls „tunables“ are there is in reality 10% tunables and 90% init sequence they didn’t want to put into the atcphy kext for whatever reason
15:25Larwive has quit [Ping timeout: 480 seconds]
15:26zkrx has quit []
15:31zkrx has joined #asahi-dev
15:47glem810054889 has quit [Ping timeout: 480 seconds]
15:51glem810054889 has joined #asahi-dev
16:21os has quit [Quit: The Lounge - https://thelounge.chat]
16:27os has joined #asahi-dev
16:34kettenismy OpenBSD-built chainloading m1n1 binaries work, so I guess that removes the issue with rust in m1n1 from my side
16:38chrisl has joined #asahi-dev
16:46chrisl has quit [Ping timeout: 480 seconds]
17:14iyes has joined #asahi-dev
17:38chrisl has joined #asahi-dev
17:46chrisl has quit [Ping timeout: 480 seconds]
18:21break95 has quit [Ping timeout: 480 seconds]
18:31pb17 has quit [Ping timeout: 480 seconds]
18:39chrisl has joined #asahi-dev
18:41pb17 has joined #asahi-dev
18:48chrisl has quit [Ping timeout: 480 seconds]
18:52iyes has quit [Ping timeout: 480 seconds]
19:23os has quit [Quit: The Lounge - https://thelounge.chat]
19:29os has joined #asahi-dev
19:41chrisl has joined #asahi-dev
19:42os has quit [Quit: The Lounge - https://thelounge.chat]
19:49chrisl has quit [Ping timeout: 480 seconds]
20:09chadmed_ has quit [Quit: Konversation terminated!]
20:09chadmed_ has joined #asahi-dev
20:13pb17 has quit [Ping timeout: 480 seconds]
20:16svenon m1+ the dwc3 tunables in the ADT are just documented writes to the normal dwc3 regs iirc
20:18svenjannau: so i'm even more confused by that mmu_setup_secondary abort. i also see a different address inside m1n1 for x29 vs sp which looks reasonable. maybe x29 gets corrupted as well? but i dont see how :/
20:20break95 has joined #asahi-dev
20:25iyes has joined #asahi-dev
20:30pb17 has joined #asahi-dev
20:38sven 00125f7c fd 7b bf a9 stp x29,x30,[sp, #local_10]! <-- so that's x29 and lr before it branches to supports_pan. by the time it returns both seem to be corrupted
20:43chrisl has joined #asahi-dev
20:50iyes has quit [Ping timeout: 480 seconds]
20:51chrisl has quit [Ping timeout: 480 seconds]
20:59iyes has joined #asahi-dev
21:07break95 has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
21:24chadmed_ has quit [Quit: Konversation terminated!]
21:24chadmed_ has joined #asahi-dev
21:29jannaumy suspicion are guest intercepts but I'm puzzled why those would only break in this specific place. I also suspect the issue would vanish if llvm would save SP at function entry
21:30sventhe truly weird part is that sometimes bringing up core 1 works and then it fails at the same place for core 2
21:31svenif this really is some timing issue i'm not sure even a SWD debugger for host m1n1 would help debugging this
21:33lion328 has quit [Quit: Leaving]
21:37lion328 has joined #asahi-dev
21:40svenI didn't even find any instruction that would write 0x2000000 somewhere and would make sense in that context when I checked a few weeks ago
21:43chrisl has joined #asahi-dev
21:51chrisl has quit [Ping timeout: 480 seconds]
21:54jannauaccording to my debugging SP was consistent within mmu_setup_secondary but I don't see how "too much" debugging inside mmu_setup_secondary would prevent something corrupting the secondary stack of the affected core
21:56sveni'll have to try again but I think what happened is that supports_pan was somehow inline when I added "too much debugging" to mmu_setup_secondary
22:00john-cabaj has quit [Quit: john-cabaj]
22:19jannauI haven't seen supports_pan being inlined. one variant of "fixed by too much debug" I've seen was saving LR at function entry
22:21jannaumy theory of how increasing dummy_stack avoids the problem is that something else gets overwritten
22:27mx08 has quit [Quit: WeeChat 3.8]
22:28mx08 has joined #asahi-dev
22:41iyes has quit [Quit: Leaving]
22:43chadmed has joined #asahi-dev
22:45chadmed_ has quit [Read error: Connection reset by peer]
22:45chrisl has joined #asahi-dev
22:53chrisl has quit [Ping timeout: 480 seconds]
23:10cylm has joined #asahi-dev
23:11cylm has quit []
23:17cylm_ has quit [Ping timeout: 480 seconds]
23:45chrisl has joined #asahi-dev
23:53chrisl has quit [Ping timeout: 480 seconds]