mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 21:42:20 +07:00
6aa26c5d66
This automatically selects options for zone DMA and 64 bit DMA addresses when LPAE is enabled on ARM Tegra platforms. These options are required for proper operation with LPAE enabled. The ZONE_DMA option is required to ensure that drivers that allocate DMA memory get buffers from the first 4 GiB. This is necessary because a lot of the controllers only support addressing 32 bits. As for ARCH_DMA_ADDR_T_64BIT, there are situations where devices that do support addresses of more than 32 bits (such as the display controller or the GPU) can run without translating addresses through an IOMMU on a device with more than 4 GiB of system memory. Note that both of these options are stop-gap solutions required only until the IOMMU can be properly integrated with the DMA mapping API and drivers use that properly and consistently. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> [treding@nvidia.com: specify rationale for options] Signed-off-by: Thierry Reding <treding@nvidia.com>
20 lines
475 B
Plaintext
20 lines
475 B
Plaintext
menuconfig ARCH_TEGRA
|
|
bool "NVIDIA Tegra"
|
|
depends on ARCH_MULTI_V7
|
|
select ARCH_SUPPORTS_TRUSTED_FOUNDATIONS
|
|
select ARM_AMBA
|
|
select ARM_GIC
|
|
select CLKSRC_MMIO
|
|
select GPIOLIB
|
|
select HAVE_ARM_SCU if SMP
|
|
select HAVE_ARM_TWD if SMP
|
|
select PINCTRL
|
|
select PM_OPP
|
|
select ARCH_HAS_RESET_CONTROLLER
|
|
select RESET_CONTROLLER
|
|
select SOC_BUS
|
|
select ZONE_DMA if ARM_LPAE
|
|
select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
|
|
help
|
|
This enables support for NVIDIA Tegra based systems.
|