lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221027052007.47403-1-sireeshkodali1@gmail.com>
Date:   Thu, 27 Oct 2022 10:50:06 +0530
From:   Sireesh Kodali <sireeshkodali1@...il.com>
To:     andersson@...nel.org, agross@...nel.org,
        ~postmarketos/upstreaming@...ts.sr.ht, linux-kernel@...r.kernel.org
Cc:     dmaengine@...r.kernel.org,
        Sireesh Kodali <sireeshkodali1@...il.com>
Subject: [PATCH v2 0/1] dmaengine: qcom: Add support for metadata in bam_dma

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ