From nobody Sun Nov 24 00:57:45 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1730952715; cv=none; d=zohomail.com; s=zohoarc; b=N6YE/kcpWJnpCa/c9hd4M9gJqXBVjUkJIdNtTYqql7Nh4NTJQFOstw8nuamG/EEervuHpjT/mYv9NJqPhosVSflWaH98OCmCLq7cdyYLrPcaC6sgjpg5U7T21WU67GoqsRU4a2+HCemO+JrWmTTrNf4wNkxBchKH5UxqBbBR+qo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1730952715; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=NIhg5dboa4x/xyN0s29uEbsoGSKibvfs1Cx1DxBIl+s=; b=CPbjG8VXjWztYl/AKxEoNX4+H4G7k4uyCHLuXl9H5ZHsaDPb2SqGeMePn1Qg3JXQ4XAltvYGCnIBk/sytq36m2kEYUeYFtdxoqOJVGni9P+UDGt3KCLcPPJnFnS2NvsjdIoJ1RPaRSlu3IGEP5QQik4aC7x39x2u3cFIANnK3EY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1730952715878349.0207960067686; Wed, 6 Nov 2024 20:11:55 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8trN-0006Lu-42; Wed, 06 Nov 2024 23:11:05 -0500 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 1t8trL-0006HR-64 for qemu-devel@nongnu.org; Wed, 06 Nov 2024 23:11:03 -0500 Received: from mail-pl1-x631.google.com ([2607:f8b0:4864:20::631]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t8trJ-00051D-Np for qemu-devel@nongnu.org; Wed, 06 Nov 2024 23:11:02 -0500 Received: by mail-pl1-x631.google.com with SMTP id d9443c01a7336-20e6981ca77so6403855ad.2 for ; Wed, 06 Nov 2024 20:11:01 -0800 (PST) Received: from toolbox.alistair23.me (2403-580b-97e8-0-82ce-f179-8a79-69f4.ip6.aussiebb.net. [2403:580b:97e8:0:82ce:f179:8a79:69f4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-21177dc3f12sm2789105ad.9.2024.11.06.20.10.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2024 20:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730952660; x=1731557460; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NIhg5dboa4x/xyN0s29uEbsoGSKibvfs1Cx1DxBIl+s=; b=JRYk+doEjgho0Sr0DjrU434/uclv3TzwoAOE2FG9D7bXOLY4BBqEcmNxhioKRx3T1B tOi4rcU5BFflZZKxdlTXxN7RHhiYG6qxWZpEVEiH7BoGE0PQr1EsCbgKLwR5ZxrQPYMH hvAzkk0JkvMpcKHZpo2QwU/P5jPWhz0xBjyDtxJmG+cPePcC0HL8jgmkC8VPqfA3bTci m5w6ojzFcSXNx4Ihap1P8+Aryu5JE0Dsterfpgn6tNA5zMLnPPKP1bh3/OaMMaeeGWAe FsaD3tcFlq0Km4SxvYekjSfC020DPZtM/w6I7c8V4ueW+Hf2ZZFOOU3KT61pnIjLoNjY YyiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730952660; x=1731557460; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NIhg5dboa4x/xyN0s29uEbsoGSKibvfs1Cx1DxBIl+s=; b=DZZPOk61ModsPWfcfBbscAjiScZw5l+CBIqllUBR+kqbz8CK3eFeuTocOqAc8CD+Yn Kn6X9nYTdyUgVQO/kjxRYaUsNCMe+/VxFffMdzzAQaYWtxZUEZb/k9WzRdA0USgKnZsU x7GNkxEXU8wbP122B9l69bZb5OA+6g88Mq27eBQ1/WBXoZcmCyJyIgK1ASj3C9fyAtue qxkMDv8WziZRkEVw69ToYaIHfzeR5d/ExNgF0LjH+vIeUFsDc4kQGP5Gt0wA6k1i4CnE zBZ9MPdswOeeSmBhWzS94W2FTExWuleFVOLgBUfzFibiarJNCsaVl29cj2EuhCtTwNfB jnKA== X-Gm-Message-State: AOJu0Ywkxh4f9tnks8mEUcIH5Pq9+6F7k89QqQASUTbJelhmmoGEYqra YIZSMXObk4AqQnmla3jK8vTqj/wGIseTEPib8zbviUHhgV+RsSneUsAbOA== X-Google-Smtp-Source: AGHT+IEq54ZxHSFX5UqXrP8NxUvl+5zcP8RxqBHvdwIBsvDPWIenHv9GeJkYDCWGkA7epcSN2TmDVQ== X-Received: by 2002:a17:902:f541:b0:20c:ee48:94f3 with SMTP id d9443c01a7336-211785e38b8mr6694515ad.14.1730952659908; Wed, 06 Nov 2024 20:10:59 -0800 (PST) From: Alistair Francis X-Google-Original-From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Quan Zhou , Andrew Jones , Jim Shu , Alistair Francis Subject: [PULL 11/12] target/riscv/kvm: Update kvm exts to Linux v6.11 Date: Thu, 7 Nov 2024 14:10:15 +1000 Message-ID: <20241107041016.40800-12-alistair.francis@wdc.com> X-Mailer: git-send-email 2.47.0 In-Reply-To: <20241107041016.40800-1-alistair.francis@wdc.com> References: <20241107041016.40800-1-alistair.francis@wdc.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::631; envelope-from=alistair23@gmail.com; helo=mail-pl1-x631.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1730952717188116600 Content-Type: text/plain; charset="utf-8" From: Quan Zhou Add support for a few Zc* extensions, Zimop, Zcmop and Zawrs. Signed-off-by: Quan Zhou Reviewed-by: Andrew Jones Reviewed-by: Jim Shu Message-ID: Signed-off-by: Alistair Francis --- target/riscv/kvm/kvm-cpu.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c index cbda4596da..c53ca1f76b 100644 --- a/target/riscv/kvm/kvm-cpu.c +++ b/target/riscv/kvm/kvm-cpu.c @@ -281,7 +281,10 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] =3D { KVM_EXT_CFG("zihintntl", ext_zihintntl, KVM_RISCV_ISA_EXT_ZIHINTNTL), KVM_EXT_CFG("zihintpause", ext_zihintpause, KVM_RISCV_ISA_EXT_ZIHINTPA= USE), KVM_EXT_CFG("zihpm", ext_zihpm, KVM_RISCV_ISA_EXT_ZIHPM), + KVM_EXT_CFG("zimop", ext_zimop, KVM_RISCV_ISA_EXT_ZIMOP), + KVM_EXT_CFG("zcmop", ext_zcmop, KVM_RISCV_ISA_EXT_ZCMOP), KVM_EXT_CFG("zacas", ext_zacas, KVM_RISCV_ISA_EXT_ZACAS), + KVM_EXT_CFG("zawrs", ext_zawrs, KVM_RISCV_ISA_EXT_ZAWRS), 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), @@ -292,6 +295,10 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] =3D { KVM_EXT_CFG("zbkc", ext_zbkc, KVM_RISCV_ISA_EXT_ZBKC), KVM_EXT_CFG("zbkx", ext_zbkx, KVM_RISCV_ISA_EXT_ZBKX), KVM_EXT_CFG("zbs", ext_zbs, KVM_RISCV_ISA_EXT_ZBS), + KVM_EXT_CFG("zca", ext_zca, KVM_RISCV_ISA_EXT_ZCA), + KVM_EXT_CFG("zcb", ext_zcb, KVM_RISCV_ISA_EXT_ZCB), + KVM_EXT_CFG("zcd", ext_zcd, KVM_RISCV_ISA_EXT_ZCD), + KVM_EXT_CFG("zcf", ext_zcf, KVM_RISCV_ISA_EXT_ZCF), KVM_EXT_CFG("zknd", ext_zknd, KVM_RISCV_ISA_EXT_ZKND), KVM_EXT_CFG("zkne", ext_zkne, KVM_RISCV_ISA_EXT_ZKNE), KVM_EXT_CFG("zknh", ext_zknh, KVM_RISCV_ISA_EXT_ZKNH), --=20 2.47.0