From nobody Tue Nov 26 07:48:13 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=1709745075; cv=none; d=zohomail.com; s=zohoarc; b=gL7LHzgvhMD+9FPILVmUEZNucI8w7p85RjdnOGaLAE/Rx2DjoUEkhvjLQwooGX/PGEGCUHa1O9xBEPbsCNi9TJAGbQUnDDZeV75oIeID4UJro7/Ku74rgPcd5JBXtAWdIUULvvwXeSh+AGS7FubecBB0As/j/ji2BWJjXcHTuYk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1709745075; 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=BatQI6PUZGO1KNqgfU3RtFkXz7my1gBF9/eXeStE9J4=; b=K5ASWdJlVfpHwNjASi9VZKVMLwhJ1vR06IRoH/t9OYnZI5I84Js/VaCUTnkHsmblpbuuetC2MTW5SCjAB3364330wRf8c9/6f4oUy3yFuQwwssnjqwfaLse5WVz/TSyFXgtp85dm2kIhzS8ydvaMZNEbw824rQAfKasjAPtaZKU= 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 1709745075236708.8002591832625; Wed, 6 Mar 2024 09:11:15 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rhum8-0006RK-UV; Wed, 06 Mar 2024 12:09:52 -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 1rhuly-0006OP-6w for qemu-devel@nongnu.org; Wed, 06 Mar 2024 12:09:42 -0500 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rhulw-0004Hk-Am for qemu-devel@nongnu.org; Wed, 06 Mar 2024 12:09:41 -0500 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-1dcd6a3da83so213765ad.3 for ; Wed, 06 Mar 2024 09:09:39 -0800 (PST) Received: from hsinchu16.internal.sifive.com (59-124-168-89.hinet-ip.hinet.net. [59.124.168.89]) by smtp.gmail.com with ESMTPSA id p8-20020a170902e74800b001dd091cbc4esm7230076plf.181.2024.03.06.09.09.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Mar 2024 09:09:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; t=1709744978; x=1710349778; 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=BatQI6PUZGO1KNqgfU3RtFkXz7my1gBF9/eXeStE9J4=; b=mWuWQc26f9CCMX6Wb+giTei1QIEuPFiijOJdAn9IgcO9bM/sCH5synWbrrKlwPEC87 0OdA3brUo+kmIdpmztbzEs/+r8ZnE02uBXQs/by+Aa9Rqh+IhqnBzLPljVDMKVoVp2gz lV+lhi3+h+x+YAA/JgNnDOVrZEbWiLTjmbM/ZKQxnBi5w3uM8tyvaA53WWUl8MrrFEaG HBiww+14oe2pxOhy7dCQZFg9R23oKlEdfdAQ5Z9ZIyZX0GdX87R0QffA4v7Vd9bDAdso uN2o8Zjb48Bhzu6DWTm7Di2LhdHBwhrT0uWlcEVNU+CQJ2IzNgURlCoLnIdlK48KkDRI nlhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709744978; x=1710349778; 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=BatQI6PUZGO1KNqgfU3RtFkXz7my1gBF9/eXeStE9J4=; b=tX5u7hkwJdluRd3s99qF4MstnqWwgowmlJXxP3fO0jy2zQplYUfgoTqQnNoknw8koC ut6GzL3510YqPTBpZt5dnjXdMm1ytxOkxgnOjLVJAhyJl2Kt/IXirHg0oEeTowxysAu5 3dVryzLWLDPdMTG/cTYwgLj9/i6y2de+JzDNp/iso78QbUAs/55uwrnSPeHqtzp4hcwl dLUGG5bTO1AAM3BrKFumymaUzrv1/dFJAJ0WLnu4yTvFWsgwsi66JMz+zninH1UNR0KC 872bCxacCBpn8nV+roB6PsxCondenozZwUZkfQVvnMRnM2MMQm0wGqcrUTbHtoN0nzYa NQpA== X-Gm-Message-State: AOJu0Yz0iGW/Yb6JG28RavvANAUkHlK1yiHByzzBeABBksxKjoWrQpKV hf+Ayqej0V04O6Cs/A5OmGJ1VwWdKxp1sefahBzXHa7TvSnrpQ+93jv14cqvOPY9fq2UpECtWAX 205qiW3Yk9QNu8hhQjlyjXF4hFT/3NxwSiN6MZCwwYt5yaJFhC+71z9/WG0sWv00DBX5WsBAX5v xgnkUxXt18Gore+UTS1Ze0LsASNRL3u9uZmvEri5M= X-Google-Smtp-Source: AGHT+IEtkaaKi/elR6F0A30iDjwvQoWOBsS5TrBwrh3CaBuhK69mfm4UGuB04bnFsfCSNYyXOVVDPg== X-Received: by 2002:a17:902:c40c:b0:1dc:8eba:42c3 with SMTP id k12-20020a170902c40c00b001dc8eba42c3mr6891686plk.23.1709744978371; Wed, 06 Mar 2024 09:09:38 -0800 (PST) From: Jason Chien To: qemu-devel@nongnu.org, qemu-riscv@nongnu.org Cc: Jason Chien , Frank Chang , Max Chou , Palmer Dabbelt , Alistair Francis , Bin Meng , Weiwei Li , Daniel Henrique Barboza , Liu Zhiwei Subject: [PATCH 4/5] target/riscv: Expose Zve64x extension to users Date: Thu, 7 Mar 2024 01:08:37 +0800 Message-ID: <20240306170855.24341-5-jason.chien@sifive.com> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240306170855.24341-1-jason.chien@sifive.com> References: <20240306170855.24341-1-jason.chien@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::62b; envelope-from=jason.chien@sifive.com; helo=mail-pl1-x62b.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: 1709745076136100005 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jason Chien Reviewed-by: Frank Chang Reviewed-by: Max Chou --- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 8b5d1eb6a8..58b2a94694 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -1473,6 +1473,7 @@ const RISCVCPUMultiExtConfig riscv_cpu_extensions[] = =3D { MULTI_EXT_CFG_BOOL("zve32x", ext_zve32x, false), MULTI_EXT_CFG_BOOL("zve64f", ext_zve64f, false), MULTI_EXT_CFG_BOOL("zve64d", ext_zve64d, false), + MULTI_EXT_CFG_BOOL("zve64x", ext_zve64x, false), MULTI_EXT_CFG_BOOL("sstc", ext_sstc, true), =20 MULTI_EXT_CFG_BOOL("smepmp", ext_smepmp, false), --=20 2.43.2