#
#asahi-dev · 2026-01-23 18:27
alxdrlquestion for you all : I'm looking for a recipe to boot the stock Fedora kernel image (PE format) using m1n1 proxyclient
#asahi-dev · 2026-01-23 18:27
alxdrlo/ exciting bringup session, nice to see some progress there, congrats!
#asahi-dev · 2026-01-23 15:33
svenwe don’t really know how pmgr works there I think
#asahi-dev · 2026-01-23 15:33
svenit won’t work on m4 fwiw, iirc there are missing references in the adt
#asahi-dev · 2026-01-23 15:27
yukawhen the pmgr_adt2dt.py produces bad power-domain references, this means there were bad references in the adt?
#asahi-dev · 2026-01-23 15:11
noopwafeljannau: some quick trial-and-error -> seemingly apcie_phy_sw needs to stay on
#asahi-dev · 2026-01-23 14:37
sven*install
#asahi-dev · 2026-01-23 14:37
sveni'll see if i can still that one on a third partition on my mac mini
#asahi-dev · 2026-01-23 14:36
svenso i guess we need a trace of macos >15 booting and see if it does anything different with nvme
#asahi-dev · 2026-01-23 14:36
jannauunless there is just something we can do in m1n1 to make the current driver work
#asahi-dev · 2026-01-23 14:33
sven:(
#asahi-dev · 2026-01-23 14:33
jannausven: I only see m1n1 rewriting the compatible based on the system fw version as mostly failsafe solution
#asahi-dev · 2026-01-23 14:32
jannauthe is different from the nvme coproc crash I saw on m3, pmgr powering something down it shouldnt sounds plausible
#asahi-dev · 2026-01-23 14:31
sventhat's gonna be very annoying to deal with
#asahi-dev · 2026-01-23 14:31
svenugh
#asahi-dev · 2026-01-23 14:31
jannauthe nvme init SError is at the latest in the macos 15.1.1 firmware, even on M1
#asahi-dev · 2026-01-23 14:30
noopwafelnow I guess I get to work out how to make a partition for linux alongside the xnu one :)
#asahi-dev · 2026-01-23 14:29
svenah
#asahi-dev · 2026-01-23 14:29
noopwafelin backlog - this happened to me, but only because pmgr was powering off something it shouldn't
#asahi-dev · 2026-01-23 14:29
svenhmmmm okay, weird
#asahi-dev · 2026-01-23 14:29
noopwafelsven: ah that makes sense. I found a "<jannau> nvme coproc crashes on m3/14.8.3
#asahi-dev · 2026-01-23 14:27
mazs/the the/for the/
#asahi-dev · 2026-01-23 14:27
mazchaos_princess: control the interrupt masks the the EL1 timers, amongst other things.
#asahi-dev · 2026-01-23 14:27
sveniirc someone mentioned that it breaks with 15+ (or was it 26+)?
#asahi-dev · 2026-01-23 14:26
noopwafelsven: 14.8.3.
#asahi-dev · 2026-01-23 14:26
svenwhich macos are you on? (the one where you replaced xnu with m1n1)
#asahi-dev · 2026-01-23 14:26
chaos_princesswhat does SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 do?
#asahi-dev · 2026-01-23 14:26
svencould be a different firmware version
#asahi-dev · 2026-01-23 14:25
noopwafelit does.. unfortunately it just works(tm) using the original APPLE_ANS2_UNKNOWN_CTRL field for me, I dont' think any of my changes are meaningful/relevant
#asahi-dev · 2026-01-23 14:24
mazyuka: it's only used with KVM to context-switch the guest timers. nothing will break until then.
#asahi-dev · 2026-01-23 14:23
yukamaz: do we need to set SYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 during run-time for kvm? or just initialize them with the correct values
#asahi-dev · 2026-01-23 14:23
yukanice!
#asahi-dev · 2026-01-23 14:23
svensounds like nvme works for you :D
#asahi-dev · 2026-01-23 14:23
noopwafel[ 0.567689] nvme0n1: p1 p2 p3 p4
#asahi-dev · 2026-01-23 14:18
yukamaz: your analysis was correct. commenting out the is_kernel_in_hyp_mode() part of aic_init_cpu works
#asahi-dev · 2026-01-23 14:14
noopwafeland no SError for me..
#asahi-dev · 2026-01-23 14:12
noopwafelsven: no I just screwed up the device tree, but the error message is suppressed because the apple mailbox driver returns -EPROBE_DEFER if there's no devicetree node
#asahi-dev · 2026-01-23 14:12
noopwafel(well, sabotaged the power downs)
#asahi-dev · 2026-01-23 14:11
noopwafelok, I sabotaged pmgr and now no link timeout
#asahi-dev · 2026-01-23 14:11
svennoopwafel: sounds like some dependency of mbox (power domain maybe?) hasn't probed yet
#asahi-dev · 2026-01-23 14:11
svenkeep in mind that apple likes to lie in the ADT. so even though they claim aicv3 it may actually be aicv3.5 or aicv3 but soc-specific #ifdefs in the driver
#asahi-dev · 2026-01-23 13:58
noopwafeland now \o/ link timeout
#asahi-dev · 2026-01-23 13:56
noopwafelhmm, apple_mbox_get returns -EPROBE_DEFER which means I don't get a nice error when I forgot the mbox in the dts, are there really cases where we might get a mbox node after initial boot?
#asahi-dev · 2026-01-23 13:53
mazbut the MSR UNDEFs.
#asahi-dev · 2026-01-23 13:53
mazactually, the register exists, as we do an MRS from the same one 3 instructions before.
#asahi-dev · 2026-01-23 13:50
mazeither they now completely prevent accessing this (which can be sidetracked but will also kill KVM on this HW), or they have moved the functionnality somewhere else.
#asahi-dev · 2026-01-23 13:48
yukayes
#asahi-dev · 2026-01-23 13:47
mazare you booting at EL2?
#asahi-dev · 2026-01-23 13:47
mazSYS_IMP_APL_VM_TMR_FIQ_ENA_EL2 seems to be the guilty one.
#asahi-dev · 2026-01-23 13:47
yukaIt's still an AICv3, but we're running in the new "m1n1/Linux" mode where they lock down a lot of the Apple-specific implementation registers

plus ›