ChanServ changed the topic of #asahi-re to: Asahi Linux: porting Linux to Apple Silicon macs | Hardware / boot process / firmware interface reverse engineering | WARNING: this channel (only) may contain binary reverse engineering discussion | RE policy: https://alx.sh/re (MANDATORY READ) | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-re
Halian|Jardin has joined #asahi-re
Halian|Jardin is now known as Halian
pb17 has quit [Ping timeout: 480 seconds]
Halian has quit [Quit: I'll be back.]
pb17 has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Remote host closed the connection]
JayBeeFOSS has joined #asahi-re
pb17 has joined #asahi-re
mattia013_ has joined #asahi-re
mattia013_ has quit [Remote host closed the connection]
swiftraccoon2 has quit [Ping timeout: 480 seconds]
red_rider has joined #asahi-re
john-cabaj has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
mattia013 has quit [Remote host closed the connection]
mattia013 has joined #asahi-re
pb17 has joined #asahi-re
opticron has quit [Read error: Connection reset by peer]
swiftraccoon has joined #asahi-re
opticron has joined #asahi-re
swiftraccoon has quit [Ping timeout: 480 seconds]
red_rider has quit [Read error: Connection reset by peer]
riker77 has quit [Quit: Quitting IRC - gone for good...]
red_rider has joined #asahi-re
riker77 has joined #asahi-re
red_rider has quit [Quit: Leaving]
swiftraccoon has joined #asahi-re
Halian has joined #asahi-re
swiftraccoon has quit [Ping timeout: 480 seconds]
<sven> okay, quick digging into XNU: _arm64_force_wfi_clock_gate on t8132 is just a no-op, _arm64_force_wfi_clock_gate on t8103 write to SYS_IMP_APL_CYC_OVRD
<sven> comparing with the xnu source drop that means t8132 has NO_CPU_OVRD defined
<sven> and even in the SPTM boot path it should try to access that reg, see https://github.com/apple-oss-distributions/xnu/blob/main/osfmk/arm64/sptm/start_sptm.s#L101
<sven> so i guess t8132 just no longer has it?
<chadmed> i wonder if that means they got rid of deep wfi entirely and rely on pmgr to do stuff
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
swiftraccoon has joined #asahi-re
<sven> either that or it’s always in automatic mode now
<sven> i.e. it loses state when some hw state machine decides it’s time to enter deeper sleep states
<sven> I should probably check if it still saves/restored all registers before wfi
<sven> *restores
swiftraccoon has quit [Ping timeout: 480 seconds]
swiftraccoon has joined #asahi-re
mischa85_ has joined #asahi-re
<sven> doesn't look like I can find the save/restore state anymore
<sven> so wfi probably can't enter deep sleep anymore without some help from pmgr or whatever
<chadmed> does that mean we need a pmgr driver or to do some gross psci implementation in m1n1
<sven> i guess
roxfan has quit [Ping timeout: 480 seconds]
<sven> or maybe i'm just blind
<sven> yeah, i'm blind. the save/restore regs stuff is still there
<sven> would need an M4 to figure out what's going on. could just be the magic state machine that decides retention vs. non-retention now
<mischa85_> i have t6041 ready for action if you want me to try out some stuff
<sven> essentially figure out if wfi ever loses register state (e.g. when sleeping for a longer time)
<mischa85_> last time i checked cyc_ovrd just returned 0
<mischa85_> so CYC_OVRD_WFI_MODE_MASK on it also returns 0
<sven> that's not what i'm saying
<sven> actually try out how wfi behaves
<mischa85_> sorry i have no clue
pb17 has quit [Ping timeout: 480 seconds]
mischa85_ has quit [Ping timeout: 480 seconds]
roxfan has joined #asahi-re
pb17 has joined #asahi-re
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
enick_776 has quit [Quit: Bridge terminating on SIGTERM]
mischa85_ has joined #asahi-re
Calandracas has quit [Remote host closed the connection]
Calandracas has joined #asahi-re
rhysmdnz has joined #asahi-re
Jamie has joined #asahi-re
Jamie is now known as Guest12947
mischa85_ has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
<sven> is there a simple way to define custom sysregs in ghdira?
<sven> UnkSytemRegWrite followed by a bunch of numbers is kinda annoying to read
pb17 has quit [Ping timeout: 480 seconds]
fl0_id has joined #asahi-re
pb17 has joined #asahi-re
john-cabaj has joined #asahi-re
mischa85_ has joined #asahi-re
mischa85_ has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
mischa85_ has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
Guest12947 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has joined #asahi-re
Jamie has joined #asahi-re
Jamie is now known as Guest12958
pb17 has joined #asahi-re
john-cabaj has joined #asahi-re
mischa85_ is now known as mischa85
john-cabaj has quit [Ping timeout: 480 seconds]
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-re
chadmed has quit []
chadmed has joined #asahi-re
chadmed has quit []
chadmed has joined #asahi-re
john-cabaj has joined #asahi-re
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
red_rider has joined #asahi-re
<roxfan> iirc they are basically hardcoded in sleigh specs
red_rider has quit [Ping timeout: 480 seconds]
yuyichao_ has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
yuyichao_ has joined #asahi-re
vulpes2 has joined #asahi-re
john-cabaj has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-re
chrisl has joined #asahi-re
chrisl has quit [Ping timeout: 480 seconds]