* [PATCH] iommu/tegra241-cmdqv: import IOMMUFD module namespace
@ 2025-07-14 20:57 Arnd Bergmann
2025-07-14 21:34 ` Jason Gunthorpe
0 siblings, 1 reply; 2+ messages in thread
From: Arnd Bergmann @ 2025-07-14 20:57 UTC (permalink / raw)
To: Thierry Reding, Will Deacon, Joerg Roedel, Jonathan Hunter,
Jason Gunthorpe, Pranjal Shrivastava, Nicolin Chen
Cc: Arnd Bergmann, Krishna Reddy, Robin Murphy, Kevin Tian,
Luis Claudio R. Goncalves, Nate Watterson, linux-tegra,
linux-arm-kernel, iommu, linux-kernel
From: Arnd Bergmann <arnd@arndb.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@arndb.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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iommu/tegra241-cmdqv: import IOMMUFD module namespace
2025-07-14 20:57 [PATCH] iommu/tegra241-cmdqv: import IOMMUFD module namespace Arnd Bergmann
@ 2025-07-14 21:34 ` Jason Gunthorpe
0 siblings, 0 replies; 2+ messages in thread
From: Jason Gunthorpe @ 2025-07-14 21:34 UTC (permalink / raw)
To: Arnd Bergmann
Cc: Thierry Reding, Will Deacon, Joerg Roedel, Jonathan Hunter,
Pranjal Shrivastava, Nicolin Chen, Arnd Bergmann, Krishna Reddy,
Robin Murphy, Kevin Tian, Luis Claudio R. Goncalves,
Nate Watterson, linux-tegra, linux-arm-kernel, iommu,
linux-kernel
On Mon, Jul 14, 2025 at 10:57:38PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@arndb.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@arndb.de>
> ---
> drivers/iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 2 ++
> 1 file changed, 2 insertions(+)
Applied thanks
Jason
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-14 21:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-14 20:57 [PATCH] iommu/tegra241-cmdqv: import IOMMUFD module namespace Arnd Bergmann
2025-07-14 21:34 ` Jason Gunthorpe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).