Re: [PATCH] riscv: separate MMIO functions into their own header file

From: Paul Walmsley
Date: Sun Nov 17 2019 - 18:38:21 EST


On Thu, 31 Oct 2019, Christoph Hellwig wrote:

> I think it would be a better idea to move the kernel virtual address
> space layout out of pgtable.h into a new header, as pgtable.h pull a lot
> of stuff in.

Agreed that we should do this at some point also. It looks a bit tricky
to do this cleanly due to the usage of STRUCT_PAGE_MAX_SHIFT in the
definition of VMEMMAP_SHIFT, so I've passed on it for the time being.


- Paul