target/riscv: Add svukte extension capability variable

Refer to the draft of svukte extension from:
https://github.com/riscv/riscv-isa-manual/pull/1564

Svukte provides a means to make user-mode accesses to supervisor memory
raise page faults in constant time, mitigating attacks that attempt to
discover the supervisor software's address-space layout.

Signed-off-by: Fea.Wang <fea.wang@sifive.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20241203034932.25185-2-fea.wang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
This commit is contained in:
Fea.Wang 2024-12-03 11:49:27 +08:00 committed by Alistair Francis
parent 1a65064c1f
commit 59018ec72f

View File

@ -84,6 +84,7 @@ struct RISCVCPUConfig {
bool ext_svnapot; bool ext_svnapot;
bool ext_svpbmt; bool ext_svpbmt;
bool ext_svvptc; bool ext_svvptc;
bool ext_svukte;
bool ext_zdinx; bool ext_zdinx;
bool ext_zaamo; bool ext_zaamo;
bool ext_zacas; bool ext_zacas;