#asahi-dev · 2025-09-02 15:47
svenanything attached to atcphy should work#asahi-dev · 2025-09-02 15:47
svenweird :D#asahi-dev · 2025-09-02 15:46
chaos_princess"both" - so, i have 3, and one didn't work :P. captured, give me a sec#asahi-dev · 2025-09-02 15:45
sven3 would be better because i want to see the pipehandler setup as well, but 2 should be fine#asahi-dev · 2025-09-02 15:45
svenusb 2 only is fine as well#asahi-dev · 2025-09-02 15:45
svenno, both ports short work :/#asahi-dev · 2025-09-02 15:45
chaos_princessok, i might be doing sth wrong, do i need a specific port? And does the cable need to be usb-3 compatible?#asahi-dev · 2025-09-02 15:39
sventhe only reason they have a different ADT compatible is that they hardcode the fuse offsets inside the kext iirc#asahi-dev · 2025-09-02 15:39
svenatcphy is the same for t8103 and t6000 and all the other supported SoCs. i think apple hides any differences inside the tunables anyway#asahi-dev · 2025-09-02 15:37
chaos_princessyea, i should have an a-to-c somewhere and a x86 pc#asahi-dev · 2025-09-02 15:37
svenbefore that the approach was macbook air -> c-to-a adapter -> a-to-c cable -> mac mini #asahi-dev · 2025-09-02 15:37
sveneven under macos#asahi-dev · 2025-09-02 15:36
sveni have a somewhat weird setup here. c-to-c cable to another (x86) computer running linux and that seems to first negotiate host and then switch to device. I think my a-to-c cable that I used before broke because it doesn't negotiate anything anymore#asahi-dev · 2025-09-02 15:36
svenanything is fine#asahi-dev · 2025-09-02 15:35
chaos_princessalso, does it have to be a t8013, or a t6000 is also fine?#asahi-dev · 2025-09-02 15:34
chaos_princesswhats your approach?#asahi-dev · 2025-09-02 15:33
svencan anyone run trace_atc.py while connecting the target to something that makes it switch to device mode? my setup seems to first negotiate host and then do the switch to device mode and i'd like to see something that directly goes to device mode#asahi-dev · 2025-09-02 14:27
sveneither when converting to the glue driver or when cleaning that one up#asahi-dev · 2025-09-02 14:27
sveni've also apparently managed to break gadget mode somehow again :/#asahi-dev · 2025-09-02 14:26
svenso pipehandler as part of dwc3 glue makes everything worse, it'll stay inside atcphy#asahi-dev · 2025-09-01 15:41
sveni don't think you can force a role switch though#asahi-dev · 2025-09-01 15:40
svenyeah#asahi-dev · 2025-09-01 15:40
Manouchehrisven: sorry for jumping in random; does the dwc3 stuff in M1 USB hardware support swapping roles? I'm currently using a Pixel Slate for USB things, but would like to eventually go to something newer.#asahi-dev · 2025-09-01 03:26
nickchan(also adding back the newlines and dropping tags on bindings)#asahi-dev · 2025-09-01 03:26
nickchanokay I will wait a bit before reolling the spmi stuff #asahi-dev · 2025-08-31 20:18
jannauI guess b4 export everything and then replace everything except the cover letter mail with `git format-patch` is easioer than editing mail files#asahi-dev · 2025-08-31 20:09
svenhm, so maybe b4 to export everything and then mess with the CC headers manually and then run git send-email. sounds annoying though #asahi-dev · 2025-08-31 20:08
jannauI looked but it doesn't seem to support. git send-email supports it iirc#asahi-dev · 2025-08-31 20:06
svenno idea if b4 supports that though #asahi-dev · 2025-08-31 20:06
svenother alternative would be to send each commit with different ccs and only the cover letter to everyone, I’ve seen that done for large series touching many subsystems #asahi-dev · 2025-08-31 20:04
svenI assume that if the maintainer acks a commit it means we can take them#asahi-dev · 2025-08-31 20:02
jannauI've pushed asahi-6.16.4-1 to github, now to send the kasan fixes out#asahi-dev · 2025-08-31 20:01
jannausending patchsets with tons of CCs is annoying. I probably should use the web endpoint for those#asahi-dev · 2025-08-31 20:00
jannauI forgot to ask for acks but I assume it's ok to take the ack-ed commits through the asahi tree. it woould be nice if we can take those so I don't have to resend them for the v2#asahi-dev · 2025-08-31 19:59
svenyeah, or that #asahi-dev · 2025-08-31 19:58
jannausven, nickchan: or at least wait until the spmi changes are acked#asahi-dev · 2025-08-31 18:24
svennickchan: i'd also wait until the t602x series is actually reviewed / picked up before sending stuff that depends on it. gets confusing rather quickly otherwise #asahi-dev · 2025-08-31 18:00
svenmainly thinking about this because i'm trying to bring up a usb3 via usb4 tunnel right now and that needs additional synchronization for when the pipehandler switch happens#asahi-dev · 2025-08-31 17:59
svenhm.. i think i'll try what happens if i move the pipehandler stuff to the dwc3 glue. most of the synchronization mess comes from that I think and it may fit better inside the dwc3 driver#asahi-dev · 2025-08-31 17:12
leiohttps://github.com/AsahiLinux/docs/pull/212#asahi-dev · 2025-08-31 17:05
leiowhile with WIP, might want to sync more with existing efforts; of course doesn't matter from users perspective#asahi-dev · 2025-08-31 17:04
leioI think it matters in terms of knowing that with TBA, there's no active work, so free for the taking or something (weird acronym to use for that though)#asahi-dev · 2025-08-31 17:03
chaos_princess(i don't even think that the wip/tba distinction matters really, it is done when it is done)#asahi-dev · 2025-08-31 17:02
chaos_princessfeel free to change those, that does sound a bit more correct#asahi-dev · 2025-08-31 17:01
leioshould we mark AVE (Video Encoder) as TBA instead of WIP, and maybe TB as WIP under M2 too?#asahi-dev · 2025-08-31 15:31
jannaunvmem_shift_read_buffer_in_place seems to be an harmless overread and was hiding a use after free via devres in simplefb.c#asahi-dev · 2025-08-31 14:47
jannauno, the while loop is ok, I just mentally already avoided the overread and forgot to advance `p` as well#asahi-dev · 2025-08-31 14:16
jannauthe overread is easily fixed but the `while (--extra >= 0) *p-- = 0;` puzzles me#asahi-dev · 2025-08-31 14:12
jannau"offset:1152 raw_len:4 bytes:4 bit_offset:23 nbits:2" specifically triggers kasan#asahi-dev · 2025-08-31 14:11
jannauas far as I understand it reads beyound the end of the buffer and writes before the start of it