From patchwork Tue Jan 23 02:55:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaoqing Qin X-Patchwork-Id: 13526789 Received: from zg8tndyumtaxlji0oc4xnzya.icoremail.net (zg8tndyumtaxlji0oc4xnzya.icoremail.net [46.101.248.176]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DEB1C810 for ; Tue, 23 Jan 2024 02:56:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.101.248.176 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705978587; cv=none; b=e5qsmUSE9EOHbh4T6F5UzzdJitfyienuA50c6xjnoc7razvyhImD1ylvHvkorGSDQ7JiWP156a1EDTSPObRY4T5zUmPCZ/gQAAL1MRu/Em+FdrgJZVcbpt70qDCljreJy1AznbRuU3MVBXbAPno51DoLD5hRy85KCX5wvuLezIY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705978587; c=relaxed/simple; bh=8RyX1FMeq4gj1VC4buYen3xH7DsH2q46t1Wh/+dVfU0=; h=Date:From:To:Cc:Subject:Content-Type:MIME-Version:Message-ID; b=iSQNaTXIpciuwoRQND5XZ3GjPyX76Ks/PbLoWt+6GUfFJTNWZxS5/afoIR3kok965gA5BDhGe/ogtAur1CyBWhCG6XjoHxKkPblFlS/ll84qXkBIj6ngaFEXkYj1vl8Fjo9qINqdY2OPZgbJfcLhDxVZiDgMvmz6t3XJbuAyNas= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bosc.ac.cn; spf=pass smtp.mailfrom=bosc.ac.cn; arc=none smtp.client-ip=46.101.248.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bosc.ac.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bosc.ac.cn Received: from qinshaoqing$bosc.ac.cn ( [123.114.53.210] ) by ajax-webmail-mail (Coremail) ; Tue, 23 Jan 2024 10:55:51 +0800 (GMT+08:00) Date: Tue, 23 Jan 2024 10:55:51 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: =?utf-8?b?56em5bCR6Z2S?= To: Deacon , julien.thierry.kdev@gmail.com, maz@kernel.org Cc: Bonzini , Patra , Jones , Patel , kvm@vger.kernel.org, kvm-riscv@lists.infradead.org, Patel , =?utf-8?b?546L54S2?= , =?utf-8?b?5byg5YGl?= Subject: [kvmtool PATCH 0/1] riscv: Add zacas extension X-Priority: 3 X-Mailer: Coremail Webmail Server Version 2023.1-cmXT5 build 20230627(00751abc) Copyright (c) 2002-2024 www.mailtech.cn mispb-76b96e3b-3ecc-44d5-9200-de81e6d4c242- Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <5b92b0c6.94.18d343eddde.Coremail.qinshaoqing@bosc.ac.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwBX8Ea3Kq9lA26sAA--.987W X-CM-SenderInfo: ptlq2xpdrtx03j6e02nfoduhdfq/1tbiAQAGAWWukV4CHgAAse X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= > The functionality has been tested on QEMU, the tests rely on kernel and qemu > support for zacas. > Currently, there is no patch for zacas on the upstream. > If you want to test, you could use the following version we released for testing. About aobve message about: This patch is to enable Zacas ISA extension for VM. You could try this patch with below dependencies: kernel: https://github.com/OpenXiangShan/riscv-linux/tree/riscv-zacas qemu: https://github.com/OpenXiangShan/qemu/tree/riscv-zacas qinshaoqing (1): Add support for (ratified) Zacas extension riscv/fdt.c | 1 + riscv/include/asm/kvm.h | 1 + riscv/include/kvm/kvm-config-arch.h | 3 +++ 3 files changed, 5 insertions(+)