[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y+vUycZDiddxfSO+@Asurada-Nvidia>
Date: Tue, 14 Feb 2023 10:36:57 -0800
From: Nicolin Chen <nicolinc@...dia.com>
To: Yi Liu <yi.l.liu@...el.com>
CC: <joro@...tes.org>, <alex.williamson@...hat.com>, <jgg@...dia.com>,
<kevin.tian@...el.com>, <robin.murphy@....com>,
<cohuck@...hat.com>, <eric.auger@...hat.com>,
<kvm@...r.kernel.org>, <mjrosato@...ux.ibm.com>,
<chao.p.peng@...ux.intel.com>, <yi.y.sun@...ux.intel.com>,
<peterx@...hat.com>, <jasowang@...hat.com>,
<shameerali.kolothum.thodi@...wei.com>, <lulu@...hat.com>,
<suravee.suthikulpanit@....com>, <iommu@...ts.linux.dev>,
<linux-kernel@...r.kernel.org>, <linux-kselftest@...r.kernel.org>,
<baolu.lu@...ux.intel.com>
Subject: Re: [PATCH 14/17] iommufd/selftest: Add
IOMMU_TEST_OP_MOCK_DOMAIN_REPLACE test op
On Wed, Feb 08, 2023 at 08:31:50PM -0800, Yi Liu wrote:
> From: Nicolin Chen <nicolinc@...dia.com>
>
> This allows to detach/attach the mock_dev to a specified domain/hwpt.
>
> Signed-off-by: Nicolin Chen <nicolinc@...dia.com>
> Signed-off-by: Yi Liu <yi.l.liu@...el.com>
> ---
> drivers/iommu/iommufd/device.c | 1 -
> drivers/iommu/iommufd/iommufd_test.h | 5 +++
> drivers/iommu/iommufd/selftest.c | 54 ++++++++++++++++++++++++++++
> 3 files changed, 59 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iommu/iommufd/device.c b/drivers/iommu/iommufd/device.c
> index 826441c6005d..bf803975062c 100644
> --- a/drivers/iommu/iommufd/device.c
> +++ b/drivers/iommu/iommufd/device.c
> @@ -964,7 +964,6 @@ EXPORT_SYMBOL_NS_GPL(iommufd_access_rw, IOMMUFD);
> * Creating a real iommufd_device is too hard, bypass creating a iommufd_device
> * and go directly to attaching a domain.
> */
> -
> int iommufd_device_selftest_attach(struct iommufd_ctx *ictx,
> struct iommufd_hw_pagetable *hwpt)
> {
Just found last night that I forgot to drop this line removal.
Let's fix it in v2 :)
Thanks
Nic
Powered by blists - more mailing lists