public inbox for dmaengine@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/1] dmaengine: qcom: Add support for metadata in bam_dma
@ 2022-10-27  5:20 Sireesh Kodali
  2022-10-27  5:20 ` [PATCH v2 1/1] dmaengine: qcom: bam_dma: Add support for metadata Sireesh Kodali
  0 siblings, 1 reply; 4+ messages in thread
From: Sireesh Kodali @ 2022-10-27  5:20 UTC (permalink / raw)
  To: andersson, agross, ~postmarketos/upstreaming, linux-kernel
  Cc: dmaengine, Sireesh Kodali

IPA v2.x uses BAM to send and receive IP packets, to and from the AP.
However, unlike its predecessor BAM-DMUX, it doesn't send information
about the packet length. To find the length of the packet, one must
instead read the bam_desc metadata. This patch adds support for sending
the size metadata over the dmaengine metadata api. Currently only the
dma size is stored in the metadata. Only client-side metadata is
supported for now, because host-side metadata doesn't make sense for
IPA, where more than one DMA descriptors could be waiting to be acked
and processed.

Changes since v1:
 * Rebased onto 6.0 kernel
 * Patch redone by Vladimir

Vladimir Lypak (1):
  dmaengine: qcom: bam_dma: Add support for metadata

 drivers/dma/qcom/bam_dma.c       | 57 ++++++++++++++++++++++++++++++++
 include/linux/dma/qcom_bam_dma.h |  8 +++++
 2 files changed, 65 insertions(+)

-- 
2.38.1


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

end of thread, other threads:[~2022-11-11  5:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-27  5:20 [PATCH v2 0/1] dmaengine: qcom: Add support for metadata in bam_dma Sireesh Kodali
2022-10-27  5:20 ` [PATCH v2 1/1] dmaengine: qcom: bam_dma: Add support for metadata Sireesh Kodali
2022-11-04 12:29   ` Vinod Koul
2022-11-11  5:14     ` Sireesh Kodali

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox