2026-06-19
00:09hardy94 has quit [Remote host closed the connection]
00:14StanfordAppliedCyber[m]SMP WORKS AGAIN ON 26.6 BETA 2 :)
00:14StanfordAppliedCyber[m]okay, lesson learned, under no circumstances touch this 1tr object ever again
00:16StanfordAppliedCyber[m]knock wood this hypervisor works by end of this week, sptm doesn't have many changes from a quick look
00:19StanfordAppliedCyber[m]no sysreg regressions like in the 26.4.1 --> 26.5 either, ie, 26.5 locked a bunch of sysregs that were writable in 26.4.1 (notably, all the pac registers)
00:24MikeM64 has joined #asahi-dev
00:58hdbngr has joined #asahi-dev
01:13hdbngr has quit [Ping timeout: 480 seconds]
01:24hdbngr has joined #asahi-dev
01:32hdbngr has quit [Ping timeout: 480 seconds]
01:44StanfordAppliedCyber[m]what will be the path forward if we can't prevent the wfi loses register state thing? real psci?
01:44Pilot[PENMaxi][m] has left #asahi-dev [Kicked by @draupnir-fedora:rory.gay : spam]
01:47JamesCalligeros[m]well ersatz psci but yes
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:30tobhe has joined #asahi-dev
02:31hdbngr has joined #asahi-dev
02:37tobhe_ has quit [Ping timeout: 480 seconds]
02:39hdbngr has quit [Ping timeout: 480 seconds]
02:45integralpilot has joined #asahi-dev
02:53integralpilot has quit [Read error: Connection reset by peer]
03:15marvin24 has joined #asahi-dev
03:33hdbngr has joined #asahi-dev
03:42hdbngr has quit [Ping timeout: 480 seconds]
04:29StanfordAppliedCyber[m]and this would be implemented in m1n1 running in el2 presumably? would this work with kvm? this whole thing feels rather cursed but I suppose that's why we didn't do psci to start with
04:29eluks has quit [Remote host closed the connection]
04:30eluks has joined #asahi-dev
04:54StanfordAppliedCyber[m]XNU exclusively uses the 24mhz timer internally, only userspace as far as i can tell consumes the 1ghz timer, which conveniently can be turned off via the commpage
05:00hdbngr has joined #asahi-dev
05:08StanfordAppliedCyber[m]oh boy, apparently 26.6 did change sptm nontrivially
05:08hdbngr has quit [Ping timeout: 480 seconds]
05:23JamesCalligeros[m]lol, yes like i said i dont think emulating it is really a sustainable approach. all apple abis should be considered about as stable as russia's political situation
05:24hdbngr has joined #asahi-dev
05:25andymandias has quit [Remote host closed the connection]
05:25StanfordAppliedCyber[m]well, it's just another firmware ABI
05:25andymandias has joined #asahi-dev
05:26StanfordAppliedCyber[m]i agree it's instability is a virtual guarantee
05:26StanfordAppliedCyber[m]but we just pin a fw version that we want to support, get that sptm emulation to work, and then we can ignroe the drift, just as we have been
05:27StanfordAppliedCyber[m]also "nontrivial" likely means ~50 total lines of code across the entire emlator code base in this case, the fix i just made was literally 2 lines of code in the dart emulator
05:32JamesCalligeros[m]well the dcp iboot interface hasnt really changed so
05:32JamesCalligeros[m]but 50 lines is fine lol, the "oh boy" sold this as more consequential :P
05:32hdbngr has quit [Ping timeout: 480 seconds]
05:33StanfordAppliedCyber[m]i just like to complain a lot :)
05:34StanfordAppliedCyber[m]the only real bad unfixable problem i hit was the smp thing
05:34StanfordAppliedCyber[m]which thankfully appears to be a me problem that no one else working on the neo has hit
05:34StanfordAppliedCyber[m]sep was annoying but i got lucky in that it was self inflicted
05:38StanfordAppliedCyber[m]nah fixing kernel regressions
05:38StanfordAppliedCyber[m]i'm somewhere in late iokit init right now
05:39StanfordAppliedCyber[m]26.6 did change some stuff both sptm and nonsptm related
05:39StanfordAppliedCyber[m]it's not just plug and play
05:39StanfordAppliedCyber[m]but it's as good as you can ask for for a new macos version
05:40StanfordAppliedCyber[m]oh and the debugusb issue that is still unresolved, but i've found ways to workaround that one
06:00pb17 has quit [Ping timeout: 480 seconds]
06:01pb17 has joined #asahi-dev
06:23mattia013 has joined #asahi-dev
06:24hdbngr has joined #asahi-dev
06:33hdbngr has quit [Ping timeout: 480 seconds]
06:34sofus has joined #asahi-dev
07:25hdbngr has joined #asahi-dev
07:33hdbngr has quit [Ping timeout: 480 seconds]
07:40sveni'm working on psci via efi runtime services right now for the proper solution and it's not that much of a hack tbh
08:01foltz has quit [Quit: Ping timeout (120 seconds)]
08:01foltz has joined #asahi-dev
08:12hdbngr has joined #asahi-dev
08:21hdbngr has quit [Ping timeout: 480 seconds]
08:25bennofs has quit [Quit: Ping timeout (120 seconds)]
08:25bennofs has joined #asahi-dev
08:30turboretor has quit [Quit: The Lounge - https://thelounge.chat]
08:35hardy94 has joined #asahi-dev
08:36hardy94 has quit []
08:53hdbngr has joined #asahi-dev
08:59yukahmm interesting I can't reproduce the later smp crashs (after out patching the wfi) in the hv
09:02hdbngr has quit [Ping timeout: 480 seconds]
09:27troseman has quit [Ping timeout: 480 seconds]
09:37hdbngr has joined #asahi-dev
09:42sofus has quit [Quit: Lost terminal]
09:46hdbngr has quit [Ping timeout: 480 seconds]
10:00svenwonder if this is another missing barrier somewhere that we accidentally introduce or work around with the hv then :/
10:03sofus has joined #asahi-dev
10:05yukaif something is slightly slower on the hv the init functions which run into this might not run on the secondaries
10:23r0ni has quit [Ping timeout: 480 seconds]
10:37sofusany thoughts on my tunables approach? https://github.com/sofus13/avd-fw/commit/4f5e26ce9884d19bfd081e97db46b48659634406
10:44hdbngr has joined #asahi-dev
10:52hdbngr has quit [Ping timeout: 480 seconds]
10:58nimprod3l has joined #asahi-dev
11:32hdbngr has joined #asahi-dev
11:34lynndotpy72 has quit [Quit: bye bye]
11:35lynndotpy72 has joined #asahi-dev
11:41hdbngr has quit [Ping timeout: 480 seconds]
12:03hdbngr has joined #asahi-dev
12:16hdbngr has quit [Ping timeout: 480 seconds]
12:27hdbngr has joined #asahi-dev
12:36hdbngr has quit [Ping timeout: 480 seconds]
12:53nimprod3l has quit [Quit: Leaving]
12:54hdbngr has joined #asahi-dev
12:54hardy94 has joined #asahi-dev
12:59hardy94 has quit [Quit: hardy94]
13:00hardy94 has joined #asahi-dev
13:14hdbngr has quit [Ping timeout: 480 seconds]
13:29nela has quit [Quit: bye!]
13:41hdbngr has joined #asahi-dev
13:51hdbngr has quit [Ping timeout: 480 seconds]
13:55hdbngr has joined #asahi-dev
14:09hdbngr has quit [Ping timeout: 480 seconds]
14:15chadmed has quit [Quit: Konversation terminated!]
14:15chadmed has joined #asahi-dev
14:18nela has joined #asahi-dev
14:41hdbngr has joined #asahi-dev
14:49hdbngr has quit [Ping timeout: 480 seconds]
14:57hdbngr has joined #asahi-dev
15:04mripard has quit [Quit: WeeChat 4.9.0]
15:06hdbngr has quit [Ping timeout: 480 seconds]
15:13hdbngr has joined #asahi-dev
15:13ralim8 has quit [Quit: Ping timeout (120 seconds)]
15:14ralim8 has joined #asahi-dev
15:22hdbngr has quit [Ping timeout: 480 seconds]
15:49hdbngr has joined #asahi-dev
16:01sofus has quit [Ping timeout: 480 seconds]
16:05hdbngr has quit [Ping timeout: 480 seconds]
16:13hdbngr has joined #asahi-dev
16:14ipatch has quit [Ping timeout: 480 seconds]
16:22hdbngr has quit [Ping timeout: 480 seconds]
16:23hdbngr has joined #asahi-dev
16:32hdbngr has quit [Ping timeout: 480 seconds]
16:34hdbngr has joined #asahi-dev
16:42sofus has joined #asahi-dev
16:43mattia013 has quit [Remote host closed the connection]
16:44mini_ has quit [Quit: ZNC closing...]
16:44mattia013 has joined #asahi-dev
16:47mattia013 has quit [Remote host closed the connection]
17:14sofus has quit [Quit: Lost terminal]
17:23hdbngr has quit [Ping timeout: 480 seconds]
17:28ipatch has joined #asahi-dev
17:29mini has joined #asahi-dev
17:55mattia013 has joined #asahi-dev
17:57floklitried to boot in the hv on m4, but I'm hitting the for me still-disallowed SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 reg write
17:57sofus has joined #asahi-dev
18:09rodmac has joined #asahi-dev
18:36rodmac has quit [Quit: leaving]
18:41hdbngr has joined #asahi-dev
19:00pb17 has quit [Ping timeout: 480 seconds]
19:00pb17 has joined #asahi-dev
19:02nela has quit [Ping timeout: 480 seconds]
19:04nela has joined #asahi-dev
19:31lacamar_ has joined #asahi-dev
19:36lacamar has quit [Ping timeout: 480 seconds]
19:51midou has quit [Ping timeout: 480 seconds]
19:54r0ni has joined #asahi-dev
20:23StanfordAppliedCyber[m]i have some hacks around interrupt handling, but tbh it's not bad
20:23StanfordAppliedCyber[m]i jumped into this project without knowing the whole "modern apple devices lock out apple sysregs" thing so i just found ways to make do
20:28StanfordAppliedCyber[m]back to where i was on 26.5
20:30gargantua has joined #asahi-dev
20:32sofus has quit [Quit: leaving]
20:36gargantu1 has joined #asahi-dev
20:38gargantua has quit [Ping timeout: 480 seconds]
20:59StanfordAppliedCyber[m]assuming the aic register works and wfi still loses state on macos 26.6, would this be a find fw revision to target for linux?
20:59StanfordAppliedCyber[m]asking because i don't actually want to spend all my time writing tooling, i want to actually get linux to work on this thing, but if it's not a suitable target i won't spend as much time
21:00yukait's always difficult to tell which other parts might create problems in this version, but I guess we can make it work (judging from my current knowledge)
21:00yukathe tooling part is really important though, and it will also be helpful for many other devices
21:01StanfordAppliedCyber[m]that's why i'm doing it
21:02catred has quit [Remote host closed the connection]
21:09StanfordAppliedCyber[m]true, a18pro definitely works, m4 works (right?), m4 pro does not work and no one has checked max?
21:09StanfordAppliedCyber[m]how about m5, has anyone looked at that?
21:10jannauI've tagged asahi-7.0.13-1 nothing new except for different version of the M3 Pro/Max display power-domain fixes
21:12cyrinux949075 has quit []
21:13cyrinux949075 has joined #asahi-dev
21:19StanfordAppliedCyber[m]the following issue is some intermittent flake that occurs on roughly 40% of boots:... (full message at <https://matrix.org/oftc/media/v1/media/download/AalZDond9bsgr8hWXkhLqgiynIsXSdeKn1g-SceEMnrPPyVDREZmRbKAcyM_wWIZr63viZGNbNfYRomsXGPkeDBCefKdpI8AAG1hdHJpeC5vcmcvdHhMdm5sVWx0QmJnVVVHcnZiRU5NTkNh>)
21:20StanfordAppliedCyber[m]anyone have any idea what's up with this? it's an intermittent timeout, likely introduced due to timing side effects of the genter --> hvc patch i do, but anyone have any ideas on how to get rid of it? it's slowing down my iteration cycle significantly
21:21StanfordAppliedCyber[m]but i also don't really have anything concrete on it
21:30hdbngr has quit [Ping timeout: 480 seconds]
21:41marvin24 has quit [Ping timeout: 480 seconds]
22:02midou has joined #asahi-dev
22:25gargantu1 has quit [Ping timeout: 480 seconds]
23:10crabbedhaloablut has quit []
23:13crabbedhaloablut has joined #asahi-dev
23:19StanfordAppliedCyber[m]windowserver is alive, i just saw it take over the display, solution was just to disable medina by modifying the bplist for windowserver directly
23:19StanfordAppliedCyber[m]not quite at login window, but this feels good
23:20NiklasSheth[m]sick!
23:54hdbngr has joined #asahi-dev