Re: [PATCH v1 1/7] target/riscv: Fix sstatus read and write

2024-10-10 Thread Alistair Francis
On Mon, Oct 7, 2024 at 1:35 PM LIU Zhiwei wrote: > > From: TANG Tiancheng > > Sstatus is SXLEN bits in length and always has the layout determined by > the SXL configuration, regardless of the current XLEN. > > Signed-off-by: TANG Tiancheng > Fixes: b550f89457 (target/riscv: Compute mstatus.sd o

[PATCH v1 1/7] target/riscv: Fix sstatus read and write

2024-10-06 Thread LIU Zhiwei
From: TANG Tiancheng Sstatus is SXLEN bits in length and always has the layout determined by the SXL configuration, regardless of the current XLEN. Signed-off-by: TANG Tiancheng Fixes: b550f89457 (target/riscv: Compute mstatus.sd on demand) Fixes: f310df58bd (target/riscv: Enable uxl field writ