#asahi-dev · 2023-02-19 15:43
svenyou'll also need https://github.com/AsahiLinux/m1n1/pull/288#asahi-dev · 2023-02-19 15:43
svenI don't care about bug reports, I only care about bug reports together with patches that fix them for now :P#asahi-dev · 2023-02-19 15:42
svennote that this only allows thunderbolt 1,2 and 3 (i.e. no USB3, no USB4, no DP) mainly because I've been too lazy to deal with tipd/typec yet.#asahi-dev · 2023-02-19 15:42
svenfor anyone who knows how to actually run and debug this (i.e. no end users!): https://github.com/AsahiLinux/linux/tree/atcphy-20230219#asahi-dev · 2023-02-19 14:51
sventhe device tree is also a bit of a mess because I need to bring down the DART on unplug as well (https://f.svpe.de/aa6c13322a846da8a88166c38603ba89cfee68a74d3cdbd5e4605d13f675f11e_acio_dt.txt)#asahi-dev · 2023-02-19 14:49
svenlol, so acio/nhi reset works now but I’m back to the first plug just not working :D#asahi-dev · 2023-02-19 13:25
svenmy cold is finally gone so that I can catch up on emails and try to get my inbox empty again ;)#asahi-dev · 2023-02-19 13:25
svensure :)#asahi-dev · 2023-02-19 12:54
svenand "apple,sio-firmware-params" is just something that's passed to the SIO firmware using some rtkit messages?#asahi-dev · 2023-02-19 12:54
svenpovik: w.r.t. those SIO bindings, do I understand it correctly that the memory-region things have to be mapped inside the SIO DART, that m1n1 will prepare e.g. sio_auxdata2 and then put the hardcoded IOVA pointing to sio_auxdata2 into apple,sio-firmware-params? #asahi-dev · 2023-02-19 09:54
svendid you put your entire rootfs into the initrd? :D#asahi-dev · 2023-02-18 17:36
svenso, uh, it looks acio reset literally is “power down this power domain and then power it up again while atcphy is in reset”. normal pd reset doesn’t seem to work :/#asahi-dev · 2023-02-18 15:40
svenurgh.. so I can restart acio now but that also requires disabling its dart :(#asahi-dev · 2023-02-18 13:31
sven*disabled #asahi-dev · 2023-02-18 13:31
svenand I think those survive a disable power domain #asahi-dev · 2023-02-18 13:30
svenit’s really just “apply N tunables” inside m1n1 #asahi-dev · 2023-02-18 13:30
svenit seems to work right now but then I found that always-on thing for the normal pcie#asahi-dev · 2023-02-18 13:29
svenI kinda wanna do that for apciec as well because I realized yesterday how that’s actually possible #asahi-dev · 2023-02-18 10:44
svenhm, i wonder if that’s just the actual pcie phy that breaks then or if something subtle that I just haven’t noticed yet also breaks for the usb4-pcie#asahi-dev · 2023-02-17 18:35
svenmarcan: did you ever get around to investigate why the normal pcie power domains have to be always-on?#asahi-dev · 2023-02-17 17:10
svenehh… writing a blog post takes much more effort than venting in here ;)#asahi-dev · 2023-02-17 16:46
svenlooks like they do :)#asahi-dev · 2023-02-17 16:34
svenlets see if the tunables survive a disabled power domain #asahi-dev · 2023-02-17 16:33
svenhuh, looks like I can actually bring up pciec in m1n1 as well#asahi-dev · 2023-02-17 15:20
svenugh.. looks like I actually have to figure out how to restart the usb4 nhi if I want hotplug between usb4 and „legacy“ thunderbolt to work *sigh*#asahi-dev · 2023-02-16 18:14
svenone more thing to fix #asahi-dev · 2023-02-16 18:14
svenand it even seems to try (and fail) to bring up a USB3 tunnel: [ 7.147637] thunderbolt-apple-nhi 501f00000.nhi: 1:16: USB3 tunnel activation failed, aborting#asahi-dev · 2023-02-16 18:13
svenrkjnsn_: ^--#asahi-dev · 2023-02-16 18:11
sven\o/#asahi-dev · 2023-02-16 18:11
sven[ 5.540027] thunderbolt 0-1: Other World Computing Thunderbolt Hub#asahi-dev · 2023-02-16 18:11
sven[ 5.538700] thunderbolt 0-1: new device found, vendor=0x5a device=0xde40#asahi-dev · 2023-02-16 17:19
svenbut for some reason the NHI doesn’t see the hotplug and I instead get a usb2 hub #asahi-dev · 2023-02-16 17:18
svenand usb4 doesn’t have a svid because it obviously (🤪) isn’t an alternate mode anymore!#asahi-dev · 2023-02-16 17:17
svenI force the mode to thunderbolt anyway#asahi-dev · 2023-02-16 16:51
svenhuh, no additional cd321x traffic for that usb4 device. so why doesn’t it enter usb4 mode then :/#asahi-dev · 2023-02-16 13:21
svenI guess the TIPD chips needs some convincing to send that Enter USB message#asahi-dev · 2023-02-16 13:21
svenrkjnsn_: gave that hub you ordered for me a quick spin and it looks like USB4 doesn't work at all yet. it's recognized as a USB2-only device (lol)#asahi-dev · 2023-02-16 09:10
svent: i guess, you just need two m1 macs and be able to run Linux on one of them.#asahi-dev · 2023-02-14 13:51
svenno opinion on any code formatting as long as it’s automatic here #asahi-dev · 2023-02-14 12:52
sven“Not all browsers support WebAuthn. Therefore, we require that you set up a two-factor authentication app first. That way you'll always be able to sign in - even from an unsupported browser.” *sigh*#asahi-dev · 2023-02-14 12:51
svenso feel free to drop everything I guess #asahi-dev · 2023-02-14 12:51
svenand I stopped pushing WIP branches because people started annoying me too much over /msg#asahi-dev · 2023-02-14 12:50
svenI have local copies of everything important anyway#asahi-dev · 2023-02-14 12:45
svenguess that just got fixed in the past weeks or months #asahi-dev · 2023-02-14 12:45
svenohhh. I remember now. I tried to create one and it didn’t get approved (or maybe I just didn’t get the email?)#asahi-dev · 2023-02-14 12:44
svenhuh, looks like I already have one #asahi-dev · 2023-02-14 12:43
svenso i guess I’ll have to create a fdo account now :)#asahi-dev · 2023-02-14 12:43
sveneuh.. good question. probably not a lot for me#asahi-dev · 2023-02-14 10:41
svenah, i can probably review that one in a day or two once my headache is gone #asahi-dev · 2023-02-14 10:38
svenim still recovering from a cold so not at my computer but feel free to add my r-b