2026-03-26
00:04ddxtanx has joined #asahi-dev
00:07pb17 has quit [Ping timeout: 480 seconds]
00:19aissen has quit [Ping timeout: 480 seconds]
00:22beetrootpaul[m] has joined #asahi-dev
00:24pb17 has joined #asahi-dev
00:28tasvch has quit [Remote host closed the connection]
00:28tasvch has joined #asahi-dev
00:31hdbngr has joined #asahi-dev
00:38tasvch_ has joined #asahi-dev
00:39hdbngr has quit [Ping timeout: 480 seconds]
00:43tasvch has quit [Ping timeout: 480 seconds]
00:51mixi has quit [Ping timeout: 480 seconds]
00:54AldanTanneo[m] has joined #asahi-dev
00:59hdbngr has joined #asahi-dev
00:59rzhikharevich has joined #asahi-dev
01:02mixi has joined #asahi-dev
01:07rzhikharevich has quit [Ping timeout: 480 seconds]
01:07hdbngr has quit [Ping timeout: 480 seconds]
01:21aissen has joined #asahi-dev
01:30tasvch_ has quit [Remote host closed the connection]
01:30tasvch_ has joined #asahi-dev
01:32hdbngr has joined #asahi-dev
01:41hdbngr has quit [Ping timeout: 480 seconds]
01:54pb17 has quit [Ping timeout: 480 seconds]
01:58pb17 has joined #asahi-dev
02:29tasvch has joined #asahi-dev
02:34tasvch_ has quit [Ping timeout: 480 seconds]
02:40tasvch has quit []
02:40tasvch has joined #asahi-dev
02:42hdbngr has joined #asahi-dev
02:51hdbngr has quit [Ping timeout: 480 seconds]
03:28hexdump02 has joined #asahi-dev
03:30hexdump0815 has quit [Ping timeout: 480 seconds]
03:48hdbngr has joined #asahi-dev
03:50tobhe has joined #asahi-dev
03:57hdbngr has quit [Ping timeout: 480 seconds]
03:57tobhe_ has quit [Ping timeout: 480 seconds]
04:41michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
04:41michaelros4 has joined #asahi-dev
04:45nora_ has joined #asahi-dev
04:47nora has quit [Ping timeout: 480 seconds]
04:48michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
04:49michaelros4 has joined #asahi-dev
04:55hdbngr has joined #asahi-dev
05:04hdbngr has quit [Ping timeout: 480 seconds]
05:34person_who_loves_stealing[m] has joined #asahi-dev
05:38michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
05:39michaelros4 has joined #asahi-dev
05:44michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
05:45michaelros4 has joined #asahi-dev
05:45user has joined #asahi-dev
05:46user is now known as Guest5913
05:46Guest5913 has quit []
05:56michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
05:56michaelros4 has joined #asahi-dev
05:59junefish has joined #asahi-dev
06:00hdbngr has joined #asahi-dev
06:08hdbngr has quit [Ping timeout: 480 seconds]
06:09kaazoo has joined #asahi-dev
06:16ferdzo has quit [Remote host closed the connection]
06:17ferdzo has joined #asahi-dev
06:47john-cabaj has quit [Ping timeout: 480 seconds]
07:06hdbngr has joined #asahi-dev
07:15kaazoo has quit [Quit: Leaving.]
07:23hdbngr has quit [Ping timeout: 480 seconds]
07:37tasvch_ has joined #asahi-dev
07:43tasvch has quit [Ping timeout: 480 seconds]
08:03ravikant_ has joined #asahi-dev
08:19pb17 has quit [Ping timeout: 480 seconds]
08:20tobhe_ has joined #asahi-dev
08:21hdbngr has joined #asahi-dev
08:24pb17 has joined #asahi-dev
08:25tobhe has quit [Ping timeout: 480 seconds]
08:30hdbngr has quit [Ping timeout: 480 seconds]
09:03pe has quit [Remote host closed the connection]
09:03pe has joined #asahi-dev
09:10iretq has joined #asahi-dev
09:12hdbngr has joined #asahi-dev
09:21chaos_princess has quit [Quit: chaos_princess]
09:24hdbngr has quit [Ping timeout: 480 seconds]
09:24chaos_princess has joined #asahi-dev
09:32hdbngr has joined #asahi-dev
09:38fumnanya has joined #asahi-dev
09:40hdbngr has quit [Ping timeout: 480 seconds]
10:05tasvch_ has quit [Ping timeout: 480 seconds]
10:14pb17 has quit [Ping timeout: 480 seconds]
10:16hdbngr has joined #asahi-dev
10:19pb17 has joined #asahi-dev
10:25tasvch_ has joined #asahi-dev
10:25hdbngr has quit [Ping timeout: 480 seconds]
10:33hdbngr has joined #asahi-dev
10:42hdbngr has quit [Ping timeout: 480 seconds]
11:17hdbngr has joined #asahi-dev
11:26hdbngr has quit [Ping timeout: 480 seconds]
11:31tasvch_ has quit [Ping timeout: 480 seconds]
11:32tobhe_ has quit [Remote host closed the connection]
11:33tobhe has joined #asahi-dev
11:51hdbngr has joined #asahi-dev
12:00hdbngr has quit [Ping timeout: 480 seconds]
12:16hdbngr has joined #asahi-dev
12:26hdbngr has quit [Ping timeout: 480 seconds]
12:34hdbngr has joined #asahi-dev
12:43hdbngr has quit [Ping timeout: 480 seconds]
12:52tryhard[m] has joined #asahi-dev
12:52tryhard[m]what would be an harder target: re sep or battery managment?
12:53hdbngr has joined #asahi-dev
12:54chaos_princesssep, as a big chunk of battery management is done and coming in not very distant future
12:56tryhard[m]so battery management is covered?
12:56tryhard[m]i mean there is no help needed here?
12:56chaos_princesswhat hw do you have
12:57tryhard[m]m1 air
12:58chaos_princessbattery stuff is currently adding support for pmp v2, and vanilla m1 uses pmp v1, so there is some work there
12:59iretq has quit [Ping timeout: 480 seconds]
13:00tryhard[m]is it worth it?
13:00tryhard[m]maybe people upgrading to a newer laptop is just preferred
13:01chaos_princessi will probably knock it out at some point in the future as marcan already did some RE work forever ago, just need to confirm it and write the linux drivers
13:01tryhard[m]anyway, where would i start looking?
13:01hdbngr has quit [Ping timeout: 480 seconds]
13:01tryhard[m]i doubt it changed much
13:03chaos_princessthe question is not if it has changed, but if it is enough for a driver
13:04tryhard[m]i'm saying that i doubt m1 air pmp changed much
13:05chaos_princessand i am saying that yes, it most likely didn't but i am not sure if what exists as a m1n1 tracer answers all the questions that need answering
13:05tryhard[m]i understand. so where should i start looking?
13:10jannauh13j pmp firmware asks for fast-die-ctrl-ce-map which seems to be only defined for m3+ devices
13:10chaos_princessyea, it is harmelss
13:10chaos_princess*harmless
13:11tryhard[m]alright. sorry for the dumb questions, but should i just start m1n1 and see... what?
13:11chaos_princessyou run macos using run_guest.py with the tracer active and see what it does
13:12chaos_princessbased on that you edit the tracer to print out more info based on what you figured out
13:12chaos_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
13:13jannauI 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
13:15tryhard[m]chaos_princess: what does the tracer trace exactly?
13:15tryhard[m]uart?
13:15chaos_princessit runs macos in a hypervisor and traces all memory read/writes to a specified area
13:16tryhard[m]jannau: good to know.
13:16jannautryhard[m]: the rtkit protocol (used for communication with co-processors) and mmio reads/writes
13:18tryhard[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>)
13:19chaos_princesslook in the adt for the "reg" properties of the pmp node
13:20hdbngr has joined #asahi-dev
13:20chaos_princessmarcan's old streams can also be used as a user guide to m1n1 tracing.
13:21tryhard[m]its:... (full message at <https://matrix.org/oftc/media/v1/media/download/AUuqkQ1UWfzUwlI4b6vwSu1iaCiLnGwPJvV8XawDNBVJ2KvPz-qiKofYPJISJ0J5wl-GhWbepcnRUNYyLz49_sJCedcmgRMgAG1hdHJpeC5vcmcvZGFid2dHS3VGdXdlYVpFU29iY25Da3N3>)
13:21tryhard[m]* is it this?... (full message at <https://matrix.org/oftc/media/v1/media/download/AXEffKjjs5pbqzB_UIslnCLK7Ru7D1BNuBIcrUbB5aiqcAWLBJEu7qg3CmuwT4Pf0xGpXAGzHIJ33hwGMW15-2ZCedcmggWgAG1hdHJpeC5vcmcvS2NrenRoZUhnY3NtbFZ6UklIZnVxempT>)
13:22pb17 has quit [Ping timeout: 480 seconds]
13:22chaos_princessno, that is arm64 msrs, pmp is attached over mmio
13:23chaos_princesshttps://github.com/AsahiLinux/m1n1/pull/545/files - here is the pmp v2 tracer, it is different, but the basic ideas are the same
13:23pb17 has joined #asahi-dev
13:24chaos_princessignore all the pmp_ptd bits, those are v2-only
13:26tryhard[m]alright. i see marcan also has some videos about power management, so ill look into it.
13:28hdbngr has quit [Ping timeout: 480 seconds]
13:42john-cabaj has joined #asahi-dev
13:55hdbngr has joined #asahi-dev
14:03hdbngr has quit [Ping timeout: 480 seconds]
14:04nimprod3l has joined #asahi-dev
14:12hdbngr has joined #asahi-dev
14:21hdbngr has quit [Ping timeout: 480 seconds]
14:28hdbngr has joined #asahi-dev
14:38iretq has joined #asahi-dev
14:39iretq has quit []
14:40iretq has joined #asahi-dev
14:44michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
14:45michaelros4 has joined #asahi-dev
14:53iretq has quit [Quit: The Lounge - https://thelounge.chat]
14:54iretq has joined #asahi-dev
15:15zumi has quit [Remote host closed the connection]
15:39zumi has joined #asahi-dev
15:50hdbngr has quit [Ping timeout: 480 seconds]
15:53apc has quit [Ping timeout: 480 seconds]
15:59hdbngr has joined #asahi-dev
16:07hdbngr has quit [Ping timeout: 480 seconds]
16:13apc has joined #asahi-dev
16:13hdbngr has joined #asahi-dev
16:21hdbngr has quit [Ping timeout: 480 seconds]
16:30hdbngr has joined #asahi-dev
16:39hdbngr has quit [Ping timeout: 480 seconds]
16:48hdbngr has joined #asahi-dev
16:52jannauchaos_princess: pmp seems to fine now on m1 max. I disabled the isp pmp_report domains for desktop devices
16:53tryhard[m]are there any docs on m1n1?
16:54tryhard[m]specifically i see things like TYPE under some classes, or @msg, etc
16:55jannaua 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
16:59chaos_princessdisp driver can't re-init from pmp shutdown
16:59chaos_princessprobably needs to know how to restart rtkit
17:01jannauI suppose the always-on for disp* take care of the boot framebuffer as well but their power-domains should be adjusted as well
17:02michaelros4 has quit [Quit: The Lounge - https://thelounge.chat]
17:03michaelros4 has joined #asahi-dev
17:06ravikant_ has quit []
17:18chaos_princessthis is the only one that i can test on
17:24chaos_princesswith it present on m1pro, the machine fails to wake up
17:24cy8aerjannau: is asahi-6.19.10-1 still compatible with m1n1 1.5.2 (aka without the pmp patches)?
17:26jannaucy8aer: yes, pmp won't get enabled in the dt without m1n1 changes and everything works as before
17:52kaazoo has joined #asahi-dev
18:04nimprod3l has quit [Ping timeout: 480 seconds]
18:16pb17 has quit [Ping timeout: 480 seconds]
18:27pb17 has joined #asahi-dev
19:01rzhikharevich has joined #asahi-dev
19:10rzhikharevich has quit [Ping timeout: 480 seconds]
19:14CME has joined #asahi-dev
19:15CME_ has quit [Ping timeout: 480 seconds]
19:43pb17 has quit [Ping timeout: 480 seconds]
19:45pb17 has joined #asahi-dev
19:55fumnanya has quit [Ping timeout: 480 seconds]
19:58fumnanya has joined #asahi-dev
19:59tasvch_ has joined #asahi-dev
20:01tasvch_ has quit [Remote host closed the connection]
20:01tasvch_ has joined #asahi-dev
20:48tasvch has joined #asahi-dev
20:48tasvch_ has quit [Remote host closed the connection]
20:57tasvch has quit [Ping timeout: 480 seconds]
21:00LICIAeseiker[m] is now known as LICIAeseikerUTC9[m]
21:03byhash[m] has joined #asahi-dev
21:14pe has quit [Remote host closed the connection]
21:15pe has joined #asahi-dev
21:25pb17 has quit [Ping timeout: 480 seconds]
21:30tasvch has joined #asahi-dev
21:36hdbngr has quit [Ping timeout: 480 seconds]
21:38tasvch_ has joined #asahi-dev
21:38tasvch has quit [Remote host closed the connection]
21:41pb17 has joined #asahi-dev
21:44hdbngr has joined #asahi-dev
21:47tasvch has joined #asahi-dev
21:52hdbngr has quit [Ping timeout: 480 seconds]
21:53tasvch_ has quit [Ping timeout: 480 seconds]
22:00hdbngr has joined #asahi-dev
22:21aspanu[m] has joined #asahi-dev
22:47first_thunder has joined #asahi-dev
23:08hdbngr has quit [Ping timeout: 480 seconds]
23:22hdbngr has joined #asahi-dev
23:29apc has quit [Quit: The Lounge - https://thelounge.chat]
23:29apc has joined #asahi-dev
23:49skipwich has quit [Ping timeout: 480 seconds]
23:56SpiritWolf__ has joined #asahi-dev
23:58SpiritWolf_ has quit [Ping timeout: 480 seconds]