#asahi-dev · 2026-07-05 11:31
yukaand then linux re-enabled it if it had the driver#asahi-dev · 2026-07-05 11:31
yukam1n1 has always disabled the primary watchdog#asahi-dev · 2026-07-05 11:31
yukaSo this would be "apple,t8132-wdt", "apple,t8103-wdt"; either way?#asahi-dev · 2026-07-05 11:30
yukat8122 has "apple,t8122-wdt", "apple,t8103-wdt"#asahi-dev · 2026-07-05 11:30
yukaah nevermind#asahi-dev · 2026-07-05 11:30
yukaI thought we were not adding the generic "apple,wdt" anymore#asahi-dev · 2026-07-05 11:25
yukashould the M4 watchdog get a new compatible? iirc once the secondary watchdog is disabled, it can be used like the previous watchdogs#asahi-dev · 2026-07-04 22:16
yukabut the commit messages are to some extent documentation of the state and some of the things I ran into#asahi-dev · 2026-07-04 22:16
yukathis may or may not be useful in its current state#asahi-dev · 2026-07-04 22:16
yukahttps://cyberchaos.dev/yuka/linux/-/commits/feature/m4-m5-minimal-device-trees#asahi-dev · 2026-07-04 22:15
yukaanyways I'm leaving for today#asahi-dev · 2026-07-04 22:15
yukabut this means it should probably already be at the login screen at least#asahi-dev · 2026-07-04 22:14
yukabecause what we want to observe is sleep behavior or maybe closing the lid#asahi-dev · 2026-07-04 22:14
yukaI don't think it makes sense right now#asahi-dev · 2026-07-04 22:14
yukapmgr.get_reg(0)#asahi-dev · 2026-07-04 22:13
yukafair#asahi-dev · 2026-07-04 22:13
yukabut this is far far away#asahi-dev · 2026-07-04 22:13
yukawhen we start touching dcp and trace macOS, and we determine macOS tries to power off the ps_disp0_cpu in some case, we can still file a radar#asahi-dev · 2026-07-04 22:12
yukaalso from what I can tell runtime power management for at least the framebuffer device and as such ps_disp0_cpu is nonexisting or broken for these devices anyways#asahi-dev · 2026-07-04 22:11
yukaI have now seen several times on the macbook pros when playing with disp power domains that the picture on the screen disappears (the lcd is in all-black/opaque state) but the backlight zones still retain the image that was previously shown. and re-enabling the power domains does not bring it back#asahi-dev · 2026-07-04 22:09
yukafrom what I could tell from playing with disp_cpu previously (at least without knowledge of dcp stuff), there is no point in touching it#asahi-dev · 2026-07-04 22:08
yukaI don't think it is#asahi-dev · 2026-07-04 22:08
yukaSo, when I implement earlycon for dockchannel uart, I would somehow obtain the data reg of the linked mbox node, and then write to it directly?#asahi-dev · 2026-07-04 22:05
yukawhere writing ps_disp_cpu didn't serror yet#asahi-dev · 2026-07-04 22:05
yuka26.5.x was the last one I tested#asahi-dev · 2026-07-04 22:05
yukaas in, I do not know which of the betas introduced it#asahi-dev · 2026-07-04 22:04
yuka26.6b?#asahi-dev · 2026-07-04 21:15
yukathis produced the serrors#asahi-dev · 2026-07-04 21:15
yukareproduced in m1n1#asahi-dev · 2026-07-04 21:15
yukathe difference is: we are no longer allowed to write the pmgr state of ps_disp0_cpu and ps_dispext0_cpu#asahi-dev · 2026-07-04 21:14
yukawith 26.6b3 iboot#asahi-dev · 2026-07-04 21:14
yukabooted t8140 with pmgr again#asahi-dev · 2026-07-04 20:07
yukaI'll write a response on the list now to preserve the context#asahi-dev · 2026-07-04 20:07
yukawhen it should be writel_relaxed#asahi-dev · 2026-07-04 20:07
yukathe issue was writeb_relaxed on the TX8#asahi-dev · 2026-07-04 20:07
yukathat's it, it now works on the Neo too, and I have to check what's up with pmgr again#asahi-dev · 2026-07-04 20:04
yukathe different stack trace was just a timing thing of when the serror arrives#asahi-dev · 2026-07-04 20:00
yukaI think I might have found the culprit re dockchannel-uart#asahi-dev · 2026-07-04 17:56
yukaif anything, it's TX8#asahi-dev · 2026-07-04 17:56
yukabut that's bogus#asahi-dev · 2026-07-04 17:56
yukayesterday when dockchannel-uart was crashing on the Neo, I said 0x2804c030812c004 looked like DATA_TX_FREE#asahi-dev · 2026-07-04 17:11
yukaI will try to fix it now#asahi-dev · 2026-07-04 17:11
yukaSError, but different stacktrace#asahi-dev · 2026-07-04 17:11
yukadockchannel-uart crashes on m3#asahi-dev · 2026-07-04 17:09
yukaOeehh#asahi-dev · 2026-07-04 17:06
yukatypo in the device tree node#asahi-dev · 2026-07-04 16:55
yukaOr maybe it's some timing thing? This is in a big distro kernel with everything built as modules#asahi-dev · 2026-07-04 16:49
yukaThough I'm more interested in the tty right now#asahi-dev · 2026-07-04 16:49
yuka(keyboard works)