From patchwork Tue Jul 9 08:54:31 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 13727466 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC1ABC2BD09 for ; Tue, 9 Jul 2024 08:55:33 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sR6cU-0002DN-4P; Tue, 09 Jul 2024 04:54:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sR6cT-0002Cn-26 for qemu-devel@nongnu.org; Tue, 09 Jul 2024 04:54:41 -0400 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sR6cR-0004jO-FG for qemu-devel@nongnu.org; Tue, 09 Jul 2024 04:54:40 -0400 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-70b31272a04so1194549b3a.1 for ; Tue, 09 Jul 2024 01:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1720515277; x=1721120077; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=t4XOj0192kA0RnTaXr1GTQiddDsoEl68lknMyxqi+Pc=; b=Fq0mdzZCq8B3fM3cJ9Gxe1llZ78WncUAh5gQ58kDyTri8iqD0UM99w0DJGg5eM0nSI q0o86uNRLNxv1n39ATJnV6CF7FnxTFKpRxq8iBVxBtnibDm+7TPS3xf4kkAgZu5Kf/AA mnUQiOr3IXQGMYzIt1L8wW+IRMSOK8nmmSSkT2rkmhm2+ND+1E4VeTT9i4TXXfbWV7TO Q3oGFso1TjTDiDN/hMqo18EAVw5Xl4y5dxBwg29Bbub7+hapkkvxzZdkBAVo2EmQdN5j QPI5H5rKKdc0a0PTeqv23tKhx6JAaznzpDopSzfLPEqIFY4mxHJ2Ze6cyVdGB8sOHnJJ OZ2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720515277; x=1721120077; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=t4XOj0192kA0RnTaXr1GTQiddDsoEl68lknMyxqi+Pc=; b=XB0FCzYKRs70prtTk0ks9XXMZGPKq1QqqNMovFf+QNqGFrt7FkJNdmRGPJaeL6LcKK 5Kc6/83t11VVcUQFXjovMDt4+oIAAkBQs7vBSmGrRtnrLwVxKD/uMkWh6IqGBFQAzR/7 dr6YozqFu2e95sGG26FFgOP9uWIlsSZLI96jtY90mB/1AB8G9k5l9/PRua4vSmTw0z2X K8ukVgOH0qjq7J5FsiOfMduhlEfQkJRwdJ0f8uLmuGkM8MqBDcjPIXwTpaQuV3ZdUtHY 6MK5Z2OD1yuw7oZz878TucmzOhcnIOKP9bTFgaJNLXOQcKwlAG6PAapfhCJz+s/F3MHN TfRA== X-Gm-Message-State: AOJu0Ywur+ibcEuDcZ7gQ3m5Z6PqJDrSUBzGLNFe9C2PLrZ3mIvo3R74 Ni27bhudvlxbNkxsatLdQLkWIZVum88BmrzbTq/DNWEXwjVdThuzeNB2oBJZ4wvBqzoKeXucF+u Y X-Google-Smtp-Source: AGHT+IHFzIljcf6zTPr4lXuYJkm5DMFriaHuEmq2CaZenhdgq2zNUl9yeUCE14AhjvakCXys9bPULg== X-Received: by 2002:a05:6a00:22cf:b0:706:aa4b:4 with SMTP id d2e1a72fcca58-70b44da55abmr2510022b3a.13.1720515277063; Tue, 09 Jul 2024 01:54:37 -0700 (PDT) Received: from grind.dc1.ventanamicro.com ([179.193.8.43]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-70b438995a8sm1316013b3a.10.2024.07.09.01.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jul 2024 01:54:36 -0700 (PDT) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, alistair.francis@wdc.com, bmeng@tinylab.org, liwei1518@gmail.com, zhiwei_liu@linux.alibaba.com, palmer@rivosinc.com, Daniel Henrique Barboza Subject: [PATCH] target/riscv/kvm: update KVM regs to Linux 6.10-rc5 Date: Tue, 9 Jul 2024 05:54:31 -0300 Message-ID: <20240709085431.455541-1-dbarboza@ventanamicro.com> X-Mailer: git-send-email 2.45.2 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=dbarboza@ventanamicro.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Two new regs added: ztso and zacas. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Alistair Francis --- target/riscv/kvm/kvm-cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c index 1047961fed..f6e3156b8d 100644 --- a/target/riscv/kvm/kvm-cpu.c +++ b/target/riscv/kvm/kvm-cpu.c @@ -281,6 +281,7 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = { KVM_EXT_CFG("zihintntl", ext_zihintntl, KVM_RISCV_ISA_EXT_ZIHINTNTL), KVM_EXT_CFG("zihintpause", ext_zihintpause, KVM_RISCV_ISA_EXT_ZIHINTPAUSE), KVM_EXT_CFG("zihpm", ext_zihpm, KVM_RISCV_ISA_EXT_ZIHPM), + KVM_EXT_CFG("zacas", ext_zacas, KVM_RISCV_ISA_EXT_ZACAS), KVM_EXT_CFG("zfa", ext_zfa, KVM_RISCV_ISA_EXT_ZFA), KVM_EXT_CFG("zfh", ext_zfh, KVM_RISCV_ISA_EXT_ZFH), KVM_EXT_CFG("zfhmin", ext_zfhmin, KVM_RISCV_ISA_EXT_ZFHMIN), @@ -298,6 +299,7 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = { KVM_EXT_CFG("zksed", ext_zksed, KVM_RISCV_ISA_EXT_ZKSED), KVM_EXT_CFG("zksh", ext_zksh, KVM_RISCV_ISA_EXT_ZKSH), KVM_EXT_CFG("zkt", ext_zkt, KVM_RISCV_ISA_EXT_ZKT), + KVM_EXT_CFG("ztso", ext_ztso, KVM_RISCV_ISA_EXT_ZTSO), KVM_EXT_CFG("zvbb", ext_zvbb, KVM_RISCV_ISA_EXT_ZVBB), KVM_EXT_CFG("zvbc", ext_zvbc, KVM_RISCV_ISA_EXT_ZVBC), KVM_EXT_CFG("zvfh", ext_zvfh, KVM_RISCV_ISA_EXT_ZVFH),