#
#asahi-dev · 2026-07-05 18:27
chaos_princessand if the core does wfi, it also sleeps
#asahi-dev · 2026-07-05 18:27
chaos_princessaccording to xnu comments, the ovrd regs are cluster-global
#asahi-dev · 2026-07-05 18:27
svenwe only have to keep one core alive, don't we?
#asahi-dev · 2026-07-05 18:26
chaos_princessyesn't
#asahi-dev · 2026-07-05 18:26
svenwe can turn cores off and then on again, can't we?
#asahi-dev · 2026-07-05 18:26
chaos_princessdoes that actually work
#asahi-dev · 2026-07-05 18:25
svenwell, except for one core unless we figure out how to bring that one out of deep sleep :D
#asahi-dev · 2026-07-05 18:25
sventhis also supports idle state that lose all cpu state so we could even implement turning the cores off entirely with this i think
#asahi-dev · 2026-07-05 18:21
sventhis is totally gonna break with u-boot but that can come once this is actually accepted upstream
#asahi-dev · 2026-07-05 18:21
svenalright, suspend works and it ends up in m1n1's deep_wfi(). probably good enough to send this as an RFC for now
#asahi-dev · 2026-07-05 14:31
sventhe joys of mailing list based development :P
#asahi-dev · 2026-07-05 14:23
yukaokay, noted
#asahi-dev · 2026-07-05 14:16
sventhat's all documented somewhere in Documentation/ iirc
#asahi-dev · 2026-07-05 14:15
svenit doesn't really matter since the dt validation scripts only have to pass on -next and not on each single commit
#asahi-dev · 2026-07-05 14:15
svenbut if there's no driver changes it's just nice to offer to take the change through our tree
#asahi-dev · 2026-07-05 14:15
yukaI see
#asahi-dev · 2026-07-05 14:15
sventhen the dt-binding change has to go through the respective tree together with the driver that needs the new compatible
#asahi-dev · 2026-07-05 14:14
yukasven: how would we do it if there were actual driver changes?
#asahi-dev · 2026-07-05 14:07
jannauI'm on it. I'm still not done with the downstream changes as I want to handle t6030 and t603[124] separately
#asahi-dev · 2026-07-05 14:01
svenalso please mention in the cover letter that we'd like to take every dt-binding that has an ack through the apple-soc tree since there are no driver changes and we only need them for the dts files themselves
#asahi-dev · 2026-07-05 13:59
yukaI can prepare the same dt-bindings changes and minimal device trees for t6030/t6031/t6034 based on the downstream ones, or are you already on that?
#asahi-dev · 2026-07-05 13:58
yukasure
#asahi-dev · 2026-07-05 13:56
jannaucould we please get t603x in before m4 and later
#asahi-dev · 2026-07-05 13:49
jannauhttps://lpc.events/event/19/contributions/2013/
#asahi-dev · 2026-07-05 13:48
jannauerr: s/power-enable/reset/
#asahi-dev · 2026-07-05 13:46
jannauchadmed: I think there is/was upstream work for shared power-enable gpios
#asahi-dev · 2026-07-05 13:45
jannauyuka: the watchdog is re-enabled in kboot in m1n1. not need to reenable the secondary watchdog though
#asahi-dev · 2026-07-05 13:20
sventime to clean up the m1n1 side now
#asahi-dev · 2026-07-05 13:20
svenhttps://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/log/?h=efi-psci current kernel code, requires a surprisingly small diffstat
#asahi-dev · 2026-07-05 13:14
chadmed\o/
#asahi-dev · 2026-07-05 13:12
svenPSCI: CPU_SUSPEND(power_state=0x0, entry_point=0x0, context_id=0x0) <-- alright, psci-cpuidle seems to work as well and i really don't want debug prints there :D
#asahi-dev · 2026-07-05 13:04
sven:(
#asahi-dev · 2026-07-05 12:53
chadmedand the refcounted thing i thought of had actually been tried before and not accepted :P
#asahi-dev · 2026-07-05 12:52
chadmedthe shared gpio problem is annoying though. we tried to upstream the regulator solution and got told to come back with a treewide shared gpio api :/
#asahi-dev · 2026-07-05 12:50
chadmedand hard coding macaudio specific stuff into the tas2764 visense code but i dont think that is actually entirely necessary
#asahi-dev · 2026-07-05 12:50
chadmedabusing the regulator api to get shared gpio on the codec reset lines
#asahi-dev · 2026-07-05 12:49
chaos_princesslike?
#asahi-dev · 2026-07-05 12:49
chadmedmost of which unfortunately cannot be upstreamed
#asahi-dev · 2026-07-05 12:49
chadmedmacaudio actually squashed cleanly and if we get it upstream there'll only be 5ish patches left downstream for audio
#asahi-dev · 2026-07-05 12:27
svensounds good to me
#asahi-dev · 2026-07-05 12:27
yukaI think I'll suggest apple,donan-e and apple,donan-p
#asahi-dev · 2026-07-05 12:27
yukaI forgot about those
#asahi-dev · 2026-07-05 12:27
yukaHmm, cpu compatibles will also be fun
#asahi-dev · 2026-07-05 11:35
yukathat will have to wait until tomorrow, locked myself out of the M5
#asahi-dev · 2026-07-05 11:34
yukafair
#asahi-dev · 2026-07-05 11:34
chaos_princessthrow backlight on your m5, if it works, i am sure m4 is the same :P
#asahi-dev · 2026-07-05 11:34
yukaI'm preparing a patch series for M4 right now, I have the device tree in mostly the same state as M3, except for keyboard backlight (I don't have an M4 laptop).
#asahi-dev · 2026-07-05 11:33
yukaI don't know
#asahi-dev · 2026-07-05 11:33
chaos_princessdoes it, idk, reset it harder or something
#asahi-dev · 2026-07-05 11:32
yukaack

plus ›