ARM: tegra: Select appropriate DMA options for LPAE
diff mbox

Message ID 20170424225946.19425-1-contact@paulk.fr
State Deferred
Headers show

Commit Message

Paul Kocialkowski April 24, 2017, 10:59 p.m. UTC
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.

Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
---
 arch/arm/mach-tegra/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

Comments

Paul Kocialkowski July 4, 2017, 2:29 p.m. UTC | #1
On Tue, 2017-04-25 at 00:59 +0200, Paul Kocialkowski wrote:
> 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.

Bumping this one since it did not get any review yet.

It should be a good candidate for inclusion now that the merge window is open.

> Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
> ---
>  arch/arm/mach-tegra/Kconfig | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
> index 329f01c5b6f8..c8368d647741 100644
> --- a/arch/arm/mach-tegra/Kconfig
> +++ b/arch/arm/mach-tegra/Kconfig
> @@ -13,5 +13,7 @@ menuconfig ARCH_TEGRA
>  	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.
Linus Walleij July 31, 2017, 1:39 p.m. UTC | #2
On Tue, Jul 4, 2017 at 4:29 PM, Paul Kocialkowski <contact@paulk.fr> wrote:
> On Tue, 2017-04-25 at 00:59 +0200, Paul Kocialkowski wrote:
>> 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.
>
> Bumping this one since it did not get any review yet.
>
> It should be a good candidate for inclusion now that the merge window is open.

If you don't get any reply still, send it to the ARM SoC maintainers
directly at arm@kernel.org and request it to be applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig
index 329f01c5b6f8..c8368d647741 100644
--- a/arch/arm/mach-tegra/Kconfig
+++ b/arch/arm/mach-tegra/Kconfig
@@ -13,5 +13,7 @@  menuconfig ARCH_TEGRA
 	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.