Open lamw opened 11 months ago
Yes, please do look into addressing this!
Very interested to have this fixed as well. Looks like Xen could have the same issue: https://xcp-ng.org/forum/topic/6304/google-coral-tpu-pcie-passthrough-woes/20
Adding another vote to fix this here!! There are a ton of threads/requests for this but they're all over.
https://github.com/google-coral/edgetpu/issues/343
https://github.com/google-coral/edgetpu/issues/729
https://github.com/blakeblackshear/frigate/issues/6331
+1 for a fix
+1
+1 for a fix not only m.2 but mini pcie as well
+1 fix please.
+1 for fix, commenting to follow. Note this also affects the Mini-PCIe model (as expected)
+1
Can anyone think of any other possible workarounds for this problem? Seems like ESXi could also use a quirks mode for pci-e cards that need some tweaking.
+1 for a fix please
+1 for a fix please
+1 for a fix please
+1 for the fix
+1
Just try to disable the msi bus for the bridge if possible, echo 1 > /sys/bus/pci/devices/$bridge/msi_bus as a temporary fix. For me it looks like there is a lot of hacky stuff in the kernel driver: https://github.com/google/gasket-driver/blob/09385d485812088e04a98a6e1227bf92663e0b59/src/gasket_interrupt.c#L245
+1 vote for fix!
+1 vote for fix!
+1 :-(
This is not likely to ever get fixed now with broadcom deprecating free ESXi. Aware this is a TPU issue but the ESXi userbase is just going to keep shrinking at this point.
@thefl0yd I do not believe this is the case. I have a need to deploy the m.2 in multiple enterprise VMware deployments via passthru.
+1 For a fix
+1 vote for fix!
Description
Customers that attempt to passthrough the M.2 TPU to a Virtual Machine using VMware ESXi Hypervisor have found that the Apex driver fails to initialize.
Upon initial investigation from VMware Engineering, the following was concluded:
I'm not sure if this has already been reported but if Google/Coral can either fix the behavior of the device to conform to the PCI specification OR hide MSI-X capability, then successful passthrough of the M.2 TPU should function correctly when using ESXi, which is a popular Hypervisor platform for development purpose
Click to expand!
### Issue Type Build/Install ### Operating System Ubuntu ### Coral Device M.2 Accelerator A+E ### Other Devices _No response_ ### Programming Language _No response_ ### Relevant Log Output _No response_