linux-rockchip.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE
@ 2017-08-01  9:55 Tao Huang
  2017-08-06 11:19 ` Heiko Stuebner
  0 siblings, 1 reply; 2+ messages in thread
From: Tao Huang @ 2017-08-01  9:55 UTC (permalink / raw)
  To: Heiko Stuebner
  Cc: Russell King, linux-arm-kernel, linux-rockchip, linux-kernel,
	Tao Huang

Rockchip RK3288 has some 64-bit capable DMA and therefore needs
dma_addr_t to be a 64-bit size. One user is the Mali GPU.

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..240354963158 100644
--- a/arch/arm/mach-rockchip/Kconfig
+++ b/arch/arm/mach-rockchip/Kconfig
@@ -3,6 +3,7 @@ config ARCH_ROCKCHIP
 	depends on ARCH_MULTI_V7
 	select PINCTRL
 	select PINCTRL_ROCKCHIP
+	select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
 	select ARCH_HAS_RESET_CONTROLLER
 	select ARM_AMBA
 	select ARM_GIC
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE
  2017-08-01  9:55 [PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE Tao Huang
@ 2017-08-06 11:19 ` Heiko Stuebner
  0 siblings, 0 replies; 2+ messages in thread
From: Heiko Stuebner @ 2017-08-06 11:19 UTC (permalink / raw)
  To: Tao Huang; +Cc: Russell King, linux-arm-kernel, linux-rockchip, linux-kernel

Am Dienstag, 1. August 2017, 17:55:55 CEST schrieb Tao Huang:
> Rockchip RK3288 has some 64-bit capable DMA and therefore needs
> dma_addr_t to be a 64-bit size. One user is the Mali GPU.
> 
> Signed-off-by: Tao Huang <huangtao@rock-chips.com>

applied for 4.14


Thanks
Heiko

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-08-06 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-01  9:55 [PATCH] ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE Tao Huang
2017-08-06 11:19 ` Heiko Stuebner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).