#asahi-dev · 2023-02-20 12:03
svenalso needs resets = <&ps_atc1_pcie>; in the DT #asahi-dev · 2023-02-20 12:02
svenhttps://f.svpe.de/878811a432bd414d3257a1feddc54018b11c000385e39184d74c6c8c4a21a26b_0001-WIP-PCI-apple-PMGR-reset-hack.patch#asahi-dev · 2023-02-20 11:59
sventhat at least fixes the hub being recognized more than once#asahi-dev · 2023-02-20 11:59
svenand I have a rather ugly hack locally that performs a PMGR pcie reset every time the tunnel is brought down#asahi-dev · 2023-02-20 11:59
svenI haven't seen the M3 boot failure ever :/#asahi-dev · 2023-02-20 11:57
svenmaybe enable nvme debug as well? but I’d expect to see an error #asahi-dev · 2023-02-20 11:57
svenuh. that sounds like it should work :/#asahi-dev · 2023-02-20 11:56
sveni also can’t get my usb4 hub (goshen ridge) to work twice without manually doing a full pcie reset inbetween #asahi-dev · 2023-02-20 11:55
svenhmm… nvme should just be tunneled pcie as well#asahi-dev · 2023-02-19 21:26
svenor maybe it has to be done after the rtkit stuff#asahi-dev · 2023-02-19 21:25
svenhrm, maybe the timeout is too low#asahi-dev · 2023-02-19 21:25
svenusually the error mode here is just “nhi comes up but can’t establish a connection so that it never sees a hotplug event”#asahi-dev · 2023-02-19 21:24
svenstill weird that it failed with that m3 error though #asahi-dev · 2023-02-19 21:24
svenyeah, those needs special treatment in that vse apple field #asahi-dev · 2023-02-19 19:02
svenand held together by duct tape #asahi-dev · 2023-02-19 19:01
svenyes#asahi-dev · 2023-02-19 18:59
svenah yes, and now the build bots have started screaming at me :D#asahi-dev · 2023-02-19 18:35
svendunno what’s going on, never saw that here#asahi-dev · 2023-02-19 18:35
svener, wait, it fails even before that#asahi-dev · 2023-02-19 18:34
svenis rtkit debug enabled? #asahi-dev · 2023-02-19 18:33
svenhm, weird #asahi-dev · 2023-02-19 18:26
svenit still works in usb2 mode here fwiw#asahi-dev · 2023-02-19 18:26
svenbut dwc3 shouldn’t care #asahi-dev · 2023-02-19 18:26
svenyeah, that’s the hack that makes tbt work and breaks everything else :D#asahi-dev · 2023-02-19 18:20
svenyou can probably just drop the connection to dwc3 from tipd for now though #asahi-dev · 2023-02-19 18:19
svenstill strange that that happens because I don’t think I changed anything there #asahi-dev · 2023-02-19 18:19
svenI don’t remember which part but if some but in the usb2 phy part isn’t set it cleared the soft reset bit inside dwc3 is stuck #asahi-dev · 2023-02-19 18:18
svensoft reset fail happens when atcphy isn’t fully initialized #asahi-dev · 2023-02-19 18:18
svenI knew that I broke usb but I didn’t expect it to break that badly #asahi-dev · 2023-02-19 18:17
svenuh.. #asahi-dev · 2023-02-19 18:08
svenmaybe nhi fails to probe somehow?#asahi-dev · 2023-02-19 18:07
svenweird that it works for me though #asahi-dev · 2023-02-19 18:07
svenhmm.. it’s connected to that nhi now#asahi-dev · 2023-02-19 18:01
svenatcphy0 is the one closer to the power plug on the mini iirc#asahi-dev · 2023-02-19 18:01
svenno idea, I was just confused by first and second because I always think of the ports as atcphy0/1#asahi-dev · 2023-02-19 17:58
svenand in that case the tipd at 0x3f must remain active #asahi-dev · 2023-02-19 17:57
svenuh, my setup usually is atcphy0 for the hv and atcphy1 for thunderbolt #asahi-dev · 2023-02-19 17:53
svenmaybe some probe ordering issue?#asahi-dev · 2023-02-19 17:53
svenhuh, I don’t think I changed anything there #asahi-dev · 2023-02-19 17:18
svenoh, and if the nhi probed after plug you should see the host in boltctl list -a#asahi-dev · 2023-02-19 17:17
sventhat should be very verbose #asahi-dev · 2023-02-19 17:17
svenmake sure that debug prints for everything thunderbolt is enabled #asahi-dev · 2023-02-19 17:17
svenhave fun debugging I guess? ;)#asahi-dev · 2023-02-19 17:17
svenuhh.. that sound very broken #asahi-dev · 2023-02-19 17:16
svenusb4 might work if you set that vse thingy to 0x11 iirc#asahi-dev · 2023-02-19 17:15
svenanything in dmesg?#asahi-dev · 2023-02-19 17:14
svenuntil the tipd stuff is done you might have to change the value of that vse cable info thing manually #asahi-dev · 2023-02-19 17:13
svenand is the device actually tbt1,2 or 3 and are you using a passive cable?#asahi-dev · 2023-02-19 17:13
sventhe first plug is broken (again)#asahi-dev · 2023-02-19 17:12
svenhave you tried replugging the device?