From nobody Tue Nov 26 18:38:22 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 ARC-Seal: i=1; a=rsa-sha256; t=1706008319; cv=none; d=zohomail.com; s=zohoarc; b=CjCvJS11klc+B3b1ly+MiS1bQ5GUIa/zJc2Vbel5t8jXFsP8x50927qOZGjaaGEpVjvVgFlpxSrt7VLp6E19INkFe1vBh/kjEAGbDt2/xrhvZUrSs32jpO9BDxJTQ+lOWaW9EKJGXS/8VwddxybEAA2Hs+IGHa8gfuWjuTrD+Ls= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1706008319; 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=sCDXVKioSoKA0NfjKMALDl2Tvtb69LxP0DpxP284A0o=; b=IwOXPBi4Ol8SgFiuu30+MHhjP1ntlJwwjbMKnS1lt9FSl0u2wu+KsV6phkFKSH3t69iSnO1SGSgo9ySFyPBMeFqHUnTrfpfmUTBwRLmsxKTLl8eww5MdAbX2sHkl9LaqzPWjmcOem/ocR9Q88MqB1CTnf8rU0IGywJDgbPY7glE= 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1706008319299876.2602871223776; Tue, 23 Jan 2024 03:11:59 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSEgC-00035J-PZ; Tue, 23 Jan 2024 06:10:56 -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 1rSEfx-0002nt-HV for qemu-devel@nongnu.org; Tue, 23 Jan 2024 06:10:44 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSEfs-0004NT-HA for qemu-devel@nongnu.org; Tue, 23 Jan 2024 06:10:41 -0500 Received: by mail-wr1-x42d.google.com with SMTP id ffacd0b85a97d-336c8ab0b20so4223211f8f.1 for ; Tue, 23 Jan 2024 03:10:35 -0800 (PST) Received: from rockhopper.. (214.11.169.217.in-addr.arpa. [217.169.11.214]) by smtp.gmail.com with ESMTPSA id n15-20020a5d4c4f000000b00337d6f0013esm12288013wrt.107.2024.01.23.03.10.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Jan 2024 03:10:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20230601.gappssmtp.com; s=20230601; t=1706008234; x=1706613034; 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=sCDXVKioSoKA0NfjKMALDl2Tvtb69LxP0DpxP284A0o=; b=knKj+4m4jnxafw8/SRXNYM/aHDWYE9bi24dGWO/mt5zCvaI5Ml+ES8Jia2PrQVS0q8 Hs7dXYyVKUINS9wSbU2PXlTDiXW6UNQvF5hm3wLyqMwsol9MMUU/RQbhrGKOZjhgd/7F GKZDAwgkigEBDwv+CSANtgD9S9KUXIoUP6BWVlWm39zwram8nPg7dhw/p5jY5MLm5yog +MOgbkdXy48/Qz/n+L8D/stwYHBvC4ZM/H0v0WZuB6RNinyM0DzU/LAd9gcem/AOdqvd VZhiGXoKJs3AMk3Ne1FQI8y7YDFwm2pD0zGWCGaZ+vU6SI8/+wLAG4wO84yLTSF/l50O FjTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706008234; x=1706613034; 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=sCDXVKioSoKA0NfjKMALDl2Tvtb69LxP0DpxP284A0o=; b=uJefEYic5NSOOcJ0EdBzcdgJctNumxcLF1asRZT4S0Dy3eueu9UcyMLBnGF1hDqIIZ q185Vx3F5OJxPcMaRbHK+OSmJxEDzc0y+N0ZTrj0v9SSWhk9A2VWgvDpOJD1m60zgJJw c1sWlcGvdkWiUTb/URral0k0IXM05HB8WeZ2VsCh7zId9VJtPdHkLSwqVL+K/83aeHik NS/iPzUYbDI2c/DmOuygEoQDvAUdJWyDXbnLNKcBE/eolkPgvR+CTYk2fOYQl4iefhVL 9OEG6fLoCGLoDUbSDj2NUbinppe26yc481JfaedN5+nMi0HGRJbkarbSbAGCmsG+V+4G Yf9Q== X-Gm-Message-State: AOJu0Yz43zUZ8D6hTCJIYZeW5/qqXKOj57tai7tv5vIvwzijfp8oZEA1 zikYYL4wT5RFLLjbsiaolzAhkgiPEne7GWGjZqj9PU3mesLLF5/KtJgh5z38w4ZkmeYxAUPznWP uUMQ= X-Google-Smtp-Source: AGHT+IHV/RrF5fWLMHwROfzABbl3BvjiiDxUP+n2rZgY7CqF4wVkzw8UjWkzohsfLuAuinLuvv+1pA== X-Received: by 2002:a05:6000:1086:b0:337:c8ac:1942 with SMTP id y6-20020a056000108600b00337c8ac1942mr3232187wrw.9.1706008234158; Tue, 23 Jan 2024 03:10:34 -0800 (PST) From: Rob Bradford To: qemu-devel@nongnu.org Cc: qemu-riscv@nongnu.org, atishp@rivosinc.com, palmer@dabbelt.com, alistair.francis@wdc.com, bin.meng@windriver.com, liwei1518@gmail.com, dbarboza@ventanamicro.com, zhiwei_liu@linux.alibaba.com, Rob Bradford Subject: [PATCH v3 1/3] target/riscv: Add Zaamo and Zalrsc extension infrastructure Date: Tue, 23 Jan 2024 11:10:28 +0000 Message-ID: <20240123111030.15074-2-rbradford@rivosinc.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240123111030.15074-1-rbradford@rivosinc.com> References: <20240123111030.15074-1-rbradford@rivosinc.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=2a00:1450:4864:20::42d; envelope-from=rbradford@rivosinc.com; helo=mail-wr1-x42d.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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=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 @rivosinc-com.20230601.gappssmtp.com) X-ZM-MESSAGEID: 1706008321392100006 Content-Type: text/plain; charset="utf-8" These extensions represent the atomic operations from A (Zaamo) and the Load-Reserved/Store-Conditional operations from A (Zalrsc) Signed-off-by: Rob Bradford Reviewed-by: Daniel Henrique Barboza --- target/riscv/cpu_cfg.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target/riscv/cpu_cfg.h b/target/riscv/cpu_cfg.h index fea14c275f..cc4c30244c 100644 --- a/target/riscv/cpu_cfg.h +++ b/target/riscv/cpu_cfg.h @@ -78,7 +78,9 @@ struct RISCVCPUConfig { bool ext_svnapot; bool ext_svpbmt; bool ext_zdinx; + bool ext_zaamo; bool ext_zacas; + bool ext_zalrsc; bool ext_zawrs; bool ext_zfa; bool ext_zfbfmin; --=20 2.43.0