diff mbox series

[v2,3/4] s390: drop CONFIG_VIRT_TO_BUS

Message ID 20190415083605.2560074-3-arnd@arndb.de
State New
Headers show
Series [v2,1/4] s390: only build for new CPUs with clang | expand

Commit Message

Arnd Bergmann April 15, 2019, 8:35 a.m. UTC
VIRT_TO_BUS is only used for legacy device PCI and ISA drivers using
virt_to_bus() instead of the streaming DMA mapping API, and the
remaining drivers generally don't work on 64-bit architectures.

Two of these drivers also cause a build warning on s390, so instead
of trying to fix that, let's just disable the option as we do on
most architectures now.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>

---
 arch/s390/Kconfig | 1 -
 1 file changed, 1 deletion(-)

-- 
2.20.0

Comments

Heiko Carstens May 3, 2019, 2:26 p.m. UTC | #1
On Mon, Apr 15, 2019 at 10:35:53AM +0200, Arnd Bergmann wrote:
> VIRT_TO_BUS is only used for legacy device PCI and ISA drivers using

> virt_to_bus() instead of the streaming DMA mapping API, and the

> remaining drivers generally don't work on 64-bit architectures.

> 

> Two of these drivers also cause a build warning on s390, so instead

> of trying to fix that, let's just disable the option as we do on

> most architectures now.

> 

> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

> ---

>  arch/s390/Kconfig | 1 -

>  1 file changed, 1 deletion(-)


Applied, thanks.
diff mbox series

Patch

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index 1a2eec61196d..25e0e7375166 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -188,7 +188,6 @@  config S390
 	select TTY
 	select VIRT_CPU_ACCOUNTING
 	select ARCH_HAS_SCALED_CPUTIME
-	select VIRT_TO_BUS
 	select HAVE_NMI