Re: [RESEND PATCH V3 0/2] riscv: add RISC-V Svpbmt Standard Extension supports

From: Christoph Hellwig
Date: Tue Nov 02 2021 - 02:00:15 EST


On Tue, Nov 02, 2021 at 10:07:58AM +0800, Guo Ren wrote:
>
> To separate MMU & no-MMU clearly, I suggest fuwei add
> #if defined(CONFIG_64BIT) && defined(CONFIG_MMU)

Actually - for documentation purposes a new CONFIG_RISCV_SVPBMT that
depends on 64BIT && MMU would probably much better as it clearly
documents the intent here.