Re: [PATCH] dma-mapping: reliably inform about DMA support for IOMMU

From: Nícolas F. R. A. Prado
Date: Wed Sep 11 2024 - 08:55:15 EST


On Wed, Sep 11, 2024 at 01:15:00PM +0300, Leon Romanovsky wrote:
> From: Leon Romanovsky <leonro@xxxxxxxxxx>
>
> If the DMA IOMMU path is going to be used, the appropriate check should
> return that DMA is supported.
>
> Fixes: b5c58b2fdc42 ("dma-mapping: direct calls for dma-iommu")
> Closes: https://lore.kernel.org/all/181e06ff-35a3-434f-b505-672f430bd1cb@notapiano
> Reported-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx> #KernelCI
> Signed-off-by: Leon Romanovsky <leonro@xxxxxxxxxx>

Thank you for the quick patch. It fixes the reported issue.

Tested-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxx>

Thanks,
Nícolas