#
✕ nick:jannau
#asahi-dev · 2026-10-02 21:20
jannaufixing SPMI usb in uefi-only: https://github.com/AsahiLinux/asahi-installer-data/pull/21
#asahi-dev · 2026-10-02 20:01
jannauyuka: looking at the j773s/j614s/j614c template adt MSR1 is parent of MSR1_DART and the latter is clock/power-gate of dart-scaler1 but both m4 pro and max have scaler0 and scaler1
#asahi-dev · 2026-10-02 19:53
jannauyuka: msr1 appears to be the the scaler or at least related to it. possible that m4 pro has only one of those and m4 max has two
#asahi-dev · 2026-10-02 19:20
jannausven: did you omit the M3* nvme series because the the ans2 dt-bindings weren't picked up in nvme?
#asahi-dev · 2026-10-02 19:03
jannauvenc1_sys is probably only present on M4 Max. at least apple's M4 Pro/Max press release mentions "M4 Max includes two video encode engines"
#asahi-dev · 2026-10-02 19:00
jannauI think sven said the M4 Pro mini uses only dcpext* for its 3 supported displays. that would explain why disp_sys is absent on that device, compare m2 ultra which also only uses dcpext*
#asahi-dev · 2026-10-02 18:58
jannauthe isp ones are not useable on desktop devices. we disable (or enable) them based on whether the device has a camera
#asahi-dev · 2026-10-02 18:54
jannauyuka: aren't the *_SYS ones "no_ps: True"? in that case they are no powerstate power-domains and we have omitted them from the .dtsi. At least I did for M3*
#asahi-dev · 2026-10-02 18:21
jannaukettenis: The relicense commit message isn't what I would have expected. The intention is to signal that future contributions will GPL2+ licensed. Combining MIT and GPL2+ licensed code is possible and the whole program is then GPL2+
#asahi-dev · 2026-09-30 09:29
jannauyes, using the _EL1 versions fixes boot under the HV
#asahi-dev · 2026-09-30 09:15
jannaubisected to "kboot: add reserved CTRR_M4 region"
#asahi-dev · 2026-09-30 09:08
jannaustill there with macos 26.7.1: guest exception (ESR = 0x5a000000, FAR = 0x3ad200020 (uart0))
#asahi-dev · 2026-09-30 08:46
jannauI hit HV issues testing #689 on m4/m4 pro with early macos 26.x versions and current m1n1
#asahi-dev · 2026-09-28 11:15
jannaudt-binding, driver and dts chnages to fix this properly. dts changes alone "fix" it since the power-domains are enabled on boot
#asahi-dev · 2026-09-28 09:55
jannauworks when aic on the second die is not turned off
#asahi-dev · 2026-09-28 09:50
jannaueven with pd_ignore_unused
#asahi-dev · 2026-09-28 09:49
jannaulooks power-state related. something in pmgr1_die1 breaks it
#asahi-dev · 2026-09-28 09:21
jannaustarts working with an empty second soc node
#asahi-dev · 2026-09-28 09:20
jannauI don't see how that would suddenly break late during boot
#asahi-dev · 2026-09-28 09:02
jannautimer FIQs are still delivered
#asahi-dev · 2026-09-28 08:36
jannauhuh, they seem to break later as well. I just had a pending smc mbox irq in addition to the uart one
#asahi-dev · 2026-09-28 08:31
jannauother irqs (spmi and smc mbox) work
#asahi-dev · 2026-09-28 08:30
jannauthe exact same kernel / mini / rootfs works on m3 max
#asahi-dev · 2026-09-28 08:28
jannauuserspace is a minimal alpine rootfs which spawns getty
#asahi-dev · 2026-09-28 08:27
jannauthis is broken with and without the hypervisor
#asahi-dev · 2026-09-28 08:27
jannauany ideas how irqs might break on m3 ultra? uart0 irqs are not read. This doesn't seem to be a hw problem. the irq is unmasked and pending (reading the event reg from the HV)
#asahi-dev · 2026-09-27 16:06
jannauthe write to (cpu_start_base + 0x4) is clearly bad on SoCs with 6 core clusters. should strace it on M3*
#asahi-dev · 2026-09-27 16:04
jannaubased on the pmgr ADT CPU start might have changed on T6050. T8152 still has misc-cores-offset
#asahi-dev · 2026-09-27 16:03
jannauyuka: I'm suspicious because (0x280600000 + 0x88000) + [0, 4] both read 0x3fffe after reset. those read 0x0 on M3 Max (with the correct PMGR reg)
#asahi-dev · 2026-09-27 15:06
jannaugrub issue reported in https://gitlab.freedesktop.org/gnu-grub/grub/-/work_items/90
#asahi-dev · 2026-09-27 14:49
jannausigh: "Try allocating in the lower 4GB first, and limit arm64 allocations to the 4GB boundary. (091e50562, 1cae86131)" from grub 2.16
#asahi-dev · 2026-09-27 14:40
jannaunickchan: thanks. I meant to ping you in the PR and forgot
#asahi-dev · 2026-09-27 14:34
jannaupmgr.misc-cores-offset
#asahi-dev · 2026-09-27 14:33
jannauthe CPU start offset seems to be in pmgr.misc-cores, unfortunately no such property on t6050
#asahi-dev · 2026-09-27 13:42
jannau"write32(cpu_start_base + 0x4, 1 << (4 * cluster + core));" looks very broken for clusters with 6 CPU cores
#asahi-dev · 2026-09-27 13:42
jannauyuka: are you sure t6050 uses the same CPU start offset as t6031...? pmgr_reg + CPU_START_OFFSET + 4 does not read 0x0
#asahi-dev · 2026-09-27 09:28
jannausure
#asahi-dev · 2026-09-26 19:39
jannauamarioguy: parent_addr for MMIO? "bus_addr = 0x0000000000000000 parent_addr = 0x0000000200000000 size = 0x0000000400000000"
#asahi-dev · 2026-09-26 18:40
jannauidentical MIDR
#asahi-dev · 2026-09-26 18:35
jannauM6 P and M cores have the same CPU part number
#asahi-dev · 2026-09-26 17:24
jannausmp_start_secondaries() works
#asahi-dev · 2026-09-26 17:22
jannau"fixing" pmgr is trivial: replace "/arm-io/pmgr" with "/arm-io/pmgr-child". why apple?!
#asahi-dev · 2026-09-26 17:01
jannauwhy would the password not work? subtly breaking sep?
#asahi-dev · 2026-09-26 17:00
jannauwould make sense if that makes dcp0 more power-efficient than dcpext for notebooks
#asahi-dev · 2026-09-26 16:58
jannauI suspect dcp0 is a less powerful display controller only good enough for the 24-inch imac display and not supporting 6k resolution
#asahi-dev · 2026-09-26 16:56
jannauapple already omits dcp0 from the m2 ultra as they have enough dcpexts there
#asahi-dev · 2026-09-26 16:55
jannauwhy does it have 4 dcpexts if it only supports 3 simultaneous displays?
#asahi-dev · 2026-09-26 16:44
jannauI suppose that is all using dptx. dcp does dptx on M1 mini's HDMI port
#asahi-dev · 2026-09-26 16:37
jannaudart,gen3 is different. SErrors when I try to handle it as t8110 dart. At least the first 4 param regs look mostly the same
#asahi-dev · 2026-09-26 16:35
jannauunkown, I need to fix pmgr first

plus ›