Skip to content

mtd: rawnand: Convert drivers to use dma_request_chan()

Peter Ujfalusi linux-arm-kernel linux-mtd lkml 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 8 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7mtd: rawnand: gpmi: Use dma_request_chan() instead dma_request_slave_channel()drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c+11 -101 reply
2/7mtd: rawnand: marvell: Release DMA channel on errordrivers/mtd/nand/raw/marvell_nand.c+19 -61 reply
3/7mtd: rawnand: marvell: Use dma_request_chan() instead dma_request_slave_channel()drivers/mtd/nand/raw/marvell_nand.c+8 -51 reply
4/7mtd: rawnand: sunxi: Use dma_request_chan() instead dma_request_slave_channel()drivers/mtd/nand/raw/sunxi_nand.c+10 -52 replies
5/7mtd: rawnand: qcom: Release resources on failure within qcom_nandc_alloc()drivers/mtd/nand/raw/qcom_nandc.c+34 -271 reply
6/7mtd: rawnand: qcom: Use dma_request_chan() instead dma_request_slave_channel()drivers/mtd/nand/raw/qcom_nandc.c+33 -171 reply
7/7mtd: rawnand: stm32_fmc2: Use dma_request_chan() instead dma_request_slave_channel()drivers/mtd/nand/raw/stm32_fmc2_nand.c+37 -71 reply

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchMaxime Ripard
1/7
2/7
3/7
4/7A-b
5/7
6/7
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] mtd: rawnand: Convert drivers to use dma_request_chan()

Hi,

With dma_request_chan() drivers can know why the channel request failed and depending on how they are implemented can handle the failure in a best effort, either deferring or falling back to PIO mode.

Regards,
Peter
---
Peter Ujfalusi (7):
mtd: rawnand: gpmi: Use dma_request_chan() instead
dma_request_slave_channel()
mtd: rawnand: marvell: Release DMA channel on error
mtd: rawnand: marvell: Use dma_request_chan() instead
dma_request_slave_channel()
mtd: rawnand: sunxi: Use dma_request_chan() instead
dma_request_slave_channel()
mtd: rawnand: qcom: Release resources on failure within
qcom_nandc_alloc()
mtd: rawnand: qcom: Use dma_request_chan() instead
dma_request_slave_channel()
mtd: rawnand: stm32_fmc2: Use dma_request_chan() instead
dma_request_slave_channel()

 drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c |  21 +++--
 drivers/mtd/nand/raw/marvell_nand.c        |  38 +++++---
 drivers/mtd/nand/raw/qcom_nandc.c          | 105 +++++++++++++--------
 drivers/mtd/nand/raw/stm32_fmc2_nand.c     |  44 +++++++--
 drivers/mtd/nand/raw/sunxi_nand.c          |  15 ++-
 5 files changed, 149 insertions(+), 74 deletions(-)
Signature · 4 lines
Peter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki