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

From: Palmer Dabbelt
Date: Tue Sep 25 2018 - 13:03:49 EST


On Mon, 24 Sep 2018 13:55:04 PDT (-0700), atish.patra@xxxxxxx wrote:
On 9/17/18 7:08 AM, Christoph Hellwig wrote:
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?

Hi Palmer,
I did not see this one pulled into your rc6 PR.
Not sure if it was intentional or just lost in heap of emails.

Looks like it got lost, sorry. It's in my branch now, I might re-spin the rc6 PR because it looks like I may have screwed it up, if not I'll put it in rc7.

Thanks for the ping!