Skip to content

Commit 8541323

Browse files
committed
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: a9af47e ("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>
1 parent fec50db commit 8541323

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/iommu/iommufd/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ config IOMMUFD_TEST
3737
depends on DEBUG_KERNEL
3838
depends on FAULT_INJECTION
3939
depends on RUNTIME_TESTING_MENU
40+
select IOMMUFD_DRIVER
4041
default n
4142
help
4243
This is dangerous, do not enable unless running

0 commit comments

Comments
 (0)