mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dave Jiang <dave.jiang@intel.com>
To: Frank Li <Frank.li@oss.nxp.com>
Cc: Vinod Koul <vkoul@kernel.org>, Dan Williams <djbw@kernel.org>,
	Herbert Xu <herbert@gondor.apana.org.au>,
	"David S. Miller" <davem@davemloft.net>,
	Frank Li <Frank.Li@kernel.org>, Jon Mason <jdmason@kudzu.us>,
	Allen Hubbe <allenbh@gmail.com>, Ard Biesheuvel <ardb@kernel.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Eric Biggers <ebiggers@kernel.org>,
	"open list:CRYPTO API" <linux-crypto@vger.kernel.org>,
	open list <linux-kernel@vger.kernel.org>,
	"open list:DMA GENERIC OFFLOAD ENGINE SUBSYSTEM"
	<dmaengine@vger.kernel.org>,
	"open list:NTB DRIVER CORE" <ntb@lists.linux.dev>,
	imx@lists.linux.dev, Frank Li <Frank.Li@nxp.com>
Subject: Re: [PATCH 1/1] dmaengine: change dmaengine_get_unmap_data() first arg to dma_chan
Date: Fri, 9 Oct 2026 16:06:37 -0700	[thread overview]
Message-ID: <1c913faa-06da-4b02-bd47-c74da54df0de@intel.com> (raw)
In-Reply-To: <ask6Ud7ps9A1Gkc1@SMW015318>



On 10/9/26 12:02 PM, Frank Li wrote:
> On Fri, Oct 09, 2026 at 09:19:43AM -0700, Dave Jiang wrote:
>>
>>
>> On 10/9/26 2:43 AM, Vinod Koul wrote:
>>> On 22-09-26, 16:09, Dave Jiang wrote:
>>>>
>>>>
>>>> On 9/22/26 11:45 AM, Frank.Li@oss.nxp.com wrote:
>>>>> From: Frank Li <Frank.Li@nxp.com>
>>>>>
>>>>> Replace the struct device *dev argument with struct dma_chan *chan so
>>>>> callers do not need to reach into the dma_device internals to obtain
>>>>> the device pointer.  The implementation now derives the device via
>>>>> dmaengine_get_dma_device(chan), which correctly handles the per-channel
>>>>> IOMMU mapping case.
>>>>>
>>>>> Prepare to make dma_device private and make dmaengine API consistent.
>>>>>
>>>>> Signed-off-by: Frank Li <Frank.Li@nxp.com>
>>>>
>>>> For the NTB bits:
>>>> Acked-by: Dave Jiang <dave.jiang@intel.com>
>>>>
>>>>
>>>>> ---
>>>>>  crypto/async_tx/async_memcpy.c      | 4 ++--
>>>>>  crypto/async_tx/async_pq.c          | 4 ++--
>>>>>  crypto/async_tx/async_raid6_recov.c | 4 ++--
>>>>>  crypto/async_tx/async_xor.c         | 8 ++++----
>>>>
>>>> Maybe one day Dan's wishes will become true and someone will finally deprecate async_tx....
>>>
>>> Does Intel still have use it. I am looking at fixing the names and we
>>> can drop async_tx completely...?
>>>
>> I don't think so. Not since ioatdma days. Dan has talked about wanting to remove async_tx for quite a few years now. No idea if there are ARM dma devices that still use that or not.
> 
> Maybe we can create patch to skip build it firstly, let's see if there are
> really user.

There is a way to mark something going towards deprecation in KCONFIG right?

DJ

> 
> Frank


  reply	other threads:[~2026-10-09 23:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-22 18:45 Frank.Li
2026-09-22 23:09 ` Dave Jiang
2026-10-09  9:43   ` Vinod Koul
2026-10-09 16:19     ` Dave Jiang
2026-10-09 19:02       ` Frank Li
2026-10-09 23:06         ` Dave Jiang [this message]
2026-10-10  2:29           ` Frank Li

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=1c913faa-06da-4b02-bd47-c74da54df0de@intel.com \
    --to=dave.jiang@intel.com \
    --cc=Frank.Li@kernel.org \
    --cc=Frank.Li@nxp.com \
    --cc=Frank.li@oss.nxp.com \
    --cc=akpm@linux-foundation.org \
    --cc=allenbh@gmail.com \
    --cc=ardb@kernel.org \
    --cc=davem@davemloft.net \
    --cc=djbw@kernel.org \
    --cc=dmaengine@vger.kernel.org \
    --cc=ebiggers@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=imx@lists.linux.dev \
    --cc=jdmason@kudzu.us \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ntb@lists.linux.dev \
    --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

all inboxes | Powered by JetHome®