Re: [PATCH v2 5/6] RISC-V: Do no continue isa string parsing without correct XLEN
From: Heiko Stübner <heiko@sntech.de>
Date: 2022-02-14 21:05:47
Also in:
linux-riscv, lkml
From: Heiko Stübner <heiko@sntech.de>
Date: 2022-02-14 21:05:47
Also in:
linux-riscv, lkml
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 <redacted>
Tested-by: Heiko Stuebner <heiko@sntech.de>