#
✕ nick:yuka
#asahi-dev · 2026-06-05 21:10
yukaI already added it to tuxvdmtool today so it should be rather easy to copy that
#asahi-dev · 2026-06-05 19:20
yukaok so the spmi.c itself is already upstreamed. I would try to re-do the tps6598 transport part based on my tuxvdmtool code to stay clear of any copyright doubts
#asahi-dev · 2026-06-05 19:14
yukathx
#asahi-dev · 2026-06-05 19:11
yukamildsunrise, noopwafel: I couldn't immediately find any attempts to implement the spmi transport in m1n1, is this correct?
#asahi-dev · 2026-06-05 18:33
yukaI will test it later
#asahi-dev · 2026-06-05 18:33
yukaThen we also need to do that on the new spmi based ones, and then usb in u-boot might start working
#asahi-dev · 2026-06-05 18:33
yukaseems like it
#asahi-dev · 2026-06-05 18:29
yukadoes m1n1 do that via tps6598x_powerup?
#asahi-dev · 2026-06-05 18:28
yukaBut something needs to turn on the power?
#asahi-dev · 2026-06-05 18:25
yukaHow does usb work in u-boot? I can't find any drivers for the apple,cd321x in the u-boot tree
#asahi-dev · 2026-06-05 15:58
yukaon 26.5.1
#asahi-dev · 2026-06-05 15:58
yukaM3 is fine
#asahi-dev · 2026-06-05 15:37
yukaLet me check m3
#asahi-dev · 2026-06-05 15:36
yukaFW 26.5.1
#asahi-dev · 2026-06-05 15:32
yukaor nvme_base + NVME_ASQ
#asahi-dev · 2026-06-05 15:32
yukaSErrors when writing to nvme_base + NVME_MAX_PEND_CMDS_CTRL
#asahi-dev · 2026-06-05 15:31
yukaJust tried it again on the A18 Pro and I get errors in multiple place
#asahi-dev · 2026-06-05 15:30
yukaYes, that
#asahi-dev · 2026-06-05 15:29
yukaLater devices (or firmware) are substantially different I think
#asahi-dev · 2026-06-05 14:08
yukaon the kernel side
#asahi-dev · 2026-06-05 14:08
yukaI'll check which commits are required exactly
#asahi-dev · 2026-06-05 14:07
yukahttps://github.com/AsahiLinux/tuxvdmtool/pull/9
#asahi-dev · 2026-06-05 14:07
yukasven: it does work
#asahi-dev · 2026-06-05 09:01
yukabut indeed I have a /sys/kernel/debug/spmi-0/
#asahi-dev · 2026-06-05 09:01
yukaneed to figure that out
#asahi-dev · 2026-06-05 09:01
yukathe tipd-spmi probe also fails with -110 half of the time currently
#asahi-dev · 2026-06-05 08:52
yukaI'll look into it
#asahi-dev · 2026-06-05 08:52
yukaMaybe
#asahi-dev · 2026-06-05 08:51
yuka(https://cyberchaos.dev/yuka/linux/-/commits/tipd-spmi at least loads as a separate module on my system, and is able to turn on the 5V power)
#asahi-dev · 2026-06-05 08:50
yukaI'll try the sysfs route based on what I have
#asahi-dev · 2026-06-05 08:48
yukaSo probably a sysfs file for sending VDMs and one for setting the local mode?
#asahi-dev · 2026-06-05 08:48
yuka*could
#asahi-dev · 2026-06-05 08:48
yuka* for spmi
#asahi-dev · 2026-06-05 08:48
yukawould of course add a generalized userspace interface spmi
#asahi-dev · 2026-06-05 08:47
yukanot yet I guess
#asahi-dev · 2026-06-05 08:46
yukaFor spmi pd controllers we'll need a new interface to allow tuxvdmtool to send out VDMs, right?
#asahi-dev · 2026-06-05 08:39
yukaStanfordAppliedCyber: don't confuse cdc-acm and debugusb. For cdc-acm m1n1 directly drives the main usb phy itself and it appears like any usb-serial adapter on the other side. For debugusb it's a special apple thing and there's another microcontroller in the system doing usb to dockchannel uart internally.
#asahi-dev · 2026-06-04 18:12
yukaSpeakers are working nicely on t514m, thanks chaos_princess
#asahi-dev · 2026-06-04 11:49
yuka933 then
#asahi-dev · 2026-06-04 11:49
yukahttps://yuyu.yuka.dev/public/t6034-coremark.txt
#asahi-dev · 2026-06-04 11:45
yukaAh, no
#asahi-dev · 2026-06-04 11:44
yukaSo then my E-cores are 591
#asahi-dev · 2026-06-04 11:43
yukayou took the coremark number and then relativized them to 1024?
#asahi-dev · 2026-06-04 07:46
yukajannau: I think even mac os does no longer use CYC_OVRD on these? Do you mean ACC_OVRD?
#asahi-dev · 2026-06-03 22:01
yukaWorks with kisd
#asahi-dev · 2026-06-03 21:45
yukaTrue
#asahi-dev · 2026-06-03 21:45
yukaOhhh right
#asahi-dev · 2026-06-03 21:42
yukaSo I can not measure latencies of the boot core after switching away from it
#asahi-dev · 2026-06-03 21:41
yukaI think smp call is somehow broken after switch_boot_core
#asahi-dev · 2026-06-03 21:40
yukapresumably because the boot core is configure not to go to deep sleep

plus ›