#
…

2025-04-05

01:08Halian|Jardin has joined #asahi-re
01:09Halian|Jardin is now known as Halian
02:00pb17 has quit [Ping timeout: 480 seconds]
02:12Halian has quit [Quit: I'll be back.]
02:16pb17 has joined #asahi-re
03:55pb17 has quit [Ping timeout: 480 seconds]
04:17JayBeeFOSS has quit [Remote host closed the connection]
04:18JayBeeFOSS has joined #asahi-re
04:25pb17 has joined #asahi-re
04:35mattia013_ has joined #asahi-re
04:45mattia013_ has quit [Remote host closed the connection]
05:18swiftraccoon2 has quit [Ping timeout: 480 seconds]
05:30red_rider has joined #asahi-re
06:00john-cabaj has quit [Ping timeout: 480 seconds]
06:29pb17 has quit [Ping timeout: 480 seconds]
06:32mattia013 has quit [Remote host closed the connection]
06:33mattia013 has joined #asahi-re
06:53pb17 has joined #asahi-re
06:53opticron has quit [Read error: Connection reset by peer]
06:54swiftraccoon has joined #asahi-re
06:54opticron has joined #asahi-re
07:02swiftraccoon has quit [Ping timeout: 480 seconds]
07:02red_rider has quit [Read error: Connection reset by peer]
07:04riker77 has quit [Quit: Quitting IRC - gone for good...]
07:18red_rider has joined #asahi-re
07:19riker77 has joined #asahi-re
07:31red_rider has quit [Quit: Leaving]
07:55swiftraccoon has joined #asahi-re
07:55Halian has joined #asahi-re
08:03swiftraccoon has quit [Ping timeout: 480 seconds]
08:11svenokay, 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
08:11svencomparing with the xnu source drop that means t8132 has NO_CPU_OVRD defined
08:12svenand 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
08:12svenso i guess t8132 just no longer has it?
08:35chadmedi wonder if that means they got rid of deep wfi entirely and rely on pmgr to do stuff
08:42pb17 has quit [Ping timeout: 480 seconds]
08:54pb17 has joined #asahi-re
08:56swiftraccoon has joined #asahi-re
08:58sveneither that or it’s always in automatic mode now
08:58sveni.e. it loses state when some hw state machine decides it’s time to enter deeper sleep states
08:58svenI should probably check if it still saves/restored all registers before wfi
08:59sven*restores
09:04swiftraccoon has quit [Ping timeout: 480 seconds]
09:08swiftraccoon has joined #asahi-re
09:14mischa85_ has joined #asahi-re
09:15svendoesn't look like I can find the save/restore state anymore
09:16svenso wfi probably can't enter deep sleep anymore without some help from pmgr or whatever
09:17chadmeddoes that mean we need a pmgr driver or to do some gross psci implementation in m1n1
09:28sveni guess
09:35roxfan has quit [Ping timeout: 480 seconds]
09:37svenor maybe i'm just blind
09:39svenyeah, i'm blind. the save/restore regs stuff is still there
09:39svenwould need an M4 to figure out what's going on. could just be the magic state machine that decides retention vs. non-retention now
09:52mischa85_i have t6041 ready for action if you want me to try out some stuff
09:54svenessentially figure out if wfi ever loses register state (e.g. when sleeping for a longer time)
09:59mischa85_last time i checked cyc_ovrd just returned 0
10:00mischa85_so CYC_OVRD_WFI_MODE_MASK on it also returns 0
10:00sventhat's not what i'm saying
10:00svenactually try out how wfi behaves
10:04mischa85_sorry i have no clue
10:18pb17 has quit [Ping timeout: 480 seconds]
10:26mischa85_ has quit [Ping timeout: 480 seconds]
10:32roxfan has joined #asahi-re
10:39pb17 has joined #asahi-re
10:48rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
10:48enick_776 has quit [Quit: Bridge terminating on SIGTERM]
11:44mischa85_ has joined #asahi-re
12:07Calandracas has quit [Remote host closed the connection]
12:07Calandracas has joined #asahi-re
12:29rhysmdnz has joined #asahi-re
12:30Jamie has joined #asahi-re
12:30Jamie is now known as Guest12947
12:37mischa85_ has quit [Ping timeout: 480 seconds]
12:45pb17 has quit [Ping timeout: 480 seconds]
13:13pb17 has joined #asahi-re
13:18svenis there a simple way to define custom sysregs in ghdira?
13:18svenUnkSytemRegWrite followed by a bunch of numbers is kinda annoying to read
14:30pb17 has quit [Ping timeout: 480 seconds]
14:53fl0_id has joined #asahi-re
14:55pb17 has joined #asahi-re
15:17john-cabaj has joined #asahi-re
15:29mischa85_ has joined #asahi-re
15:38mischa85_ has quit [Ping timeout: 480 seconds]
15:50john-cabaj has quit [Ping timeout: 480 seconds]
16:14mischa85_ has joined #asahi-re
16:30pb17 has quit [Ping timeout: 480 seconds]
16:43Guest12947 has quit [Quit: Bridge terminating on SIGTERM]
16:43rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
16:45rhysmdnz has joined #asahi-re
16:45Jamie has joined #asahi-re
16:46Jamie is now known as Guest12958
16:47pb17 has joined #asahi-re
17:07john-cabaj has joined #asahi-re
17:08mischa85_ is now known as mischa85
17:15john-cabaj has quit [Ping timeout: 480 seconds]
17:33chadmed has quit [Quit: Konversation terminated!]
17:33chadmed has joined #asahi-re
17:33chadmed has quit []
17:34chadmed has joined #asahi-re
17:34chadmed has quit []
17:34chadmed has joined #asahi-re
17:37john-cabaj has joined #asahi-re
18:14pb17 has quit [Ping timeout: 480 seconds]
18:38pb17 has joined #asahi-re
18:59red_rider has joined #asahi-re
19:01roxfaniirc they are basically hardcoded in sleigh specs
19:16red_rider has quit [Ping timeout: 480 seconds]
20:12yuyichao_ has quit [Ping timeout: 480 seconds]
20:40pb17 has quit [Ping timeout: 480 seconds]
21:02pb17 has joined #asahi-re
21:32yuyichao_ has joined #asahi-re
21:32vulpes2 has joined #asahi-re
21:38john-cabaj has quit [Ping timeout: 480 seconds]
22:20pb17 has quit [Ping timeout: 480 seconds]
23:02pb17 has joined #asahi-re
23:30chrisl has joined #asahi-re
23:38chrisl has quit [Ping timeout: 480 seconds]
…