Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1pIWJX-0003mD-Eu for mharc-qemu-riscv@gnu.org; Thu, 19 Jan 2023 09:54:51 -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 1pIWJW-0003lY-LE for qemu-riscv@nongnu.org; Thu, 19 Jan 2023 09:54:50 -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 1pIWJU-0002gu-Um for qemu-riscv@nongnu.org; Thu, 19 Jan 2023 09:54:50 -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 1pIW1S-007gSL-JO; Thu, 19 Jan 2023 14:36:11 +0000 From: Lawrence Hunter To: qemu-riscv@nongnu.org Cc: dickon.hood@codethink.co.uk, frank.chang@sifive.com, Max Chou Subject: [RFC PATCH 37/39] target/riscv: Add zvksed cfg property Date: Thu, 19 Jan 2023 14:35:26 +0000 Message-Id: <20230119143528.1290950-38-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:54:50 -0000 From: Max Chou Signed-off-by: Max Chou Reviewed-by: Frank Chang --- 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 4bd404faa0..d298c9bbfb 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -105,6 +105,7 @@ static const struct isa_ext_data isa_edata_arr[] = { ISA_EXT_DATA_ENTRY(zvknha, true, PRIV_VERSION_1_12_0, ext_zvknha), ISA_EXT_DATA_ENTRY(zvknhb, true, PRIV_VERSION_1_12_0, ext_zvknhb), ISA_EXT_DATA_ENTRY(zvkns, true, PRIV_VERSION_1_12_0, ext_zvkns), + ISA_EXT_DATA_ENTRY(zvksed, true, PRIV_VERSION_1_12_0, ext_zvksed), ISA_EXT_DATA_ENTRY(zvksh, true, PRIV_VERSION_1_12_0, ext_zvksh), 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), diff --git a/target/riscv/cpu.h b/target/riscv/cpu.h index b3b1174d74..89e9fd61da 100644 --- a/target/riscv/cpu.h +++ b/target/riscv/cpu.h @@ -466,6 +466,7 @@ struct RISCVCPUConfig { bool ext_zvknha; bool ext_zvknhb; bool ext_zvkns; + bool ext_zvksed; bool ext_zvksh; bool ext_zmmul; bool ext_smaia; -- 2.39.1