From: Anup Patel <apatel@ventanamicro.com>
To: kvm-riscv@lists.infradead.org
Subject: [PATCH kvmtool 3/5] riscv: Add Svpbmt extension support
Date: Mon, 15 Aug 2022 15:43:23 +0530 [thread overview]
Message-ID: <20220815101325.477694-4-apatel@ventanamicro.com> (raw)
In-Reply-To: <20220815101325.477694-1-apatel@ventanamicro.com>
The Svpbmt extension allows PTE based memory attributes in page tables.
This extension also allows Guest/VM to use PTE based memory attributes
in VS-stage page tables so let us add it Guest/VM ISA string when KVM
RISC-V supports it.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
---
riscv/fdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/riscv/fdt.c b/riscv/fdt.c
index 1818cf7..eb7851e 100644
--- a/riscv/fdt.c
+++ b/riscv/fdt.c
@@ -17,6 +17,7 @@ struct isa_ext_info {
};
struct isa_ext_info isa_info_arr[] = {
+ {"svpbmt", KVM_RISCV_ISA_EXT_SVPBMT},
};
static void dump_fdt(const char *dtb_file, void *fdt)
--
2.34.1
WARNING: multiple messages have this Message-ID (diff)
From: Anup Patel <apatel@ventanamicro.com>
To: Will Deacon <will@kernel.org>,
julien.thierry.kdev@gmail.com, maz@kernel.org
Cc: Paolo Bonzini <pbonzini@redhat.com>,
Atish Patra <atishp@atishpatra.org>,
Alistair Francis <Alistair.Francis@wdc.com>,
Anup Patel <anup@brainfault.org>,
kvm@vger.kernel.org, kvm-riscv@lists.infradead.org,
Anup Patel <apatel@ventanamicro.com>
Subject: [PATCH kvmtool 3/5] riscv: Add Svpbmt extension support
Date: Mon, 15 Aug 2022 15:43:23 +0530 [thread overview]
Message-ID: <20220815101325.477694-4-apatel@ventanamicro.com> (raw)
In-Reply-To: <20220815101325.477694-1-apatel@ventanamicro.com>
The Svpbmt extension allows PTE based memory attributes in page tables.
This extension also allows Guest/VM to use PTE based memory attributes
in VS-stage page tables so let us add it Guest/VM ISA string when KVM
RISC-V supports it.
Signed-off-by: Anup Patel <apatel@ventanamicro.com>
---
riscv/fdt.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/riscv/fdt.c b/riscv/fdt.c
index 1818cf7..eb7851e 100644
--- a/riscv/fdt.c
+++ b/riscv/fdt.c
@@ -17,6 +17,7 @@ struct isa_ext_info {
};
struct isa_ext_info isa_info_arr[] = {
+ {"svpbmt", KVM_RISCV_ISA_EXT_SVPBMT},
};
static void dump_fdt(const char *dtb_file, void *fdt)
--
2.34.1
next prev parent reply other threads:[~2022-08-15 10:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 10:13 [PATCH kvmtool 0/5] KVMTOOL RISC-V Svpbmt and Sstc Support Anup Patel
2022-08-15 10:13 ` Anup Patel
2022-08-15 10:13 ` [PATCH kvmtool 1/5] Update UAPI headers based on Linux-6.0-rc1 Anup Patel
2022-08-15 10:13 ` Anup Patel
2022-08-15 10:13 ` [PATCH kvmtool 2/5] riscv: Append ISA extensions to the device tree Anup Patel
2022-08-15 10:13 ` Anup Patel
2022-08-15 10:13 ` Anup Patel [this message]
2022-08-15 10:13 ` [PATCH kvmtool 3/5] riscv: Add Svpbmt extension support Anup Patel
2022-08-15 10:13 ` [PATCH kvmtool 4/5] riscv: Add Sstc " Anup Patel
2022-08-15 10:13 ` Anup Patel
2022-08-15 10:13 ` [PATCH kvmtool 5/5] riscv: Fix serial0 alias path Anup Patel
2022-08-15 10:13 ` Anup Patel
2022-08-31 9:59 ` [PATCH kvmtool 0/5] KVMTOOL RISC-V Svpbmt and Sstc Support Anup Patel
2022-08-31 9:59 ` Anup Patel
2022-09-22 12:45 ` Will Deacon
2022-09-22 12:45 ` Will Deacon
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=20220815101325.477694-4-apatel@ventanamicro.com \
--to=apatel@ventanamicro.com \
--cc=kvm-riscv@lists.infradead.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 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.