All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5]  Introduce svukte ISA extension
@ 2024-11-12  9:14 Fea.Wang
  2024-11-12  9:14 ` [PATCH v3 1/5] target/riscv: Add svukte extension capability variable Fea.Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 15+ messages in thread
From: Fea.Wang @ 2024-11-12  9:14 UTC (permalink / raw)
  To: qemu-devel, qemu-riscv
  Cc: Palmer Dabbelt, Alistair Francis, Bin Meng, Weiwei Li,
	Daniel Henrique Barboza, Liu Zhiwei, Fea.Wang

The Svukte ISA extension has been approved for fast-track development.
https://lf-riscv.atlassian.net/browse/RVS-2977 
And there are Linux patches for the Svukte that are under review.
https://lore.kernel.org/kvm/20240920-dev-maxh-svukte-rebase-v1-0-7864a88a62bd@sifive.com/T/#mf70fcb22cd2987ad268c0efee9b8583197d3cb4f

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.

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

base-commit: 27652f9ca9d831c67dd447346c6ee953669255f0

[v3]
* Fix some typos
* Refine code by separating a function into two dedicated functions.
* Follow the riscv,isa order

[v2]
* Refactor the code

[v1]
* Add svukte extension

Fea.Wang (5):
  target/riscv: Add svukte extension capability variable
  target/riscv: Support senvcfg[UKTE] bit when svukte extension is
    enabled
  target/riscv: Support hstatus[HUKTE] bit when svukte extension is
    enabled
  target/riscv: Check memory access to meet svukte rule
  target/riscv: Expose svukte ISA extension

 target/riscv/cpu.c        |  2 ++
 target/riscv/cpu_bits.h   |  2 ++
 target/riscv/cpu_cfg.h    |  1 +
 target/riscv/cpu_helper.c | 61 +++++++++++++++++++++++++++++++++++++++
 target/riscv/csr.c        |  7 +++++
 5 files changed, 73 insertions(+)

-- 
2.34.1



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2024-11-20  7:43 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-12  9:14 [PATCH v3 0/5] Introduce svukte ISA extension Fea.Wang
2024-11-12  9:14 ` [PATCH v3 1/5] target/riscv: Add svukte extension capability variable Fea.Wang
2024-11-19  3:22   ` Alistair Francis
2024-11-12  9:14 ` [PATCH v3 2/5] target/riscv: Support senvcfg[UKTE] bit when svukte extension is enabled Fea.Wang
2024-11-19  3:23   ` Alistair Francis
2024-11-12  9:14 ` [PATCH v3 3/5] target/riscv: Support hstatus[HUKTE] " Fea.Wang
2024-11-19  3:24   ` Alistair Francis
2024-11-12  9:14 ` [PATCH v3 4/5] target/riscv: Check memory access to meet svukte rule Fea.Wang
2024-11-12 12:52   ` Daniel Henrique Barboza
2024-11-19  3:33   ` Alistair Francis
2024-11-20  7:42     ` Fea Wang
2024-11-12  9:14 ` [PATCH v3 5/5] target/riscv: Expose svukte ISA extension Fea.Wang
2024-11-19  3:25   ` Alistair Francis
2024-11-19  3:33   ` Alistair Francis
2024-11-20  7:42     ` Fea Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.