#asahi-dev · 2026-03-27 14:16
tryhard[m]booting m1n1, it says at the start hit any to stop autoboot", and my keyboard of course has to always signal something.#asahi-dev · 2026-03-27 14:16
chaos_princessjust in linux or both macos and linux? #asahi-dev · 2026-03-27 14:16
tryhard[m]so i'm having a bit of problem booting m1n1. my m1 air keyboard is kinda busted and many of the keys just type something else than what they're supposed to#asahi-dev · 2026-03-26 17:27
cy8aerThanks.#asahi-dev · 2026-03-26 17:26
jannaucy8aer: yes, pmp won't get enabled in the dt without m1n1 changes and everything works as before#asahi-dev · 2026-03-26 17:24
cy8aerjannau: is asahi-6.19.10-1 still compatible with m1n1 1.5.2 (aka without the pmp patches)?#asahi-dev · 2026-03-26 17:24
chaos_princesswith it present on m1pro, the machine fails to wake up#asahi-dev · 2026-03-26 17:23
jannauwhy did you remove it? I'll test on m2*#asahi-dev · 2026-03-26 17:18
chaos_princessthis is the only one that i can test on#asahi-dev · 2026-03-26 17:16
jannauwhy was pmp_report_gfx removed only from t600x?#asahi-dev · 2026-03-26 17:03
jannauprobably a similar path as pmgr reset, which existed but before supporting dptx#asahi-dev · 2026-03-26 17:02
jannauI fear it would also shutdown dcp further before pmp shutdown#asahi-dev · 2026-03-26 17:02
chaos_princessyes#asahi-dev · 2026-03-26 17:01
jannaudisp driver == linux driver?#asahi-dev · 2026-03-26 17:01
jannauI suppose the always-on for disp* take care of the boot framebuffer as well but their power-domains should be adjusted as well#asahi-dev · 2026-03-26 16:59
chaos_princessprobably needs to know how to restart rtkit#asahi-dev · 2026-03-26 16:59
chaos_princessdisp driver can't re-init from pmp shutdown#asahi-dev · 2026-03-26 16:58
jannauI would prefer to wait rolling pmp out until the dt-bindings are reviewed upstream#asahi-dev · 2026-03-26 16:55
jannaua pity that we have to keep the disp* domains always on. I assume macos doesn't do that? not sure how that's related to the apple,min-state though. macos does the min-state PMGR states as well#asahi-dev · 2026-03-26 16:54
tryhard[m]specifically i see things like TYPE under some classes, or @msg, etc#asahi-dev · 2026-03-26 16:53
tryhard[m]are there any docs on m1n1?#asahi-dev · 2026-03-26 16:52
jannauchaos_princess: pmp seems to fine now on m1 max. I disabled the isp pmp_report domains for desktop devices#asahi-dev · 2026-03-26 13:26
tryhard[m]alright. i see marcan also has some videos about power management, so ill look into it.#asahi-dev · 2026-03-26 13:24
chaos_princessignore all the pmp_ptd bits, those are v2-only#asahi-dev · 2026-03-26 13:23
chaos_princesshttps://github.com/AsahiLinux/m1n1/pull/545/files - here is the pmp v2 tracer, it is different, but the basic ideas are the same#asahi-dev · 2026-03-26 13:22
chaos_princessno, that is arm64 msrs, pmp is attached over mmio#asahi-dev · 2026-03-26 13:21
tryhard[m]* is it this?... (full message at <https://matrix.org/oftc/media/v1/media/download/AXEffKjjs5pbqzB_UIslnCLK7Ru7D1BNuBIcrUbB5aiqcAWLBJEu7qg3CmuwT4Pf0xGpXAGzHIJ33hwGMW15-2ZCedcmggWgAG1hdHJpeC5vcmcvS2NrenRoZUhnY3NtbFZ6UklIZnVxempT>)#asahi-dev · 2026-03-26 13:21
tryhard[m]its:... (full message at <https://matrix.org/oftc/media/v1/media/download/AUuqkQ1UWfzUwlI4b6vwSu1iaCiLnGwPJvV8XawDNBVJ2KvPz-qiKofYPJISJ0J5wl-GhWbepcnRUNYyLz49_sJCedcmgRMgAG1hdHJpeC5vcmcvZGFid2dHS3VGdXdlYVpFU29iY25Da3N3>)#asahi-dev · 2026-03-26 13:21
jannaum1n1's adt takes care of that#asahi-dev · 2026-03-26 13:21
jannauin the case of m1 add 0x2000_00000#asahi-dev · 2026-03-26 13:21
jannauand remember that the regs are translated via /arm-io/ranges#asahi-dev · 2026-03-26 13:20
chaos_princessmarcan's old streams can also be used as a user guide to m1n1 tracing.#asahi-dev · 2026-03-26 13:19
chaos_princesslook in the adt for the "reg" properties of the pmp node#asahi-dev · 2026-03-26 13:18
tryhard[m]so what is the specified area? its 0x10000? i'm getting it from:... (full message at <https://matrix.org/oftc/media/v1/media/download/AdcWwDM1Pjy7V55iMwvcVrB4h782M79O_xhb69LrYT9Jv1gZMv-I3YcH_U1iUvB9tVcCrzrw3zunuCxP0LM93qRCedcmUePQAG1hdHJpeC5vcmcvd2dqcGJDUFJEaUhKWE9hUEtsenRDbmhZ>)#asahi-dev · 2026-03-26 13:16
jannautryhard[m]: the rtkit protocol (used for communication with co-processors) and mmio reads/writes#asahi-dev · 2026-03-26 13:16
tryhard[m]jannau: good to know.#asahi-dev · 2026-03-26 13:15
chaos_princessit runs macos in a hypervisor and traces all memory read/writes to a specified area#asahi-dev · 2026-03-26 13:15
jannauthis would allow to turn PMP on on a per device basis#asahi-dev · 2026-03-26 13:15
tryhard[m]uart?#asahi-dev · 2026-03-26 13:15
tryhard[m]chaos_princess: what does the tracer trace exactly?#asahi-dev · 2026-03-26 13:13
jannauI pushed asahi-6.19.10-1 to github, it uses now APPLE_USE_PMP as define to control whether PMP/PMP_reporting is used. the commits to disable it got annoying with additional chnages#asahi-dev · 2026-03-26 13:12
chaos_princessonce you understand enough, you go and either write a python driver in m1n1 and see if it works, or jump straight to writing a linux driver#asahi-dev · 2026-03-26 13:12
chaos_princessbased on that you edit the tracer to print out more info based on what you figured out#asahi-dev · 2026-03-26 13:11
chaos_princessyou run macos using run_guest.py with the tracer active and see what it does#asahi-dev · 2026-03-26 13:11
tryhard[m]alright. sorry for the dumb questions, but should i just start m1n1 and see... what?#asahi-dev · 2026-03-26 13:10
chaos_princess*harmless#asahi-dev · 2026-03-26 13:10
chaos_princessyea, it is harmelss#asahi-dev · 2026-03-26 13:10
jannauh13j pmp firmware asks for fast-die-ctrl-ce-map which seems to be only defined for m3+ devices#asahi-dev · 2026-03-26 13:06
chaos_princesshttps://github.com/AsahiLinux/m1n1/blob/main/proxyclient/m1n1/fw/pmp.py#asahi-dev · 2026-03-26 13:05
tryhard[m]i understand. so where should i start looking?