[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y86VX3zhoSRHsewb@wendy>
Date: Mon, 23 Jan 2023 14:10:39 +0000
From: Conor Dooley <conor.dooley@...rochip.com>
To: Alexandre Ghiti <alexghiti@...osinc.com>
CC: Jonathan Corbet <corbet@....net>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Conor Dooley <conor@...nel.org>, <linux-doc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <linux-riscv@...ts.infradead.org>,
Björn Töpel <bjorn@...nel.org>
Subject: Re: [PATCH resend v3] riscv: Allow to downgrade paging mode from the
command line
On Mon, Jan 23, 2023 at 11:51:35AM +0100, Alexandre Ghiti wrote:
> Add 2 early command line parameters that allow to downgrade satp mode
> (using the same naming as x86):
> - "no5lvl": use a 4-level page table (down from sv57 to sv48)
> - "no4lvl": use a 3-level page table (down from sv57/sv48 to sv39)
>
> Note that going through the device tree to get the kernel command line
> works with ACPI too since the efi stub creates a device tree anyway with
> the command line.
>
> Also, as those params are treated very early in the boot process and we
> use standard device tree functions that may be kasan instrumented, we
> only enable them for !KASAN configurations.
>
> Reviewed-by: Björn Töpel <bjorn@...nel.org>
> Signed-off-by: Alexandre Ghiti <alexghiti@...osinc.com>
> ---
>
> v3:
> - Massage commit log to make no4lvl clearer, as asked by Conor
> - Add a note to kernel-parameters.txt regarding the impossibility to use
> those parameters when KASAN is enabled, as suggested by Conor
For the improved descriptions & commit message:
Reviewed-by: Conor Dooley <conor.dooley@...rochip.com>
Apologies for complaining about the missing changelog earlier!
Conor.
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists