#
✕ nick:yuka
#asahi-dev · 2026-07-26 15:14
yukasome changes to cs-sw to (configurably) auto-enter debugusb and enter dfu
#asahi-dev · 2026-07-26 11:45
yukaCan I use it for tipd (where I don't know the location of all the irq regs) on M5?
#asahi-dev · 2026-07-26 11:45
yukahow bad is polled mode?
#asahi-dev · 2026-07-26 10:22
yukaso I think that will require some changes
#asahi-dev · 2026-07-26 10:20
yukat6040 has tunable_CIO4PLL_CORE
#asahi-dev · 2026-07-26 09:40
yukayou don't care whether the macos is ugly when there is no macos
#asahi-dev · 2026-07-26 07:48
yukaM5 Pro has sart v4 and I haven't looked into that yet
#asahi-dev · 2026-07-26 07:48
yukaDoes anyone have a base M5 at hand to test nvme for me?
#asahi-dev · 2026-07-26 07:08
yukawere you just trying to speed it up?
#asahi-dev · 2026-07-26 07:07
yukaout of curiosity what did you add from the booting system yesterday to "EL0 wants to update pagetables with simd stores"?
#asahi-dev · 2026-07-25 23:17
yuka. o O ( sleep 5; reset_dwc3 )
#asahi-dev · 2026-07-25 23:17
yukaso there needs to be some other indication of the hub becoming available
#asahi-dev · 2026-07-25 23:17
yukaalthough that will of course also break things which are plugged into the second port at boot
#asahi-dev · 2026-07-25 23:16
yukaiirc the hub is also not listed in macos until you plug something into either slot, which speaks for the hpm mux
#asahi-dev · 2026-07-25 23:16
yukaso when I just init the dwc3 on atcphy probe, it doesn't detect the hub, and there is no indication of when it's available that I know of
#asahi-dev · 2026-07-25 23:15
yukaproblem is... the hub is not fast enough to boot
#asahi-dev · 2026-07-25 23:05
yukaso can we introduce some usb-2-always-on mode?
#asahi-dev · 2026-07-25 23:03
yukathat's what the linux driver does
#asahi-dev · 2026-07-25 23:03
yukaexactly
#asahi-dev · 2026-07-25 23:02
yukaI can try to get a trace for exactly this scenario
#asahi-dev · 2026-07-25 23:01
yukapretty sure they do some magic to prevent that
#asahi-dev · 2026-07-25 23:01
yukayes, and if they keep up the usb 2.0 part during that
#asahi-dev · 2026-07-25 23:00
yukado you mean if the port 1 device briefly disconnects?
#asahi-dev · 2026-07-25 23:00
yukaI'm pretty sure they spent a lot of time making this work
#asahi-dev · 2026-07-25 22:58
yukasince there is only one port which supports usb3, there is only one atcphy
#asahi-dev · 2026-07-25 22:58
yukayup
#asahi-dev · 2026-07-25 22:57
yukawhen I wired port 1 to the (only) dwc3, it kinda worked as long as I first plugged in a device into port 1 before plugging a second device into port 2
#asahi-dev · 2026-07-25 22:56
yukaso it never really needs a reset
#asahi-dev · 2026-07-25 22:56
yukawell port 1 is usb2 only
#asahi-dev · 2026-07-25 22:55
yukaxD
#asahi-dev · 2026-07-25 22:54
yukabut only usb2 goes over the hub
#asahi-dev · 2026-07-25 22:54
yukayes
#asahi-dev · 2026-07-25 22:53
yukathe problem is that currently there is no proper way to describe in the adt that a cable plug on _either_ of the ports should reset/re-enumerate dwc3
#asahi-dev · 2026-07-25 22:53
yukathe glue driver mentions something about DWC3 being shut down when no cable is connected
#asahi-dev · 2026-07-25 22:52
yukaI think this logic is missing in the dwc3-apple glue driver
#asahi-dev · 2026-07-25 22:52
yukaor do we shut it down when no cable is connected to either of the ports
#asahi-dev · 2026-07-25 22:52
yukaOk, so the question is: does dwc3 just keep running with the usb2 hub enumerated?
#asahi-dev · 2026-07-25 22:45
yukasorry I meant no hpm remote-port
#asahi-dev · 2026-07-25 22:45
yukathat's not possible with the apple glue driver?
#asahi-dev · 2026-07-25 22:45
yukato dwc3
#asahi-dev · 2026-07-25 22:44
yukawhat happens if no atcphy is connected?
#asahi-dev · 2026-07-25 22:44
yukaAh right
#asahi-dev · 2026-07-25 22:44
yukait's there, but there is no obvious signal when it's booted
#asahi-dev · 2026-07-25 22:44
yukat8140 does not need anything to enable the hub
#asahi-dev · 2026-07-25 22:43
yukaokay but then I look at the mac studio
#asahi-dev · 2026-07-25 22:42
yukausb-drd2 has usb[23]-hub-port[12]
#asahi-dev · 2026-07-25 22:42
yukait's a hub
#asahi-dev · 2026-07-25 22:42
yukaand I did not see any xhci controller in the lspci listing
#asahi-dev · 2026-07-25 22:41
yukaHuh I do not see anything xhci in the j773g adt
#asahi-dev · 2026-07-25 22:41
yukaAhh possible

plus ›