Unlimately it go fast on windoze 11 and it not go at all on linux. Same setup, different os.
I did also just try every firmware I could find and a whole bunch of settings for them with no success. Everything works on windows, nothing but usb3 and lower works on linux.
Update: if I boot with the enclosure plugged in I get the ssd, but it’s capped at 2GB/s. Lspci reports 8GT/s x4 which is pcie3x4 (it is a pcie3 ssd, I have no pcie4 ones that aren’t in use) if I got that right and boltctl reports USB4 40Gbit but jet it maxes out at 2GB/s.
Update2: The 2GB/s cap could be related to this issue. The not hot-plugging right is probably something else.