Re: [PATCH v2 2/3] mtd: rawnand: cadence: use dma_map_resource for sdma address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 16/01/2025 at 11:21:53 +08, niravkumar.l.rabara@xxxxxxxxx wrote:

> From: Niravkumar L Rabara <niravkumar.l.rabara@xxxxxxxxx>
>
> Map the slave DMA I/O address using dma_map_resource.
> When ARM SMMU is enabled, using a direct physical address of SDMA results
> in DMA transaction failure.

It is in general a better practice anyway. Drivers should be portable
and always remap resources.

> Fixes: ec4ba01e894d ("mtd: rawnand: Add new Cadence NAND driver to MTD subsystem")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@xxxxxxxxx>

Thanks,
Miquèl





[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux