diff options
author | Jiaxun Yang <jiaxun.yang@flygoat.com> | 2023-04-01 10:15:31 +0100 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-04-07 07:38:28 +0200 |
commit | c00a60d6f4a14b06264bb6f9fcc754b8ddbf67e3 (patch) | |
tree | d2add7f8a30c57ad1c82d4a917310ce49b643021 /arch/powerpc | |
parent | 1d3f56b295302fdb4ac9caf6ce09f5ae7d2e651a (diff) | |
download | linux-c00a60d6f4a14b06264bb6f9fcc754b8ddbf67e3.tar.gz linux-c00a60d6f4a14b06264bb6f9fcc754b8ddbf67e3.tar.bz2 linux-c00a60d6f4a14b06264bb6f9fcc754b8ddbf67e3.zip |
of: address: always use dma_default_coherent for default coherency
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@flygoat.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Michael Ellerman <mpe@ellerman.id.au> (powerpc)
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index a6c4407d3ec8..f4269f5109c7 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig @@ -113,6 +113,7 @@ config PPC # select ARCH_32BIT_OFF_T if PPC32 select ARCH_DISABLE_KASAN_INLINE if PPC_RADIX_MMU + select ARCH_DMA_DEFAULT_COHERENT if !NOT_COHERENT_CACHE select ARCH_ENABLE_MEMORY_HOTPLUG select ARCH_ENABLE_MEMORY_HOTREMOVE select ARCH_HAS_COPY_MC if PPC64 @@ -272,7 +273,6 @@ config PPC select NEED_PER_CPU_PAGE_FIRST_CHUNK if PPC64 select NEED_SG_DMA_LENGTH select OF - select OF_DMA_DEFAULT_COHERENT if !NOT_COHERENT_CACHE select OF_EARLY_FLATTREE select OLD_SIGACTION if PPC32 select OLD_SIGSUSPEND |