spi: atmel: enhance the DMA handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | spi: atmel: trivial: move info banner to latest probe actiondrivers/ | +4 | 2 replies | |
| 2/5 | spi: atmel: Use core SPI_MASTER_MUST_[RT]X handlingdrivers/ | +35 | 1 reply | |
| 3/5 | spi: atmel: Use SPI core DMA mapping frameworkdrivers/ | +25 | 1 reply | |
| 4/5 | spi: atmel: trivial: remove unused fields in DMA structuredrivers/ | +0 | 1 reply | |
| 5/5 | spi: atmel: remove the use of private channel fieldsdrivers/ | +43 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] spi: atmel: enhance the DMA handling
Use the dummy buffer handling and DMA mapping core infrastructure to simplify spi-atmel driver.
By using these frameworks we also fix the use of any kind of memory with dmaengine. This work was triggered by issues encountered while using UBI/UBIFS on a serial flash.
Some good ideas of this series have been inspired by spi-rspi.c and commits by Geert Uytterhoeven.
I have a side question still: is the is_dma_mapped tag still used and considered into the core spi routines or is it always the driver itself that have to deal with it (so how to do with the can_dma() routine)?
Cyrille Pitchen (1):
spi: atmel: Use SPI core DMA mapping framework
Nicolas Ferre (4):
spi: atmel: trivial: move info banner to latest probe action
spi: atmel: Use core SPI_MASTER_MUST_[RT]X handling
spi: atmel: trivial: remove unused fields in DMA structure
spi: atmel: remove the use of private channel fields
drivers/spi/spi-atmel.c | 268 ++++++++++++++++++------------------------------ 1 file changed, 98 insertions(+), 170 deletions(-)
Signature · 1 line
2.9.0