From nobody Sun Nov 24 12:12:52 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=reject dis=none) header.from=sifive.com ARC-Seal: i=1; a=rsa-sha256; t=1725344154; cv=none; d=zohomail.com; s=zohoarc; b=nky56yk+M7GLjoweBJGkuJjfI/S8lLbsiVXCWjw5S6PRv6rbhNmCZekCf06aacToVy+cMpZLO4TSYQn8ueqg+pyvjv7bvL50dcUb18q6z4xYL+1lU22XpRWlE2V/83Wcu3dl5pJvEiR+dzocTU0U+fto2tTt3x808EtSRwtvv60= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1725344154; 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=wR1GACgrZzM7YYzeZtxjDqa8lje9TmssIu2+ZZwLLUw=; b=gR/UqHhu/oqfJcyO2gAJbhj/eUYscpnxoIkiqLvA2fSgHsYz51YTl3mknZtiRpqC4vUl4QYkdzjriwX2gJ+jAEH3k+F1I84NR301cJv3n5NWwmFerLaZXAx3O3coox9/cKKqc9aTU8dZLDiUlaTPCz2uabYd2TbyZYFEmjueFQg= 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=reject dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1725344154944503.05116111219763; Mon, 2 Sep 2024 23:15:54 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1slMoa-0005pZ-QD; Tue, 03 Sep 2024 02:14:56 -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 1slMoR-0005mv-QX for qemu-devel@nongnu.org; Tue, 03 Sep 2024 02:14:47 -0400 Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1slMoQ-0002GJ-Ax for qemu-devel@nongnu.org; Tue, 03 Sep 2024 02:14:47 -0400 Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-7142a30e3bdso4271244b3a.0 for ; Mon, 02 Sep 2024 23:14:45 -0700 (PDT) Received: from hsinchu36-syssw02.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20524c16145sm60467145ad.98.2024.09.02.23.14.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Sep 2024 23:14:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1725344085; x=1725948885; 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=wR1GACgrZzM7YYzeZtxjDqa8lje9TmssIu2+ZZwLLUw=; b=WB6HxnHTIqMvpSEwd18xTkuvzGbBYCHALt9NV5uUrxMoX0XUj+GjY07ESuRXBNe0D5 oC/nKN/CHBf2a89Xf4U0PoTMaUOVJMmFPwdCJ5cz38M5wZ9/FgN6N1XsG9R1VQ3YAWKn hQGUHZ7qMPQYaLTSACjCXr8jKfI9ZNXuk2vl8SWW27SzvcqL3l2EGcI2VHzOZc9HzsKr jiUBWyVjAYieEoLYfCAtoB3fEA2XlZJvtZU+Ld+aQoj+jztWrEQ5rZvaLEb5Uo+5nikq p4gCtehLuJLTQZApGtViP87GGXyP2PNFDfN74pS+bPPceCugNSDSDet8t/vqHzBio3qT NwJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725344085; x=1725948885; 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=wR1GACgrZzM7YYzeZtxjDqa8lje9TmssIu2+ZZwLLUw=; b=SSH0btEA1DFTnvNBjIDkrE2QRJOzdtkKx3zTUmk2UsWSrbXz3qCmqydbtGrfRGkw9Q BpQGY8e1w6UiBbLy5/nrgbNUo58SmO2Z5ER29KmfjAAEd9XP370nJ0BG/tWJSsG6qGL/ 9S6VmAUoz7PS4QrssC1iMBW59II9RGveNSuDZL2XH7Qy4Ux1bwn0l4KtvLZzkGH5BUox rZcUOtl42f7LMBMwCsh08hEWX4VR+USFfWtCXz6hh1uD90O3l7h0yoTRwN1U6lukNSgC TD/GFIrCz0Zi2JSvkL+L1Zxkz2hs3g8Xdcg1gssvw5xBi9Hx7jYVYBHrQGLT/lMBcRfJ rpBg== X-Gm-Message-State: AOJu0YxS1N/3W3TPkW6qwqiP17COH4dLg86Ws5Rm8Mda1KysCSVMe8s+ d60IBlMTczkior8KVG1Y6dvk1Snp+ejvAjJxOgRA2GkgNnCM8heC5B7GXVyoidWDIxMSorXcJcn X4A+HT0D5s8ab4Zj86Ac1xTdcnzCvXYg4Q3/bVL0zjM7Wl6azoCFd3Gsf1IEBJpswnGOVVeTbEX NCWlMFV0KmubRPG0ydC0D32n1wS/4VneCELeY= X-Google-Smtp-Source: AGHT+IHnrqov/tdCdxu/H9D4C2PmIbQlFgcZjWjC/5cJOCXrVSACI+28gYp7QCRK+CCzgoZlqmfGtg== X-Received: by 2002:a17:902:e551:b0:205:753e:e2e6 with SMTP id d9443c01a7336-205753ee47emr102309515ad.16.1725344084629; Mon, 02 Sep 2024 23:14:44 -0700 (PDT) From: "Fea.Wang" To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei , "Fea.Wang" , Frank Chang , Jim Shu Subject: [PATCH 5/5] target/riscv: Expose svukte ISA extension Date: Tue, 3 Sep 2024 14:17:57 +0800 Message-Id: <20240903061757.1114957-6-fea.wang@sifive.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240903061757.1114957-1-fea.wang@sifive.com> References: <20240903061757.1114957-1-fea.wang@sifive.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::42c; envelope-from=fea.wang@sifive.com; helo=mail-pf1-x42c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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 @sifive.com) X-ZM-MESSAGEID: 1725344155722116600 Content-Type: text/plain; charset="utf-8" Add "svukte" in the ISA string when svukte extension is enabled. Signed-off-by: Fea.Wang Reviewed-by: Frank Chang Reviewed-by: Jim Shu --- target/riscv/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index fc3f75e826..a568194317 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -197,6 +197,7 @@ const RISCVIsaExtData isa_edata_arr[] =3D { ISA_EXT_DATA_ENTRY(svinval, PRIV_VERSION_1_12_0, ext_svinval), ISA_EXT_DATA_ENTRY(svnapot, PRIV_VERSION_1_12_0, ext_svnapot), ISA_EXT_DATA_ENTRY(svpbmt, PRIV_VERSION_1_12_0, ext_svpbmt), + ISA_EXT_DATA_ENTRY(svukte, PRIV_VERSION_1_13_0, ext_svukte), ISA_EXT_DATA_ENTRY(xtheadba, PRIV_VERSION_1_11_0, ext_xtheadba), ISA_EXT_DATA_ENTRY(xtheadbb, PRIV_VERSION_1_11_0, ext_xtheadbb), ISA_EXT_DATA_ENTRY(xtheadbs, PRIV_VERSION_1_11_0, ext_xtheadbs), @@ -1597,6 +1598,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_vendor_exts[] = =3D { =20 /* These are experimental so mark with 'x-' */ const RISCVCPUMultiExtConfig riscv_cpu_experimental_exts[] =3D { + MULTI_EXT_CFG_BOOL("x-svukte", ext_svukte, false), DEFINE_PROP_END_OF_LIST(), }; =20 --=20 2.34.1