#asahi-dev · 2026-04-04 18:46
tryhard[m]although we already have DevPwr message...#asahi-dev · 2026-04-04 18:45
tryhard[m]checking if it can communicate with them#asahi-dev · 2026-04-04 18:45
tryhard[m]like the firmware has some ordered instructions for powering on/off all the socs#asahi-dev · 2026-04-04 18:44
tryhard[m]maybe its power on -> ack -> power off -> ack for different socs#asahi-dev · 2026-04-04 18:01
tryhard[m]maybe its just sync?#asahi-dev · 2026-04-04 17:51
chaos_princessright, ignore that part, high power is not there on vanilla m1#asahi-dev · 2026-04-04 17:47
tryhard[m]maybe because the laptop is charging#asahi-dev · 2026-04-04 17:46
tryhard[m]you mean like lower power mode? i tried that but nothing cahnged. #asahi-dev · 2026-04-04 17:46
chaos_princessdo they have power modes on 13.5?#asahi-dev · 2026-04-04 17:45
tryhard[m]im running geekbench see if it does anything#asahi-dev · 2026-04-04 17:45
tryhard[m]i do get some other pmp messages but not this one#asahi-dev · 2026-04-04 17:44
tryhard[m]gpu also nothing#asahi-dev · 2026-04-04 17:40
chaos_princesstry also loading up the gpu#asahi-dev · 2026-04-04 17:39
tryhard[m]ill try smthng else#asahi-dev · 2026-04-04 17:39
tryhard[m]i've run yes on all cores but nothing changes#asahi-dev · 2026-04-04 17:31
chaos_princessso, try all-core#asahi-dev · 2026-04-04 17:31
tryhard[m]0#asahi-dev · 2026-04-04 17:30
chaos_princesswhat state did the last one leave it in, 2 or 0?#asahi-dev · 2026-04-04 17:30
tryhard[m]doesnt say much#asahi-dev · 2026-04-04 17:30
tryhard[m]these messages only happen like 1sec after the rainbow logo disappears#asahi-dev · 2026-04-04 17:30
tryhard[m]some other messages#asahi-dev · 2026-04-04 17:27
tryhard[m]it will be interesting if it happens when i close the lid#asahi-dev · 2026-04-04 17:27
chaos_princessi mean what triggers macos setting it to 0 or 2#asahi-dev · 2026-04-04 17:27
tryhard[m]lowering the voltage?#asahi-dev · 2026-04-04 17:26
chaos_princessi suspect that that is what it is. it is most likely some sort of a separate power state, but i haven't figured out what exactly it is for#asahi-dev · 2026-04-04 17:25
tryhard[m]maybe these are idle messages#asahi-dev · 2026-04-04 17:22
tryhard[m]of the cores#asahi-dev · 2026-04-04 17:22
chaos_princessno#asahi-dev · 2026-04-04 17:22
tryhard[m]it's happening at boot, maybe it checking the aliveness of cpus?#asahi-dev · 2026-04-04 17:21
chaos_princess_that_ one is mostly guessing#asahi-dev · 2026-04-04 17:21
tryhard[m]why you think it's related#asahi-dev · 2026-04-04 17:20
chaos_princessi wonder what happens if you fire up an all-core cpu workload#asahi-dev · 2026-04-04 17:19
tryhard[m]i'm seeing a bunch of the following:... (full message at <https://matrix.org/oftc/media/v1/media/download/Ab7T2bDC27uL5hW_DKmgqZzWXFLYXWsVYe9C9jR_VW7_aE2QzXSqMP9lidC73nZUBnIIMpUtKhUjuBFCqY8gyO5CedoZqqvQAG1hdHJpeC5vcmcvVWJYSXloVHFoZVNNUnVIcGxFaXZHSlNx>)#asahi-dev · 2026-04-03 18:01
noopwafeljannau: in the binary I see 80000 only btw, so 🤷. and trivial change, but just in case it helps, https://noopwafel.net/asahi/0001-soc-apple-pmp-Force-inlining-of-pmp_read32.patch#asahi-dev · 2026-04-03 17:50
noopwafeland the resulting kernel works on my j613 (plasma works, wifi works).#asahi-dev · 2026-04-03 17:47
noopwafel(I assume because then the offsets are known, and so the alignment check can be statically resolved)#asahi-dev · 2026-04-03 17:46
noopwafelinlining pmp_read32 itself fixes it#asahi-dev · 2026-04-03 17:36
noopwafelit's (seemingly?) a io_addr_assert in pmp_read32 (the unaligned check?). io_addr_assert does have the inline(always).#asahi-dev · 2026-04-03 17:22
jannauand still strange where the old size is coming from#asahi-dev · 2026-04-03 17:20
jannaubut I guess it should be enough that io_addr_assert() is#asahi-dev · 2026-04-03 17:18
jannaunoopwafel: iomap_sized in rust/kernel/io/mem.rs isn't inlined#asahi-dev · 2026-04-03 17:18
noopwafelbut it's entirely possible that it's some build config issue, will work it out..#asahi-dev · 2026-04-03 17:16
noopwafel( https://lkml.org/lkml/2025/11/28/103 to be clear)#asahi-dev · 2026-04-03 17:14
jannau1048576 was the old PMP_MMIO_SIZE before I reduced it to 0x80000 for m2#asahi-dev · 2026-04-03 17:12
jannauthat was only my 1.92 test build because I forgot `rustup component add rust-src` asfter switching to it#asahi-dev · 2026-04-03 17:09
noopwafelthere's a linux kernel list post which says it needs to be inlined, and that commit is in the tree#asahi-dev · 2026-04-03 17:08
jannauargh, I'm building without PMP#asahi-dev · 2026-04-03 17:06
chaos_princessbut i don't see anything that has an offset of 1048576 in the driver#asahi-dev · 2026-04-03 17:06
chaos_princessno, i don't think so, it is one of those things where they check if addresses are in range at compile time#asahi-dev · 2026-04-03 17:05
jannauyes, sounds more like a missing dependency or other build config issue