Re: [PATCH v3 14/17] iommufd/selftest: Test iommufd_device_replace()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 23, 2023 at 07:57:34AM +0000, Tian, Kevin wrote:
> > From: Jason Gunthorpe <jgg@xxxxxxxxxx>
> > Sent: Wednesday, March 22, 2023 3:15 AM
> > 
> > From: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > 
> > Allow the selftest to call the function on the mock idev, add some tests
> > to exercise it.
> > 
> > Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> > Signed-off-by: Yi Liu <yi.l.liu@xxxxxxxxx>
> 
> Miss your s-o-b
> 
> > +
> > +	test_cmd_mock_domain_replace(self->stdev_ids[0], ioas_id);
> > +	if (variant->mock_domains >= 2) {
> > +		test_cmd_mock_domain_replace(self->stdev_ids[0],
> > +					     self->hwpt_ids[1]);
> > +		test_cmd_mock_domain_replace(self->stdev_ids[0],
> > +					     self->hwpt_ids[1]);
>
> Duplicated or intended?

Intended, it tests replacing with the same hwpt

Jason



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux