iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest
authorJason Gunthorpe <jgg@nvidia.com>
Fri, 5 Apr 2024 00:05:14 +0000 (21:05 -0300)
committerJason Gunthorpe <jgg@nvidia.com>
Sun, 14 Apr 2024 16:52:08 +0000 (13:52 -0300)
commit8541323285994528ad5be2c1bdc759e6c83b936e
treeba295e66b7127867889eeeacd47dc56aab18485f
parentfec50db7033ea478773b159e0e2efb135270e3b7
iommufd: Add missing IOMMUFD_DRIVER kconfig for the selftest

Some kconfigs don't automatically include this symbol which results in sub
functions for some of the dirty tracking related things that are
non-functional. Thus the test suite will fail. select IOMMUFD_DRIVER in
the IOMMUFD_TEST kconfig to fix it.

Fixes: a9af47e382a4 ("iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP")
Link: https://lore.kernel.org/r/20240327182050.GA1363414@ziepe.ca
Tested-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/iommufd/Kconfig