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

Miquel Raynal miquel.raynal at bootlin.com
Tue Sep 20 01:10:53 PDT 2022


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 at vger.kernel.org
> Fixes: f88fc122cc34 ("mtd: nand: Cleanup/rework the atmel_nand driver")
> Signed-off-by: Tudor Ambarus <tudor.ambarus at microchip.com>
> Acked-by: Alexander Dahl <ada at thorsis.com>
> Reported-by: Peter Rosin <peda at axentia.se>
> Tested-by: Alexander Dahl <ada at thorsis.com>
> Reviewed-by: Boris Brezillon <boris.brezillon at collabora.com>
> Tested-by: Peter Rosin <peda at axentia.se>

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

Miquel



More information about the linux-arm-kernel mailing list