Re: [PATCH v3 02/11] RISC-V: don't parse dt/acpi isa string to get rv32/rv64

From: Conor Dooley
Date: Mon Jul 03 2023 - 12:17:12 EST


On Mon, Jul 03, 2023 at 11:27:54AM +0100, Conor Dooley wrote:
> From: Heiko Stuebner <heiko.stuebner@xxxxxxxx>
>
> When filling hwcap the kernel already expects the isa string to start with
> rv32 if CONFIG_32BIT and rv64 if CONFIG_64BIT.
>
> So when recreating the runtime isa-string we can also just go the other way
> to get the correct starting point for it.
>
> Signed-off-by: Heiko Stuebner <heiko.stuebner@xxxxxxxx>
> Reviewed-by: Andrew Jones <ajones@xxxxxxxxxxxxxxxx>
> Co-developed-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> Signed-off-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>

From v(n-1) that I forgot:
Reviewed-by: Evan Green <evan@xxxxxxxxxxxx>
https://lore.kernel.org/all/CALs-HstMTxJFHEoSCaAUtYzT+a-2RSYAhWMQmkVw2+WE=y0agQ@xxxxxxxxxxxxxx/

Attachment: signature.asc
Description: PGP signature