ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
Coastalcrown has quit [Ping timeout: 480 seconds]
drubrkletern has joined #asahi-dev
drubrkletern has quit []
Coastalcrown has joined #asahi-dev
psykose has quit [Remote host closed the connection]
drubrkletern has joined #asahi-dev
psykose has joined #asahi-dev
psykose_ has joined #asahi-dev
psykose has quit [Ping timeout: 480 seconds]
chadmed has quit [Read error: No route to host]
chadmed has joined #asahi-dev
Coastalcrown has quit [Read error: Connection timed out]
axboe has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi-dev
Coastalcrown has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi-dev
Coastalcrown has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi-dev
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
soonercane has joined #asahi-dev
Coastalcrown has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi-dev
Coastalcrown has quit [Read error: Connection timed out]
Coastalcrown has joined #asahi-dev
soonercane has quit [Quit: Bye]
soonercane has joined #asahi-dev
Coastalcrown has quit [Read error: Connection timed out]
Coastalcrown has joined #asahi-dev
Coastalc_ has joined #asahi-dev
Coastalcrown has quit [Ping timeout: 480 seconds]
Coastalc_ has quit [Ping timeout: 480 seconds]
Coastalcrown has joined #asahi-dev
WindowPa- is now known as WindowPain
chadmed has quit [Quit: Konversation terminated!]
Coastalcrown has quit [Remote host closed the connection]
flying_sausages has quit [Ping timeout: 480 seconds]
<marcan> jannau: remember reset doesn't actually reset any memory, so if they have like a static global with the shmem info/state for that, it would survive
<marcan> the whole thing with not being able to actually reset firmware state is pretty cursed
Coastalcrown has joined #asahi-dev
Coastalcrown has quit [Read error: Connection reset by peer]
Coastalcrown has joined #asahi-dev
SSJ_GZ has joined #asahi-dev
cylm has joined #asahi-dev
Coastalcrown has quit []
mkurz has quit [Quit: Leaving]
bps has joined #asahi-dev
Major_Biscuit has joined #asahi-dev
bps has quit [Ping timeout: 480 seconds]
ayke has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
hertz has joined #asahi-dev
bps has joined #asahi-dev
bps2 has joined #asahi-dev
bps has quit [Ping timeout: 480 seconds]
hertz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whomst has quit [Read error: No route to host]
hertz has joined #asahi-dev
jrubrkletern has joined #asahi-dev
drubrkletern has quit [Read error: Connection reset by peer]
bcrumb has joined #asahi-dev
Dementor has quit [Ping timeout: 480 seconds]
bcrumb has quit [Quit: WeeChat 3.7.1]
logiblue69 has joined #asahi-dev
chadmed has joined #asahi-dev
<jannau> DCP module reloading works! I must not call A500/set_dcp_power(0) on shutdown (or I suppose I have to call A500/set_dcp_power(1))
<jannau> still no ack for the initial SetSHM call though
Dementor has joined #asahi-dev
Major_Biscuit has quit []
axboe has joined #asahi-dev
<marcan> jannau: wait so then when does A500 need to get called?
<jannau> there's free_signal / stop_signal but both crash dcp
<jannau> marcan: apparently only before
<jannau> apple_rtkit_idle()
<marcan> ah right, that's the one I used for suspend mode?
<jannau> yes
<marcan> ok, makes sense
<sven> iirc the pmgr reset is really just an interrupt for the asc so that missing shmem thing probably makes sense :(
chadmed has quit [Quit: Konversation terminated!]
<jannau> the pmgr reset fixes the system endpoint re-initialization after IOP shutdown
<jannau> do we have code to intercept macos restart/shutdown in m1n1?
bps2 has quit [Ping timeout: 480 seconds]
logiblue69 has quit [Ping timeout: 480 seconds]
<marcan> you can just watch it until the end, unless you want to do something after the shutdown?
logiblue69 has joined #asahi-dev
<jannau> dcp trace is incomplete due broken uart communication even with a single cpu core
logiblue69 has quit [Ping timeout: 480 seconds]
flying_sausages has joined #asahi-dev
logiblue69 has joined #asahi-dev
<marcan> are you sure it's incomplete and it doesn't just reboot the machine without cleaning up dcp?
<marcan> I'm pretty sure I could trace shutdown/reboot up to the action that actually triggers them
<sven> yeah, I’ve even seen the watchdog write just before reboot occasionally
logiblue69 has quit [Remote host closed the connection]
logiblue69 has joined #asahi-dev
<sven> haven’t ever seen the hv survive suspend/resume though
<marcan> I've seen it survive suspend before, as in the machine looked quiesced but the HV console was still alive
<marcan> definitely never resumed out of that though, that would need specific handling
<marcan> but I do want to figure out what causes the death on suspend
<sven> my m1 mini reliably dies on suspend fwiw
<sven> like, Python exception dies because the serial port disappears
<marcan> I think I saw it work (sometimes) with pro/max machines, never on M1 or something like that?
<sven> could be, I only have this m1 here
<jannau> it looks like it dies while parsing dcp messages https://paste.debian.net/1266326/
<sven> that looks similar to what I get when I try to suspend
<sven> iirc the tty node disappears a moment later
jluthra has quit [Remote host closed the connection]
jluthra has joined #asahi-dev
bcrumb has joined #asahi-dev
bcrumb has quit []
unko has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
digicyc has quit [Quit: WeeChat 2.8]
<jannau> looks like macos simply doesn't shutdown DCP on restart/shutdown and DCP still issues callbacks and syslog messages
<jannau> hack to avoid the reset: overwrite the data for 'MBSE' in the smc tracer
___nick___ has quit [Ping timeout: 480 seconds]
jrubrkletern has quit [Ping timeout: 480 seconds]
DarkShadow44 has quit [Ping timeout: 480 seconds]
DarkShadow44 has joined #asahi-dev
cylm_ has quit [Ping timeout: 480 seconds]
chadmed has joined #asahi-dev
SSJ_GZ has quit [Ping timeout: 480 seconds]
drubrkletern has joined #asahi-dev
bps2 has joined #asahi-dev
logiblue69 has quit [Ping timeout: 480 seconds]
c10l has quit [Quit: Bye o/]