#
#asahi-dev · 2026-05-29 10:07
yukadoesn't seem to matter
#asahi-dev · 2026-05-29 09:36
yukawait
#asahi-dev · 2026-05-29 09:36
yukaYes
#asahi-dev · 2026-05-29 09:36
chaos_princesshave you done this thing https://github.com/AsahiLinux/m1n1/blob/main/src/pcie.c#L427
#asahi-dev · 2026-05-29 09:35
yukabut I think M4 is the same
#asahi-dev · 2026-05-29 09:35
yukaA18 Pro
#asahi-dev · 2026-05-29 09:35
chaos_princesson?
#asahi-dev · 2026-05-29 09:34
yukachaos_princess: I can read (and apply) apcie-phy-ip-pll-tunables, but not apcie-phy-ip-auspma-tunables since everything beyond +0x8000 SErrors
#asahi-dev · 2026-05-29 09:20
JamesCalligeros[m]like on m3+
#asahi-dev · 2026-05-29 09:20
JamesCalligeros[m]i thought we confirmed that apple were moving tunables/fuses stuff to i/mboot a while ago
#asahi-dev · 2026-05-29 09:13
chaos_princesssomething tells me it is because iboot already did it
#asahi-dev · 2026-05-29 09:13
yukaSure, I will try
#asahi-dev · 2026-05-29 09:13
chaos_princesscan you read out the values that are already there?
#asahi-dev · 2026-05-29 09:13
yuka(no fuses either though)
#asahi-dev · 2026-05-29 09:12
yukasorry, phy-ip tunables
#asahi-dev · 2026-05-29 09:12
yukaeven though they exist
#asahi-dev · 2026-05-29 09:12
yukaOn A18 Pro, none of the phy-ip fuses are applied
#asahi-dev · 2026-05-29 08:56
JamesCalligeros[m]nice
#asahi-dev · 2026-05-29 08:56
yukaAnd thanks to StanfordAppliedCyber for the traces. I was more confident to give it another try.
#asahi-dev · 2026-05-29 08:55
yukaThe pcie code I had for A18 Pro since several weeks was working all along, I just didn't find the correct pwren pin
#asahi-dev · 2026-05-29 08:55
yuka 01:00.0 Class 0280: 14c3:7932
#asahi-dev · 2026-05-29 08:55
yuka~ # lspci
#asahi-dev · 2026-05-29 08:05
leiodruz: No comment intended on your question, but could reverse engineering AVE be a valid thesis subject as well? :)
#asahi-dev · 2026-05-28 22:40
druzsofus / others: I had been planning to do an h.264 AVD driver for my UiO master thesis with drm/accel and VA-API, didn't realize anyone was working it. Don't want to duplicate or step over any work. Is this still worth doing?
#asahi-dev · 2026-05-28 21:33
chaos_princessgood work
#asahi-dev · 2026-05-28 21:33
chaos_princesslol, this is almost exactly my local branch except for pmgr which i screwed up
#asahi-dev · 2026-05-28 21:29
yukahttps://github.com/AsahiLinux/linux/pull/504
#asahi-dev · 2026-05-28 21:29
yukahttps://github.com/AsahiLinux/m1n1/pull/581
#asahi-dev · 2026-05-28 21:07
yukayep, tried that
#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:04
yukait's very weird
#asahi-dev · 2026-05-28 21:04
yukabtw the devices still don't reach their enabled state immediately after, and mac os also doesn't poll for them
#asahi-dev · 2026-05-28 21:03
yukaSo Linux unconditionally clears these flags on each ps_set...?
#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 21:00
yukaI'm not yet sure
#asahi-dev · 2026-05-28 21:00
yukaIt might be more appropriate to do the clearing PMGR_WAS_{CLK,PWR}GATED in "Cleaning up device states"
#asahi-dev · 2026-05-28 20:57
yukaOk, changed the variant's name to T6031.
#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:52
chaos_princessmacos outright has separate kexts for them, so i'd expect some differences
#asahi-dev · 2026-05-28 20:51
yukaI have no idea how similar apcie,t6030 and apcie,t6031 are. For now I called the new variant T603X, but if I could get my hands on t6030 pcie traces I would double check if this needs to be handled separately.
#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 20:42
yukaOk. If we ignore the apcie1 on the M3 Ultra, I would put the pcie nodes in t6031-die0.dtsi
#asahi-dev · 2026-05-28 20:41
fl0_dyuka, sorry...
#asahi-dev · 2026-05-28 20:41
chaos_princessfeel free to send what you have working on pro/max, we will clean it up for ultra
#asahi-dev · 2026-05-28 20:41
yukaBelieve me, I stared at that for the last two hours
#asahi-dev · 2026-05-28 20:40
fl0_dah. I think comparing t602x stuff with the multi-die parts that jannau already did in bits/001-devicetree-m3 should help with layouting DT
#asahi-dev · 2026-05-28 20:40
chaos_princessi think the other half of the ssd hangs off apcie1 on ultras
#asahi-dev · 2026-05-28 20:39
StanfordAppliedCyber[m]oh btw yuka if traces would help lmk, more than happy to assist

plus ›