From nobody Thu Nov 28 10:59:56 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=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1694153439; cv=none; d=zohomail.com; s=zohoarc; b=ZwqgjMc6UfRtFs9FPssXDTp7HJtkRYuIJshIoNJpQN53VnewYIndLq/z33R2MWxQ4dCzNKRboVOy2DX7B8/fc+OpwUqDOpGWq2YVlWHz51UaWp1A5wr13nWXK59pF/xSBrH7bmgfa7V8vYy1U+T005wkglt80O8ireG8sTwc3Mk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1694153439; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=R6nXUs6b9Y10nxctaibQIThdXKgyxUl6sbEBr/ysALI=; b=SSs8RcMoxatEr+RUWq4bMm5PNrtLitmOkxdNsuPKjueX55n4MTYRW0EmHz/WAY4guhETAEdxBCHfVLfBgZQY2suOMc4iVON6QyZHcfPWtwzsLTU8aFerosesIe2sHLTPLqzhQcTfjOgLnODRhUJz3kz/07SqNQmWs/8uShRZrBc= 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=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1694153439021778.6883354522914; Thu, 7 Sep 2023 23:10:39 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeUcW-00006h-KF; Fri, 08 Sep 2023 02:05:32 -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 1qeUcI-000050-5p for qemu-devel@nongnu.org; Fri, 08 Sep 2023 02:05:19 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeUcF-0005Fw-UO for qemu-devel@nongnu.org; Fri, 08 Sep 2023 02:05:17 -0400 Received: by mail-pg1-x52c.google.com with SMTP id 41be03b00d2f7-53482b44007so1286286a12.2 for ; Thu, 07 Sep 2023 23:05:15 -0700 (PDT) Received: from toolbox.alistair23.me (2403-580b-97e8-0-321-6fb2-58f1-a1b1.ip6.aussiebb.net. [2403:580b:97e8:0:321:6fb2:58f1:a1b1]) by smtp.gmail.com with ESMTPSA id q1-20020a170902dac100b001c3267ae31bsm715231plx.301.2023.09.07.23.05.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Sep 2023 23:05:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694153114; x=1694757914; 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=R6nXUs6b9Y10nxctaibQIThdXKgyxUl6sbEBr/ysALI=; b=r3uex5DCTuwR2Vp3sdexKGvrdK6iu82fvKwj8iyzAF4w0yNMQil9a8+O6IUipjs0hU Y0UhzZ2gTKig2FZ0/RyuJbrE3E7DcuCnqaO2zAobrejRhpG2g5t5c1kYLkD/6HjoqtU2 f0Z/VKWHOZyAUZjmJeVaOi5Cjh2Puas/Yc5kisyDc/CB+tJ1qp7KRbqOVcDVBepyefuP Fyq65rKMmuBG8YDqnwo38FbqxnxAs0zCdxSNvEbXJssFGTDTjzaS54IRdsZjLlq70XoQ iv5ZyDYT5r7sTPCSJ2sNpttIcBOwVuGcUQieR1hWtBBDHmwXgpLBdvwB3O+D2hGStM8R ofCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694153114; x=1694757914; 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=R6nXUs6b9Y10nxctaibQIThdXKgyxUl6sbEBr/ysALI=; b=TusVGAJn88EI6qZHQOx1I1LODRbU9SDkeQALBzWGsaunBiXg7X2Ptxotyg6tlrjdd+ l8Q0XLOw1MqjE9KaS24tI49XHUy8su61T4IJcflvP/JV8x3gP/GtHgwHgWcei+UYivSg ecE6Mapy2gurR10exCnJSM6z44kEiXzAN8fWxWWfFNLbXa9iN12gm7xoIm++7Jk04SdT OgPDB+z1WXnET3YBEkWGGLtdU2AAZ7qA6AJ+7dfeIqMW4wQjvZiCC7aF6BweZMRXe/9Z VjKlf7BAXnWMBgMjNfkAYev8W2yJzO+FHNWMEW6LWkEexY5zdBb9CiwhoAwBgIC8v8Wg qzpg== X-Gm-Message-State: AOJu0YxXq9HDRlLhYcjwGSqsF3mZ19uLDxR+OCER2GERAvy+O7eD7Thp W5iSQ/ZU+nc6uZkiPKdqVgYZKlGeP6XhML3J X-Google-Smtp-Source: AGHT+IE9OlK6HOn2AW83Oe2iSXl4ubsVaSZAj/tOlD658VjREHclUrJHb/pxci+BRybarsy2uQTYfw== X-Received: by 2002:a05:6a21:778b:b0:14d:7130:ce5f with SMTP id bd11-20020a056a21778b00b0014d7130ce5fmr1981651pzc.32.1694153113749; Thu, 07 Sep 2023 23:05:13 -0700 (PDT) From: Alistair Francis X-Google-Original-From: Alistair Francis To: qemu-devel@nongnu.org Cc: alistair23@gmail.com, Daniel Henrique Barboza , Weiwei Li , Alistair Francis Subject: [PULL 05/65] target/riscv/cpu.c: add smepmp isa string Date: Fri, 8 Sep 2023 16:03:31 +1000 Message-ID: <20230908060431.1903919-6-alistair.francis@wdc.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230908060431.1903919-1-alistair.francis@wdc.com> References: <20230908060431.1903919-1-alistair.francis@wdc.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::52c; envelope-from=alistair23@gmail.com; helo=mail-pg1-x52c.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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 @gmail.com) X-ZM-MESSAGEID: 1694153439998100006 Content-Type: text/plain; charset="utf-8" From: Daniel Henrique Barboza The cpu->cfg.epmp extension is still experimental, but it already has a 'smepmp' riscv,isa string. Add it. Signed-off-by: Daniel Henrique Barboza Reviewed-by: Weiwei Li Reviewed-by: Alistair Francis Message-Id: <20230720132424.371132-3-dbarboza@ventanamicro.com> Signed-off-by: Alistair Francis --- target/riscv/cpu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 6d02e85102..921c19e6cd 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -130,6 +130,7 @@ static const struct isa_ext_data isa_edata_arr[] =3D { ISA_EXT_DATA_ENTRY(zhinx, PRIV_VERSION_1_12_0, ext_zhinx), ISA_EXT_DATA_ENTRY(zhinxmin, PRIV_VERSION_1_12_0, ext_zhinxmin), ISA_EXT_DATA_ENTRY(smaia, PRIV_VERSION_1_12_0, ext_smaia), + ISA_EXT_DATA_ENTRY(smepmp, PRIV_VERSION_1_12_0, epmp), ISA_EXT_DATA_ENTRY(smstateen, PRIV_VERSION_1_12_0, ext_smstateen), ISA_EXT_DATA_ENTRY(ssaia, PRIV_VERSION_1_12_0, ext_ssaia), ISA_EXT_DATA_ENTRY(sscofpmf, PRIV_VERSION_1_12_0, ext_sscofpmf), --=20 2.41.0