Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: brcmstb: Enable ARCH_HAS_HOLES_MEMORYMODEL

Due to the brcmstb SoC's memory map, we may have holes in the memory if
we don't populate the maximum amount of memory supported by e.g: the
first memory controller which spans either the first 1GiB or first 2GiB
of memory.

We need to select ARCH_HAS_HOLES_MEMORYMODEL in order to enable
CONFIG_HAVE_ARCH_PFN_VALID on platforms that have CONFIG_SPARSEMEM
enabled.

Signed-off-by: Danesh Petigara <danesh.petigara@broadcom.com>
[florian: Detailed commit message]
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

authored by

Danesh Petigara and committed by
Florian Fainelli
59f181aa 3c51b9c7

+1
+1
arch/arm/mach-bcm/Kconfig
··· 198 198 select HAVE_ARM_ARCH_TIMER 199 199 select BRCMSTB_L2_IRQ 200 200 select BCM7120_L2_IRQ 201 + select ARCH_HAS_HOLES_MEMORYMODEL 201 202 select ARCH_DMA_ADDR_T_64BIT if ARM_LPAE 202 203 select ZONE_DMA if ARM_LPAE 203 204 select SOC_BRCMSTB