dmaengine.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] dmaengine: memset clarifications and fixes
@ 2022-03-01 18:25 Ben Walker
  2022-03-01 18:25 ` [PATCH v3 1/4] dmaengine: Document dmaengine_prep_dma_memset Ben Walker
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Ben Walker @ 2022-03-01 18:25 UTC (permalink / raw)
  To: vkoul; +Cc: dmaengine, ludovic.desroches, okaya, dave.jiang, Ben Walker

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(-)

-- 
2.33.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-08-02 15:58 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-01 18:25 [PATCH v3 0/4] dmaengine: memset clarifications and fixes Ben Walker
2022-03-01 18:25 ` [PATCH v3 1/4] dmaengine: Document dmaengine_prep_dma_memset Ben Walker
2022-03-01 18:25 ` [PATCH v3 2/4] dmaengine: at_hdmac: In atc_prep_dma_memset, treat value as a single byte Ben Walker
2022-03-01 18:25 ` [PATCH v3 3/4] dmaengine: at_xdmac: In at_xdmac_prep_dma_memset, " Ben Walker
2022-03-15 18:06   ` Tudor.Ambarus
2022-03-01 18:25 ` [PATCH v3 4/4] dmaengine: hidma: In hidma_prep_dma_memset " Ben Walker
2022-04-20 11:58 ` [PATCH v3 0/4] dmaengine: memset clarifications and fixes Vinod Koul
2022-08-02 15:53 ` Tudor.Ambarus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).