Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pIW1n-0007OQ-Qp for mharc-qemu-riscv@gnu.org; Thu, 19 Jan 2023 09:36:31 -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 1pIW1M-00074M-Se for qemu-riscv@nongnu.org; Thu, 19 Jan 2023 09:36:09 -0500 Received: from imap4.hz.codethink.co.uk ([188.40.203.114]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIW1F-0006yj-IF for qemu-riscv@nongnu.org; Thu, 19 Jan 2023 09:36:02 -0500 Received: from [167.98.27.226] (helo=lawrence-thinkpad.office.codethink.co.uk) by imap4.hz.codethink.co.uk with esmtpsa (Exim 4.94.2 #2 (Debian)) id 1pIW1C-007gSL-5g; Thu, 19 Jan 2023 14:35:55 +0000 From: Lawrence Hunter To: qemu-riscv@nongnu.org Cc: dickon.hood@codethink.co.uk, frank.chang@sifive.com, Nazar Kazakov Subject: [RFC PATCH 01/39] target/riscv: add zvkb cpu property Date: Thu, 19 Jan 2023 14:34:50 +0000 Message-Id: <20230119143528.1290950-2-lawrence.hunter@codethink.co.uk> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230119143528.1290950-1-lawrence.hunter@codethink.co.uk> References: <20230119143528.1290950-1-lawrence.hunter@codethink.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=188.40.203.114; envelope-from=lawrence.hunter@codethink.co.uk; helo=imap4.hz.codethink.co.uk 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2023 14:36:15 -0000 X-List-Received-Date: Thu, 19 Jan 2023 14:36:15 -0000 From: Nazar Kazakov Signed-off-by: Nazar Kazakov --- target/riscv/cpu.c | 1 + target/riscv/cpu.h | 1 + 2 files changed, 2 insertions(+) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index cc75ca7667..ec1dbd923d 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -100,6 +100,7 @@ static const struct isa_ext_data isa_edata_arr[] = { ISA_EXT_DATA_ENTRY(zkt, true, PRIV_VERSION_1_12_0, ext_zkt), ISA_EXT_DATA_ENTRY(zve32f, true, PRIV_VERSION_1_12_0, ext_zve32f), ISA_EXT_DATA_ENTRY(zve64f, true, PRIV_VERSION_1_12_0, ext_zve64f), + ISA_EXT_DATA_ENTRY(zvkb, true, PRIV_VERSION_1_12_0, ext_zvkb), ISA_EXT_DATA_ENTRY(zhinx, true, PRIV_VERSION_1_12_0, ext_zhinx), ISA_EXT_DATA_ENTRY(zhinxmin, true, PRIV_VERSION_1_12_0, ext_zhinxmin), ISA_EXT_DATA_ENTRY(smaia, true, PRIV_VERSION_1_12_0, ext_smaia), diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index f5609b62a2..d4824ad0bb 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -461,6 +461,7 @@ struct RISCVCPUConfig { bool ext_zhinxmin; bool ext_zve32f; bool ext_zve64f; + bool ext_zvkb; bool ext_zmmul; bool ext_smaia; bool ext_ssaia; -- 2.39.1