Re: [PATCH v3 4/4] RISC-V: Allow booting kernel from any 4KB aligned address
From: Anup Patel
Date: Mon Mar 25 2019 - 08:42:44 EST
On Mon, Mar 25, 2019 at 5:09 PM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> I'm still not sold on this at all. It is a lot more code, a lot harder
> to read code and all for a very narrow corner case that isn't even
> going to be enabled in default configs.
The old page table setup code does not exist anymore.
It uses new code for 2M mappings as well.
In fact, it will also try to create 1G mappings if possible.
The code is lot better, readable and flexible.
Regards,
Anup