Re: [RFC 0/7] vdpa: Add support for iommufd
From: Cindy Lu <hidden>
Date: 2023-10-26 06:49:40
Also in:
lkml
On Thu, Oct 26, 2023 at 2:42 PM Michael S. Tsirkin [off-list ref] wrote:
On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote:quoted
Hi All Really apologize for the delay, this is the draft RFC for iommufd support for vdpa, This code provides the basic function for iommufd support The code was tested and passed in device vdpa_sim_net The qemu code is https://gitlab.com/lulu6/gitlabqemutmp/-/tree/iommufdRFC The kernel code is https://gitlab.com/lulu6/vhost/-/tree/iommufdRFC ToDo 1. this code is out of date and needs to clean and rebase on the latest code 2. this code has some workaround, I Skip the check for iommu_group and CACHE_COHERENCY, also some misc issues like need to add mutex for iommfd operations 3. only test in emulated device, other modes not tested yet After addressed these problems I will send out a new version for RFC. I will provide the code in 3 weeksWhat's the status here?
Hi Michael The code is finished, but I found some bug after adding the support for ASID, will post the new version after this bug is fixed, should be next week Thanks Cindy
-- MST