arm: select the dma-noncoherent symbols for all swiotlb builds
authorChristoph Hellwig <hch@lst.de>
Tue, 20 Aug 2019 01:08:38 +0000 (10:08 +0900)
committerChristoph Hellwig <hch@lst.de>
Tue, 20 Aug 2019 05:47:11 +0000 (14:47 +0900)
commit936376f88ff1845b384b3a82b9cd167e53039229
treef36958adbfd125d6c0b39ccbd813b5a92ed89bd5
parentd1abaeb3be7b5fa6d7a1fbbd2e14e3310005c4c1
arm: select the dma-noncoherent symbols for all swiotlb builds

We need to provide the arch hooks for non-coherent dma-direct
and swiotlb for all swiotlb builds, not just when LPAS is enabled.
Without that the Xen build that selects SWIOTLB indirectly through
SWIOTLB_XEN fails to build.

Fixes: ad3c7b18c5b3 ("arm: use swiotlb for bounce buffering on LPAE configs")
Reported-by: Stefan Wahren <wahrenst@gmx.net>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Stefan Wahren <wahrenst@gmx.net>
arch/arm/Kconfig
arch/arm/mm/Kconfig