#
✕ nick:yuka
#asahi-dev · 2026-07-25 22:41
yukabut 5 usb typec ports
#asahi-dev · 2026-07-25 22:40
yukathe m4 mac mini only has 3 hpms
#asahi-dev · 2026-07-25 22:40
yukaand also m4 mac mini I think?
#asahi-dev · 2026-07-25 22:40
yukaI'm not sure what is the best way to model it in the dt (I do not see the hubs on any of the other models in the dts, but those also do not have such a cursed setup)
#asahi-dev · 2026-07-25 22:39
yukathere is also a hub in between and currently it only gets detected (via dwc3 reset) once I pug something into the rear port, since that's the only one I have fully described in the device tree
#asahi-dev · 2026-07-25 22:38
yukasad
#asahi-dev · 2026-07-25 22:38
yukais that signed?
#asahi-dev · 2026-07-25 22:37
yukaactually...
#asahi-dev · 2026-07-25 22:37
yukabut I guess the ace firmware is then programmed in a way that it does not try to negotiate usb4
#asahi-dev · 2026-07-25 22:37
yukaexcept that it has no usb4 tunables
#asahi-dev · 2026-07-25 22:37
yukat8122 atcphy also works fine on t8140 (it has compatible t8130)
#asahi-dev · 2026-07-25 21:32
yukaand nvme + 0x1208 / 0x1200 (still got to find names for them) is also an M4+ thing
#asahi-dev · 2026-07-25 21:32
yukasplitting up the offsets of nvme and nvmmu into two regs is an M4+ thing
#asahi-dev · 2026-07-25 21:31
yukaskipping APPLE_ANS_LINEAR_SQ, APPLE_ANS_UNKNOWN_CTRL & nvme_set_queue_count is FW 26.x thing (needed on M3 with 26.x too)
#asahi-dev · 2026-07-25 21:29
yukathe hacks are here: https://cyberchaos.dev/yuka/linux/-/commit/4d9e35e5d9b01a4b711d654e252d4a9e902e7fcc
#asahi-dev · 2026-07-25 21:19
yukaand nvme_set_queue_count is a command via the admin queue
#asahi-dev · 2026-07-25 21:19
yukathe trace I have covers only the mmio address space and no the queues
#asahi-dev · 2026-07-25 21:14
yukaOn A18 Pro too
#asahi-dev · 2026-07-25 21:09
yukaseems to work though
#asahi-dev · 2026-07-25 21:09
yukaI do not like that this involves commenting out "nvme_set_queue_count"
#asahi-dev · 2026-07-25 21:08
yukaand M4 too
#asahi-dev · 2026-07-25 21:08
yukaHmm, I was able to get M3 nvme working with 25.5 fw both in m1n1 and linux
#asahi-dev · 2026-07-25 21:01
yukain the boot log
#asahi-dev · 2026-07-25 21:00
yukam1n1 should tell you the system fw?
#asahi-dev · 2026-07-25 20:29
yukanice...
#asahi-dev · 2026-07-25 20:29
yukaThis is emulating SPRR on a device which would already have it?
#asahi-dev · 2026-07-25 19:20
yukanot caused the wdt thankfully
#asahi-dev · 2026-07-25 19:20
yukaBtw, the reboot after 3 minutes issue I had earlier was fixed my marking ps_ans as always-on
#asahi-dev · 2026-07-25 18:49
yukathank you!
#asahi-dev · 2026-07-25 17:26
yukathese SErrors are actually async though so I don't know yet which write triggered it
#asahi-dev · 2026-07-25 17:16
yukapcie config + 0x44
#asahi-dev · 2026-07-25 17:15
yukaearlier:
#asahi-dev · 2026-07-25 17:15
yukapcie config + 0x200068
#asahi-dev · 2026-07-25 17:15
yukaI had one earlier too which I was able to work around
#asahi-dev · 2026-07-25 17:15
yukapcie config space
#asahi-dev · 2026-07-25 17:14
yukathen SError
#asahi-dev · 2026-07-25 17:14
yukait works until I set the network interface to up %)
#asahi-dev · 2026-07-25 17:13
yukathe iommu-map was correct
#asahi-dev · 2026-07-25 17:13
yukathe regs of the darts were wrong
#asahi-dev · 2026-07-25 17:12
yukait works!
#asahi-dev · 2026-07-25 17:05
yukat6020-j474s: port01 is unused, remove the PCIe sdhci0 node from t600x-j375.dtsi and adjust the iommu-map.
#asahi-dev · 2026-07-25 17:05
yukait was one of the Pro variants
#asahi-dev · 2026-07-25 17:05
yukaAha!
#asahi-dev · 2026-07-25 17:04
yukaI swear one of the mac minis had the port1 disabled, and then overrides the iommu-map like this
#asahi-dev · 2026-07-25 17:03
yukaehhh
#asahi-dev · 2026-07-25 17:03
yuka*t8112-j473
#asahi-dev · 2026-07-25 17:03
yukat8103-j457
#asahi-dev · 2026-07-25 17:02
yukawhich one was it
#asahi-dev · 2026-07-25 17:02
yukasorry
#asahi-dev · 2026-07-25 17:02
yukaI will try what you pasted, but I'm following t8103-j274.dts

plus ›