ARM: rockchip: select ARCH_DMA_ADDR_T_64BIT for LPAE
authorTao Huang <huangtao@rock-chips.com>
Tue, 1 Aug 2017 09:55:55 +0000 (17:55 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 6 Aug 2017 11:06:05 +0000 (13:06 +0200)
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>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/mach-rockchip/Kconfig

index fafd3d7f9f8c4b6ff1576c756e65b06666c51c2c..a4065966881ae44d318ec4193d7091269541970c 100644 (file)
@@ -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