#
✕ nick:sven
#asahi-dev · 2026-08-11 14:54
sveni *think* that is enough
#asahi-dev · 2026-08-11 14:54
svenAppleTypeCPhyUSBInterface-debug=0xffff AppleUSBHostResourcesTypeC-debug=0xffff
#asahi-dev · 2026-08-11 14:54
svendebug=0x14e serial=3 apcie=0xfffffffe wdt=-1 AppleSynopsysDRDUSBXHCI-debug=0xffff AppleT8103TypeCPhy-debug=0xffff AppleT8103USB40XHCITypeCPort-debug=0xffff AppleT8103USBXDCI-debug=0xffff AppleTypeCPhy-debug=0xffff AppleTypeCPhyCIOInterface-debug=0xffff AppleTypeCPhyDisplayPortInterface-debug=0xffffffff AppleTypeCPhyInterface-debug=0xffff
#asahi-dev · 2026-08-11 14:54
svenit already gets far enough, it should find whatever is connected. is that a device or another host
#asahi-dev · 2026-08-11 14:53
sveni think that's correct because it gets far enough, but can you check what macos would write? let me find the debug arguments you need to get the print
#asahi-dev · 2026-08-11 14:52
svenah, maybe that print is just outside of the stuff you pasted
#asahi-dev · 2026-08-11 14:51
svenhuh
#asahi-dev · 2026-08-11 14:49
svenis that the tbt-reset-wip branch? there should be a TBT cable: or "USB4 cable: message
#asahi-dev · 2026-08-11 14:48
svenhuh
#asahi-dev · 2026-08-11 14:44
svenyeah, that happens if the VSE cable info is wrong
#asahi-dev · 2026-08-11 14:43
sveni suspect half of the bit descriptions are wrong but the only way to fix them is to have enough (PDVDO or EUDO),(what macos writes) pairs
#asahi-dev · 2026-08-11 14:39
svendoes it go through the eudo or pd vdo path?
#asahi-dev · 2026-08-11 14:38
svenmacos puts it into its uart output with the right flags
#asahi-dev · 2026-08-11 14:38
svenif you get me the EUDO or VDO from the dbg print and then what macos writes i can fix it
#asahi-dev · 2026-08-11 14:37
svenprobably wrong VSE cable thing then
#asahi-dev · 2026-08-11 13:21
svenmaybe it's time for that tracer after all now *sigh*
#asahi-dev · 2026-08-11 13:21
svenoh ffs, there's some weird race condition that appears and claims that "port is locked" when i remove the debug prints in apple.c
#asahi-dev · 2026-08-11 12:37
svensure, will let you know once i have the dts nodes for m2 pro/max ready
#asahi-dev · 2026-08-11 12:24
svenah, too early. i haven't worked out the dts changes for that one yet
#asahi-dev · 2026-08-11 12:24
svenwhich apple machine do you have?
#asahi-dev · 2026-08-11 12:24
sventhat's fine, that should work as well
#asahi-dev · 2026-08-11 12:23
svenright now the only thing that works ist host2host
#asahi-dev · 2026-08-11 12:23
svenno, not yet
#asahi-dev · 2026-08-11 11:11
svenit's kinda close to the 7.3 merge window anyway, not sure if anything will still be picked up
#asahi-dev · 2026-08-11 11:00
sven*horrors
#asahi-dev · 2026-08-11 11:00
svenmaybe it's time to write dt-bindings. or look at the horror that lurk inside pcie hotplug again
#asahi-dev · 2026-08-11 10:58
svenyeah
#asahi-dev · 2026-08-11 10:57
svendunno... guess i either need to give up on non-M1 for now or write a tracer for the ring 0 traffic
#asahi-dev · 2026-08-11 10:47
svenhttps://f.svpe.de/69d6594c21cdc03d46f2489c0b46b1a29ecffa1195566a5d0d1a9822f88aa396_tbt-dmesg.txt
#asahi-dev · 2026-08-11 10:47
svenbut yeah.. the end actually looks similar
#asahi-dev · 2026-08-11 10:46
svenchaos_princess: ugh, wait, copy paste error. wanted to paste a bit more than that
#asahi-dev · 2026-08-11 10:46
svenphew :)
#asahi-dev · 2026-08-11 10:46
svenwait, i have to be confident about the patches i sent out? :P
#asahi-dev · 2026-08-11 10:45
svenhttps://f.svpe.de/878d6f8e2b179d9a8833af140b0775c5c600bb3ede38c05ac08fd4dc88f3c51e_tbt-dmesg.txt
#asahi-dev · 2026-08-11 10:44
svenhuh, actually, i think mine looks different. not sure that's suspicious though
#asahi-dev · 2026-08-11 10:43
svenchaos_princess: no, that looks just like mine does i think
#asahi-dev · 2026-08-11 10:40
svenpity.. i was hoping the 27+ might complain over syslog and tell me what i'm doing wrong
#asahi-dev · 2026-08-11 10:40
svenokay, same here
#asahi-dev · 2026-08-11 10:39
svenchaos_princess: also, which firmware is that? already the one where acio is a bit more talkative over its syslog?
#asahi-dev · 2026-08-11 10:37
svenmight be worth a try at this point
#asahi-dev · 2026-08-11 10:37
svendon't think so
#asahi-dev · 2026-08-11 10:36
svenchaos_princess: okay, so that means ring 1 is being ignored completely i have no idea why
#asahi-dev · 2026-08-11 10:21
svenchaos_princess: can you read32 0x701fd0000 and 0x701f1401c after you started the ping from the hv?
#asahi-dev · 2026-08-11 10:16
svenwhich machine is this again? t6001?
#asahi-dev · 2026-08-11 10:16
svenit doesn't look good i think
#asahi-dev · 2026-08-11 10:08
svenif M1/M1 works the initial series will be M1 only and the pro/max/etc. variants are going to be someone else's problem. ideally someone who actually has that hardware :D
#asahi-dev · 2026-08-11 10:07
sventhat would be great!
#asahi-dev · 2026-08-11 10:06
svenso it's either that macos/linux works for some reason and linux/linux doesn't or the non-base M1 machines do something very weird that i don't see in the mmio traces
#asahi-dev · 2026-08-11 09:55
svenchaos_princess: last difference i see, but that's related to interrupts and i'd be surprised if this makes a difference: https://f.svpe.de/52ff3d5be413a43da7d17b374a2f6cd5625844b8ce6f276043395437a034db77_hack.patch
#asahi-dev · 2026-08-11 09:46
svencan you trace the acio nodes on both macos and linux?

plus ›