arch: switch the default on ARCH_HAS_SG_CHAIN
authorChristoph Hellwig <hch@lst.de>
Fri, 9 Nov 2018 08:51:00 +0000 (09:51 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 6 Dec 2018 15:04:56 +0000 (07:04 -0800)
commit7c703e54cc71df5baa962e24a5663d88173bba5c
treecaf54e62471ee960c1143a58d246d2e63bd35616
parentb14b9d25a3c707c85e7e31e15766a71365b52ab7
arch: switch the default on ARCH_HAS_SG_CHAIN

These days architectures are mostly out of the business of dealing with
struct scatterlist at all, unless they have architecture specific iommu
drivers.  Replace the ARCH_HAS_SG_CHAIN symbol with a ARCH_NO_SG_CHAIN
one only enabled for architectures with horrible legacy iommu drivers
like alpha and parisc, and conditionally for arm which wants to keep it
disable for legacy platforms.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Palmer Dabbelt <palmer@sifive.com>
15 files changed:
Documentation/features/io/sg-chain/arch-support.txt [deleted file]
arch/alpha/Kconfig
arch/arc/Kconfig
arch/arm/Kconfig
arch/arm64/Kconfig
arch/ia64/Kconfig
arch/parisc/Kconfig
arch/powerpc/Kconfig
arch/s390/Kconfig
arch/sparc/Kconfig
arch/x86/Kconfig
arch/xtensa/Kconfig
include/linux/scatterlist.h
lib/Kconfig
lib/scatterlist.c