DMA Engine development
 help / color / mirror / Atom feed
From: Nickolay Goppen <setotau@mainlining.org>
To: Vinod Koul <vkoul@kernel.org>, Frank Li <Frank.Li@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>
Cc: dmaengine@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
	Sireesh Kodali <sireeshkodali1@gmail.com>
Subject: Re: [PATCH 0/3] dmaengine: Add support for immediate commands
Date: Thu, 3 Dec 2026 21:31:13 +0300	[thread overview]
Message-ID: <5283d6b3-737d-4e96-b015-4ba8a35615c2@mainlining.org> (raw)
In-Reply-To: <20261115-qcom-bam-dma-immediate-v1-0-9a0df4ca3be1@mainlining.org>


15.11.2026 17:02, Nickolay Goppen пишет:
> 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".
>
> Immediate (IMM) (only for BAM-NDP): Allows the software to create
> descriptors of type immediate, which does not generate any data
> transmissions or registers configuration, it is simply supplied to the
> peripheral, the peripheral then parses its fields (which are
> irrelevant to the BAM). Only the flags of this descriptor are relevant
> to the BAM, address and size are irrelevant, and BAM simply passes
> them as is to the peripheral. This can be used for the software to
> operate peripheral-specific operations within regular data operations.
> Immediate descriptors are published on the sidebands as 1 byte size
> descriptor, once BAM_NDP fetches an immediate descriptor, it publishes
> all recently fetched descriptors including the immediate descriptor
> with immediate indication, to inform the peripheral that the last
> published descriptor was immediate descriptor.
>
> Adding support for immediate commands is trivial, but requires
> also adding Immediate Commands to the dmaengine API, which is
> what this patch series does.
>
> Signed-off-by: Nickolay Goppen <setotau@mainlining.org>
> ---
> 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(+)
> ---
> base-commit: 84abb955b1015477aa11a96e2f3ac1b938b77f48
> change-id: 20261115-qcom-bam-dma-immediate-577133c77c2e
>
> Best regards,
> --
> Nickolay Goppen <setotau@mainlining.org>

Can someone take a look?

-- 
Best regards,
Nickolay

      parent reply	other threads:[~2026-12-03 18:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-15 14:02 [PATCH 0/3] dmaengine: Add support for immediate commands Nickolay Goppen
2026-11-15 14:02 ` [PATCH 1/3] doc: dmaengine: client-api: Add immediate commands in the DMA client API Nickolay Goppen
2026-11-15 14:02 ` [PATCH 2/3] dmaengine: Add support for immediate commands in the " Nickolay Goppen
2026-11-18 20:03   ` Frank Li
2026-11-18 20:20     ` Nickolay Goppen
2026-12-03 21:10       ` Frank Li
2026-11-15 14:02 ` [PATCH 3/3] dmaengine: bam_dma: Add support for immediate commands Nickolay Goppen
2026-12-03 18:31 ` Nickolay Goppen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5283d6b3-737d-4e96-b015-4ba8a35615c2@mainlining.org \
    --to=setotau@mainlining.org \
    --cc=Frank.Li@kernel.org \
    --cc=corbet@lwn.net \
    --cc=dmaengine@vger.kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    --cc=sireeshkodali1@gmail.com \
    --cc=skhan@linuxfoundation.org \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox