diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-24 10:00:54 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-09 07:58:01 +0300 |
commit | 09230cbc1baba68e0ca1e7c489344ce5d35c6f27 (patch) | |
tree | d125ba685e491df0cfb05660e30ece8a84a10643 /arch/arm64 | |
parent | 8d9b409b1a42db9986dfe2d510fe7aea7a98a203 (diff) | |
download | linux-09230cbc1baba68e0ca1e7c489344ce5d35c6f27.tar.xz |
swiotlb: move the SWIOTLB config symbol to lib/Kconfig
This way we have one central definition of it, and user can select it as
needed. The new option is not user visible, which is the behavior
it had in most architectures, with a few notable exceptions:
- On x86_64 and mips/loongson3 it used to be user selectable, but
defaulted to y. It now is unconditional, which seems like the right
thing for 64-bit architectures without guaranteed availablity of
IOMMUs.
- on powerpc the symbol is user selectable and defaults to n, but
many boards select it. This change assumes no working setup
required a manual selection, but if that turned out to be wrong
we'll have to add another select statement or two for the respective
boards.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/Kconfig | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 9edcb141bed1..b25ed7834f6c 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -143,6 +143,7 @@ config ARM64 select POWER_SUPPLY select REFCOUNT_FULL select SPARSE_IRQ + select SWIOTLB select SYSCTL_EXCEPTION_TRACE select THREAD_INFO_IN_TASK help @@ -238,9 +239,6 @@ config HAVE_GENERIC_GUP config SMP def_bool y -config SWIOTLB - def_bool y - config KERNEL_MODE_NEON def_bool y |