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/riscv | |
parent | 1d3f56b295302fdb4ac9caf6ce09f5ae7d2e651a (diff) | |
download | linux-stable-c00a60d6f4a14b06264bb6f9fcc754b8ddbf67e3.tar.gz linux-stable-c00a60d6f4a14b06264bb6f9fcc754b8ddbf67e3.tar.bz2 linux-stable-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/riscv')
-rw-r--r-- | arch/riscv/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index c5e42cc37604..30727eb63688 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -12,6 +12,7 @@ config 32BIT config RISCV def_bool y + select ARCH_DMA_DEFAULT_COHERENT select ARCH_ENABLE_HUGEPAGE_MIGRATION if HUGETLB_PAGE && MIGRATION select ARCH_ENABLE_SPLIT_PMD_PTLOCK if PGTABLE_LEVELS > 2 select ARCH_ENABLE_THP_MIGRATION if TRANSPARENT_HUGEPAGE @@ -121,7 +122,6 @@ config RISCV select MODULES_USE_ELF_RELA if MODULES select MODULE_SECTIONS if MODULES select OF - select OF_DMA_DEFAULT_COHERENT select OF_EARLY_FLATTREE select OF_IRQ select PCI_DOMAINS_GENERIC if PCI |