Re: [PATCH] arm64/Kconfig: introduce GENERIC_ISA_DMA

From: Will Deacon
Date: Mon Oct 28 2024 - 11:06:05 EST


On Fri, Oct 25, 2024 at 09:16:41AM +0800, huanglei814 wrote:
> From: huanglei <huanglei@xxxxxxxxxx>
>
> Enable GENERIC_ISA_DMA feature on arm64 platform,
> thus, request_dma and free_dma interface can be export.
> and driver modules can use the this interfaces on arm64
> platform.
>
> Currently, many pcie parallel port drivers still use these
> interfaces when ported to arm64 platform.

Why has it taken so long for anybody to notice?

> Signed-off-by: huanglei <huanglei@xxxxxxxxxx>
> ---
> arch/arm64/Kconfig | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
> index fd9df6dcc593..986eb251f68f 100644
> --- a/arch/arm64/Kconfig
> +++ b/arch/arm64/Kconfig
> @@ -367,6 +367,9 @@ config GENERIC_CSUM
> config GENERIC_CALIBRATE_DELAY
> def_bool y
>
> +config GENERIC_ISA_DMA
> + def_bool y
> +

Does this actually do anything without MAX_DMA_CHANNELS defined?

Will