From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 93C1FC43458 for ; Thu, 2 Jul 2026 15:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-Id:Subject:References:In-Reply-To:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=7unR8yvtQ9taeigaG7HqsXFuVB10+E437UJK7eQF5HI=; b=ZiPK7O+QmNsL+5nig/h0/LKFOG SoF9GbN0Di2fKrKEXLJwXHO3YCyaiDIsPkeBrzNU5L3aKrjwqXjkhpoywJ0n3BjNwbq767v4yJXRf pys4wrSlynfqkkHRy5D19BEfE6BeviWyHQbLFA+z+VMaFssHVLpbx37NCGit47/ZAR+Oe7uLIIzBb o/s4I3L7pyr8Qonf5GR2WGcA3dVBvKXyEfiaJPCkeq377S8KklBO8DHSIi6kNLZPA+ruG4fmhYYdy tLNdXnrJTApAhe6mxzUdejOZ/Gok4E2OQrM9LWs1d98RS10rmDk4oXPgxOP8JCVRkXWAlZI7SQRln 8RFqDBww==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfJIu-00000004nvp-2NoD; Thu, 02 Jul 2026 15:26:16 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfJIs-00000004nvA-3S6l; Thu, 02 Jul 2026 15:26:14 +0000 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) by sea.source.kernel.org (Postfix) with ESMTP id 6B3924178F; Thu, 2 Jul 2026 15:26:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C3BD81F000E9; Thu, 2 Jul 2026 15:26:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1783005974; bh=7unR8yvtQ9taeigaG7HqsXFuVB10+E437UJK7eQF5HI=; h=From:To:Cc:In-Reply-To:References:Subject:Date; b=VlT93tZX0KmWBgfzHBqYA6MZ4OVnMILicDuEgMwbD85mP+D8HPdzDcbfd7yUvqSu7 pGFQ+VWyujHb9OvJX9VniLR9X363fkZ3vSck5JSYJ1kzbeq9j4r8LDR/JAKR9xEAU2 xbSC92vIliVCwzZIbkQQmB6tdN/W6h4rVlm7nGj3XTLaZngZacN4tDYMywvu/c77Xy Nb1cBIy3LV93hMVbeySsB8bOcrwdBPLSHhRUowj+/YS+AaSKszuXcHDgz3qb1ArKTn dLVcBR0f80h8DG+EGDxcAjXukhVn4mDrkKAPY8NoC6kYNSqdWfKdhE83NXE6AfVcG6 /O7PTlSQORlnA== From: Vinod Koul To: Manivannan Sadhasivam , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Kishon Vijay Abraham I , Bjorn Helgaas , Christoph Hellwig , Sagi Grimberg , Chaitanya Kulkarni , Herbert Xu , "David S. Miller" , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Koichiro Den , Niklas Cassel , Frank.Li@oss.nxp.com Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-nvme@lists.infradead.org, mhi@lists.linux.dev, linux-arm-msm@vger.kernel.org, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, imx@lists.linux.dev, Frank Li , Damien Le Moal In-Reply-To: <20260521-dma_prep_config-v7-0-1f73f4899883@nxp.com> References: <20260521-dma_prep_config-v7-0-1f73f4899883@nxp.com> Subject: Re: [PATCH v7 0/9] dmaengine: Add new API to combine configuration and descriptor preparation Message-Id: <178300596742.727083.5865685817987530958.b4-ty@kernel.org> Date: Thu, 02 Jul 2026 20:56:07 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13.0 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, 21 May 2026 11:32:46 -0400, Frank.Li@oss.nxp.com wrote: > Previously, configuration and preparation required two separate calls. This > works well when configuration is done only once during initialization. > > However, in cases where the burst length or source/destination address must > be adjusted for each transfer, calling two functions is verbose. > > if (dmaengine_slave_config(chan, &sconf)) { > dev_err(dev, "DMA slave config fail\n"); > return -EIO; > } > > [...] Applied, thanks! [1/9] dmaengine: Add API to combine configuration and preparation (sg and single) commit: 796bdb33e86aec8504bf8868e0665f120638ac72 [2/9] dmaengine: Add safe API to combine configuration and preparation commit: af900b7dc1e1cdac571ac38e7fee80f1a1776a62 [3/9] PCI: endpoint: pci-epf-test: Use dmaenigne_prep_config_single() to simplify code commit: 9605825841061bbdd2fc2a0218098373c539173e [4/9] dmaengine: dw-edma: Use new .device_prep_config_sg() callback commit: bfb66d8098dbbaaada3ab877eda21cd447115c95 [5/9] dmaengine: dw-edma: Pass dma_slave_config to dw_edma_device_transfer() commit: 1af246e9d222f93aee59f3b47ff3bd59d08725e7 [6/9] nvmet: pci-epf: Remove unnecessary dmaengine_terminate_sync() on each DMA transfer commit: bd00d2c4a1b2a1e7ad3060d3d606fb4c9db6a064 [7/9] nvmet: pci-epf: Use dmaengine_prep_config_single_safe() API commit: a0fba0a49f77effd3962723b1fa14c766fbc0ec4 [8/9] PCI: epf-mhi: Use dmaengine_prep_config_single() to simplify code commit: 53191cc449db1cf4f25db275978c61b1c6aaeba9 [9/9] crypto: atmel: Use dmaengine_prep_config_sg() API commit: c9e9927c6d8346cdf6555a8f97da093980172e4b Best regards, -- ~Vinod