Re: [PATCH v2 1/1] target/riscv: misa to ISA string conversion fix

2022-03-30 Thread Alistair Francis
On Mon, Mar 28, 2022 at 11:11 PM Tsukasa OI wrote: > > Some bits in RISC-V `misa' CSR should not be reflected in the ISA > string. For instance, `S' and `U' (represents existence of supervisor > and user mode, respectively) in `misa' CSR must not be copied since > neither `S' nor `U' are valid si

Re: [PATCH v2 1/1] target/riscv: misa to ISA string conversion fix

2022-03-29 Thread Frédéric Pétrot
Le 30/03/2022 à 04:08, Tsukasa OI a écrit : On 2022/03/30 1:29, Frédéric Pétrot wrote: Hello, Le 28/03/2022 à 15:11, Tsukasa OI a écrit : Some bits in RISC-V `misa' CSR should not be reflected in the ISA string.  For instance, `S' and `U' (represents existence of supervisor and user mode, resp

Re: [PATCH v2 1/1] target/riscv: misa to ISA string conversion fix

2022-03-29 Thread Alistair Francis
On Mon, Mar 28, 2022 at 11:11 PM Tsukasa OI wrote: > > Some bits in RISC-V `misa' CSR should not be reflected in the ISA > string. For instance, `S' and `U' (represents existence of supervisor > and user mode, respectively) in `misa' CSR must not be copied since > neither `S' nor `U' are valid si

Re: [PATCH v2 1/1] target/riscv: misa to ISA string conversion fix

2022-03-29 Thread Tsukasa OI
On 2022/03/30 1:29, Frédéric Pétrot wrote: > Hello, > > Le 28/03/2022 à 15:11, Tsukasa OI a écrit : >> Some bits in RISC-V `misa' CSR should not be reflected in the ISA >> string.  For instance, `S' and `U' (represents existence of supervisor >> and user mode, respectively) in `misa' CSR must not

Re: [PATCH v2 1/1] target/riscv: misa to ISA string conversion fix

2022-03-29 Thread Frédéric Pétrot
Hello, Le 28/03/2022 à 15:11, Tsukasa OI a écrit : Some bits in RISC-V `misa' CSR should not be reflected in the ISA string. For instance, `S' and `U' (represents existence of supervisor and user mode, respectively) in `misa' CSR must not be copied since neither `S' nor `U' are valid single-let

[PATCH v2 1/1] target/riscv: misa to ISA string conversion fix

2022-03-28 Thread Tsukasa OI
Some bits in RISC-V `misa' CSR should not be reflected in the ISA string. For instance, `S' and `U' (represents existence of supervisor and user mode, respectively) in `misa' CSR must not be copied since neither `S' nor `U' are valid single-letter extensions. This commit also removes all reserved