Re: [PATCH 1/1] target/riscv: correct csr_ops[CSR_MSECCFG]

2023-10-29 Thread Alistair Francis
On Sun, Oct 29, 2023 at 10:47 AM Heinrich Schuchardt wrote: > > The CSR register mseccfg is used by multiple extensions: Smepm and Zkr. > > Consider this when checking the existence of the register. > > Fixes: 77442380ecbe ("target/riscv: rvk: add CSR support for Zkr") > Signed-off-by: Heinrich Sc

Re: [PATCH 1/1] target/riscv: correct csr_ops[CSR_MSECCFG]

2023-10-29 Thread Alistair Francis
On Sun, Oct 29, 2023 at 10:47 AM Heinrich Schuchardt wrote: > > The CSR register mseccfg is used by multiple extensions: Smepm and Zkr. > > Consider this when checking the existence of the register. > > Fixes: 77442380ecbe ("target/riscv: rvk: add CSR support for Zkr") > Signed-off-by: Heinrich Sc

[PATCH 1/1] target/riscv: correct csr_ops[CSR_MSECCFG]

2023-10-28 Thread Heinrich Schuchardt
The CSR register mseccfg is used by multiple extensions: Smepm and Zkr. Consider this when checking the existence of the register. Fixes: 77442380ecbe ("target/riscv: rvk: add CSR support for Zkr") Signed-off-by: Heinrich Schuchardt --- target/riscv/csr.c | 7 +-- 1 file changed, 5 insertio