On Thu, Jul 10, 2025 at 12:32:02PM -0300, Jason Gunthorpe wrote:
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@nvidia.com
Reviewed-by: Pranjal Shrivastava praan@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
Alright, this was on the `for-next` branch when the head was at: 3e2a9811f6a9cefd310cc33cab73d5435b4a4caa iommufd: Apply the new iommufd_object_alloc_ucmd helper
But I see that on `for-rc` [1] the fixes are merged.
Jason
Thanks Praan
[1] https://git.kernel.org/pub/scm/linux/kernel/git/jgg/iommufd.git/commit/?h=fo...