[PATCH 0/3] mtd: rawnand: cadence: improvement and fixes

niravkumar.l.rabara@intel.com posted 3 patches 11 months, 2 weeks ago
There is a newer version of this series
.../mtd/nand/raw/cadence-nand-controller.c    | 35 +++++++++++++++----
1 file changed, 28 insertions(+), 7 deletions(-)
[PATCH 0/3] mtd: rawnand: cadence: improvement and fixes
Posted by niravkumar.l.rabara@intel.com 11 months, 2 weeks ago
From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>

This patchset introduces improvements and fixes for cadence nand driver.
The changes include:

1. Support deferred prob mechanism when DMA driver is not probed yet.
2. Map the slave DMA address using dma_map_resource. When ARM SMMU
   is enabled, using a direct physical address of SDMA results in
   DMA transaction failure.
3. Fixed the incorrect device context used for dma_unmap_single.

Niravkumar L Rabara (3):
  mtd: rawnand: cadence: support deferred prob when DMA is not ready
  mtd: rawnand: cadence: use dma_map_resource for sdma address
  mtd: rawnand: cadence: fix incorrect dev context in dma_unmap_single

 .../mtd/nand/raw/cadence-nand-controller.c    | 35 +++++++++++++++----
 1 file changed, 28 insertions(+), 7 deletions(-)

-- 
2.25.1
Re: [PATCH 0/3] mtd: rawnand: cadence: improvement and fixes
Posted by Miquel Raynal 11 months, 1 week ago
Hello,

On 08/01/2025 at 21:52:31 +08, niravkumar.l.rabara@intel.com wrote:

> From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
>
> This patchset introduces improvements and fixes for cadence nand driver.
> The changes include:
>
> 1. Support deferred prob mechanism when DMA driver is not probed yet.
> 2. Map the slave DMA address using dma_map_resource. When ARM SMMU
>    is enabled, using a direct physical address of SDMA results in
>    DMA transaction failure.
> 3. Fixed the incorrect device context used for dma_unmap_single.

The patches look good but they all miss the Fixes and Cc: stable tags,
as I believe these fixes should be backported.

Please send an updated version with those.

Thanks,
Miquèl