• Christoph Hellwig's avatar
    riscv: add ZONE_DMA32 · 5ec9c4ff
    Christoph Hellwig authored
    This patch allows devices that require memory that can be addressed
    using 32-bit addresses to work easily on RISC-V systems.  The newly
    improved dma-direct ops will tap into this pool automatically for
    32-bit addressing.
    
    Based on an earlier patch from Wesley W. Terpstra.
    
    CC: Wesley W. Terpstra <terpstra@sifive.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarPalmer Dabbelt <palmer@sifive.com>
    5ec9c4ff
setup.c 6.06 KB