Re: [PATCH] mtd: rawnand: atmel: Unmap streaming DMA mappings

From: Miquel Raynal
Date: Tue Sep 20 2022 - 04:13:21 EST


On Thu, 2022-07-28 at 07:40:14 UTC, Tudor Ambarus wrote:
> Every dma_map_single() call should have its dma_unmap_single() counterpart,
> because the DMA address space is a shared resource and one could render the
> machine unusable by consuming all DMA addresses.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver")
> Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
> Acked-by: Alexander Dahl <ada@xxxxxxxxxxx>
> Reported-by: Peter Rosin <peda@xxxxxxxxxx>
> Tested-by: Alexander Dahl <ada@xxxxxxxxxxx>
> Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>
> Tested-by: Peter Rosin <peda@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel