#
✕ nick:wilfredor
#asahi-dev · 2026-04-13 22:14
wilfredorDISABLE_WFI_RET bit is the blocker, remove it and add a wake handler to restore registers
#asahi-dev · 2026-04-13 21:56
wilfredorfair point, let me work through the tests manually and report back with results
#asahi-dev · 2026-04-13 21:54
wilfredoryes the test is generated it based on the analysis of your original code and the wake-up logic issues we identified
#asahi-dev · 2026-04-13 21:53
wilfredorpython3 ../wake_test.py
#asahi-dev · 2026-04-13 21:52
wilfredorchaos_princess, please run this and report which test fails, that pinpoints exactly what's broken in the wake path https://pastebin.com/raw/R2yxyv91
#asahi-dev · 2026-04-13 21:37
wilfredorthe offsets differ between T600x and T8103, offsets adapted for T8103, but the core issue is missing wake-up logic, not just MMIO addresse
#asahi-dev · 2026-04-13 21:34
wilfredorthe code freezes because there's no wake-up path once it enters deep sleep, there's no way out
#asahi-dev · 2026-04-13 21:01
wilfredoryeah, that sounds interesting, where is the cluster deep sleep entry handled right now? and on the wake-up side, is the main gap state restore, or are we missing some hardware or firmware sequence to bring the cluster back up?
#asahi-dev · 2026-04-13 20:29
wilfredorok
#asahi-dev · 2026-04-13 20:28
wilfredorI’d like to pick something useful without overlapping with ongoing work
#asahi-dev · 2026-04-13 20:27
wilfredorgot it, thanks chaos, then the right starting point is studying the existing PMP v2 driver and identifying what is missing for PMP v1. Which files should I read first, and is the main missing piece the data tables, the hooks, or the v1-specific register interface?
#asahi-dev · 2026-04-13 20:10
wilfredori mainly work with C and C++ (I hate a bit C++) and Rust, and I'm comfortable with low-level or kernel code if that helps
#asahi-dev · 2026-04-13 20:09
wilfredorwould it help to focus on testing or supporting that work, or is there anything else in the power stack that still needs attention?
#asahi-dev · 2026-04-13 20:08
wilfredorwill PMP be exposed as a cpuidle backend, or as a separate PM layer coordinating cpuidle, pmdomain, and suspend?
#asahi-dev · 2026-04-13 20:06
wilfredorhow is that expected to integrate with the existing cpuidle-apple driver?
#asahi-dev · 2026-04-13 20:05
wilfredorso PMP is the missing piece ?
#asahi-dev · 2026-04-13 20:05
wilfredorthat makes sense
#asahi-dev · 2026-04-13 19:44
wilfredorhi chaos_princess, i have a MacBook Air M1 (t8103). I'm looking into cpuidle (cpuidle-apple.c) and PMGR power domains (pmgr-pwrstate and t8103-pmgr.dtsi), focusing on idle and s2idle power usage, is there a specific area there that needs work?
#asahi-dev · 2026-04-13 19:39
wilfredorhi, I'm new to Asahi and interested in helping with power and battery issues on M1. I'm currently looking into cpuidle and power domains, any pointers on where help is most needed would be appreciated