[PATCH v9 22/29] iommufd/selftest: Update hw_info coverage for an input data_type

Jason Gunthorpe jgg at nvidia.com
Thu Jul 10 08:32:02 PDT 2025


On Thu, Jul 10, 2025 at 11:09:26AM +0000, Pranjal Shrivastava wrote:
> On Wed, Jul 09, 2025 at 10:59:14PM -0700, Nicolin Chen wrote:
> > Test both IOMMU_HW_INFO_TYPE_DEFAULT and IOMMU_HW_INFO_TYPE_SELFTEST, and
> > add a negative test for an unsupported type.
> > 
> > Also drop the unused mask in test_cmd_get_hw_capabilities() as checkpatch
> > is complaining.
> > 
> > Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
> 
> Reviewed-by: Pranjal Shrivastava <praan at google.com>
> 
> Note: I see a couple of warnings while building the selftests on Jason's
> tree, but these seem unrelated to this series:

This is fixed in v6.16-rc5

Jason



More information about the linux-arm-kernel mailing list