Re: [PATCH] iommufd/selftest: Iterate idev_ids in mock_domain's alloc_hwpt test

2023-09-26 Thread Jason Gunthorpe
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 > --- > Jason/Kevin, I formated the patch with "-U4" so

RE: [PATCH] iommufd/selftest: Iterate idev_ids in mock_domain's alloc_hwpt test

2023-09-25 Thread Tian, Kevin
> From: Nicolin Chen > Sent: Tuesday, September 19, 2023 9:17 AM > > 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 Reviewed-by: Kevin Tian

[PATCH] iommufd/selftest: Iterate idev_ids in mock_domain's alloc_hwpt test

2023-09-18 Thread Nicolin Chen
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 --- 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 f