[PATCH v9 2/7] iommu/arm-smmu-v3: Add an inline arm_smmu_domain_free()
Pranjal Shrivastava
praan at google.com
Fri Jan 23 01:50:31 PST 2026
On Fri, Dec 19, 2025 at 12:11:24PM -0800, Nicolin Chen wrote:
> There will be a bit more things to free than smmu_domain itself. So keep a
> simple inline function in the header to share aross files.
>
> Suggested-by: Jason Gunthorpe <jgg at nvidia.com>
> Reviewed-by: Jason Gunthorpe <jgg at nvidia.com>
> Acked-by: Balbir Singh <balbirs at nvidia.com>
> Signed-off-by: Nicolin Chen <nicolinc at nvidia.com>
> ---
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 5 +++++
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 5 +++--
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 4 ++--
> 3 files changed, 10 insertions(+), 4 deletions(-)
>
Reviewed-by: Pranjal Shrivastava <praan at google.com>
Thanks
Praan
More information about the linux-arm-kernel
mailing list