#
✕ nick:jannau
#asahi-dev · 2026-05-31 08:41
jannauJamesCalligeros[m]: I don't remember and can't find traces
#asahi-dev · 2026-05-31 08:27
jannaunot to my knowledge, I'm not sure why we have broken t6031 cpufreq in tree
#asahi-dev · 2026-05-30 23:59
jannaumeasured upload speed around 10 mbps
#asahi-dev · 2026-05-30 12:52
jannaujust fixed together with a revert of the t6031 power-domain change
#asahi-dev · 2026-05-30 12:50
jannauyuka: sdcard breaks on m3 pro
#asahi-dev · 2026-05-30 12:46
jannauI tested all non-defined bits above 16 of HACR_EL2. none seems to trap AGTCNTRDIR or AHCR_EL2
#asahi-dev · 2026-05-30 12:45
jannauno. I suspect apcie_sys_ge is a leftover from M3 Ultra Mac Pro that leaked to M3 Max
#asahi-dev · 2026-05-30 12:38
jannauI'll test if it can trap AGTCNTRDIR (and itself)
#asahi-dev · 2026-05-30 12:33
jannauyuka: sure, pushed to asahi-wip
#asahi-dev · 2026-05-30 12:21
jannaubut yes, I agree it's not a good idea to set it during m3 hv setup
#asahi-dev · 2026-05-30 12:20
jannauany idea what AHCR is? Apple Hypervisor Configuration Register
#asahi-dev · 2026-05-30 12:15
jannaumacos does msr(AHCR_EL2, mrs(AHCR_EL2) | 0x1e)
#asahi-dev · 2026-05-30 12:13
jannauthat's AGTCNTRDIR*
#asahi-dev · 2026-05-30 11:45
jannaut8122 but I think there are similar across all devices since they have their own mmio region
#asahi-dev · 2026-05-30 11:41
jannauworking wlan on t6030 (m1n1 init seems to similar enough to t8122)
#asahi-dev · 2026-05-30 11:09
jannauyuka: it was before sending data to the target. I'm unsure wether it was a packet containing data from the target. it has the full address we need for sending data
#asahi-dev · 2026-05-30 11:06
jannauchadmed: I don't remember but probably on the hdmi port
#asahi-dev · 2026-05-30 10:48
jannauchadmed: iirc there was an interface that looked like an i2c bridge which worked at least for reading the edid
#asahi-dev · 2026-05-30 10:46
jannauI did not save them but I searched the packet data for the high bytes of the address (little endian)
#asahi-dev · 2026-05-30 10:42
jannauyuka: I've seen a packet from the device which has the correct address on some pro/max devices
#asahi-dev · 2026-05-30 10:10
jannauthis seems to be the least annoying solution
#asahi-dev · 2026-05-30 10:10
jannauI settled for adding additional macsmc-gpio instances to handle this. already running locally and writing commit messages right now
#asahi-dev · 2026-05-30 09:32
jannauack, those are the missing memory channels
#asahi-dev · 2026-05-30 09:03
jannausven: replied to the v3 mail. do you want to pick it up from the v2 series or shall I resend it
#asahi-dev · 2026-05-30 08:18
jannauno, I don't see apple,pmgr being picked up. no idea why I thought it was picked up and dropped it from v3
#asahi-dev · 2026-05-30 08:06
jannauat least dtbs_check complains about it in next-20260529
#asahi-dev · 2026-05-30 08:05
jannauthe apple,pmgr dt-binding change appears to be missing from next
#asahi-dev · 2026-05-30 08:04
jannauhmm, it's testing commit "[7324/9137] arm64: dts: apple: Initial t8122 (M3) device trees" so it's probably just missing the dt-binding changes that went through other trees
#asahi-dev · 2026-05-30 08:03
jannausven: I've seen it but I'm confused. the b4 branch passed with "apple,pmgr" and "apple,i2c" changes which ere already picked
#asahi-dev · 2026-05-29 17:33
jannauwe could switch to hex. I want to do that everytime I lookup smc GPIOs in the ADT
#asahi-dev · 2026-05-29 17:29
jannauyuka: it deals only with _arm_init and _configure_misc_apple_regs
#asahi-dev · 2026-05-29 17:28
jannaushould we add 32 or 256 to the GPIO numbers (if we want to avoid updating the bindings and add another GPIO cell)
#asahi-dev · 2026-05-29 17:25
jannauindeed, the gpios are wrong on t6030 as well
#asahi-dev · 2026-05-29 17:04
jannautesting would be appreciated since I haven't managed yet to boot macos fully
#asahi-dev · 2026-05-29 17:03
jannaunot sure what to do about "com.apple.kernel:_recount_transition" yet
#asahi-dev · 2026-05-29 17:02
jannauhttps://github.com/AsahiLinux/m1n1/pull/583 should make running macos in the hypervisor on M3 easier
#asahi-dev · 2026-05-28 21:07
jannauthey probably turn on if you clear APPLE_PMGR_AUTO_ENABLE as well
#asahi-dev · 2026-05-28 21:06
jannauit does: https://github.com/AsahiLinux/linux/blob/ea1ebe6e0347d315ad62efdae3f53272f7c4bbd5/drivers/pmdomain/apple/pmgr-pwrstate.c#L92 and other flags
#asahi-dev · 2026-05-28 21:01
jannauI'd do it in the mask32() which sets the target mode like linux does
#asahi-dev · 2026-05-28 20:54
jannauplease use t6031 for max/ultra. I would be surprised if we have to make distinctions between t6031 and t6034 (possibly with a few exceptions in m1n1)
#asahi-dev · 2026-05-28 20:43
jannauack on die0
#asahi-dev · 2026-05-28 20:42
jannauignore apcie1 / ultra. I don't think we need it and it should be used for ssd nand
#asahi-dev · 2026-05-28 15:14
jannausklug: do you have journald? `journalctl -k -o short-monotonic --no-hostname -b-${N} -g dcp` probably will recover the failed log with the correct value of N. drop the "-o short-monotonic" to find the right boot by timestamp
#asahi-dev · 2026-05-28 15:12
jannauyes, I decided to ignore them to preserve the on-boot state but after clearing the AUTO_ENABLE bit they turn on as expected
#asahi-dev · 2026-05-28 15:10
jannauyuka: do you have MIDR part numbers for t6034? I suspect those are the same as t6031/t6032
#asahi-dev · 2026-05-28 15:09
jannaufor the linux devicetree I intend to use t6031 for {t6031, t6032, t6034}
#asahi-dev · 2026-05-28 15:06
jannauthe linux driver clears APPLE_PMGR_AUTO_ENABLE
#asahi-dev · 2026-05-28 15:06
jannauchaos_princess: failing pmgr init in m1n1? I did https://github.com/AsahiLinux/u-boot/commit/3b233f59d0b6b57eae5add46a6fa7787ea11388e in u-boot for apcie_st/gp power states
#asahi-dev · 2026-05-28 12:23
jannauthere's `-l` to log to files, note that not everything uses log. there are things only printed to the terminal
#asahi-dev · 2026-05-28 08:50
jannaumaz: uart over SBU works. over DATA should work as well since the port controller does the muxing

plus ›