2026-04-28
00:05maettu102 has quit [Quit: brb]
00:07maettu102 has joined #asahi-dev
00:24hamr84 has quit [Read error: No route to host]
00:24hamr84 has joined #asahi-dev
01:07marvin24 has quit [Ping timeout: 480 seconds]
02:05crabbedhaloablut has quit []
02:05crabbedhaloablut has joined #asahi-dev
02:16hexdump0815 has quit [Ping timeout: 480 seconds]
02:23tobhe_ has joined #asahi-dev
02:30tobhe has quit [Ping timeout: 480 seconds]
03:13dataviruset has joined #asahi-dev
03:46Stary has quit [Quit: ZNC - http://znc.in]
03:52marvin24 has joined #asahi-dev
03:53Stary has joined #asahi-dev
04:02nora_ has joined #asahi-dev
04:04nora has quit [Ping timeout: 480 seconds]
04:29eluks has quit [Remote host closed the connection]
04:30eluks has joined #asahi-dev
05:08voidah has quit [Ping timeout: 480 seconds]
05:15voidah has joined #asahi-dev
05:24voidah has quit [Ping timeout: 480 seconds]
05:32voidah has joined #asahi-dev
05:41Tramtris1 has joined #asahi-dev
05:42voidah has quit [Ping timeout: 480 seconds]
05:43Tramtrist has quit [Ping timeout: 480 seconds]
05:51voidah has joined #asahi-dev
06:49sofus has joined #asahi-dev
06:51mripard has joined #asahi-dev
06:52mripard_ has quit [Ping timeout: 480 seconds]
07:05prike2838 has quit [Quit: Ping timeout (120 seconds)]
07:17prike2838 has joined #asahi-dev
07:22yurix has quit [Read error: Connection reset by peer]
07:22yurix has joined #asahi-dev
07:41___nick___ has joined #asahi-dev
07:49r0ni has quit [Ping timeout: 480 seconds]
08:30cow123 has quit [Ping timeout: 480 seconds]
08:37cow123 has joined #asahi-dev
08:42josiedotlol_ has quit [Remote host closed the connection]
08:45prike2838 has quit [Ping timeout: 480 seconds]
09:00chaos_princess> haven't validated it on all machines
09:00chaos_princesswere you be willing to run a m1n1 tracer
09:00chaos_princess*will you
09:01chaos_princessand which specific t6020? Pro? Max?
09:01chaos_princessDo you already have the m1n1 development setup?
09:02chaos_princessoh, and what do you mean by crash? full machine freeze? just pmp crash?
09:04chaos_princesspastebin the dt diff you have
09:07chaos_princesswell, it needs those
09:07chaos_princesswhat happens if you don't remove them
09:07jannaumaz: walking the hierarchy would be fine, the issue is that I can't see how to determine that parent doesn't support affinity before allocating the irq. I want to add MSI_FLAG_NO_AFFINITY so irq_set_affinity of the msi irq chip isn't set to msi_domain_set_affinity
09:08chaos_princesscrashlog?
09:09jannauI think t602x pmp needs the same changes as t600x, always-on for the disp* pmp_report nodes and ps_pmp and ps_pms_sram
09:09chaos_princessdo we not have those?
09:10chaos_princessright, we don't
09:10chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/t602x-pmgr.dtsi#L451
09:11chaos_princesscan you do the changes jannau suggested, just like here https://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/t600x-pmgr.dtsi#L429
09:11chaos_princessand revert your pio change
09:16sofus has quit [Quit: Lost terminal]
09:20sofus has joined #asahi-dev
09:23sofusdo you want the m1n1 traces? macos gives PMPMessage_IOVATableAck(TYPE=0x11, IOVA=0x0) which is why i assumed pio-ranges should be empty
09:25sofus has quit [Quit: Lost terminal]
09:27chaos_princessyea, i guess i want the trace then
09:28sofus has joined #asahi-dev
09:34kraem has quit [Ping timeout: 480 seconds]
09:34mripard has quit [Quit: WeeChat 4.9.0]
09:34chaos_princesscan you also break into the hv shell and run dart_pmp_tracer.dart.dump_all() once it settles
09:37sofus has quit [Quit: Lost terminal]
09:40prike2838 has joined #asahi-dev
09:50sofus has joined #asahi-dev
09:50marvin24 has quit [Ping timeout: 480 seconds]
09:59josiedotlol_ has joined #asahi-dev
09:59mripard has joined #asahi-dev
09:59chaos_princessnot remotely what i expected. can you delete pio-ranges https://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/t6020.dtsi#L30 entirely, delete pmp_report_gfx https://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/t602x-die0.dtsi#L51 and only leave ps_gfx as the gpu power domain
10:00chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/t602x-die0.dtsi#L971 like for t600x https://github.com/AsahiLinux/linux/blob/asahi-wip/arch/arm64/boot/dts/apple/t600x-die0.dtsi#L745
10:02___nick___ has quit []
10:04___nick___ has joined #asahi-dev
10:04___nick___ has quit []
10:07___nick___ has joined #asahi-dev
10:15chaos_princessremove from t6021.dtsi too, i want that field completely gone as it will cause it to send a zero address to IOVATableAck
10:16chaos_princessand when does it crash? startup or suspend?
10:16chaos_princessright, so wrong iova table
10:17nnym_ has quit [Ping timeout: 480 seconds]
10:17nnym has joined #asahi-dev
10:23chaos_princesspastebin your diff too, please
10:28prike2838 has quit [Ping timeout: 480 seconds]
10:30chaos_princessok, i see it. Can you replace the entire get_iova_table https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/soc/apple/pmp.rs#L167 with just `return Ok((OPC_GET_IOVA_TABLE | OPC_ACK_MASK) << OPC_SHIFT);`
10:30kraem has joined #asahi-dev
10:31josiedotlol_ has quit [Remote host closed the connection]
10:34chaos_princesssuspend too?
10:35chaos_princessok, i will PR the real fix at some point in the future
10:36chaos_princessSo, that leaves the m2 max and both ultras as not validated
10:36chaos_princessdo we even care about pmp on ultrs
10:40rany has quit [Remote host closed the connection]
10:40rany has joined #asahi-dev
10:47pb17 has quit [Ping timeout: 480 seconds]
10:49voidah has quit [Ping timeout: 480 seconds]
10:51pb17 has joined #asahi-dev
10:57voidah has joined #asahi-dev
11:01prike2838 has joined #asahi-dev
11:06voidah has quit [Ping timeout: 480 seconds]
11:16voidah has joined #asahi-dev
11:24chadmeddid dcp output anything other than the ridiculously long stack trace or whtever that rtk dumps when it crashes? sometimes theres a somewhat helpful error message near the top of that
11:25voidah has quit [Ping timeout: 480 seconds]
11:28chaos_princessare you using an external display?
11:29chaos_princesswhy is it crashing dcpext
11:33chaos_princessforce-pushed, try now
11:34picnoir has quit [Quit: WeeChat 4.8.1]
11:34voidah has joined #asahi-dev
11:35picnoir has joined #asahi-dev
11:40prike2838 has quit [Ping timeout: 480 seconds]
11:48chaos_princessapparently those are just for t600x, t8112 and t602x respond with a zero to iova table msg
11:48prike2838 has joined #asahi-dev
11:50voidah has quit [Ping timeout: 480 seconds]
11:50chaos_princessm2+ has the new darts, right?
11:50chaos_princessso it probably just does it internally somehow
11:59voidah has joined #asahi-dev
12:08voidah has quit [Ping timeout: 480 seconds]
12:16voidah has joined #asahi-dev
12:21fireinside2 has joined #asahi-dev
12:22sofus has quit [Quit: leaving]
12:25voidah has quit [Ping timeout: 480 seconds]
12:34fireinside2 has quit [Quit: WeeChat 4.9.0]
12:35voidah has joined #asahi-dev
12:42mazjannau: the problem I can see is that at the point where we initialise the MSI domain, we only have access to the parent domain, not to the parent irqchip.
12:51voidah has quit [Ping timeout: 480 seconds]
12:52stellaaash[m] has joined #asahi-dev
12:59voidah has joined #asahi-dev
13:04jannaumaz: matching on the compatible is what I came up with but seemed to ugly and depending on internals of the irqchip
13:08voidah has quit [Ping timeout: 480 seconds]
13:09mazjannau: the problem is that as long as you don't have an irq, irqchip and irq_domain are unrelated. chicken and egg.
13:16jannauI was considering using the irqchip from slot irqs. it's the same interrupt controller (we could check) but it's ugly in its own way and more complicated
13:16voidah has joined #asahi-dev
13:22wanless[m] has joined #asahi-dev
13:25voidah has quit [Ping timeout: 480 seconds]
13:25dataviruset has quit [Quit: dataviruset]
13:29stellaaash[m] has left #asahi-dev [User left]
13:29stellaaash[m] has joined #asahi-dev
13:32prike2838 has quit [Ping timeout: 480 seconds]
13:34voidah has joined #asahi-dev
13:37prike2838 has joined #asahi-dev
13:43josiedotlol_ has joined #asahi-dev
13:52voidah has quit [Ping timeout: 480 seconds]
13:58rany has quit [Ping timeout: 480 seconds]
14:01voidah has joined #asahi-dev
14:01mripard has quit [Read error: Connection reset by peer]
14:10voidah has quit [Ping timeout: 480 seconds]
14:11CME has quit [Ping timeout: 480 seconds]
14:18CME has joined #asahi-dev
14:18voidah has joined #asahi-dev
14:28voidah has quit [Ping timeout: 480 seconds]
14:30rany has joined #asahi-dev
14:35voidah has joined #asahi-dev
14:42pb17 has quit [Ping timeout: 480 seconds]
14:45rany has quit [Remote host closed the connection]
14:45rany has joined #asahi-dev
14:51pb17 has joined #asahi-dev
14:53voidah has quit [Ping timeout: 480 seconds]
14:57rany has quit [Read error: Connection reset by peer]
14:57rany has joined #asahi-dev
14:58rany has quit [Read error: Connection reset by peer]
15:00rany has joined #asahi-dev
15:01voidah has joined #asahi-dev
15:03rany has quit [Remote host closed the connection]
15:04rany has joined #asahi-dev
15:10voidah has quit [Ping timeout: 480 seconds]
15:16rany has quit [Read error: No route to host]
15:17voidah has joined #asahi-dev
15:18rany has joined #asahi-dev
15:19rany has quit [Remote host closed the connection]
15:25rany has joined #asahi-dev
15:26prike2838 has quit [Ping timeout: 480 seconds]
15:27voidah has quit [Ping timeout: 480 seconds]
15:30prike2838 has joined #asahi-dev
15:36voidah has joined #asahi-dev
15:41rany has quit [Remote host closed the connection]
15:48rany has joined #asahi-dev
15:50rany has quit [Remote host closed the connection]
15:51prike2838 has quit [Quit: Ping timeout (120 seconds)]
15:52rany has joined #asahi-dev
15:54voidah has quit [Ping timeout: 480 seconds]
15:55rany has quit [Remote host closed the connection]
15:56rany has joined #asahi-dev
16:00prike2838 has joined #asahi-dev
16:03voidah has joined #asahi-dev
16:12voidah has quit [Ping timeout: 480 seconds]
16:21voidah has joined #asahi-dev
16:22rany has quit [Remote host closed the connection]
16:27rany has joined #asahi-dev
16:30voidah has quit [Ping timeout: 480 seconds]
16:37voidah has joined #asahi-dev
16:52r0ni has joined #asahi-dev
16:55voidah has quit [Ping timeout: 480 seconds]
17:01prike2838 has quit [Quit: Ping timeout (120 seconds)]
17:04voidah has joined #asahi-dev
17:13voidah has quit [Ping timeout: 480 seconds]
17:22voidah has joined #asahi-dev
17:31voidah has quit [Ping timeout: 480 seconds]
17:41voidah has joined #asahi-dev
17:48rany has quit [Remote host closed the connection]
17:56voidah has quit [Ping timeout: 480 seconds]
17:56michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
17:57michaelros44 has joined #asahi-dev
18:01troseman has quit [Ping timeout: 480 seconds]
18:03voidah has joined #asahi-dev
18:06troseman has joined #asahi-dev
18:08rany has joined #asahi-dev
18:13voidah has quit [Ping timeout: 480 seconds]
18:14troseman has quit [Ping timeout: 480 seconds]
18:20voidah has joined #asahi-dev
18:29voidah has quit [Ping timeout: 480 seconds]
18:37voidah has joined #asahi-dev
18:47voidah has quit [Remote host closed the connection]
18:47voidah has joined #asahi-dev
18:53Annoyofox has joined #asahi-dev
18:57voidah has quit [Ping timeout: 480 seconds]
19:05voidah has joined #asahi-dev
19:10rany has quit [Remote host closed the connection]
19:14voidah has quit [Ping timeout: 480 seconds]
19:15rany has joined #asahi-dev
19:21rany has quit [Read error: Connection reset by peer]
19:21rany has joined #asahi-dev
19:23voidah has joined #asahi-dev
19:32voidah has quit [Ping timeout: 480 seconds]
19:33voidah has joined #asahi-dev
19:38rany has quit [Read error: Connection reset by peer]
19:38rany has joined #asahi-dev
19:39rany has quit [Read error: Connection reset by peer]
19:43Annoyofox has quit []
19:43rany has joined #asahi-dev
19:55rany has quit [Remote host closed the connection]
19:56rany has joined #asahi-dev
19:56freetolga has joined #asahi-dev
20:05___nick___ has quit [Remote host closed the connection]
20:15rany has quit [Ping timeout: 480 seconds]
20:17rany has joined #asahi-dev
20:17rany has quit [Remote host closed the connection]
20:22rany has joined #asahi-dev
20:37rany has quit [Remote host closed the connection]
20:43rany has joined #asahi-dev
20:45voidah has quit [Ping timeout: 480 seconds]
20:50voidah has joined #asahi-dev
20:54rany_ has joined #asahi-dev
20:56rany has quit [Read error: No route to host]
20:58rany_ is now known as rany
20:59voidah has quit [Ping timeout: 480 seconds]
21:07voidah has joined #asahi-dev
21:16voidah has quit [Ping timeout: 480 seconds]
21:26voidah has joined #asahi-dev
21:35voidah has quit [Ping timeout: 480 seconds]
21:43voidah has joined #asahi-dev
21:48rany has quit [Remote host closed the connection]
21:52voidah has quit [Ping timeout: 480 seconds]
21:53rany has joined #asahi-dev
22:01voidah has joined #asahi-dev
22:01rany has quit [Read error: No route to host]
22:01rany has joined #asahi-dev
22:10voidah has quit [Ping timeout: 480 seconds]
22:19voidah has joined #asahi-dev
22:28rany has quit [Remote host closed the connection]
22:37rany has joined #asahi-dev
23:27voidah has quit [Ping timeout: 480 seconds]
23:33voidah has joined #asahi-dev
23:58rany has quit [Remote host closed the connection]