#asahi-dev · 2026-07-09 18:28
svenwonder if there's another weird issue like that hiding somewhere in the hv code. i really don't want to debug another one like that though ;)#asahi-dev · 2026-07-09 18:26
svenyeah #asahi-dev · 2026-07-09 18:25
chaos_princesswell, that is why i haven't done it yet, don't see how it might be relevant#asahi-dev · 2026-07-09 18:25
svenonce they’re up everything should be fine #asahi-dev · 2026-07-09 18:25
sventhat should only matter during smp bringup #asahi-dev · 2026-07-09 18:24
chaos_princessbut i haven't pulled in your cache maintenance patches yet#asahi-dev · 2026-07-09 18:23
chaos_princessyes, when running on >1 cpu#asahi-dev · 2026-07-09 18:23
svenhuh, is the hv still unstable on m3?#asahi-dev · 2026-07-09 18:22
chaos_princesson c, --cpus=4 helps a lot#asahi-dev · 2026-07-09 18:21
jannauI can try but I do not have much luck with hv / macos, especially with tracers#asahi-dev · 2026-07-09 18:19
chaos_princessmind running the isp tracer on j504 and j514s and sending the logs (it will most likely crash, that is expected).#asahi-dev · 2026-07-09 18:18
jannauj504, j514s, j514c#asahi-dev · 2026-07-09 18:17
chaos_princessbtw, which m3 devices do you have#asahi-dev · 2026-07-09 18:17
jannauasahi-wip refreshed. I've merged avd and t6031 isp. bits/001-devicetree-m3 is gone. commits moved to bits/000-devicetree. yuka's m4 devicetrees are merged as well#asahi-dev · 2026-07-09 18:01
jannauoh, I completely missed that there is already a workflow#asahi-dev · 2026-07-09 17:59
chaos_princessthe version is pinned there#asahi-dev · 2026-07-09 17:59
chaos_princesshttps://github.com/jannau/avd-fw/blob/af25aaca0bc48f7cc91c263f08f5bb01f563c05e/.github/workflows/ci.yml#L5#asahi-dev · 2026-07-09 17:59
chaos_princessupstream is not running on latest#asahi-dev · 2026-07-09 17:57
jannauresulting in https://github.com/jannau/avd-fw/actions/runs/29038426817/job/86189245232 vs. https://github.com/AsahiLinux/avd-fw/actions/runs/29038443342/job/86189301239?pr=3#asahi-dev · 2026-07-09 17:56
jannauhow does github determine what ubuntu-latest is? In my repo it's resolute but in https://github.com/AsahiLinux/avd-fw it's noble#asahi-dev · 2026-07-09 17:20
jannauon normal devices the eusb repeater is reset via atc to make hotplug work#asahi-dev · 2026-07-09 17:19
jannauah, I thought the repeater had a function-reset as well#asahi-dev · 2026-07-09 17:17
yukayes, only the hub has a "function-reset"#asahi-dev · 2026-07-09 17:17
yukaand what was the way to reset it again?#asahi-dev · 2026-07-09 17:17
yukaor was it the opposite?#asahi-dev · 2026-07-09 17:17
yukaonly the hub needed resetting?#asahi-dev · 2026-07-09 17:16
yukabut I think the usb2 repeater was always present on the i2c bus?#asahi-dev · 2026-07-09 17:16
yukaAh, no#asahi-dev · 2026-07-09 17:16
jannaudo you reset the usb2 repeater?#asahi-dev · 2026-07-09 17:01
yukait's very possible some setup of the usb repeater over i2c is necessary#asahi-dev · 2026-07-09 16:41
yukaI don't know yet how to tell which smc keys are gpios#asahi-dev · 2026-07-09 16:41
yukaAnd then write an automated test#asahi-dev · 2026-07-09 16:40
yukathe uart is too slow for smccli#asahi-dev · 2026-07-09 16:40
yukaI should probably add a more specialized proxy command which is small enough to run over the broken/slow uart, takes a gpio name and state and toggles that gpio before turning on usb#asahi-dev · 2026-07-09 16:38
yukathis pulls the port out of debugusb mode (I confirmed that this works in principle on a device without usb hub)#asahi-dev · 2026-07-09 16:38
yukathen run the INIT_USB command and quickly re-plug the usb cable#asahi-dev · 2026-07-09 16:38
yukaI start out in debugusb mode, enable/disable the gpio(s) via smccli#asahi-dev · 2026-07-09 16:37
yukathe way I currently test is using a new INIT_USB proxy command which has 5 seconds of delay built in#asahi-dev · 2026-07-09 16:37
yuka* by pass the usb hub#asahi-dev · 2026-07-09 16:37
yukaOne of the following to assumptions is wrong: 1. toggling the gpio is enough to bypass the usb, 2. the gpio is one of gP?? on the SMC#asahi-dev · 2026-07-09 16:36
yukano luck so far#asahi-dev · 2026-07-09 16:35
yukaI took a stab at finding the gpio to bypass the usb hub on the NEo#asahi-dev · 2026-07-09 16:31
svenhttps://github.com/AsahiLinux/m1n1/pull/619#asahi-dev · 2026-07-09 16:26
svenphew... i expected this bug to be much worse :-)#asahi-dev · 2026-07-09 16:25
svenyup, it's stable now#asahi-dev · 2026-07-09 16:11
sveni'll just clear it in chickens.c#asahi-dev · 2026-07-09 16:11
svenyup, on first boot of the secondaries the bit is clear, then if i do stop -> start that bit is still set #asahi-dev · 2026-07-09 16:09
chaos_princessthat would make sense then#asahi-dev · 2026-07-09 16:09
svenso start secondaries -> stop secondaries -> start again -> set wfe mode and it all explodes#asahi-dev · 2026-07-09 16:09
chaos_princessoh