Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4965a687 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

arch: define the ARCH_DMA_ADDR_T_64BIT config symbol in lib/Kconfig



Define this symbol if the architecture either uses 64-bit pointers or the
PHYS_ADDR_T_64BIT is set.  This covers 95% of the old arch magic.  We only
need an additional select for Xen on ARM (why anyway?), and we now always
set ARCH_DMA_ADDR_T_64BIT on mips boards with 64-bit physical addressing
instead of only doing it when highmem is set.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarJames Hogan <jhogan@kernel.org>
parent d4a451d5
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -66,9 +66,6 @@ config ZONE_DMA
	bool
	default y

config ARCH_DMA_ADDR_T_64BIT
	def_bool y

config GENERIC_ISA_DMA
	bool
	default y
+0 −3
Original line number Diff line number Diff line
@@ -458,9 +458,6 @@ config ARC_HAS_PAE40
	  Enable access to physical memory beyond 4G, only supported on
	  ARC cores with 40 bit Physical Addressing support

config ARCH_DMA_ADDR_T_64BIT
	bool

config ARC_KVADDR_SIZE
	int "Kernel Virtual Address Space size (MB)"
	range 0 512
+0 −1
Original line number Diff line number Diff line
@@ -2,7 +2,6 @@
config ARCH_AXXIA
	bool "LSI Axxia platforms"
	depends on ARCH_MULTI_V7 && ARM_LPAE
	select ARCH_DMA_ADDR_T_64BIT
	select ARM_AMBA
	select ARM_GIC
	select ARM_TIMER_SP804
+0 −1
Original line number Diff line number Diff line
@@ -211,7 +211,6 @@ config ARCH_BRCMSTB
	select BRCMSTB_L2_IRQ
	select BCM7120_L2_IRQ
	select ARCH_HAS_HOLES_MEMORYMODEL
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
	select ZONE_DMA if ARM_LPAE
	select SOC_BRCMSTB
	select SOC_BUS
+0 −1
Original line number Diff line number Diff line
@@ -112,7 +112,6 @@ config SOC_EXYNOS5440
	bool "SAMSUNG EXYNOS5440"
	default y
	depends on ARCH_EXYNOS5
	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
	select HAVE_ARM_ARCH_TIMER
	select AUTO_ZRELADDR
	select PINCTRL_EXYNOS5440
Loading