Skip to content

dmaengine: pl330: Updates and logical changes for peripheral usecases

Joy Chakraborty dmaengine linux-devicetree lkml 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 0 repliesNew
  2. v17 patches 6 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dmaengine: pl330: Separate SRC and DST burst size and lendrivers/dma/pl330.c+46 -250 replies
2/6dmaengine: pl330: Use FFS to calculate burst sizedrivers/dma/pl330.c+1 -40 replies
3/6dmaengine: pl330: Change if-else to switch-case for consistencydrivers/dma/pl330.c+7 -20 replies
4/6dmaengine: pl330: Change unused arg "len" from get_burst_len()drivers/dma/pl330.c+3 -40 replies
5/6dmaengine: pl330: Optimize AxSize for peripheral usecasesdrivers/dma/pl330.c+78 -140 replies
6/6dmaengine: pl330: Use dma singles for peripheral _dregsdrivers/dma/pl330.c+63 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/6] dmaengine: pl330: Updates and logical changes for peripheral usecases

This patch series makes some initial minor and cosmetic changes:
-Add variables and logic to handle separate source and destination AxSize and AxLen.
-Use __ffs to calculate AxSize for consistency in the driver -Use switch-case in prep_slave_sg() for consistency -Change args get_burst_len() to remove redundant "len" and add burst_size so that it can be used in multiple places.

to majorly enable addition of 2 logical changes in the last 2 patches:
-Allow transactions towards memory to use the maximum possible bus width (AxSize) during a memory to peripheral dma usage or vise-versa.
-Add logic to copy left over data after executing bursts to the peripheral in singles instead of bursts.
---
V1->V2 Changes : Remove Quirk logic and update description texts.
---

Joy Chakraborty (6):
dmaengine: pl330: Separate SRC and DST burst size and len
dmaengine: pl330: Use FFS to calculate burst size
dmaengine: pl330: Change if-else to switch-case for consistency
dmaengine: pl330: Change unused arg "len" from get_burst_len()
dmaengine: pl330: Optimize AxSize for peripheral usecases
dmaengine: pl330: Use dma singles for peripheral _dregs

 drivers/dma/pl330.c | 223 ++++++++++++++++++++++++++++++++++++--------
 1 file changed, 185 insertions(+), 38 deletions(-)
Signature · 1 line
2.40.1.606.ga4b1b128d6-goog