ChanServ changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
bgb_ has quit [Ping timeout: 480 seconds]
quarkyalice_ has joined #asahi
quarkyalice has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
shenki has joined #asahi
yuyichao has joined #asahi
bgb_ has joined #asahi
TortillaRetreat has joined #asahi
<TortillaRetreat>
Alright, how's everyone doing?
quarkyalice has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
TortillaRetreat has quit [Quit: Lost terminal]
quarkyalice has quit [Remote host closed the connection]
quarkyalice has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<marcan>
sven: we need a mailbox driver anyway
<marcan>
for all the other copros
<marcan>
so there's no reason not to instantiate it for nvme too
<marcan>
and yeah, it's probably cleanest to just reboot it
<marcan>
that said, I don't want to reboot DCP
<marcan>
so I'm going to have to implement live DART takeover for that
<marcan>
I wonder if there is a "shutdown syslog" command?
phiologe has joined #asahi
PhilippvK has quit [Ping timeout: 480 seconds]
quarkyalice has quit [Remote host closed the connection]
quarkyalice has joined #asahi
bgb_ has joined #asahi
quarkyalice has quit [Ping timeout: 480 seconds]
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
quarkyalice_ has quit [Ping timeout: 480 seconds]
quarkyalice has joined #asahi
marvin24_ has joined #asahi
quarkyalice_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
quarkyalice__ has joined #asahi
quarkyalice has quit [Read error: Connection reset by peer]
bgb_ has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
quarkyalice_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
chadmed has joined #asahi
<sven>
marcan: that sequence doesn't shut it down fwiw
<sven>
i don't know exactly yet what it does but 0x6/0xb seem to be some kind of "switch power state" commands
<sven>
and that state 0x10 is the closest state to the "normal" mode
<sven>
and if you switch back from that to normal mode it seems to re-trigger the whole init state machine
bgb has quit [Ping timeout: 480 seconds]
<sven>
this is shared across all RTKit from what i can tell. i found this in the PMP firmware
<sven>
i'm not sure the storage processor can easily be rebooted. there are some suspicious properties in the adt
<sven>
like "no-hibernate-sleep" and "no-shutdown"
<sven>
(and if i shut it down to state 0x00 it just hangs, but that may be because i don't really know yet how to restart these coprocessors once the mailbox is gone)
<sven>
so i think 0x6 might be to switch the power state of the IOP and 0xb might be to tell it if the main SoC switched its power state.
bgb has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb has quit [Ping timeout: 480 seconds]
bgb has joined #asahi
bgb_ has joined #asahi
<marcan>
sven: so when we get it it's in that sleep state?
<marcan>
because obviousy iBoot needs to use it
bgb has quit [Ping timeout: 480 seconds]
bgb_ has quit [Ping timeout: 480 seconds]
<sven>
i think so. (also, see -re)
chadmed has quit [Ping timeout: 480 seconds]
bgb_ has joined #asahi
bgb has joined #asahi
bgb_ has quit [Ping timeout: 480 seconds]
<kettenis>
the SMC coprocessor is running when u-boot starts, the NVMe one isn't and needs a kick through the 0x0044 register
<kettenis>
found out yesterday that u-boot leaves the IOPs in a state where there are still pending messages
<kettenis>
so I need to tweak the state machine a bit
Raqbit has quit [Ping timeout: 480 seconds]
Raqbit has joined #asahi
<sven>
huh, really? i'm pretty sure i saw it come up with the first message already in the mailbox