#
✕ nick:sven
#asahi-dev · 2026-01-19 20:18
sventhat thing, the value there is what gets written to the vendor specific reg
#asahi-dev · 2026-01-19 20:18
svenIOThunderboltSwitchType5(1@0)::updateCableParameters - offset = 0x36 value = 0x00000601 current = 0x00000000 cached = 0x00000000
#asahi-dev · 2026-01-19 20:17
svenIOThunderboltSwitchType5(1@0)::updateCableParameters
#asahi-dev · 2026-01-19 20:17
svenah, wrong log
#asahi-dev · 2026-01-19 20:14
svenhuh
#asahi-dev · 2026-01-19 20:08
svendata_status comes from their TI-driver iirc
#asahi-dev · 2026-01-19 20:07
svenis there also some status =?
#asahi-dev · 2026-01-19 19:57
sveni should've taken notes instead of relying on .zsh_history from years ago :D
#asahi-dev · 2026-01-19 19:56
svenmaybe tbdebug=0xffff tblog=0xffff tblogmode=0xffff
#asahi-dev · 2026-01-19 19:56
svenhrm, then it's missing some debug flag. let me check again
#asahi-dev · 2026-01-19 19:50
sven"....::getCableState - status = 0x????????" that's the serial output i'm looking for
#asahi-dev · 2026-01-19 19:45
sventhat's my default debug commandline, can't remember if the VSE write was part of that though
#asahi-dev · 2026-01-19 19:44
svenleTypeCPhyCIOInterface-debug=0xffff AppleTypeCPhyDisplayPortInterface-debug=0xffffffff AppleTypeCPhyInterface-debug=0xffff AppleTypeCPhyUSBInterface-debug=0xffff AppleUSBHostResourcesTypeC-debug=0xffff
#asahi-dev · 2026-01-19 19:44
svendebug=0x14e serial=3 apcie=0xfffffffe wdt=-1 AppleSynopsysDRDUSBXHCI-debug=0xffff AppleT8103TypeCPhy-debug=0xffff AppleT8103USB40XHCITypeCPort-debug=0xffff AppleT8103USBXDCI-debug=0xffff AppleTypeCPhy-debug=0xffff App
#asahi-dev · 2026-01-19 19:44
svenAppleTypeCPhyCIOInterface-debug maybe
#asahi-dev · 2026-01-19 19:40
svenit will print that magic value in there
#asahi-dev · 2026-01-19 19:39
svenI need the write to the thunderbolt vendor specific area as well, I’d also need xnu output with some debug flag I’ll have to look up
#asahi-dev · 2026-01-18 20:36
svensync mode where every MMIO takes a round trip to Python is very slow indeed
#asahi-dev · 2026-01-18 20:34
svenit supports async mode where it just takes the exception, logs the access to a buffer and then erets to the guest and only bother with the entire pipeline to Python every now and then
#asahi-dev · 2026-01-18 20:34
svenyeah
#asahi-dev · 2026-01-18 20:22
svenprobably wrong order somewhere
#asahi-dev · 2026-01-18 20:21
svensomething wrong with the atcphy mmio pokes
#asahi-dev · 2026-01-18 20:18
sveni shouldn't have jinxed it by saying i was gonna submit that tbt rfc this weekend :D
#asahi-dev · 2026-01-18 20:17
svensums up my feelings about this very well ;)
#asahi-dev · 2026-01-18 20:05
svenand on the first plug with the old code nothing happens as well
#asahi-dev · 2026-01-18 20:05
svenwith the new code nothing happens so I think there's no negotiation happening at all
#asahi-dev · 2026-01-18 20:04
svenwhen i set the wrong cable info with the old code my dock starts blinking because it's likely trying and failing to negotiate the connection again and again
#asahi-dev · 2026-01-18 20:04
svenyeah, definitely something wrong with atcphy
#asahi-dev · 2026-01-18 18:45
sveni guess the current code just always run into what only happened on the first plug there
#asahi-dev · 2026-01-18 18:44
svenokay, pretty sure it's some atcphy thing. the old branch the worked showed the same issue on the first plug event, and only the second one works
#asahi-dev · 2026-01-18 12:27
svendon't see any suspicious change in drivers/thunderbolt
#asahi-dev · 2026-01-18 12:27
sveni think my tbt issue is something in atcphy at this point
#asahi-dev · 2026-01-18 12:11
svenat least with b4 submitting is almost as easy as creating a MR
#asahi-dev · 2026-01-18 12:01
sventhat's why we usually do pre-reviews with the folks here to at least get all the simple stuff out of the way
#asahi-dev · 2026-01-18 12:00
svenintegralpilot: also, LKML is fairly slow. it's not uncommon for replies to take 1-2 weeks to come in ;)
#asahi-dev · 2026-01-18 11:59
svenmaybe just reply on the list that dynamic allocation will be useful for a future series for pre-M1 support
#asahi-dev · 2026-01-18 11:55
svenbut yeah, the discussion (or at least a summary) should be on list now that's submitted there :)
#asahi-dev · 2026-01-18 11:55
svenimho dynamic is fine even though static might be a bit nicer
#asahi-dev · 2026-01-17 20:50
svenno worries :)
#asahi-dev · 2026-01-17 20:48
svenlong messages are only slightly inconvenient but usually fine. only editing is what ends up very awkward on the irc side
#asahi-dev · 2026-01-17 20:26
sven*atcphy
#asahi-dev · 2026-01-17 20:25
svengonna compare atpphy traces tomorrow and see if there's a difference
#asahi-dev · 2026-01-17 20:25
sveni *think* it also worked with 6.13
#asahi-dev · 2026-01-17 20:25
svenlast time it definitely worked was 6.10
#asahi-dev · 2026-01-17 19:56
sventbt is still broken, found out i missed to set the orientation but that didn't fix anything :(
#asahi-dev · 2026-01-17 19:56
sven\o/
#asahi-dev · 2026-01-17 18:58
svenyeah, that would already be useful :)
#asahi-dev · 2026-01-17 18:50
svenplease try to limit edits on the matrix side, this channel is mainly on irc and edits are very disturbing here
#asahi-dev · 2026-01-17 18:26
sven:/
#asahi-dev · 2026-01-17 17:15
svencurrent WIP (without the dt bindings) at https://github.com/AsahiLinux/linux/tree/sven/tbt-wip

plus ›