From: Nicholas Piggin <[email protected]>

Ascalon supports Zkr and the SEED CSR.

Reviewed-by: Chao Liu <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Joel Stanley <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Alistair Francis <[email protected]>
(cherry picked from commit 569aa6280d141129c705c361350705832b33cf88)
Signed-off-by: Michael Tokarev <[email protected]>

diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 87b9afcf241..663c486a4df 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -3188,6 +3188,7 @@ static const TypeInfo riscv_cpu_type_infos[] = {
         .cfg.ext_zba = true,
         .cfg.ext_zbb = true,
         .cfg.ext_zbs = true,
+        .cfg.ext_zkr = true,
         .cfg.ext_zkt = true,
         .cfg.ext_zvbb = true,
         .cfg.ext_zvbc = true,
-- 
2.47.3


Reply via email to