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

Heiko Stübner heiko at sntech.de
Mon Feb 14 12:06:20 PST 2022


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 at rivosinc.com>

Tested-by: Heiko Stuebner <heiko at sntech.de>





More information about the linux-riscv mailing list