#
#asahi-dev · 2023-04-09 02:06
marcan:/
#asahi-dev · 2023-04-08 16:35
jannau3 reboots, 3 times with working nic. was consistently broken before
#asahi-dev · 2023-04-08 16:33
sven… interrupts are fired the thunderbolt coprocessor crashes sometimes
#asahi-dev · 2023-04-08 16:33
svenif I just do pcie hotplug when the link
#asahi-dev · 2023-04-08 16:32
svenit’s pretty dependent on thunderbolt now though
#asahi-dev · 2023-04-08 16:32
svenuhh.. kinda
#asahi-dev · 2023-04-08 16:31
marcansven: did you have something for that on the pcie side already?
#asahi-dev · 2023-04-08 16:31
marcanwe really need to implement proper hotplug
#asahi-dev · 2023-04-08 16:31
marcanI think it's that aqantia thing that sometimes takes longer to initialize...
#asahi-dev · 2023-04-08 16:31
marcansigh.
#asahi-dev · 2023-04-08 16:31
jannaubooting from disk works now as well. so apparently a heisenbug
#asahi-dev · 2023-04-08 16:31
marcansounds like possibly a timing issue?
#asahi-dev · 2023-04-08 16:30
marcanyay heisenbugs :(
#asahi-dev · 2023-04-08 16:29
jannauHV/chainloading m1n1 + u-boot with the asahi kernel on disk works as well
#asahi-dev · 2023-04-08 16:19
jannausigh, works now with asahi-wip under HV and chainloaded, with some minor modifications in the port setup
#asahi-dev · 2023-04-08 16:09
jannauno change with m1n1 v1.2.5
#asahi-dev · 2023-04-08 16:04
jannaumaybe c6c426581b in m1n1 1.2.6
#asahi-dev · 2023-04-08 15:59
jannauasahi (asahi-6.2-11) fails as well. not unexpected looking at the source changes but I'm quite sure I tested it
#asahi-dev · 2023-04-08 15:56
marcanhm, ok
#asahi-dev · 2023-04-08 15:54
jannaups_apcie_gp_sys is already always-on
#asahi-dev · 2023-04-08 15:52
jannaupd_ignore_unused doesn't help, I'll try to make the pd always on
#asahi-dev · 2023-04-08 15:50
marcanwe *know* the driver can't handle power cycling anyway so that PD should get the always-on flag anyway, tbh (at least for now)
#asahi-dev · 2023-04-08 15:48
marcanso it might break some ports and not others
#asahi-dev · 2023-04-08 15:48
marcanIIRC power cycling caused unreliability
#asahi-dev · 2023-04-08 15:48
marcanbut it's shared by DARTs and such
#asahi-dev · 2023-04-08 15:48
jannauthere is only a single power-domain for pcie and nothing port specific. the other ports work
#asahi-dev · 2023-04-08 15:48
marcanI seriously need to fix that, maybe I can come up with a patch tomorrow
#asahi-dev · 2023-04-08 15:47
marcanbecause we *know* that stuff is just horribly broken and somehow is breaking a lot more since 6.2
#asahi-dev · 2023-04-08 15:47
marcandoes it work with that bootarg to keep power domains on?
#asahi-dev · 2023-04-08 15:46
marcanand this isn't the same old power domain problem again?
#asahi-dev · 2023-04-08 15:46
jannaufails with asahi-dev
#asahi-dev · 2023-04-08 15:46
marcaninteresting
#asahi-dev · 2023-04-08 15:46
jannauu-boot still uses 100ms as timeout
#asahi-dev · 2023-04-08 15:46
jannauport setup in u-boot is identical except that u-boot polls the link status instead of waiting for the link up irq
#asahi-dev · 2023-04-08 15:44
marcanjannau: reproducibly fails with the latest everything?
#asahi-dev · 2023-04-08 15:44
marcanack, will test
#asahi-dev · 2023-04-08 15:38
jannaumarcan: studio
#asahi-dev · 2023-04-08 15:31
marcanwhich machine?
#asahi-dev · 2023-04-08 15:30
marcanjannau: other people reported that in the past, I increased the timeout thinking it was that but we might have another issue
#asahi-dev · 2023-04-08 12:21
jannauworks reliable in u-boot's pcie setup probe
#asahi-dev · 2023-04-08 12:20
jannauthe aquantia nic's pcie link doesn't seem to come up anymore (with asahi-6.2-12 and asahi-wip)
#asahi-dev · 2023-04-07 11:38
jannauwhich calls pci_bus_add_devices(), this doesn't look sound but not entirely clear what breaks the link
#asahi-dev · 2023-04-07 10:56
jannauyes, it is something linux does. the link for the xhci port is reported as up before calling pci_host_common_probe()
#asahi-dev · 2023-04-07 10:28
jannauI think it does nothing with the power-domain but even toggling the power-domain via reset in .remove doesn't brake anything. it SErrors if with USB_XHCI_PCI though
#asahi-dev · 2023-04-07 10:22
kettenis_not 100% sure what it does with the power domains though
#asahi-dev · 2023-04-07 10:20
kettenis_u-boot does not know how to toggle the smc gpios
#asahi-dev · 2023-04-07 10:20
kettenis_sure, but once a port is up, it shouldn't go down again unless you mess with power through pmgr or the gpio
#asahi-dev · 2023-04-07 10:03
jannauI've lost PCI_INIT_R, that explains why PCIE is only inited after `pci enum`
#asahi-dev · 2023-04-07 09:57
jannauit does nothing weird directly but the port setup is called indirectly through the ecam init op
#asahi-dev · 2023-04-07 09:48
kettenis_jannau: then Linux must be doing something weird, because U-Boot doesn't do anything to bring the xhci PCIe port down as far as I can tell

plus ›