#
…

2025-12-07

00:01mike-p has joined #asahi-dev
00:06hdbngr has joined #asahi-dev
00:14hdbngr has quit [Ping timeout: 480 seconds]
00:23hdbngr has joined #asahi-dev
00:31hdbngr has quit [Ping timeout: 480 seconds]
00:40hdbngr has joined #asahi-dev
00:47mixi has quit [Ping timeout: 480 seconds]
00:49hdbngr has quit [Ping timeout: 480 seconds]
00:58mixi has joined #asahi-dev
00:59hdbngr has joined #asahi-dev
01:07hdbngr has quit [Ping timeout: 480 seconds]
01:15hdbngr has joined #asahi-dev
01:19xal has joined #asahi-dev
01:24hdbngr has quit [Ping timeout: 480 seconds]
01:32hdbngr has joined #asahi-dev
01:41hdbngr has quit [Ping timeout: 480 seconds]
01:49hdbngr has joined #asahi-dev
01:58hdbngr has quit [Ping timeout: 480 seconds]
02:06hdbngr has joined #asahi-dev
02:06___nick___ has quit []
02:08___nick___ has joined #asahi-dev
02:09___nick___ has quit []
02:12___nick___ has joined #asahi-dev
02:14hdbngr has quit [Ping timeout: 480 seconds]
02:22hdbngr has joined #asahi-dev
02:31hdbngr has quit [Ping timeout: 480 seconds]
02:40hdbngr has joined #asahi-dev
02:48hdbngr has quit [Ping timeout: 480 seconds]
02:56hdbngr has joined #asahi-dev
03:04hdbngr has quit [Ping timeout: 480 seconds]
03:10hdbngr has joined #asahi-dev
03:19hdbngr has quit [Ping timeout: 480 seconds]
03:27hdbngr has joined #asahi-dev
03:31tobhe_ has joined #asahi-dev
03:36hdbngr has quit [Ping timeout: 480 seconds]
03:38tobhe has quit [Ping timeout: 480 seconds]
03:44hdbngr has joined #asahi-dev
03:44opticron has quit [Read error: Connection reset by peer]
03:45opticron has joined #asahi-dev
03:46rosalyntg has quit [Read error: Connection reset by peer]
03:47rosalyntg has joined #asahi-dev
03:51pb17 has quit [Ping timeout: 480 seconds]
03:53hdbngr has quit [Ping timeout: 480 seconds]
04:01hdbngr has joined #asahi-dev
04:03pb17 has joined #asahi-dev
04:06nora has joined #asahi-dev
04:08nora_ has quit [Ping timeout: 480 seconds]
04:09hdbngr has quit [Ping timeout: 480 seconds]
04:13rany_ has joined #asahi-dev
04:15rany has quit [Ping timeout: 480 seconds]
04:15rany_ is now known as rany
04:16hdbngr has joined #asahi-dev
04:16ipatch has quit [Read error: Connection reset by peer]
04:25hdbngr has quit [Ping timeout: 480 seconds]
04:30jmax has joined #asahi-dev
04:33hdbngr has joined #asahi-dev
04:38marvin24 has joined #asahi-dev
04:38jmax has quit [Ping timeout: 480 seconds]
04:42hdbngr has quit [Ping timeout: 480 seconds]
04:42integralpilot has joined #asahi-dev
04:43integralpilotnickchan: AFSR1_EL2 is 0x317d2a
04:43integralpiloti think that corresponds to s3_5_c15_c4_0 if i'm doing my maths right?
04:45nickchan"SYS_IMP_APL_ACC_CFG"
04:47nickchanintegralpilot: think it's fine to pass this one through in the hv python code
04:50hdbngr has joined #asahi-dev
04:50nickchanyou are on the right track all of this makes sense so far
04:51integralpilotooooh, thank you!
04:57Stary has quit [Quit: ZNC - http://znc.in]
04:58hdbngr has quit [Ping timeout: 480 seconds]
05:00Stary has joined #asahi-dev
05:01hdbngr has joined #asahi-dev
05:04nora_ has joined #asahi-dev
05:06nora has quit [Ping timeout: 480 seconds]
05:09hdbngr has quit [Ping timeout: 480 seconds]
05:17hdbngr has joined #asahi-dev
05:19nickchanmake your own decision for different sysregs you encounter but do be aware of that s3_1_c15_c1_5_EL1, s3_4_c15_c14_5_EL2 and s3_4_c15_c14_6_EL12 may be VHE affected
05:25hdbngr has quit [Ping timeout: 480 seconds]
05:33hdbngr has joined #asahi-dev
05:41hdbngr has quit [Ping timeout: 480 seconds]
05:50hdbngr has joined #asahi-dev
05:56ipatch has joined #asahi-dev
05:58hdbngr has quit [Ping timeout: 480 seconds]
06:06hdbngr has joined #asahi-dev
06:14hdbngr has quit [Ping timeout: 480 seconds]
06:23hdbngr has joined #asahi-dev
06:32hdbngr has quit [Ping timeout: 480 seconds]
06:34ipatch has quit [Ping timeout: 480 seconds]
06:40hdbngr has joined #asahi-dev
06:49hdbngr has quit [Ping timeout: 480 seconds]
06:56hdbngr has joined #asahi-dev
07:10hdbngr has quit [Ping timeout: 480 seconds]
07:10psykose has quit [Remote host closed the connection]
07:11psykose has joined #asahi-dev
07:18hdbngr has joined #asahi-dev
07:27integralpilot has quit [Ping timeout: 480 seconds]
07:27hdbngr has quit [Ping timeout: 480 seconds]
07:28integralpilot has joined #asahi-dev
07:35integralpilot has quit [Quit: integralpilot]
07:35hdbngr has joined #asahi-dev
07:44hdbngr has quit [Ping timeout: 480 seconds]
07:51hdbngr has joined #asahi-dev
07:52ddxtanx has joined #asahi-dev
08:00hdbngr has quit [Ping timeout: 480 seconds]
08:03hdbngr has joined #asahi-dev
08:11hdbngr has quit [Ping timeout: 480 seconds]
08:19chadmedim going to send the tdm slot stuff tonight if no one has any objections, and perhaps v6 of the smc subdevices too
08:19hdbngr has joined #asahi-dev
08:19chadmedi also think we should just drop the dart aperture constraint on t602x aop dart for now since i cant tell why it was even added in the first place
08:20chadmedmics work fine with it gone, nothing else breaks
08:23jannauI'll drop it. I don't remember why or who (probably me) added it. it's just based on on the ADT vm-start and vm-size properties
08:25chadmedoh i shouldve noticed that
08:25chadmedanyway no rush, its been like a year so waiting for the next rebase is fine :P
08:28hdbngr has quit [Ping timeout: 480 seconds]
08:33hdbngr has joined #asahi-dev
08:39chaos_princessSo, its fixed now?
08:41hdbngr has quit [Ping timeout: 480 seconds]
08:49hdbngr has joined #asahi-dev
08:58hdbngr has quit [Ping timeout: 480 seconds]
09:04hdbngr has joined #asahi-dev
09:21hdbngr has quit [Remote host closed the connection]
09:21hdbngr has joined #asahi-dev
09:29jannaudidn't we add microphone support only around march/april this year? the next rebase is thanks to stable now, anyway. I've already skipped v6.17.10
09:34chadmedfeb 13 i tagged off the first round of mic support
09:36chadmednot all machines were fully supported until early march though
09:37jannauasahi-6.17.11-1 tagged and pushed
09:38jannauI'll update the asahi overlay and update asahi-sources in gentoo
09:40chadmedokie doke
09:40hdbngr has quit [Ping timeout: 480 seconds]
09:48hdbngr has joined #asahi-dev
09:51jannauwhy does asahi-sources in the overlay have "amd64" in keywords?
09:53chadmediirc it was a bdep of mesa for the fex rootfs at one point
09:54chadmedit was/is a bdep of something
09:55chadmedsee 4c86ab250a5
09:55chadmedit was mesa for fex
09:56hdbngr has quit [Ping timeout: 480 seconds]
10:04hdbngr has joined #asahi-dev
10:13hdbngr has quit [Ping timeout: 480 seconds]
10:21hdbngr has joined #asahi-dev
10:29hdbngr has quit [Ping timeout: 480 seconds]
10:31chadmedwhy is the kernel.org cgit so bad
10:31chadmedguess im not submitting this tonight then
10:31chaos_princess(yes, msft, but the kernel.org git is worse)
10:31chadmedasoc series have to be based on a specific for-next or i get yelled at :p
10:32svenyeah, I wish kernel.org had a better web interface
10:32integralpilot has joined #asahi-dev
10:33svenbut at least it doesn’t try to shove copilot down my throat every chance it gets ;)
10:33chadmedit just doesnt work from australia at all
10:33chadmedwhen it does work pulling from it is incredibly slow
10:33chadmedbut the web interface is basically a crapshoot on whether i can actually reach it or not
10:34sventhat’s annoying :(
10:34integralpilotdisassemble_at in the M1N1 hypervisor python REPL has been annoying me because sometimes i accidentally use a virtual address and then the entire thing crashes and i lose m debugging state. locally i've made a change that if you use a higher half address it warns "are you sure this might be a virtual address by mistake?". its quite helpful for me but would others like this / should i submit it as a PR?
10:34hdbngr has joined #asahi-dev
10:35chaos_princessif you want to be extra fancy, you can match to real addresses via adt
10:35chaos_princessbut a simple check should also work
10:36integralpilotoooh that would actually be quite handy, thanks for the idea! i'll try and see if i can get it to do that
10:45jannaudoesn't kernel.org use geoloacated mirrors? maybe ask https://social.kernel.org/monsieuricon about mirror status for australia/asia
10:46sveni think the preferred way is to write to helpdesk@kernel.org
10:46sventhere's at least one person working in the infrastructure team
10:46sven*one other
11:05hdbngr has quit [Remote host closed the connection]
11:05hdbngr has joined #asahi-dev
11:34integralpilotjust did some more debugging and now turns out S3_4_C15_C14_6 is also a problem for m1n1 hypervising XNU on M3
11:34integralpilottrying to fix it up now
11:44integralpilotwhat is this register, i guess i'm the first person who as encountered it so i'll have to find out
11:45integralpilotwait sorry i missed it, it's late
11:45integralpilotwait no actually it doesn't exist
11:47integralpilotcommit message that added it says "Everest settings introduce some changes to unknown registers" so ig we still don't know what it does
11:47integralpilotis there a way to find out what these mystery registers do?
11:50hdbngr has quit [Ping timeout: 480 seconds]
11:53jannauif I'm not up on the numbers S3_4_C15_C14_6 is related to apple's implementation specific counter scaling. the physical counter is still 24MHZ but Arm mandates a 1GHz counter for ARMv8.6-a
11:59hdbngr has joined #asahi-dev
12:02integralpilotoh interesting, thank you
12:02integralpilothmmm adding it as SYSREG_PASS in hv_handle_msr_unlocked isn't helping
12:06integralpilotS3_1_C15_C1_5 is also caushing a bit of trouble
12:06integralpilotfor both of these i added a printf to the start of hv_handle_msr_unlocked and it's never even being called, just straight away causing an exception that it's too early for XNU to handle without ever going through the hypervisor
12:09integralpilotand both of these are the only 2 custom registers in the M3 pro only chickens
12:15hdbngr has quit [Ping timeout: 480 seconds]
12:18integralpilotoh didn't notice those numbers matched with the ones nickchan told me before, thanks for pointing it out sorry!
12:18jannauI think we need to handle those CNT registers and possibly update m1n1 idea of what the counter frequency is
12:20pb17 has quit [Ping timeout: 480 seconds]
12:21jannausigh: "Linux 6.19 Delivers Working USB3 Support For Apple Silicon Devices" https://www.phoronix.com/news/Linux-6.19-USB3-Apple-M1
12:22integralpiloti can try and do some work on that if you'd like, or i can switch my host & target so that my target is M3 plain (which doesn't have these I believe) and i can get the hypervisor working on that. which would be most useful?
12:23jannauit should be the same on plain M3
12:23hdbngr has joined #asahi-dev
12:23integralpilotin the chickens they only look like they are set on t6030, not t80-whatever on plain m3
12:23integralpiloti don't remember the exact plain m3 number
12:26integralpiloti'll try and get them sorted out though, seems like the best way forward
12:26integralpilot has quit [Quit: integralpilot]
12:26jannauthat's because m1n1 hasn't chickens for t8122 (m3)
12:28integralpilot has joined #asahi-dev
12:29integralpilotoh, that makes a lot more sense than it just being an m3 pro thing, sorry i misunderstood & thanks for explaining
12:30integralpiloti'll try and work on getting these registers working, i NOP-ed out the first accesses but then they just get used again a bit later so i think i proper solution is needed since the look like they are a bit in very early XNU boot
12:32hdbngr has quit [Ping timeout: 480 seconds]
12:34integralpilot has quit [Quit: integralpilot]
12:39hdbngr has joined #asahi-dev
12:48hdbngr has quit [Ping timeout: 480 seconds]
12:55pb17 has joined #asahi-dev
12:56hdbngr has joined #asahi-dev
13:05hdbngr has quit [Ping timeout: 480 seconds]
13:05crabbedhaloablut has quit []
13:07hdbngr has joined #asahi-dev
13:08crabbedhaloablut has joined #asahi-dev
13:15hdbngr has quit [Ping timeout: 480 seconds]
13:21hdbngr has joined #asahi-dev
13:22nickchanintegralpilot: you will need to setup chickens for m3 otherwise errata will cause all sorts of weird behavior
13:22nickchanespecially on the p cores
13:23jannauI have t8122 chickens but never pushed them
13:24nickchannow being startup code, there is no way around it; disassemble xnu's startup code and libT8122.os.DEVELOPMENT.a should be the best place to look
13:26nickchan(kdk's libT8122.os.DEVELOPMENT.a's start.o has all the startup sequence because of course it is hidden from xnu source code)
13:52nickchans3_0_c15_c2_4 is HID31
14:43hdbngr has quit [Ping timeout: 480 seconds]
14:51hdbngr has joined #asahi-dev
14:56seb_ has quit [Quit: Konversation terminated!]
15:07hdbngr has quit [Remote host closed the connection]
15:08hdbngr has joined #asahi-dev
15:23hdbngr has quit [Ping timeout: 480 seconds]
15:30hdbngr has joined #asahi-dev
15:41hdbngr has quit [Ping timeout: 480 seconds]
15:50hdbngr has joined #asahi-dev
15:52okb_ has joined #asahi-dev
15:58hdbngr has quit [Ping timeout: 480 seconds]
16:06hdbngr has joined #asahi-dev
16:11rany has quit [Ping timeout: 480 seconds]
16:17hdbngr has quit [Ping timeout: 480 seconds]
16:22rany has joined #asahi-dev
16:25hdbngr has joined #asahi-dev
16:28croissant has quit [Quit: Leaving]
16:32ipatch has joined #asahi-dev
16:34hdbngr has quit [Ping timeout: 480 seconds]
16:43hdbngr has joined #asahi-dev
16:46croissant has joined #asahi-dev
16:52hdbngr has quit [Ping timeout: 480 seconds]
17:00hdbngr has joined #asahi-dev
17:09hdbngr has quit [Ping timeout: 480 seconds]
17:10hdbngr has joined #asahi-dev
17:18hdbngr has quit [Ping timeout: 480 seconds]
17:27hdbngr has joined #asahi-dev
17:35hdbngr has quit [Ping timeout: 480 seconds]
17:37ipatch has quit [Read error: Connection reset by peer]
17:43hdbngr has joined #asahi-dev
17:44ipatch has joined #asahi-dev
17:58seb_ has joined #asahi-dev
18:41jmax has joined #asahi-dev
18:46roxfan has joined #asahi-dev
18:49jmax has quit [Ping timeout: 480 seconds]
18:53hdbngr has quit [Ping timeout: 480 seconds]
19:02hdbngr has joined #asahi-dev
19:10hdbngr has quit [Ping timeout: 480 seconds]
19:11hdbngr has joined #asahi-dev
19:12ipatch has quit [Ping timeout: 480 seconds]
19:19hdbngr has quit [Ping timeout: 480 seconds]
19:27hdbngr has joined #asahi-dev
19:36hdbngr has quit [Ping timeout: 480 seconds]
19:36hdbngr has joined #asahi-dev
19:45hdbngr has quit [Ping timeout: 480 seconds]
19:52hdbngr has joined #asahi-dev
20:01hdbngr has quit [Ping timeout: 480 seconds]
20:10hdbngr has joined #asahi-dev
20:19hdbngr has quit [Ping timeout: 480 seconds]
20:29hdbngr has joined #asahi-dev
20:35okb_ has quit [Ping timeout: 480 seconds]
20:37hdbngr has quit [Ping timeout: 480 seconds]
20:45hdbngr has joined #asahi-dev
20:53hdbngr has quit [Ping timeout: 480 seconds]
21:01hdbngr has joined #asahi-dev
21:03WindowPain has quit [Read error: Connection reset by peer]
21:03WindowPain has joined #asahi-dev
21:06___nick___ has quit [Remote host closed the connection]
21:09hdbngr has quit [Ping timeout: 480 seconds]
21:10ipatch has joined #asahi-dev
21:12hdbngr has joined #asahi-dev
21:20hdbngr has quit [Ping timeout: 480 seconds]
21:27andymandias has quit [Read error: Connection reset by peer]
21:29hdbngr has joined #asahi-dev
21:35seb_ has quit [Quit: Konversation terminated!]
21:38andymandias has joined #asahi-dev
21:38hdbngr has quit [Ping timeout: 480 seconds]
21:46hdbngr has joined #asahi-dev
21:56hdbngr has quit [Ping timeout: 480 seconds]
22:05hdbngr has joined #asahi-dev
22:07jmax has joined #asahi-dev
22:10pb17 has quit [Ping timeout: 480 seconds]
22:15jmax has quit [Ping timeout: 480 seconds]
22:18pb17 has joined #asahi-dev
22:21hdbngr has quit [Ping timeout: 480 seconds]
22:22Larwive has joined #asahi-dev
22:23Larwive has quit [Remote host closed the connection]
22:23jmax has joined #asahi-dev
22:29okb_ has joined #asahi-dev
22:31jmax has quit [Ping timeout: 480 seconds]
22:31hdbngr has joined #asahi-dev
22:40hdbngr has quit [Ping timeout: 480 seconds]
22:44okb_ has quit [Read error: Connection reset by peer]
22:47hdbngr has joined #asahi-dev
22:56hdbngr has quit [Ping timeout: 480 seconds]
23:05hdbngr has joined #asahi-dev
23:13hdbngr has quit [Ping timeout: 480 seconds]
23:14hdbngr has joined #asahi-dev
23:22hdbngr has quit [Ping timeout: 480 seconds]
23:30hdbngr has joined #asahi-dev
23:38hdbngr has quit [Ping timeout: 480 seconds]
23:46hdbngr has joined #asahi-dev
23:52mike-p has quit [Ping timeout: 480 seconds]
23:54hdbngr has quit [Ping timeout: 480 seconds]
23:55mike-p has joined #asahi-dev
23:59hdbngr has joined #asahi-dev
…