Re: [PATCH rc v2] iommu/tegra241-cmdqv: Fix warnings due to dmam_free_coherent()

From: Joerg Roedel
Date: Fri Apr 11 2025 - 06:45:24 EST


On Mon, Apr 07, 2025 at 01:19:08PM -0700, Nicolin Chen wrote:
> Fixes: 483e0bd8883a ("iommu/tegra241-cmdqv: Do not allocate vcmdq until dma_set_mask_and_coherent")
> Cc: stable@xxxxxxxxxxxxxxx
> Suggested-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
> Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
> ---
> Changelog
> v2
> * Fail tegra241_cmdqv_init_structures() and let devres take care of the
> lvcmdq queue memory space
> v1
> https://lore.kernel.org/all/cover.1744014481.git.nicolinc@xxxxxxxxxx/
>
> .../iommu/arm/arm-smmu-v3/tegra241-cmdqv.c | 32 +++----------------
> 1 file changed, 5 insertions(+), 27 deletions(-)

Applied, thanks.