From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=5.75.144.95 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796322681; b=t+HxhuKTtLqbxCgA4Srqr5N8eAxn/E1DSQNeRYMS+DNHnzeD7BgEz9Jm1yeb6J54E9Or I60zGMSjHPmf+1fzU3NPjgtCWDLkWlgN5v1kEnAehryjDABUQ9VwIGwCiVVJQiveMxizB IYgpfJt3gyY5BDzCHjdNUreDI+yEKJ8KRFpAa79LfUma2/dnQNSfqdbTHnx9O6YpUfAZe jNrZ2BPUrQC3DS3xWs2CVhP3prMAz/pyk8yCUpmhM0nfoCMxDrV+yMc4CxZK5+207m/GG RB6jZbql4CaE+21ZEQux0HC+P3vsJaKJZRoCk+ls6jond0/pmoiXxNAo5FbG0UsfjSw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796322681; h=DMARC-Filter:DKIM-Signature:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=M7dkTLwZBoStRCh5GFWk/QJZRrP4AiPSe0W/68stzLE=; b=YimXL7xhQJsgfdSkdx6Zxv8Ed0Nkbs2o8aIiV6filpmoaA3R6SjU7U1Hcr6arlbbiUQg 2BnboFbGgY09OWvKYIrzBTS+SkAZkpOlPWM13bRZyg7oFWK0Ff+7CS056D9Mj+gJ14PyR pukEV3AM5B0Kj6+Nruo/bnQaIs4dAdaI2xCd1SePQiCd54jw4NGHZGwDKVAclLaY7CMH3 ouh9LLB8uH43uggfyQ5LgNPvgmy15xVRA7SLmcUvoLhyXbWfYhdCneWY5JU3yJw6hgBem vx8uBuYwgYyEXEErDnyEiIYj/p5arPldTX5OEbbtavgqQ5OlVwsBJAQK2a/R6xZcDOA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=mainlining.org; spf=pass smtp.mailfrom=mainlining.org; dkim=pass header.d=mainlining.org header.i=@mainlining.org header.a=rsa-sha256 header.s=202507r header.b=e3kF812B; dkim=pass header.d=mainlining.org header.i=@mainlining.org header.a=ed25519-sha256 header.s=202507e header.b="K4tnqK/u"; arc=none smtp.remote-ip=5.75.144.95 Received: from mail.mainlining.org (mail.mainlining.org [5.75.144.95]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6BD52606A322; Thu, 3 Dec 2026 18:31:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6BD52606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=mainlining.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mainlining.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=mainlining.org header.i=@mainlining.org header.a=rsa-sha256 header.s=202507r header.b=e3kF812B; dkim=pass header.d=mainlining.org header.i=@mainlining.org header.a=ed25519-sha256 header.s=202507e header.b=K4tnqK/u DKIM-Signature: v=1; a=rsa-sha256; s=202507r; d=mainlining.org; c=relaxed/relaxed; h=From:To:Subject:Date:Message-ID; t=1796322674; bh=M7dkTLwZBoStRCh5GFWk/QJ ZRrP4AiPSe0W/68stzLE=; b=e3kF812BK9Ps38LSGPuL8gH5HOzcEcHpM6pY7uf3sv5OhfftMM nBCnqBhn3QHhA3GfMkD0kixTmqfpEjMVJl2tKL24AuzKBETfUAW4QYNQYj++P6NpbpQ+z/+1xoE 1Q9ub6yfrhv9sYp1YHq5sMc6D5gWfW1terfthNQ2sxL3dqwzqOyQsB0/caQljJM+xUyM6gvN3XE scM+pVX85BbvRd0t4kACGHWnX19uA6518r/r0z/pwUWYSZTdJ8/iOo5ke6LdS4fUoJ6ksk2a+hn toeQfEntL2rPt+XzxFaU52ptpwmtsViZkVFLL3q3Jbk1lGIKCEnWTtA5V0wLdVDsskA==; DKIM-Signature: v=1; a=ed25519-sha256; s=202507e; d=mainlining.org; c=relaxed/relaxed; h=From:To:Subject:Date:Message-ID; t=1796322674; bh=M7dkTLwZBoStRCh5GFWk/QJ ZRrP4AiPSe0W/68stzLE=; b=K4tnqK/uGkYIJng4l0+ade+frHeW1Oy+TcODF45y3DgL1d76w7 FoFRfJH9vqQMhj4f9etxVOr9XYHUQVtOknAw==; Message-ID: <5283d6b3-737d-4e96-b015-4ba8a35615c2@mainlining.org> Date: Thu, 3 Dec 2026 21:31:13 +0300 X-Mailing-List: dmaengine@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 0/3] dmaengine: Add support for immediate commands To: Vinod Koul , Frank Li , Jonathan Corbet , Shuah Khan , Randy Dunlap Cc: dmaengine@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Sireesh Kodali References: <20261115-qcom-bam-dma-immediate-v1-0-9a0df4ca3be1@mainlining.org> Content-Language: ru-RU, en-US From: Nickolay Goppen In-Reply-To: <20261115-qcom-bam-dma-immediate-v1-0-9a0df4ca3be1@mainlining.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 > --- > 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 Can someone take a look? -- Best regards, Nickolay