From patchwork Fri May 24 02:50:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shaoqing Qin X-Patchwork-Id: 13672621 Received: from zg8tmty3ljk5ljewns4xndka.icoremail.net (zg8tmty3ljk5ljewns4xndka.icoremail.net [167.99.105.149]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5906E23D2 for ; Fri, 24 May 2024 02:50:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=167.99.105.149 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716519054; cv=none; b=ZmbaBIzkrXhbLG74jsi6KkXpL5hhAMQdVeYVdmF7Y5H959lc/W3JpVOq/cCcEBMK1LvvK4QmAAp6wnkecnYbW3a93h9bCucX1CHXY+4uYxIuh8j90FhWVAaFdNx0ZJzm4id0m6wH9m+5hATao2gqO4X8gSb5pabdqvWr5Waouss= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716519054; c=relaxed/simple; bh=D1u79UWVxouCmeSi+UKFOAciqIYkpYJjEmMBnmf2LZA=; h=Date:From:To:Cc:Subject:Content-Type:MIME-Version:Message-ID; b=WElOpNF5ksZMnzgRUc1/x/aP3BO+KDZQmeXeVjEUxyMQ17j6vgM1KA8zcjlVR8PHvAri6VcyjYgyBu5dHUVKVhi9hN6OEl+z+FfGmRJ9vrhsxnFSp59CqE5Xlcq2Pt+3vMjMZ/im40jblOqWrnGpsLnD/X/NeaGCgkj7ZvGvpGY= 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=167.99.105.149 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) ; Fri, 24 May 2024 10:50:26 +0800 (GMT+08:00) Date: Fri, 24 May 2024 10:50:26 +0800 (GMT+08:00) X-CM-HeaderCharset: UTF-8 From: "Shaoqing Qin" 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: [v2][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-4edfefde-e422-4ddc-8a36-c3f99eb8cd32-icoremail.net Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <5a455c13.48.18fa881bf58.Coremail.qinshaoqing@bosc.ac.cn> X-Coremail-Locale: zh_CN X-CM-TRANSID: AQAAfwD3p9hyAFBmA563AA--.2146W X-CM-SenderInfo: ptlq2xpdrtx03j6e02nfoduhdfq/1tbiAQAIAWZPVcACfQADsI X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VWxJw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= On 2024/5/24 10:10, Shaoqing Qin wrote: > >> The functionality has been tested on QEMU, the tests rely on kernel(6.9) and qemu >> support for zacas. >> 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: > mainline 6.9 > qemu: > https://github.com/OpenXiangShan/qemu/tree/riscv-zacas > > > > About aobve message about: > > This patch is to enable Zacas ISA extension for VM. > > You could try this patch with below dependencies: > > kernel: > mainline 6.9 > qemu: > https://github.com/OpenXiangShan/qemu/tree/riscv-zacas This feature has been verified on QEMU with zacas supported [1] + upstream kernel(v6.9) Link: https://github.com/OpenXiangShan/qemu/tree/riscv-zacas [1] --- > 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(+) >