]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
iommu/tegra241-cmdqv: import IOMMUFD module namespace
authorArnd Bergmann <arnd@arndb.de>
Mon, 14 Jul 2025 20:57:38 +0000 (22:57 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 14 Jul 2025 21:34:09 +0000 (18:34 -0300)
The tegra variant of smmu-v3 now uses the iommufd mmap interface but
is missing the corresponding import:

ERROR: modpost: module arm_smmu_v3 uses symbol _iommufd_object_depend from namespace IOMMUFD, but does not import it.
ERROR: modpost: module arm_smmu_v3 uses symbol iommufd_viommu_report_event from namespace IOMMUFD, but does not import it.
ERROR: modpost: module arm_smmu_v3 uses symbol _iommufd_destroy_mmap from namespace IOMMUFD, but does not import it.
ERROR: modpost: module arm_smmu_v3 uses symbol _iommufd_object_undepend from namespace IOMMUFD, but does not import it.
ERROR: modpost: module arm_smmu_v3 uses symbol _iommufd_alloc_mmap from namespace IOMMUFD, but does not import it.

Fixes: b135de24cfc0 ("iommu/tegra241-cmdqv: Add user-space use support")
Link: https://patch.msgid.link/r/20250714205747.3475772-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c

index d5d43a1c7708290d793a9eb1871e10f9107c7e9f..eb90af5093d89b850aeddaaefe559e10c85c8b6c 100644 (file)
@@ -1329,3 +1329,5 @@ deinit_vintf:
        tegra241_cmdqv_deinit_vintf(cmdqv, vintf->idx);
        return ret;
 }
+
+MODULE_IMPORT_NS("IOMMUFD");