#asahi-dev · 2026-05-15 13:09
nickchanwhatever macos does#asahi-dev · 2026-05-15 13:09
tryhard[m]where can i see the pmp addr?#asahi-dev · 2026-05-15 13:07
chaos_princesscause i don't see any obvious issue#asahi-dev · 2026-05-15 13:06
chaos_princesswell... run the kernel under your tracer and see what differs#asahi-dev · 2026-05-15 13:01
tryhard[m]the asc addr i took from dump_regs, for pmp i just switched between them#asahi-dev · 2026-05-15 13:01
tryhard[m]maybe the addresses are wrong again.#asahi-dev · 2026-05-15 12:58
tryhard[m]thats the one#asahi-dev · 2026-05-15 12:58
tryhard[m]rtk.as_mut().wake()?;#asahi-dev · 2026-05-15 12:57
chaos_princessyea, let's see which part in start fails#asahi-dev · 2026-05-15 12:57
tryhard[m]with some lines removed#asahi-dev · 2026-05-15 12:57
tryhard[m]well its basically what you wrote#asahi-dev · 2026-05-15 12:56
chaos_princesslooks sane#asahi-dev · 2026-05-15 12:56
tryhard[m]sent a rust code block: https://matrix.org/oftc/media/v1/media/download/AQoDyyx07zfPZ09wa75-gXDigoKOv_V_Kft3v6J1LKQ97U8aEQu0aqmnJiZZNTM9HTKyA3ei3-4jQL4zmWZoaDJCeec85mjQAG1hdHJpeC5vcmcvREVIT0V0Z09EQ0JoZndZak1Va05lWFpn#asahi-dev · 2026-05-15 12:55
fl0_idjannau you didn't work on m3 max pcie yet, right?#asahi-dev · 2026-05-15 12:54
chaos_princessactually, show the place where you are calling start() from too#asahi-dev · 2026-05-15 12:54
chaos_princessit goes before start()#asahi-dev · 2026-05-15 12:54
chaos_princessofc#asahi-dev · 2026-05-15 12:54
tryhard[m]should i put on start_cpu as well?#asahi-dev · 2026-05-15 12:53
chaos_princesssomething like that, yes#asahi-dev · 2026-05-15 12:53
tryhard[m]like rtkit didn't start?#asahi-dev · 2026-05-15 12:53
tryhard[m]alright, but why ETIME makes sense?#asahi-dev · 2026-05-15 12:52
chaos_princessput debug printfs everywhere, lets see what fails#asahi-dev · 2026-05-15 12:52
tryhard[m]sent a code block: https://matrix.org/oftc/media/v1/media/download/AeN4wBDC38DqMts7mXA7535wbY1vBtWJkesEFxU3nLRzp_t8fNNHJjImuD-C4iqLkNnAM4OFpBUAvZ_hw5uUQr1Ceec8r45QAG1hdHJpeC5vcmcveUNFWFFMamR0bWV2SlpMWmZyZ1BBaGtR#asahi-dev · 2026-05-15 12:52
tryhard[m]i think you have truth in your words#asahi-dev · 2026-05-15 12:51
chaos_princessshow your start() function#asahi-dev · 2026-05-15 12:51
chaos_princess'cause it is actually ETIME, which makes more sense#asahi-dev · 2026-05-15 12:50
chaos_princessthat makes zero sense#asahi-dev · 2026-05-15 12:50
tryhard[m]-62 is EKEYREJECTED#asahi-dev · 2026-05-15 12:50
jannaunickchan: dev_pm_domain_attach_list() https://elixir.bootlin.com/linux/v7.0.1/source/drivers/base/power/common.c#L174#asahi-dev · 2026-05-15 12:47
tryhard[m]sent a code block: https://matrix.org/oftc/media/v1/media/download/AZs8aHqGGOTRpYmAbENCyWwiv47qv1De3p_5tAUrvtauYryOWIkMIgpJw6MVHEQyq9nNBj2-PMQ6kGoAioYFY_hCeec8bhWwAG1hdHJpeC5vcmcvRFdiaFV5cXF6Z0ZaT3R5T1BDa3p3TWph#asahi-dev · 2026-05-15 12:47
tryhard[m]chaos_princess: still the same ;(#asahi-dev · 2026-05-15 12:46
nickchanjannau: what about it I have been cheesing power domains in my downstream tree too#asahi-dev · 2026-05-15 12:45
jannauthere is a utility function though if there are no ordering requirements#asahi-dev · 2026-05-15 12:44
nickchan(since the ordering of the power domains may be important and core doesn't know that)#asahi-dev · 2026-05-15 12:43
chaos_princesskind of a cheeky fix, but should work#asahi-dev · 2026-05-15 12:43
chaos_princessok, so do the following. delete dependency on ps_pmp from pmp_mbox, and leave only a dependency on ps_pms_sram#asahi-dev · 2026-05-15 12:42
nickchanif there 's more than a single power-domains#asahi-dev · 2026-05-15 12:42
nickchanthen linux's core won't start it automatically before the driver#asahi-dev · 2026-05-15 12:42
nickchanif there 's more than a single power-domains#asahi-dev · 2026-05-15 12:42
tryhard[m]chaos_princess: from what've understood it's basically forbidden access or something#asahi-dev · 2026-05-15 12:41
tryhard[m]oh ok#asahi-dev · 2026-05-15 12:41
chaos_princesswhat is 62 even, timeout?#asahi-dev · 2026-05-15 12:41
chaos_princessRUN=1 means that the field from bit 4 to bit 4 is equal to 1#asahi-dev · 2026-05-15 12:40
chaos_princessyou are misreading the tracer output https://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/hw/asc.py#L14#asahi-dev · 2026-05-15 12:39
tryhard[m]well it's still the same. although i saw that RUN=1, and you do 0x1 << 4?#asahi-dev · 2026-05-15 12:22
chaos_princessyou need it#asahi-dev · 2026-05-15 12:22
tryhard[m]no#asahi-dev · 2026-05-15 12:22
chaos_princessdo you have this? https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/soc/apple/pmp.rs#L136#asahi-dev · 2026-05-15 12:21
tryhard[m]alright, same error though#asahi-dev · 2026-05-15 12:19
chaos_princessuse stream 0, it is specified as "reg" under mapper-pmp