Re: [PATCH v2 5/6] RISC-V: Do no continue isa string parsing without correct XLEN

From: Heiko Stübner
Date: Mon Feb 14 2022 - 16:05:47 EST


Am Donnerstag, 10. Februar 2022, 22:40:17 CET schrieb Atish Patra:
> The isa string should begin with either rv64 or rv32. Otherwise, it is
> an incorrect isa string. Currently, the string parsing continues even if
> it doesnot begin with current XLEN.
>
> Fix this by checking if it found "rv64" or "rv32" in the beginning.
>
> Signed-off-by: Atish Patra <atishp@xxxxxxxxxxxx>

Tested-by: Heiko Stuebner <heiko@xxxxxxxxx>