aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2024-03-25 14:00:48 +0500
committerJason Gunthorpe <jgg@nvidia.com>2024-04-14 13:52:08 -0300
commit2760c51b8040d7cffedc337939e7475a17cc4b19 (patch)
tree0d618818c5ced8766d0c8c75cd9fdca7cbfd7cc8
parent8541323285994528ad5be2c1bdc759e6c83b936e (diff)
downloadlinux-2760c51b8040d7cffedc337939e7475a17cc4b19.tar.gz
iommufd: Add config needed for iommufd_fail_nth
Add FAULT_INJECTION_DEBUG_FS and FAILSLAB configurations to the kconfig fragment for the iommfd selftests. These kconfigs are needed by the iommufd_fail_nth test. Fixes: a9af47e382a4 ("iommufd/selftest: Test IOMMU_HWPT_GET_DIRTY_BITMAP") Link: https://lore.kernel.org/r/20240325090048.1423908-1-usama.anjum@collabora.com Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
-rw-r--r--tools/testing/selftests/iommu/config2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/testing/selftests/iommu/config b/tools/testing/selftests/iommu/config
index 110d73917615d1..02a2a1b267c1ea 100644
--- a/tools/testing/selftests/iommu/config
+++ b/tools/testing/selftests/iommu/config
@@ -1,3 +1,5 @@
CONFIG_IOMMUFD=y
+CONFIG_FAULT_INJECTION_DEBUG_FS=y
CONFIG_FAULT_INJECTION=y
CONFIG_IOMMUFD_TEST=y
+CONFIG_FAILSLAB=y