[PATCH v3 3/7] RISC-V: validate riscv,isa at boot, not during ISA string parsing
Sunil V L
sunilvl at ventanamicro.com
Mon Jun 12 00:33:28 PDT 2023
On Wed, Jun 07, 2023 at 09:28:27PM +0100, Conor Dooley wrote:
> From: Conor Dooley <conor.dooley at microchip.com>
>
> Since riscv_fill_hwcap() now only iterates over possible cpus, the
> basic validation of whether riscv,isa contains "rv<width>" can be moved
> to riscv_early_of_processor_hartid().
>
> Further, "ima" support is required by the kernel, so reject any CPU not
> fitting the bill.
>
> Reviewed-by: Andrew Jones <ajones at ventanamicro.com>
> Signed-off-by: Conor Dooley <conor.dooley at microchip.com>
> ---
Reviewed-by: Sunil V L <sunilvl at ventanamicro.com>
More information about the linux-riscv
mailing list