linux/tools/testing/selftests/iommu
Muhammad Usama Anjum 510325e5ac selftests/iommu: fix the config fragment
The config fragment doesn't follow the correct format to enable those
config options which make the config options getting missed while
merging with other configs.

➜ merge_config.sh -m .config tools/testing/selftests/iommu/config
Using .config as base
Merging tools/testing/selftests/iommu/config
➜ make olddefconfig
.config:5295:warning: unexpected data: CONFIG_IOMMUFD
.config:5296:warning: unexpected data: CONFIG_IOMMUFD_TEST

While at it, add CONFIG_FAULT_INJECTION as well which is needed for
CONFIG_IOMMUFD_TEST. If CONFIG_FAULT_INJECTION isn't present in base
config (such as x86 defconfig), CONFIG_IOMMUFD_TEST doesn't get enabled.

Fixes: 57f0988706 ("iommufd: Add a selftest")
Link: https://lore.kernel.org/r/20240222074934.71380-1-usama.anjum@collabora.com
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2024-02-22 09:02:05 -04:00
..
.gitignore
config selftests/iommu: fix the config fragment 2024-02-22 09:02:05 -04:00
iommufd_fail_nth.c iommufd/selftest: Add coverage for IOMMU_HWPT_ALLOC with nested HWPTs 2023-10-26 11:15:57 -03:00
iommufd_utils.h iommufd/selftest: Refactor dirty bitmap tests 2024-02-06 11:31:45 -04:00
iommufd.c iommufd/selftest: Add mock IO hugepages tests 2024-02-06 11:31:46 -04:00
Makefile selftests: iommu: Use installed kernel headers search path 2023-02-13 09:09:46 -07:00