[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230926161343.GP13733@nvidia.com>
Date: Tue, 26 Sep 2023 13:13:43 -0300
From: Jason Gunthorpe <jgg@...dia.com>
To: Nicolin Chen <nicolinc@...dia.com>
Cc: kevin.tian@...el.com, yi.l.liu@...el.com, shuah@...nel.org,
iommu@...ts.linux.dev, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH] iommufd/selftest: Iterate idev_ids in mock_domain's
alloc_hwpt test
On Mon, Sep 18, 2023 at 06:16:37PM -0700, Nicolin Chen wrote:
> The point in iterating variant->mock_domains is to test the idev_ids[0]
> and idev_ids[1]. So use it instead of keeping testing idev_ids[0] only.
>
> Signed-off-by: Nicolin Chen <nicolinc@...dia.com>
> ---
> Jason/Kevin, I formated the patch with "-U4" so it shows the "for" line.
> I didn't send it as a bug fix since it doesn't feel so critical that it
> should bother stable trees -- yet if there's a need, I'd resend. Thanks!
>
> tools/testing/selftests/iommu/iommufd.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to iommufd for-next
Thanks,
Jason
Powered by blists - more mailing lists