ARM: brcmstb: select ARCH_DMA_ADDR_T_64BIT for LPAE
authorGregory Fong <gregory.0xf0@gmail.com>
Fri, 7 Aug 2015 02:22:38 +0000 (19:22 -0700)
committerOlof Johansson <olof@lixom.net>
Tue, 11 Aug 2015 13:18:29 +0000 (15:18 +0200)
Broadcom STB (BRCMSTB) has some 64-bit capable DMA and therefore needs
dma_addr_t to be a 64-bit size.  One user is the Broadcom SATA3 AHCI
controller driver.

Signed-off-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-bcm/Kconfig

index eed87462936b59c38e1a8d3c3d2ff022d914bc5e..1319c3c14327864366e396ed93516732ff6453a5 100644 (file)
@@ -145,6 +145,7 @@ config ARCH_BRCMSTB
        select BRCMSTB_GISB_ARB
        select BRCMSTB_L2_IRQ
        select BCM7120_L2_IRQ
+       select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE
        select ARCH_WANT_OPTIONAL_GPIOLIB
        help
          Say Y if you intend to run the kernel on a Broadcom ARM-based STB