#
✕ nick:sven
#asahi-dev · 2026-03-14 18:40
svenoh yeah, that was my point as well :)
#asahi-dev · 2026-03-14 18:39
svensure, and we can just map that hw however we want in raw boot mode
#asahi-dev · 2026-03-14 18:37
svenexclaves don't have any special hw access afaik, they're just running in GL0 under that "secure kernel" L4 thingy running in GL1
#asahi-dev · 2026-03-14 17:43
svenyeah, cdc acm should be much faster than that
#asahi-dev · 2026-03-14 16:40
svennice
#asahi-dev · 2026-03-14 08:31
svenim pretty sure you could bring up much of m4 without tracing
#asahi-dev · 2026-03-11 13:41
svensame
#asahi-dev · 2026-03-10 18:24
svenand then the next step would be to see how much power this actually saves and if it's worthwhile to actually implement this with some downstream cpuidle hack
#asahi-dev · 2026-03-10 18:18
sveni kinda expect we need to apply chickens again, but would be interesting to check that as well then
#asahi-dev · 2026-03-10 18:18
svenif i were to look into this i'd try and setup a timer interrupt, make sure it's not masked in that override register and then shutdown the first core and see if it comes back up
#asahi-dev · 2026-03-10 18:15
sveniirc siguza told me it's setup and locked down by iboot already
#asahi-dev · 2026-03-10 18:14
sveni.e. what's the state of the core once it ends up back at RVBAR from deep sleep?
#asahi-dev · 2026-03-10 18:14
sven*i personally don't care much what happens behind the scenes (i.e. is it bootrom? is it reconfig engine?) but what we can actually observe
#asahi-dev · 2026-03-10 18:14
sveni pers
#asahi-dev · 2026-03-10 18:14
sventhis deeper sleep needs some research to figure out some details
#asahi-dev · 2026-03-10 18:13
sven:D
#asahi-dev · 2026-03-10 18:13
svenyeah, i've talked to siguza about that years ago
#asahi-dev · 2026-03-10 08:51
svenwe'll have to be careful with any allocated buffers etc. from code called after linux is running though
#asahi-dev · 2026-03-10 08:51
svencan always add "optimize resident m1n1 footprint" to that yaks worth shaving pages
#asahi-dev · 2026-03-10 08:50
sveni honestly wouldn't care even if it's 10MB
#asahi-dev · 2026-03-10 08:50
sventhese things have at least 8GB ram anyway
#asahi-dev · 2026-03-10 08:50
svenfair enough :D
#asahi-dev · 2026-03-10 08:48
svenand if the downstream hack actually saves significant idle power maybe that's enough motivation for someone to look into that psci mess ;)
#asahi-dev · 2026-03-10 08:48
svenif we need to re-apply chickens we need a bit more of m1n1 to stay resident once linux runs but we'll need that anyway if we ever get to psci-via-efi or whatever
#asahi-dev · 2026-03-10 08:47
svenwhich doesn't matter for us, what matters is what happens on M1+
#asahi-dev · 2026-03-10 08:46
svenin theory, yes. but has anyone tried that?
#asahi-dev · 2026-03-10 08:44
svenwe also don't know if we need to re-apply chickens, etc. or if that persists across full shutdown
#asahi-dev · 2026-03-10 08:44
svenchadmed: and yeah, something like that hack would work downstream I think
#asahi-dev · 2026-03-10 08:44
sventhat's why I said we don't fully understand it
#asahi-dev · 2026-03-10 08:43
svenbut i don't think anyone ever tried it for e.g. _all_ cores at the same time
#asahi-dev · 2026-03-10 08:43
svenyeah
#asahi-dev · 2026-03-10 08:43
sveni think there's code in m1n1 that does it (the shutdown secondary core stuff)
#asahi-dev · 2026-03-10 08:34
svenyeah, that one
#asahi-dev · 2026-03-10 08:34
sventhere’s a deeper state that we don’t fully understand
#asahi-dev · 2026-03-07 20:40
sven*downstream
#asahi-dev · 2026-03-07 20:40
sveni'd much rather focus on getting whatever is still downstreamed reviewed so that we don't have this problem anymore rather than adding yet another bandaid
#asahi-dev · 2026-03-06 15:31
svenwhoops, nice catch
#asahi-dev · 2026-03-04 20:07
svenso either they no longer have names or they got much better at not leaking them
#asahi-dev · 2026-03-04 19:54
svenso, uh, did they fix the "need to reset the entire phy and usb controller on unplug" somehow
#asahi-dev · 2026-03-04 19:54
svenlol, wtf
#asahi-dev · 2026-03-04 19:42
svendfu is probably also the fancy new kanzi-in-system dfu i guess
#asahi-dev · 2026-03-04 19:42
sveni really hope they didn't do this but knowing how cursed usb is :D
#asahi-dev · 2026-03-04 19:42
svendunno, maybe usb3 only?
#asahi-dev · 2026-03-04 19:33
sventhat would be even more cursed than the current setup
#asahi-dev · 2026-03-04 19:32
svens/think/like/
#asahi-dev · 2026-03-04 19:32
svenespecially if that hub is connected to D+/D- of the main port controller upstream and has both ports D+/- lines connected downstream
#asahi-dev · 2026-03-04 19:32
sveni don't think where this is going
#asahi-dev · 2026-03-04 15:41
svendoes 15 already have AppleKIS.kext? i've only confirmed it in 26+
#asahi-dev · 2026-03-04 15:41
sven🙃
#asahi-dev · 2026-03-04 15:40
sveni'm not sure i pushed the latest version

plus ›