#
#asahi-dev · 2026-07-31 10:42
svenuhhh… no idea, possibly not since there’s not comment there
#asahi-dev · 2026-07-31 10:42
chaos_princesssven: is this intentional? https://github.com/AsahiLinux/m1n1/blob/main/src/kboot_atc.c#L170 . All other instances of AUS_VREG_TRIM have length at 5
#asahi-dev · 2026-07-31 10:27
flokliI can reply, yes. I'd probably not want to rely on nul bytes accidentially working as a separator.
#asahi-dev · 2026-07-31 10:27
flokliWe have some mechanism to merge dirs at runtime, and maybe can use that mechanism, but other distros might not have the same option.
#asahi-dev · 2026-07-31 10:25
flokliThis is a nixos thingie for us, but it might also become an issue for some image-based distros.
#asahi-dev · 2026-07-31 10:23
jannau"$FIRST_PATH\0$SECOND_PATH" might work but replying that nixos has already an alternative use for this would be appreciated
#asahi-dev · 2026-07-31 10:23
chaos_princessis this a nixos thingy
#asahi-dev · 2026-07-31 10:20
floklimmpf, we already use the first knob to point to an immutable store path.
#asahi-dev · 2026-07-31 10:18
chaos_princessflokli: https://lore.kernel.org/asahi/2026073008-crane-jolly-2204@gregkh/T/#mb073990c1131b43a3f45fde8efc247f28ed92970
#asahi-dev · 2026-07-31 10:17
flokliI also spoke with yuka a bit, and after reading on https://docs.kernel.org/driver-api/firmware/fw_search_path.html as well we thought maybe just making that take a list would be another option.
#asahi-dev · 2026-07-31 10:16
flokliSon_Goku: following up on https://oftc.catirclogs.org/asahi-dev/2026-07-06#1783361776-1783363807; , do you have that firmware patch somewhere?
#asahi-dev · 2026-07-31 08:29
svenSounds cheap enough to try, let’s see once I’m back home this evening :)
#asahi-dev · 2026-07-31 08:28
mmediouni[m]maybe you want to try that one (which I didn't bother tracking down...)
#asahi-dev · 2026-07-31 08:28
mmediouni[m]sven: a hack in the QEMU emulation that is still there: not injecting any interrupts while the guest is running in GL
#asahi-dev · 2026-07-31 07:51
sventhis is gonna be annoying i think
#asahi-dev · 2026-07-31 07:51
svenas expected the current sprr/gxf emulator isn't accurate enough :(
#asahi-dev · 2026-07-31 07:51
sven[cpu0] [SPTM] "VIOLATION_ILLEGAL_DISPATCH_ENTRY_POINT": "validate_dispatch_entry_addr(sptm_validation.h:1406) - caller_domain(0x1), entry_addr(0xfffffe0018ab0000)
#asahi-dev · 2026-07-31 07:51
sven[cpu0] SPTM breakpoint: panic at 0xfffffff0270f395c
#asahi-dev · 2026-07-30 18:23
svenah. i've only been using this as a target
#asahi-dev · 2026-07-30 18:22
chaos_princessif you use that box as a host machine - 27 sometimes fails to connect to m1n1 console, failing with timeout in iface.nop()
#asahi-dev · 2026-07-30 18:22
sveninstalling it requires connecting a screen + mouse + keyboard and all that to the mac mini
#asahi-dev · 2026-07-30 18:22
svensure!
#asahi-dev · 2026-07-30 18:21
chaos_princessdo you want one?
#asahi-dev · 2026-07-30 18:21
svenand now i'm also out of excuses to continue pushing back actually installing macos27 any longer :(
#asahi-dev · 2026-07-30 18:20
svenactually loading all the components was the most tricky part but i got that from the msc student who's working on doing this with NV on M2+
#asahi-dev · 2026-07-30 18:17
svenwell, gl1 instead of gl2 actually
#asahi-dev · 2026-07-30 18:17
sveni just patched enough to convince it to run in el1 instead of el2
#asahi-dev · 2026-07-30 18:17
svenno, this is with hardware gxf/sprr
#asahi-dev · 2026-07-30 18:16
chaos_princessand _el1 from gl to also hvc?
#asahi-dev · 2026-07-30 18:15
svenand the kext fail because they see a ADT that's a few years old instead of the 27 one
#asahi-dev · 2026-07-30 18:15
sveni essentially just patched all _el12 to _el1 and patched some _el2 regs to hvc
#asahi-dev · 2026-07-30 18:14
sventxm is running as well
#asahi-dev · 2026-07-30 18:14
svenyuup
#asahi-dev · 2026-07-30 18:14
chaos_princessso it completed sptm and core xnu initialization and started loading kexts?
#asahi-dev · 2026-07-30 18:12
sventhat's with hardware sprr/gxf though
#asahi-dev · 2026-07-30 18:10
svenit's not even the macos27 device tree but random patches applied to the 12.x one until sptm was happy
#asahi-dev · 2026-07-30 18:10
svenhttps://f.svpe.de/91ac7157b3b58a9b68611eef1208586284298ec300bdbc036b70b6a3f5cce4d2_xnu_sptm.txt hahahahaha, this had absolutely no right to get as far as it did :D
#asahi-dev · 2026-07-30 16:07
svenah crap, i think my cute "let's pretend _EL1 is actually _GL1 and hope nothing in the guarded world tries to actually read/write the real _EL1 bank" doesn't seem to hold anymore for SPTM :(
#asahi-dev · 2026-07-30 11:22
mildsunriseyeah, sorry, it's been so long that I didn't even realize we had a glue driver now, and was still looking for the patches in core.c/drd.c
#asahi-dev · 2026-07-30 11:20
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi/drivers/usb/dwc3/dwc3-apple.c#L344
#asahi-dev · 2026-07-30 11:20
chaos_princesshttps://github.com/AsahiLinux/linux/blob/asahi/drivers/usb/dwc3/dwc3-apple.c#L246
#asahi-dev · 2026-07-30 11:20
mildsunriseahhh it's been moved, txh
#asahi-dev · 2026-07-30 11:20
svenit's upstream now
#asahi-dev · 2026-07-30 11:20
sven*look
#asahi-dev · 2026-07-30 11:20
svenwe still do, looks for the dwc3 apple glue driver
#asahi-dev · 2026-07-30 11:20
chaos_princesswe do?
#asahi-dev · 2026-07-30 11:19
mildsunrisequestion, why are we no longer resetting the dwc3 between role changes? i no longer see sven's patch in asahi{,-wip}
#asahi-dev · 2026-07-29 20:11
chaos_princessat some point in the past i have looked into "why do you actually need feat_nv to do nv", and still remember some things
#asahi-dev · 2026-07-29 20:11
chaos_princessyea
#asahi-dev · 2026-07-29 20:11
svenboth xnu and sptm code being read-only makes that kinda painless

plus ›