On Mon, Jun 24, 2024 at 03:59:53AM +0800, Xu Yilun wrote:
VFIO is not just about running VMs. If someone wants to run DPDK on VFIO they should be able to get the device into a RUN state and work with secure memory without requiring a KVM. Yes there are many steps to this, but we should imagine how it can work.
without involving KVM or cVMs.
It may not be feasible for all vendors.
It must be. A CC guest with an in kernel driver can definately get the PCI device into RUN, so VFIO running in the guest should be able as well.
IMHO, you would not use the secure firmware if you are not using VMs.
If the secure world managed it then the secure world can have rules that work with the IOMMU as well..
Jason
linaro-mm-sig@lists.linaro.org