[PATCH 01/16] target/riscv: tt-ascalon: Enable Zkr extension

Joel Stanley posted 16 patches 1 month ago
There is a newer version of this series
[PATCH 01/16] target/riscv: tt-ascalon: Enable Zkr extension
Posted by Joel Stanley 1 month ago
From: Nicholas Piggin <npiggin@gmail.com>

Ascalon supports Zkr and the SEED CSR.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 target/riscv/cpu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c
index 73d4280d7c84..2f31e79ae6cb 100644
--- a/target/riscv/cpu.c
+++ b/target/riscv/cpu.c
@@ -3169,6 +3169,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