From: LIU Zhiwei <zhiwei_liu@c-sky.com>
To: Alistair Francis <alistair.francis@wdc.com>,
qemu-devel@nongnu.org, qemu-riscv@nongnu.org
Cc: alistair23@gmail.com, anup.patel@wdc.com, palmer@dabbelt.com
Subject: Re: [PATCH v3 00/13] RISC-V: Update the Hypervisor spec to v0.6.1
Date: Thu, 13 Aug 2020 10:26:39 +0800 [thread overview]
Message-ID: <6e40b9b8-5883-7b49-e63e-2e24e8f5baec@c-sky.com> (raw)
In-Reply-To: <cover.1597259519.git.alistair.francis@wdc.com>
On 2020/8/13 3:13, Alistair Francis wrote:
> This series updates the experimental QEMU RISC-V Hypervisor spec to the
> v0.6.1 draft implementation.
>
> THis includes support for the new 2-stage lookup instructions and the new
> CSRs.
>
> It also includes the new 0.6.1 support for the virtual instruction
> fault.
>
> This was tested by running 32-bit and 64-bit Xvisor on QEMU and starting
> Linux guests.
Hi Alistair,
I am reading Christoper Dall's article on ARM virtualization. As far as
I can see, Xvisor is type 1 hypervisor.
I want to try this patch set. Could you share the method? Thanks very much.
Best Regards,
Zhiwei
> v3:
> - Rebase on master
> v2:
> - Update to v0.6.1
>
>
>
> Alistair Francis (13):
> target/riscv: Allow setting a two-stage lookup in the virt status
> target/riscv: Allow generating hlv/hlvx/hsv instructions
> target/riscv: Do two-stage lookups on hlv/hlvx/hsv instructions
> target/riscv: Don't allow guest to write to htinst
> target/riscv: Convert MSTATUS MTL to GVA
> target/riscv: Fix the interrupt cause code
> target/riscv: Update the Hypervisor trap return/entry
> target/riscv: Update the CSRs to the v0.6 Hyp extension
> target/riscv: Only support a single VSXL length
> target/riscv: Only support little endian guests
> target/riscv: Support the v0.6 Hypervisor extension CRSs
> target/riscv: Return the exception from invalid CSR accesses
> target/riscv: Support the Virtual Instruction fault
>
> target/riscv/cpu.h | 2 +
> target/riscv/cpu_bits.h | 25 +-
> target/riscv/helper.h | 4 +
> target/riscv/insn32-64.decode | 5 +
> target/riscv/insn32.decode | 11 +
> target/riscv/cpu_helper.c | 123 +++++----
> target/riscv/csr.c | 171 ++++++++++--
> target/riscv/insn_trans/trans_rvh.inc.c | 342 +++++++++++++++++++++++-
> target/riscv/op_helper.c | 176 +++++++++++-
> target/riscv/translate.c | 10 -
> 10 files changed, 761 insertions(+), 108 deletions(-)
>
next prev parent reply other threads:[~2020-08-13 2:27 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-12 19:13 [PATCH v3 00/13] RISC-V: Update the Hypervisor spec to v0.6.1 Alistair Francis
2020-08-12 19:13 ` [PATCH v3 01/13] target/riscv: Allow setting a two-stage lookup in the virt status Alistair Francis
2020-08-12 19:13 ` [PATCH v3 02/13] target/riscv: Allow generating hlv/hlvx/hsv instructions Alistair Francis
2020-08-12 19:13 ` [PATCH v3 03/13] target/riscv: Do two-stage lookups on " Alistair Francis
2020-08-12 19:13 ` [PATCH v3 04/13] target/riscv: Don't allow guest to write to htinst Alistair Francis
2020-08-12 19:13 ` [PATCH v3 05/13] target/riscv: Convert MSTATUS MTL to GVA Alistair Francis
2020-08-12 19:13 ` [PATCH v3 06/13] target/riscv: Fix the interrupt cause code Alistair Francis
2020-08-12 19:13 ` [PATCH v3 07/13] target/riscv: Update the Hypervisor trap return/entry Alistair Francis
2020-08-12 19:13 ` [PATCH v3 08/13] target/riscv: Update the CSRs to the v0.6 Hyp extension Alistair Francis
2020-08-12 19:13 ` [PATCH v3 09/13] target/riscv: Only support a single VSXL length Alistair Francis
2020-08-12 19:13 ` [PATCH v3 10/13] target/riscv: Only support little endian guests Alistair Francis
2020-08-12 19:13 ` [PATCH v3 11/13] target/riscv: Support the v0.6 Hypervisor extension CRSs Alistair Francis
2020-08-12 19:13 ` [PATCH v3 12/13] target/riscv: Return the exception from invalid CSR accesses Alistair Francis
2020-08-12 19:13 ` [PATCH v3 13/13] target/riscv: Support the Virtual Instruction fault Alistair Francis
2020-08-13 2:26 ` LIU Zhiwei [this message]
2020-08-13 21:26 ` [PATCH v3 00/13] RISC-V: Update the Hypervisor spec to v0.6.1 Alistair Francis
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=6e40b9b8-5883-7b49-e63e-2e24e8f5baec@c-sky.com \
--to=zhiwei_liu@c-sky.com \
--cc=alistair.francis@wdc.com \
--cc=alistair23@gmail.com \
--cc=anup.patel@wdc.com \
--cc=palmer@dabbelt.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-riscv@nongnu.org \
/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).