qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alistair Francis <alistair23@gmail.com>
To: "Fea.Wang" <fea.wang@sifive.com>
Cc: qemu-devel@nongnu.org, qemu-riscv@nongnu.org,
	 Palmer Dabbelt <palmer@dabbelt.com>,
	Alistair Francis <alistair.francis@wdc.com>,
	 Bin Meng <bmeng.cn@gmail.com>, Weiwei Li <liwei1518@gmail.com>,
	 Daniel Henrique Barboza <dbarboza@ventanamicro.com>,
	Liu Zhiwei <zhiwei_liu@linux.alibaba.com>
Subject: Re: [PATCH v5 0/6] Introduce svukte ISA extension
Date: Wed, 4 Dec 2024 11:36:18 +0900	[thread overview]
Message-ID: <CAKmqyKMu7fPLnWMia-=Un1hU041WrPOCe9BpGbM8mq7azCk8tA@mail.gmail.com> (raw)
In-Reply-To: <20241203034932.25185-1-fea.wang@sifive.com>

On Tue, Dec 3, 2024 at 12:39 PM Fea.Wang <fea.wang@sifive.com> wrote:
>
> 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: 2209cae121e5da3cfbdb9dd4b06d52d0ef66ea69
>
> [v5]
> * Update the warning log and the commit message
>
> [v4]
> * Add a svukte extension check in RV32.
> * Refine the code.
>
> [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 (6):
>   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: Check svukte is not enabled in RV32

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  target/riscv/cpu.c         |  2 ++
>  target/riscv/cpu_bits.h    |  2 ++
>  target/riscv/cpu_cfg.h     |  1 +
>  target/riscv/cpu_helper.c  | 55 ++++++++++++++++++++++++++++++++++++++
>  target/riscv/csr.c         |  7 +++++
>  target/riscv/tcg/tcg-cpu.c |  5 ++++
>  6 files changed, 72 insertions(+)
>
> --
> 2.34.1
>
>


      parent reply	other threads:[~2024-12-04  2:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-03  3:49 [PATCH v5 0/6] Introduce svukte ISA extension Fea.Wang
2024-12-03  3:49 ` [PATCH v5 1/6] target/riscv: Add svukte extension capability variable Fea.Wang
2024-12-03  3:49 ` [PATCH v5 2/6] target/riscv: Support senvcfg[UKTE] bit when svukte extension is enabled Fea.Wang
2024-12-03  3:49 ` [PATCH v5 3/6] target/riscv: Support hstatus[HUKTE] " Fea.Wang
2024-12-03  3:49 ` [PATCH v5 4/6] target/riscv: Check memory access to meet svukte rule Fea.Wang
2024-12-03  3:49 ` [PATCH v5 5/6] target/riscv: Expose svukte ISA extension Fea.Wang
2024-12-03  3:49 ` [PATCH v5 6/6] target/riscv: Check svukte is not enabled in RV32 Fea.Wang
2024-12-03  8:00   ` Alistair Francis
2024-12-04  2:36 ` Alistair Francis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKmqyKMu7fPLnWMia-=Un1hU041WrPOCe9BpGbM8mq7azCk8tA@mail.gmail.com' \
    --to=alistair23@gmail.com \
    --cc=alistair.francis@wdc.com \
    --cc=bmeng.cn@gmail.com \
    --cc=dbarboza@ventanamicro.com \
    --cc=fea.wang@sifive.com \
    --cc=liwei1518@gmail.com \
    --cc=palmer@dabbelt.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-riscv@nongnu.org \
    --cc=zhiwei_liu@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).