mbox series

[0/2] riscv: Fix Zkr bugs

Message ID 20250227144200.69270-1-saveliy.motov@syntacore.com (mailing list archive)
Headers show
Series riscv: Fix Zkr bugs | expand

Message

Saveliy Motov Feb. 27, 2025, 2:41 p.m. UTC
This series fixes Zkr extension bugs.
- Fix Zkr CSR first reading
- Fix Zkr higher bits in riscv64 machine


Saveliy Motov (2):
  target/riscv/csr.c: Fix first Zkr CSR reading
  target/riscv/cpu_bits.h: Fix [63:32] bits in Zkr seed csr

 target/riscv/cpu.c      |  3 +++
 target/riscv/cpu.h      |  4 ++++
 target/riscv/cpu_bits.h | 10 +++++-----
 target/riscv/csr.c      |  7 ++++++-
 4 files changed, 18 insertions(+), 6 deletions(-)