#
#asahi-dev · 2025-05-08 17:34
sven:P
#asahi-dev · 2025-05-08 17:34
sven<sven> feel free to send a patch
#asahi-dev · 2025-05-08 17:34
alyssaeven stuff like atcphy_load_tunables
#asahi-dev · 2025-05-08 17:34
alyssamood.
#asahi-dev · 2025-05-08 17:34
sveni'm not touching that magic sequence since it works
#asahi-dev · 2025-05-08 17:34
alyssanerdsnipe attempt identified
#asahi-dev · 2025-05-08 17:33
svenfeel free to send a patch
#asahi-dev · 2025-05-08 17:33
alyssasven: reading atcphy.c, feels like you could make things a *lot* more concise with static arrays + loops :p
#asahi-dev · 2025-05-08 17:33
alyssa(((:
#asahi-dev · 2025-05-08 17:31
sventhere's a pci hotplug interrupt in the spec but that only works 25% of the time correrctly, 25% with a 5-30 seconds delay and 50% just not at all
#asahi-dev · 2025-05-08 17:30
svenessentially NHI needs to setup a tunnel for each pcie switch/device and i have to match that to the correct thing in the pcie topology to be able to inject hotplug events
#asahi-dev · 2025-05-08 17:29
svenbecause ofc the normal pcie hotplug thing just doesn't work correctly
#asahi-dev · 2025-05-08 17:29
alyssa???
#asahi-dev · 2025-05-08 17:29
sventhe absolute worst part will be that i have to match up the pcie tree with the tbt tree to make hotplug work properly
#asahi-dev · 2025-05-08 17:29
svenso it's a platform device there with a bunch of quirks and a needs a bunch of out-of-band notifications
#asahi-dev · 2025-05-08 17:29
j`eyspec stands for optional-do-what-you-want
#asahi-dev · 2025-05-08 17:29
svenand the spec says NHI is a pci device but apple doesn't care about the spec
#asahi-dev · 2025-05-08 17:28
alyssa`mask32` how is this not a kernel core func i've seen this nih'd so many times
#asahi-dev · 2025-05-08 17:28
svendrivers/thunderbolt
#asahi-dev · 2025-05-08 17:28
svenNHI is the thing that sets up the thunderbolt link and what's tunneled inside
#asahi-dev · 2025-05-08 17:28
TheLinknot "not invented here" :B
#asahi-dev · 2025-05-08 17:27
svenapple calls that acio iirc
#asahi-dev · 2025-05-08 17:27
alyssawords
#asahi-dev · 2025-05-08 17:27
sventhunderbolt native host interface
#asahi-dev · 2025-05-08 17:27
TheLinknih?
#asahi-dev · 2025-05-08 17:27
alyssatbt-nhi?
#asahi-dev · 2025-05-08 17:27
svenaka dcp and tbt-nhi
#asahi-dev · 2025-05-08 17:27
sven"the rest of the owl"
#asahi-dev · 2025-05-08 17:27
alyssaooi what's the 1%?
#asahi-dev · 2025-05-08 17:26
j`eynice
#asahi-dev · 2025-05-08 17:25
sven*for
#asahi-dev · 2025-05-08 17:25
sventechnically that series also contains 99% of what's required fro dp-altmode and tbt inside atcphy
#asahi-dev · 2025-05-08 17:25
alyssamight've been skill issue on my part
#asahi-dev · 2025-05-08 17:25
alyssaj`ey: yes, although I was seeing weird issues with usb2 alone without cherrypicking some of the code from there
#asahi-dev · 2025-05-08 17:25
j`eywhere proper usb = usb3?
#asahi-dev · 2025-05-08 17:24
svendefinitely keeping that other description that starts with "As mad as it sounds, " though :D
#asahi-dev · 2025-05-08 17:23
svenyeah, maybe
#asahi-dev · 2025-05-08 17:23
svenlol :D
#asahi-dev · 2025-05-08 17:23
alyssa:P
#asahi-dev · 2025-05-08 17:23
alyssamight want to drop that line before b4'ing
#asahi-dev · 2025-05-08 17:23
alyssa"No, this is not going in the right direction"
#asahi-dev · 2025-05-08 17:23
svenyeah, i'm going to be very happy once that's in -next
#asahi-dev · 2025-05-08 17:23
alyssasven: having proper usb mainline sounds like it'll make things a lot nicer
#asahi-dev · 2025-05-08 17:22
alyssayay!
#asahi-dev · 2025-05-08 17:20
svenstill needs more work though
#asahi-dev · 2025-05-08 17:20
svenhttps://github.com/AsahiLinux/linux/tree/sven/atcphy this also doesn't look horrible anymore
#asahi-dev · 2025-05-08 17:18
alyssaj`ey: the bart, the!
#asahi-dev · 2025-05-08 17:17
j`eysimpsons reference!
#asahi-dev · 2025-05-08 17:17
alyssajannau: i know i'm just shitposting
#asahi-dev · 2025-05-08 17:17
alyssa:P

plus ›