Message ID | 20230923170540.1447301-1-lulu@redhat.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp373822vqu; Sat, 23 Sep 2023 14:22:42 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEGw2MVxF7HPyYwySaVd1kJFdDsemERnwCp9+UisHsM1ZT3/s82NPQYM7lbGDqR5gDip2Am X-Received: by 2002:a17:903:11cd:b0:1b8:6a09:9cf9 with SMTP id q13-20020a17090311cd00b001b86a099cf9mr3628151plh.26.1695504162476; Sat, 23 Sep 2023 14:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695504162; cv=none; d=google.com; s=arc-20160816; b=Y7pb1P4KtVgPLsirACcXEE/1MfImCd2xx9pu2Qqf28bMbktEs8bofLDlfC+0RUYMG3 wXN2R37dxVIG/PTL97SpxHBUaTi62UNQeyTaLbzgXMrUi0OV7i+mxCUFOU9cv09VIM5t S/jw7LIl5CedXnsL2XhgNNlQElKupWLbIeFx2PcMW1AoLUzN9J7o+YZtS7leqheb+Ew9 z6R+jrqINbLF1RaslCgloCRiTV00dtLNNc/NWPXjpocmpLNSP7IW7EWHxukNpKOy/MAh ZnVoGv+7sWLMU2cZJURRvvJmgKB7zbn3KD4H0SJWQVUa1nP/kY/fwx2G4pagzlxL0qWb z0jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=oUMO2OtaVNrK4yV1FIaqhnvn7xtcxe5yI1/jQcR5/F8=; fh=xiBZnYthZkU72K3VlivZH8ewgfrUkWRaBxXhAGtxMAw=; b=W5FcS7h83lEn9P6rS8gJW626MXxuBF8o6GYsiaBryharHNQuVMQm4z8Xz5clzwSgMG m9908frOHw3i9JiAiUTIv8UBTgAylALKQSepiWWLHSVWuZmMUy8Fyp8z3D3pgmse1D7Y QbVtQ+SqQ9zMLjszdftF/DCd5BD4U/RqFTRo/bKjMckFagb2ip5D7aP1f/PApLd6KuUZ Zw2ENCjA0s7Hfen6oUL4M+9Ng3y7ZDw76WGKWR7twcZ/CncXvMl1I7KWwIDjPxLmEjsn 5FSWWnrlmFk6EyuOFaK9DGZ+VAOMUREzZiI+RnGmxvL479j4i4BhNQWQffyTD7rgkPcg 1F1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PiD7JRKL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id l4-20020a170903244400b001bf01c6bc1bsi7065427pls.551.2023.09.23.14.22.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 14:22:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PiD7JRKL; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id EA39F81EE50C; Sat, 23 Sep 2023 10:06:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232053AbjIWRGo (ORCPT <rfc822;pusanteemu@gmail.com> + 30 others); Sat, 23 Sep 2023 13:06:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231972AbjIWRGl (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 23 Sep 2023 13:06:41 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC8AC11D for <linux-kernel@vger.kernel.org>; Sat, 23 Sep 2023 10:05:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1695488750; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oUMO2OtaVNrK4yV1FIaqhnvn7xtcxe5yI1/jQcR5/F8=; b=PiD7JRKL7uMjz8moxLSIuEhQ3HmGDWBvFnYDGlxnPBfEbdBzPN+b0tkzgjLYlGn+oqyW7e AIb+Acw3SZcsarkrAlbJQ38ASCsCgCYaR8xeLrW5Q3uC0RpHBPN5gzllCX94w2x4AvrdsD WjfzpsoQ5ezY/7Lt9SmPb4O2JxAiBtM= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-130-0vJcqFGBM1iH50Q-lv9VZw-1; Sat, 23 Sep 2023 13:05:47 -0400 X-MC-Unique: 0vJcqFGBM1iH50Q-lv9VZw-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D3BC9811E7E; Sat, 23 Sep 2023 17:05:46 +0000 (UTC) Received: from server.redhat.com (unknown [10.72.112.11]) by smtp.corp.redhat.com (Postfix) with ESMTP id 949EB2026D4B; Sat, 23 Sep 2023 17:05:43 +0000 (UTC) From: Cindy Lu <lulu@redhat.com> To: lulu@redhat.com, jasowang@redhat.com, mst@redhat.com, yi.l.liu@intel.com, jgg@nvidia.com, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org Subject: [RFC 0/7] vdpa: Add support for iommufd Date: Sun, 24 Sep 2023 01:05:33 +0800 Message-Id: <20230923170540.1447301-1-lulu@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Spam-Status: No, score=2.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Sat, 23 Sep 2023 10:06:52 -0700 (PDT) X-Spam-Level: ** X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777864972581589541 X-GMAIL-MSGID: 1777864972581589541 |
Series |
vdpa: Add support for iommufd
|
|
Message
Cindy Lu
Sept. 23, 2023, 5:05 p.m. UTC
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 weeks
Thanks
Cindy
Signed-off-by: Cindy Lu <lulu@redhat.com>
The test step is
1. create vdpa_sim device
...
vdpa dev add name vdpa15 mgmtdev vdpasim_net
...
2. load the VM with the command
-object iommufd,id=iommufd0 \
-device virtio-net-pci,netdev=vhost-vdpa1,disable-legacy=on,disable-modern=off\
-netdev type=vhost-vdpa,vhostdev=/dev/vhost-vdpa-0,id=vhost-vdpa1,iommufd=iommufd0\
3. in guest VM you can find the vdpa_sim port works well.
[root@ubuntunew ~]# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5054:ff:fe12:3456 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:12:34:56 txqueuelen 1000 (Ethernet)
RX packets 53 bytes 9108 (8.8 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 53 bytes 9108 (8.8 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@ubuntunew ~]# ./test.sh eth0
[ 172.815279] pktgen: Packet Generator for packet performance testing. Version: 2.75
Adding queue 0 of eth0
Configuring devices eth0@0
Running... ctrl^C to stop
[root@ubuntunew ~]# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::5054:ff:fe12:3456 prefixlen 64 scopeid 0x20<link>
ether 52:54:00:12:34:56 txqueuelen 1000 (Ethernet)
RX packets 183455 bytes 11748533 (11.2 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 183473 bytes 11749685 (11.2 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Cindy Lu (7):
vhost/iommufd: Add the functions support iommufd
Kconfig: Add the new file vhost/iommufd
vhost: Add 3 new uapi to support iommufd
vdpa: change the map/unmap process to support iommufd
vdpa: Add new vdpa_config_ops
vdpa_sim :Add support for iommufd
iommufd: Skip the CACHE_COHERENCY and iommu group check
drivers/iommu/iommufd/device.c | 6 +-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 8 ++
drivers/vhost/Kconfig | 1 +
drivers/vhost/Makefile | 1 +
drivers/vhost/iommufd.c | 151 +++++++++++++++++++++++
drivers/vhost/vdpa.c | 201 +++++++++++++++++++++++++++++++
drivers/vhost/vhost.h | 21 ++++
include/linux/vdpa.h | 34 +++++-
include/uapi/linux/vhost.h | 71 +++++++++++
9 files changed, 490 insertions(+), 4 deletions(-)
create mode 100644 drivers/vhost/iommufd.c
Comments
On Sun, Sep 24, 2023 at 1:05 AM Cindy Lu <lulu@redhat.com> wrote: > > 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 weeks Something more needs to be done after a quick glance at the codes. 1) The support for device with platform IOMMU support 2) The support for multiple ASes per device ... Thanks > > Thanks > Cindy > Signed-off-by: Cindy Lu <lulu@redhat.com> > The test step is > 1. create vdpa_sim device > ... > vdpa dev add name vdpa15 mgmtdev vdpasim_net > ... > 2. load the VM with the command > -object iommufd,id=iommufd0 \ > -device virtio-net-pci,netdev=vhost-vdpa1,disable-legacy=on,disable-modern=off\ > -netdev type=vhost-vdpa,vhostdev=/dev/vhost-vdpa-0,id=vhost-vdpa1,iommufd=iommufd0\ > > 3. in guest VM you can find the vdpa_sim port works well. > [root@ubuntunew ~]# ifconfig eth0 > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::5054:ff:fe12:3456 prefixlen 64 scopeid 0x20<link> > ether 52:54:00:12:34:56 txqueuelen 1000 (Ethernet) > RX packets 53 bytes 9108 (8.8 KiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 53 bytes 9108 (8.8 KiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > [root@ubuntunew ~]# ./test.sh eth0 > [ 172.815279] pktgen: Packet Generator for packet performance testing. Version: 2.75 > Adding queue 0 of eth0 > Configuring devices eth0@0 > Running... ctrl^C to stop > > [root@ubuntunew ~]# ifconfig eth0 > eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 > inet6 fe80::5054:ff:fe12:3456 prefixlen 64 scopeid 0x20<link> > ether 52:54:00:12:34:56 txqueuelen 1000 (Ethernet) > RX packets 183455 bytes 11748533 (11.2 MiB) > RX errors 0 dropped 0 overruns 0 frame 0 > TX packets 183473 bytes 11749685 (11.2 MiB) > TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 > > Cindy Lu (7): > vhost/iommufd: Add the functions support iommufd > Kconfig: Add the new file vhost/iommufd > vhost: Add 3 new uapi to support iommufd > vdpa: change the map/unmap process to support iommufd > vdpa: Add new vdpa_config_ops > vdpa_sim :Add support for iommufd > iommufd: Skip the CACHE_COHERENCY and iommu group check > > drivers/iommu/iommufd/device.c | 6 +- > drivers/vdpa/vdpa_sim/vdpa_sim.c | 8 ++ > drivers/vhost/Kconfig | 1 + > drivers/vhost/Makefile | 1 + > drivers/vhost/iommufd.c | 151 +++++++++++++++++++++++ > drivers/vhost/vdpa.c | 201 +++++++++++++++++++++++++++++++ > drivers/vhost/vhost.h | 21 ++++ > include/linux/vdpa.h | 34 +++++- > include/uapi/linux/vhost.h | 71 +++++++++++ > 9 files changed, 490 insertions(+), 4 deletions(-) > create mode 100644 drivers/vhost/iommufd.c > > -- > 2.34.3 >
On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote: > 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 weeks What's the status here?
On Thu, Oct 26, 2023 at 2:42 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote: > > 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 weeks > > What'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 >
On Thu, Oct 26, 2023 at 02:48:07PM +0800, Cindy Lu wrote: > On Thu, Oct 26, 2023 at 2:42 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > > > On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote: > > > 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 weeks > > > > What'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 We'll miss this merge window then. > > -- > > MST > >
On Thu, Oct 26, 2023 at 2:49 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > On Thu, Oct 26, 2023 at 02:48:07PM +0800, Cindy Lu wrote: > > On Thu, Oct 26, 2023 at 2:42 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > > > > > On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote: > > > > 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 weeks > > > > > > What'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 > > > We'll miss this merge window then. > thanks Micheal, I will try my best. will post the new version as soon as I can Thanks Cindy > > > -- > > > MST > > > >
On Thu, Oct 26, 2023 at 02:48:07PM +0800, Cindy Lu wrote: > On Thu, Oct 26, 2023 at 2:42 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > > > On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote: > > > 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 weeks > > > > What'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 The week is almost gone, what's going on? > > -- > > MST > >
On Thu, Nov 2, 2023 at 6:02 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > On Thu, Oct 26, 2023 at 02:48:07PM +0800, Cindy Lu wrote: > > On Thu, Oct 26, 2023 at 2:42 PM Michael S. Tsirkin <mst@redhat.com> wrote: > > > > > > On Sun, Sep 24, 2023 at 01:05:33AM +0800, Cindy Lu wrote: > > > > 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 weeks > > > > > > What'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 > > The week is almost gone, what's going on? > thanks, Micheal, I will send it out tomorrow Thanks Cindy > > > > -- > > > MST > > > >