Re: [PATCH v2 0/3] dmaengine: Add support for immediate commands

Vinod Koul
2022-11-04T12:40:51Z

On 27-10-22, 10:44, Sireesh Kodali wrote:
> The IPA v2.x block, found on some older Qualcomm SoCs, uses BAM DMA to
> send and receive packets from the AP. It also uses BAM to receive
> commands from the AP (and possibly the modem). These commands are
> encoded as "Immediate Commands". They vary from regular BAM DMA
> commands. Adding support for immediate commands is trivial, but requires
> also adding Immediate Commands to the dmaengine API, which is what this
> patch series does.

Can you explain a bit more. I understand you need "Immediate Commands"
but am really reluctant to add another interface to support a specific
use case

>
> Sireesh Kodali (3):
> doc: dmaengine: client-api: Add immediate commands in the DMA client
> API
> dmaengine: Add support for immediate commands in the client API
> dmaengine: bam_dma: Add support for immediate commands
>
> Documentation/driver-api/dmaengine/provider.rst | 10 ++++++++++
> drivers/dma/qcom/bam_dma.c | 3 +++
> include/linux/dmaengine.h | 4 ++++
> 3 files changed, 17 insertions(+)
>
> --
> 2.38.1

--
~Vinod