mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
3c51b9c7f1
Some Host Controller hardware blocks, like the OHCI, EHCI and SDIO controllers, have hardware blocks that are not capable of doing 64 bit DMA. These host controllers fail on boards with >3GB of memory because the memory above 3GB is located physically >= 0x100000000 and can only be accessed using 64 DMA. The way Linux is currently configured for BRCMSTB systems, the memory given to drivers for DMA through functions like dma_alloc_coherent() comes from CMA memory and CMA memory is taken from the top of physical memory. When these drivers get a DMA buffer with an address >=0x100000000, they end up dropping the upper 32 bit of the address causing the hardware to DMA to incorrect memory, typically BMEM (custom memory carveout). This issue was discovered on a BCM97449SSV_DDR4 system with 4GB or memory. The fix is to enable CONFIG_ZONE_DMA. On ARM systems this makes sure that all DMA memory is located within the first 32 bits of address space. Signed-off-by: Al Cooper <alcooperx@gmail.com> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> |
||
---|---|---|
.. | ||
bcm63xx_pmb.c | ||
bcm63xx_smp.c | ||
bcm63xx_smp.h | ||
bcm63xx.c | ||
bcm_5301x.c | ||
bcm_cygnus.c | ||
bcm_kona_smc.c | ||
bcm_kona_smc.h | ||
bcm_nsp.c | ||
board_bcm281xx.c | ||
board_bcm2835.c | ||
board_bcm21664.c | ||
board_bcm23550.c | ||
brcmstb.c | ||
Kconfig | ||
kona_l2_cache.c | ||
kona_l2_cache.h | ||
Makefile | ||
platsmp-brcmstb.c | ||
platsmp.c |