Skip to content

dmaengine: memset clarifications and fixes

Ben Walker dmaengine 3 versions – Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesApplied
  2. v24 patches 1 replySuperseded
  3. v1 RFC4 patches 4 repliesSuperseded

Changes in v3 from the cover letter

- Using signed byte for pattern everywhere

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4dmaengine: Document dmaengine_prep_dma_memsetDocumentation/driver-api/dmaengine/provider.rst include/linux/dmaengine.h+14 -00 replies
2/4dmaengine: at_hdmac: In atc_prep_dma_memset, treat value as a single bytedrivers/dma/at_hdmac.c+9 -10 replies
3/4dmaengine: at_xdmac: In at_xdmac_prep_dma_memset, treat value as a single bytedrivers/dma/at_xdmac.c+8 -11 reply
4/4dmaengine: hidma: In hidma_prep_dma_memset treat value as a single bytedrivers/dma/qcom/hidma.c+12 -10 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/4] dmaengine: memset clarifications and fixes

The following contains a clarification for the behavior of the 'value' parameter in the memset operation. It is intended to be a single byte pattern as laid out here:

https://lore.kernel.org/dmaengine/YejrA5ZWZ3lTRO%2F1@matsya/

Then I'm attempting to fix all places it is currently used. But note that I do not have access to this hardware and cannot test it. We'll really need a maintainer to take a look at each of these to verify that the changes are correct.

v3:
- Using signed byte for pattern everywhere

Ben Walker (4):
dmaengine: Document dmaengine_prep_dma_memset
dmaengine: at_hdmac: In atc_prep_dma_memset, treat value as a single
byte
dmaengine: at_xdmac: In at_xdmac_prep_dma_memset, treat value as a
single byte
dmaengine: hidma: In hidma_prep_dma_memset treat value as a single
byte

 drivers/dma/at_hdmac.c    | 10 +++++++++-
 drivers/dma/at_xdmac.c    |  9 ++++++++-
 drivers/dma/qcom/hidma.c  | 13 ++++++++++++-
 include/linux/dmaengine.h |  8 ++++++++
 4 files changed, 37 insertions(+), 3 deletions(-)
Signature · 1 line
2.33.1