* [PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals
@ 2017-07-28 6:40 ` Tao Huang
0 siblings, 0 replies; 4+ messages in thread
From: Tao Huang @ 2017-07-28 6:40 UTC (permalink / raw)
To: Heiko Stuebner
Cc: Russell King, linux-arm-kernel, linux-rockchip, linux-kernel, Tao Huang
Most IP cores on ARM Rockchip platforms can only address 32 bits of
physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE
is activated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
---
arch/arm/mach-rockchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 9ad84cd01ba0..fafd3d7f9f8c 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -16,6 +16,7 @@ config ARCH_ROCKCHIP
select ROCKCHIP_TIMER
select ARM_GLOBAL_TIMER
select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
+ select ZONE_DMA if ARM_LPAE
help
Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs
containing the RK2928, RK30xx and RK31xx series.
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals
@ 2017-07-28 6:40 ` Tao Huang
0 siblings, 0 replies; 4+ messages in thread
From: Tao Huang @ 2017-07-28 6:40 UTC (permalink / raw)
To: linux-arm-kernel
Most IP cores on ARM Rockchip platforms can only address 32 bits of
physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE
is activated.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
---
arch/arm/mach-rockchip/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
index 9ad84cd01ba0..fafd3d7f9f8c 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -16,6 +16,7 @@ config ARCH_ROCKCHIP
select ROCKCHIP_TIMER
select ARM_GLOBAL_TIMER
select CLKSRC_ARM_GLOBAL_TIMER_SCHED_CLOCK
+ select ZONE_DMA if ARM_LPAE
help
Support for Rockchip's Cortex-A9 Single-to-Quad-Core-SoCs
containing the RK2928, RK30xx and RK31xx series.
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals
2017-07-28 6:40 ` Tao Huang
@ 2017-07-31 22:58 ` Heiko Stuebner
-1 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2017-07-31 22:58 UTC (permalink / raw)
To: Tao Huang; +Cc: Russell King, linux-arm-kernel, linux-rockchip, linux-kernel
Am Freitag, 28. Juli 2017, 14:40:02 CEST schrieb Tao Huang:
> Most IP cores on ARM Rockchip platforms can only address 32 bits of
> physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE
> is activated.
>
> Signed-off-by: Tao Huang <huangtao@rock-chips.com>
applied for 4.14
Thanks
Heiko
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals
@ 2017-07-31 22:58 ` Heiko Stuebner
0 siblings, 0 replies; 4+ messages in thread
From: Heiko Stuebner @ 2017-07-31 22:58 UTC (permalink / raw)
To: linux-arm-kernel
Am Freitag, 28. Juli 2017, 14:40:02 CEST schrieb Tao Huang:
> Most IP cores on ARM Rockchip platforms can only address 32 bits of
> physical memory for DMA. Thus ZONE_DMA should be enabled when LPAE
> is activated.
>
> Signed-off-by: Tao Huang <huangtao@rock-chips.com>
applied for 4.14
Thanks
Heiko
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-07-31 22:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-28 6:40 [PATCH] ARM: rockchip: enable ZONE_DMA for non 64-bit capable peripherals Tao Huang
2017-07-28 6:40 ` Tao Huang
2017-07-31 22:58 ` Heiko Stuebner
2017-07-31 22:58 ` Heiko Stuebner
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.