Re: [PATCH 1/5] target/riscv: Typo fix in sstc() predicate

2022-10-30 Thread Alistair Francis
On Fri, Oct 28, 2022 at 2:52 AM Anup Patel wrote: > > We should use "&&" instead of "&" when checking hcounteren.TM and > henvcfg.STCE bits. > > Fixes: 3ec0fe18a31f ("target/riscv: Add vstimecmp suppor") > Signed-off-by: Anup Patel Reviewed-by: Alistair Francis Alistair > --- > target/riscv/

[PATCH 1/5] target/riscv: Typo fix in sstc() predicate

2022-10-27 Thread Anup Patel
We should use "&&" instead of "&" when checking hcounteren.TM and henvcfg.STCE bits. Fixes: 3ec0fe18a31f ("target/riscv: Add vstimecmp suppor") Signed-off-by: Anup Patel --- target/riscv/csr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/csr.c b/target/riscv/c