Re: [PATCH v8 01/11] dmaengine: Add DMA_PREP_LOCK/DMA_PREP_UNLOCK flags
From: Randy Dunlap
Date: Fri Nov 07 2025 - 01:20:01 EST
On 11/6/25 3:33 AM, Bartosz Golaszewski wrote:
> Documentation/driver-api/dmaengine/provider.rst | 9 +++++++++
> include/linux/dmaengine.h | 6 ++++++
> 2 files changed, 15 insertions(+)
>
> diff --git a/Documentation/driver-api/dmaengine/provider.rst b/Documentation/driver-api/dmaengine/provider.rst
> index 1594598b331782e4dddcf992159c724111db9cf3..6428211405472dd1147e363f5786acc91d95ed43 100644
> --- a/Documentation/driver-api/dmaengine/provider.rst
> +++ b/Documentation/driver-api/dmaengine/provider.rst
> @@ -630,6 +630,15 @@ DMA_CTRL_REUSE
> - This flag is only supported if the channel reports the DMA_LOAD_EOT
> capability.
>
> +- DMA_PREP_LOCK
> +
> + - If set, the DMA controller will be locked for the duration of the current
> + transaction.
> +
> +- DMA_PREP_UNLOCK
> +
> + - If set, DMA will release he controller lock.
the
> +
> General Design Notes
--
~Randy