[PATCH v3 4/4] of: address: Always use dma_default_coherent for default coherency

Rob Herring robh+dt at kernel.org
Tue Mar 28 07:17:28 PDT 2023


On Tue, Mar 21, 2023 at 6:08 AM Jiaxun Yang <jiaxun.yang at flygoat.com> wrote:
>
> As for now all arches have dma_default_coherent reflecting default
> DMA coherency for of devices, so there is no need to have a standalone
> config option.
>
> Signed-off-by: Jiaxun Yang <jiaxun.yang at flygoat.com>
> ---
> v3: Squash setting ARCH_DMA_DEFAULT_COHERENT into this patch.
> ---
>  arch/powerpc/Kconfig |  2 +-
>  arch/riscv/Kconfig   |  2 +-
>  drivers/of/Kconfig   |  4 ----
>  drivers/of/address.c | 10 +---------
>  4 files changed, 3 insertions(+), 15 deletions(-)

Reviewed-by: Rob Herring <robh at kernel.org>



More information about the linux-riscv mailing list