Re: [PATCH 2/4] media: iris: use dma_iova_size() to check the reserved IOVA size

From: Vikash Garodia

Date: Fri Nov 27 2026 - 07:42:21 EST



On 11/27/2026 5:28 PM, Marek Szyprowski wrote:
The IOVA reservation code compares dma_iova_state::__size directly with
the requested chunk size. __size is internal to the DMA IOVA API and may
carry flags in its upper bits, so use the dma_iova_size() accessor
instead.

Fixes: 200473c198b2 ("media: iris: Fix iova allocation from restrict region")
Cc:stable@xxxxxxxxxxxxxxx # v7.4+
Signed-off-by: Marek Szyprowski<m.szyprowski@xxxxxxxxxxx>
---
drivers/media/platform/qcom/iris/iris_probe.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Vikash Garodia <vikash.garodia@xxxxxxxxxxxxxxxx>