[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250714205747.3475772-1-arnd@kernel.org>
Date: Mon, 14 Jul 2025 22:57:38 +0200
From: Arnd Bergmann <arnd@...nel.org>
To: Thierry Reding <thierry.reding@...il.com>,
Will Deacon <will@...nel.org>,
Joerg Roedel <joro@...tes.org>,
Jonathan Hunter <jonathanh@...dia.com>,
Jason Gunthorpe <jgg@...pe.ca>,
Pranjal Shrivastava <praan@...gle.com>,
Nicolin Chen <nicolinc@...dia.com>
Cc: Arnd Bergmann <arnd@...db.de>,
Krishna Reddy <vdumpa@...dia.com>,
Robin Murphy <robin.murphy@....com>,
Kevin Tian <kevin.tian@...el.com>,
"Luis Claudio R. Goncalves" <lgoncalv@...hat.com>,
Nate Watterson <nwatterson@...dia.com>,
linux-tegra@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
iommu@...ts.linux.dev,
linux-kernel@...r.kernel.org
Subject: [PATCH] iommu/tegra241-cmdqv: import IOMMUFD module namespace
From: Arnd Bergmann <arnd@...db.de>
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")
Signed-off-by: Arnd Bergmann <arnd@...db.de>
---
drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c b/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c
index d5d43a1c7708..eb90af5093d8 100644
--- a/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c
+++ b/drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c
@@ -1329,3 +1329,5 @@ tegra241_cmdqv_init_vintf_user(struct arm_vsmmu *vsmmu,
tegra241_cmdqv_deinit_vintf(cmdqv, vintf->idx);
return ret;
}
+
+MODULE_IMPORT_NS("IOMMUFD");
--
2.39.5
Powered by blists - more mailing lists