From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Jones Date: Thu, 13 Jul 2023 13:32:29 +0200 Subject: [PATCH 3/7] RISC-V: KVM: Allow Zba and Zbs extensions for Guest/VM In-Reply-To: <20230712161047.1764756-4-apatel@ventanamicro.com> References: <20230712161047.1764756-1-apatel@ventanamicro.com> <20230712161047.1764756-4-apatel@ventanamicro.com> Message-ID: <20230713-edec78d8a36c3c84618f159f@orel> List-Id: To: kvm-riscv@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit On Wed, Jul 12, 2023 at 09:40:43PM +0530, Anup Patel wrote: > We extend the KVM ISA extension ONE_REG interface to allow KVM > user space to detect and enable Zba and Zbs extensions for Guest/VM. > > Signed-off-by: Anup Patel > --- > arch/riscv/include/uapi/asm/kvm.h | 2 ++ > arch/riscv/kvm/vcpu_onereg.c | 4 ++++ > 2 files changed, 6 insertions(+) > Reviewed-by: Andrew Jones