aboutsummaryrefslogtreecommitdiffstats
path: root/arch/tile/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/tile/Kconfig')
-rw-r--r--arch/tile/Kconfig42
1 files changed, 42 insertions, 0 deletions
diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig
index fe128816c448..932e4430f7f3 100644
--- a/arch/tile/Kconfig
+++ b/arch/tile/Kconfig
@@ -3,6 +3,8 @@
3 3
4config TILE 4config TILE
5 def_bool y 5 def_bool y
6 select HAVE_DMA_ATTRS
7 select HAVE_DMA_API_DEBUG
6 select HAVE_KVM if !TILEGX 8 select HAVE_KVM if !TILEGX
7 select GENERIC_FIND_FIRST_BIT 9 select GENERIC_FIND_FIRST_BIT
8 select USE_GENERIC_SMP_HELPERS 10 select USE_GENERIC_SMP_HELPERS
@@ -79,6 +81,9 @@ config ARCH_DMA_ADDR_T_64BIT
79config NEED_DMA_MAP_STATE 81config NEED_DMA_MAP_STATE
80 def_bool y 82 def_bool y
81 83
84config ARCH_HAS_DMA_SET_COHERENT_MASK
85 bool
86
82config LOCKDEP_SUPPORT 87config LOCKDEP_SUPPORT
83 def_bool y 88 def_bool y
84 89
@@ -212,6 +217,22 @@ config HIGHMEM
212 217
213 If unsure, say "true". 218 If unsure, say "true".
214 219
220config ZONE_DMA
221 def_bool y
222
223config IOMMU_HELPER
224 bool
225
226config NEED_SG_DMA_LENGTH
227 bool
228
229config SWIOTLB
230 bool
231 default TILEGX
232 select IOMMU_HELPER
233 select NEED_SG_DMA_LENGTH
234 select ARCH_HAS_DMA_SET_COHERENT_MASK
235
215# We do not currently support disabling NUMA. 236# We do not currently support disabling NUMA.
216config NUMA 237config NUMA
217 bool # "NUMA Memory Allocation and Scheduler Support" 238 bool # "NUMA Memory Allocation and Scheduler Support"
@@ -345,6 +366,8 @@ config KERNEL_PL
345 kernel will be built to run at. Generally you should use 366 kernel will be built to run at. Generally you should use
346 the default value here. 367 the default value here.
347 368
369source "arch/tile/gxio/Kconfig"
370
348endmenu # Tilera-specific configuration 371endmenu # Tilera-specific configuration
349 372
350menu "Bus options" 373menu "Bus options"
@@ -354,6 +377,9 @@ config PCI
354 default y 377 default y
355 select PCI_DOMAINS 378 select PCI_DOMAINS
356 select GENERIC_PCI_IOMAP 379 select GENERIC_PCI_IOMAP
380 select TILE_GXIO_TRIO if TILEGX
381 select ARCH_SUPPORTS_MSI if TILEGX
382 select PCI_MSI if TILEGX
357 ---help--- 383 ---help---
358 Enable PCI root complex support, so PCIe endpoint devices can 384 Enable PCI root complex support, so PCIe endpoint devices can
359 be attached to the Tile chip. Many, but not all, PCI devices 385 be attached to the Tile chip. Many, but not all, PCI devices
@@ -370,6 +396,22 @@ config NO_IOPORT
370 396
371source "drivers/pci/Kconfig" 397source "drivers/pci/Kconfig"
372 398
399config TILE_USB
400 tristate "Tilera USB host adapter support"
401 default y
402 depends on USB
403 depends on TILEGX
404 select TILE_GXIO_USB_HOST
405 ---help---
406 Provides USB host adapter support for the built-in EHCI and OHCI
407 interfaces on TILE-Gx chips.
408
409# USB OHCI needs the bounce pool since tilegx will often have more
410# than 4GB of memory, but we don't currently use the IOTLB to present
411# a 32-bit address to OHCI. So we need to use a bounce pool instead.
412config NEED_BOUNCE_POOL
413 def_bool USB_OHCI_HCD
414
373config HOTPLUG 415config HOTPLUG
374 bool "Support for hot-pluggable devices" 416 bool "Support for hot-pluggable devices"
375 ---help--- 417 ---help---