#
…

2025-12-14

00:04hdbngr has quit [Ping timeout: 480 seconds]
00:12hdbngr has joined #asahi-re
00:21pb17 has quit [Ping timeout: 480 seconds]
00:21hdbngr has quit [Ping timeout: 480 seconds]
00:30hdbngr has joined #asahi-re
00:31jmax has joined #asahi-re
00:35pb17 has joined #asahi-re
00:38hdbngr has quit [Ping timeout: 480 seconds]
00:39jmax has quit [Ping timeout: 480 seconds]
00:47hdbngr has joined #asahi-re
00:55hdbngr has quit [Ping timeout: 480 seconds]
01:03hdbngr has joined #asahi-re
01:12amarioguy has joined #asahi-re
01:12amarioguy has quit [Remote host closed the connection]
01:13hdbngr has quit [Ping timeout: 480 seconds]
01:20hdbngr has joined #asahi-re
01:29hdbngr has quit [Ping timeout: 480 seconds]
01:38hdbngr has joined #asahi-re
01:39jmax has joined #asahi-re
01:46hdbngr has quit [Ping timeout: 480 seconds]
01:47jmax has quit [Ping timeout: 480 seconds]
01:56hdbngr has joined #asahi-re
01:58jmax has joined #asahi-re
02:05hdbngr has quit [Ping timeout: 480 seconds]
02:06jmax has quit [Ping timeout: 480 seconds]
02:13hdbngr has joined #asahi-re
02:21hdbngr has quit [Ping timeout: 480 seconds]
02:30hdbngr has joined #asahi-re
02:39hdbngr has quit [Ping timeout: 480 seconds]
02:46hdbngr has joined #asahi-re
02:47jmax has joined #asahi-re
02:54hdbngr has quit [Ping timeout: 480 seconds]
02:55jmax has quit [Ping timeout: 480 seconds]
03:02hdbngr has joined #asahi-re
03:06jmax has joined #asahi-re
03:12hdbngr has quit [Ping timeout: 480 seconds]
03:15hightower4 has joined #asahi-re
03:21hdbngr has joined #asahi-re
03:21hightower3 has quit [Ping timeout: 480 seconds]
03:29nickchanjannau: maybe check cntfrq_el0 from EL0?
03:30hdbngr has quit [Ping timeout: 480 seconds]
03:31nickchananyways back to the naming A can be taken as "Apple" and "CNT" can be taken as counter
03:31nickchanApple...GT...Counter...RDIR
03:34nickchanhttps://developer.apple.com/documentation/ios-ipados-release-notes/ios-ipados-18-release-notes apple only expose 1 GHz to apps compiled with new enough SDKs... but guest & host kernel probably would appericate it if the counter didn't change in their EL
03:37hdbngr has joined #asahi-re
03:39nickchanOkay I recommend checking if there's a whole class of custom sysreg that behave similarly to the ones stated in the Arm docs
03:39nickchanif so the register probably stands for "Apple Generic Timer Counter Redirection" or something like that
03:40nickchanthis is real
03:41nickchanthere's more than AGTCNTRDIR_EL{1,2,12}
03:43nickchanAGTCNTVCTSS_EL0, ACNTVCT_EL0, AGTCNTP_CTL_EL0 exists at least
03:46hdbngr has quit [Ping timeout: 480 seconds]
03:52nickchanfound encodings
03:53nickchanAGTCNTV_TVAL_EL0 = S3_1_C15_C15_4, AGTCNTVCT_EL0 = S3_4_C15_C11_7, AGTCNTVCTSS_EL0 = S3_4_C15_C10_6, AGTCNTV_CTL_EL0 = S3_1_C15_C0_5, AGTCNTKCTL_EL1 = S3_4_C15_C9_6
03:54chadmedthe way that comment reads, theyre doing something nonstandard with the timer so idk if theyre just shadowing the arch registers
03:55chadmed"the apple timebase"
03:55nickchanmore clearly: git diff xnu-11215.1.10 xnu-11417.121.6 -- osfmk/arm64/machine_routines.c
03:55hdbngr has joined #asahi-re
03:57chadmedoh right
03:57nickchanarmv8.6 does require 1GHz timer
03:58nickchanbut... apple exposed those regs to EL0 and maybe their vmapple guests has assumptions about timers as well
03:58nickchanso they kind of have to keep the 24 MHz counter going
03:59nickchanso i presume when bits are set in AGTCNTRDIR_EL{1,2,12} your reg access gets redirected to those 24 MHz custom registers instead of the standard 1 GHz ones
04:04hdbngr has quit [Ping timeout: 480 seconds]
04:12hdbngr has joined #asahi-re
04:21hdbngr has quit [Ping timeout: 480 seconds]
04:29hdbngr has joined #asahi-re
04:38hdbngr has quit [Ping timeout: 480 seconds]
04:46hdbngr has joined #asahi-re
04:55hdbngr has quit [Ping timeout: 480 seconds]
05:01hdbngr has joined #asahi-re
05:01andymandias has joined #asahi-re
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:18hdbngr has joined #asahi-re
05:27hdbngr has quit [Ping timeout: 480 seconds]
05:35hdbngr has joined #asahi-re
05:43hdbngr has quit [Ping timeout: 480 seconds]
05:51hdbngr has joined #asahi-re
05:59hdbngr has quit [Ping timeout: 480 seconds]
06:07hdbngr has joined #asahi-re
06:15hdbngr has quit [Ping timeout: 480 seconds]
06:23hdbngr has joined #asahi-re
06:31hdbngr has quit [Ping timeout: 480 seconds]
06:38pb17 has quit [Ping timeout: 480 seconds]
06:40hdbngr has joined #asahi-re
06:48hdbngr has quit [Ping timeout: 480 seconds]
06:56hdbngr has joined #asahi-re
07:07ddxtanx has joined #asahi-re
07:11hdbngr has quit [Ping timeout: 480 seconds]
07:17pb17 has joined #asahi-re
07:19hdbngr has joined #asahi-re
07:28hdbngr has quit [Ping timeout: 480 seconds]
07:36hdbngr has joined #asahi-re
07:44hdbngr has quit [Ping timeout: 480 seconds]
07:53hdbngr has joined #asahi-re
08:01hdbngr has quit [Ping timeout: 480 seconds]
08:03hdbngr has joined #asahi-re
08:04lm_ has joined #asahi-re
08:05lm has quit [Ping timeout: 480 seconds]
08:07okb has joined #asahi-re
08:11hdbngr has quit [Ping timeout: 480 seconds]
08:19hdbngr has joined #asahi-re
08:27hdbngr has quit [Ping timeout: 480 seconds]
08:37hdbngr has joined #asahi-re
08:46hdbngr has quit [Ping timeout: 480 seconds]
08:46okb has quit [Ping timeout: 480 seconds]
08:55hdbngr has joined #asahi-re
09:16hdbngr has quit [Ping timeout: 480 seconds]
09:16hdbngr has joined #asahi-re
09:25_null_ has joined #asahi-re
09:26okb has joined #asahi-re
09:28_null_ has quit []
09:28_null has quit [Ping timeout: 480 seconds]
09:28_null has joined #asahi-re
09:29_null has quit []
09:30hdbngr has quit [Remote host closed the connection]
09:31hdbngr has joined #asahi-re
09:43seb_ has joined #asahi-re
09:54_null has joined #asahi-re
09:59seb_ has quit [Quit: Konversation terminated!]
10:00ddxtanx has quit [Remote host closed the connection]
10:02ddxtanx has joined #asahi-re
10:03seb_ has joined #asahi-re
10:03seb_ has quit []
10:04seb_ has joined #asahi-re
10:08seb_ has quit []
10:09seb_ has joined #asahi-re
10:10pb17 has quit [Ping timeout: 480 seconds]
10:10pb17 has joined #asahi-re
10:18okb has quit [Remote host closed the connection]
10:18okb has joined #asahi-re
10:34okb_ has joined #asahi-re
10:41okb has quit [Ping timeout: 480 seconds]
10:46seb_ has quit [Quit: Konversation terminated!]
10:51seb_ has joined #asahi-re
11:09seb_ has quit [Quit: Konversation terminated!]
11:14hdbngr has quit [Ping timeout: 480 seconds]
11:17hdbngr has joined #asahi-re
11:25okb_ has quit [Ping timeout: 480 seconds]
11:25seb_ has joined #asahi-re
11:25okb_ has joined #asahi-re
11:50okb_ has quit [Ping timeout: 480 seconds]
12:33crabbedhaloablut has quit []
12:34okb_ has joined #asahi-re
12:35crabbedhaloablut has joined #asahi-re
12:57hdbngr has quit [Ping timeout: 480 seconds]
13:00hdbngr has joined #asahi-re
13:09_null has quit []
13:11_null has joined #asahi-re
13:14maettu102 has quit [Quit: The Lounge - https://thelounge.chat]
13:15maettu102 has joined #asahi-re
13:27hdbngr has quit [Ping timeout: 480 seconds]
13:27_null has quit []
13:28_null has joined #asahi-re
13:31hdbngr has joined #asahi-re
13:38maettu102 has quit [Quit: The Lounge - https://thelounge.chat]
13:38maettu102 has joined #asahi-re
13:40chadmed has quit [Quit: Konversation terminated!]
13:40chadmed has joined #asahi-re
13:44hdbngr has quit [Ping timeout: 480 seconds]
13:52maettu102 has quit [Quit: The Lounge - https://thelounge.chat]
13:52maettu102 has joined #asahi-re
13:53hdbngr has joined #asahi-re
13:59pb17 has quit [Ping timeout: 480 seconds]
14:01pb17 has joined #asahi-re
14:12hdbngr has quit [Ping timeout: 480 seconds]
14:12hdbngr has joined #asahi-re
14:23maettu102 has quit [Quit: The Lounge - https://thelounge.chat]
14:25hdbngr has quit [Ping timeout: 480 seconds]
14:27hdbngr has joined #asahi-re
14:34maettu102 has joined #asahi-re
14:41hdbngr has quit [Ping timeout: 480 seconds]
14:48hdbngr has joined #asahi-re
14:57hdbngr has quit [Ping timeout: 480 seconds]
15:06hdbngr has joined #asahi-re
15:23hdbngr has quit [Ping timeout: 480 seconds]
15:23hdbngr has joined #asahi-re
15:26ddxtanx has quit [Quit: Konversation terminated!]
15:27ddxtanx has joined #asahi-re
15:35hdbngr has quit [Ping timeout: 480 seconds]
15:35hdbngr has joined #asahi-re
15:52ddxtanx has quit [Quit: Konversation terminated!]
15:52ddxtanx has joined #asahi-re
16:04hdbngr has quit [Ping timeout: 480 seconds]
16:07hdbngr has joined #asahi-re
16:19hdbngr has quit [Ping timeout: 480 seconds]
16:28hdbngr has joined #asahi-re
17:09okb_ has quit [Ping timeout: 480 seconds]
17:09_null has quit []
17:11_null has joined #asahi-re
17:12Extern has joined #asahi-re
17:23Extern has quit [Quit: WeeChat 4.8.1]
18:00mattia013 has quit [Remote host closed the connection]
18:03mattia013 has joined #asahi-re
18:34pb17 has quit [Ping timeout: 480 seconds]
18:34hightower3 has joined #asahi-re
18:35pb17 has joined #asahi-re
18:41hightower4 has quit [Ping timeout: 480 seconds]
20:54hdbngr has quit [Ping timeout: 480 seconds]
21:02DarkShadow4444 has quit []
21:02hdbngr has joined #asahi-re
21:03DarkShadow44 has joined #asahi-re
21:11hdbngr has quit [Ping timeout: 480 seconds]
21:20hdbngr has joined #asahi-re
21:28hdbngr has quit [Ping timeout: 480 seconds]
21:36hdbngr has joined #asahi-re
21:49hdbngr has quit [Ping timeout: 480 seconds]
21:55hightower4 has joined #asahi-re
21:56hdbngr has joined #asahi-re
22:02hightower3 has quit [Ping timeout: 480 seconds]
22:05hdbngr has quit [Ping timeout: 480 seconds]
22:13hdbngr has joined #asahi-re
22:19pb17 has quit [Ping timeout: 480 seconds]
22:22hdbngr has quit [Ping timeout: 480 seconds]
22:30hdbngr has joined #asahi-re
22:38hdbngr has quit [Ping timeout: 480 seconds]
22:46hdbngr has joined #asahi-re
22:49pb17 has joined #asahi-re
23:01hdbngr has quit [Ping timeout: 480 seconds]
23:09hdbngr has joined #asahi-re
23:18hdbngr has quit [Ping timeout: 480 seconds]
23:26hdbngr has joined #asahi-re
23:35hdbngr has quit [Ping timeout: 480 seconds]
23:41hdbngr has joined #asahi-re
23:49hdbngr has quit [Ping timeout: 480 seconds]
23:52hdbngr has joined #asahi-re
…