Have you added to the kernel cmdline something like this:
vfio-pci.ids=10ec:c821
The ID is what you get with lspci -n
The example here is a MediaTek M.2 WiFI card, it works on an N100 CPU. I don't have a Pi5, but I had similar question last year when Pi5 came on the market. For Intel CPU's I also needed to add:
intel_iommu=on iommu=pt
I would check what might be needed for ARM64, maybe nothing. At least I know from some older Intel board (Haswell) that only 1 PCI-E slot did support IOMMU, I used it to allocate an extra Renesas USB3 controlled to a Windows10 VM. A hook on USB level did not work in the past, now it works by the way.
vfio-pci.ids=10ec:c821
The ID is what you get with lspci -n
The example here is a MediaTek M.2 WiFI card, it works on an N100 CPU. I don't have a Pi5, but I had similar question last year when Pi5 came on the market. For Intel CPU's I also needed to add:
intel_iommu=on iommu=pt
I would check what might be needed for ARM64, maybe nothing. At least I know from some older Intel board (Haswell) that only 1 PCI-E slot did support IOMMU, I used it to allocate an extra Renesas USB3 controlled to a Windows10 VM. A hook on USB level did not work in the past, now it works by the way.
Statistics: Posted by redvli — Mon Aug 05, 2024 8:19 pm