Re: [PATCH] RISCV: Fix end PFN for low memory

From: Christoph Hellwig
Date: Mon Sep 17 2018 - 10:08:21 EST


On Tue, Sep 11, 2018 at 11:30:18AM -0700, Atish Patra wrote:
> Use memblock_end_of_DRAM which provides correct last low memory
> PFN. Without that, DMA32 region becomes empty resulting in zero
> pages being allocated for DMA32.
>
> This patch is based on earlier patch from palmer which never
> merged into 4.19. I just edited the commit text to make more
> sense.

Looks good,

Reviewed-by: Christoph Hellwig <hch@xxxxxx>

Palmer, can you queue this up for 4.19?