From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 97F29780091 for ; Wed, 7 Feb 2024 01:29:29 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=pPIfIk/5zMVfEhRHMrgK2xakBEbgT2W736DKoUZQh+4=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1707269368; v=1; b=fE+de4sEWqmr9OJi1hXksPVfcfrPhmR3kuGlby7jsN7RBiNHa+l3os5qRIxmFVIRAX+MWFkr p5hSGpQoV+FjzCmp7oOKAOIRIXRFBFIr34wheRWXLgECiLfuS/eqTdKaAUf4DjvwTBhLnZwjvJ+ OaFwLb5TV8kUYE4UHjQSgFzA= X-Received: by 127.0.0.2 with SMTP id DUJSYY7687511xcakHF9AlX7; Tue, 06 Feb 2024 17:29:28 -0800 X-Received: from mail-oa1-f54.google.com (mail-oa1-f54.google.com [209.85.160.54]) by mx.groups.io with SMTP id smtpd.web11.10563.1707269367610457781 for ; Tue, 06 Feb 2024 17:29:27 -0800 X-Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-214def5da12so104192fac.2 for ; Tue, 06 Feb 2024 17:29:27 -0800 (PST) X-Gm-Message-State: O66f23xzvPu4WnzbwOZSfRssx7686176AA= X-Google-Smtp-Source: AGHT+IF5CaA//zx66yWKO1iIUTejrQGLlB5ktR67M/lffyHwhNjYTjbA2yeXxXZnwmDj0m6CGxckwQ== X-Received: by 2002:a05:6358:33aa:b0:176:8a8e:213c with SMTP id i42-20020a05635833aa00b001768a8e213cmr1468278rwd.3.1707269366761; Tue, 06 Feb 2024 17:29:26 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU9oYpfwTUHB2h9rZ4eHqHHXlOn13yzYslLwjp8T4Hjzn+RYlJIGeZB5punhdCRblHz2dttWdBvxYzDU9C/7ShA3qmhR/X4ohG1fAR/T+cp3BfCHZaJ1u96jystUBf5GrmgRLZB3lU2R5u8FH99QwE96Fsq/JW2W3M+7IAZzI9ej79EVkVJDqIzXp3jQVj7emTwLo+N1K9tc1KvpDYX3g04J4rCvhacdcCW0ALGX7kP4C86wyCcLTy8n9JymkTqFbDV7aBzjAPKSy5xyMZMep55xC1d1al3aLbnB8WtVnO7mH4+u/DTV9OFcfg2ID9cJLmzZOsdCd+erbb5pbGgpasgGgTgmRMNh/7qeyodvNK+P9XhcpE4vbl3Voy04A8rZuHNMbg9+4bKcqYWIUYda+0= X-Received: from localhost.localdomain (52.sub-174-249-152.myvzw.com. [174.249.152.52]) by smtp.gmail.com with ESMTPSA id c9-20020a6566c9000000b005d748902a01sm112903pgw.43.2024.02.06.17.29.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 17:29:26 -0800 (PST) From: "Tuan Phan" To: devel@edk2.groups.io Cc: michael.d.kinney@intel.com, gaoliming@byosoft.com.cn, zhiguang.liu@intel.com, kraxel@redhat.com, lersek@redhat.com, rahul1.kumar@intel.com, ray.ni@intel.com, sunilvl@ventanamicro.com, jiewen.yao@intel.com, andrei.warkentin@intel.com, ardb+tianocore@kernel.org, Tuan Phan Subject: [edk2-devel] [PATCH v2 1/3] MdePkg.dec: RISC-V: Define override bit for Svpbmt extension Date: Tue, 6 Feb 2024 17:29:08 -0800 Message-Id: <20240207012910.2133-2-tphan@ventanamicro.com> In-Reply-To: <20240207012910.2133-1-tphan@ventanamicro.com> References: <20240207012910.2133-1-tphan@ventanamicro.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,tphan@ventanamicro.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fE+de4sE; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Define the BIT 2 as the override bit for Svpbmt extension. This will be used by RISC-V MMU library to support GCD EFI_MEMORY_UC and EFI_MEMORY_WC attributes. Signed-off-by: Tuan Phan --- MdePkg/MdePkg.dec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index 0459418906f8..6850acb96b92 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -2407,6 +2407,8 @@ # previous stage has feature enabled and user wants to disable it.=0D # BIT 1 =3D Supervisor Time Compare (Sstc). This bit is relevant only if= =0D # previous stage has feature enabled and user wants to disable it.=0D + # BIT 2 =3D Page-Based Memory Types (Pbmt). This bit is relevant only if= =0D + # previous stage has feature enabled and user wants to disable it.=0D #=0D gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFF|UINT= 64|0x69=0D =0D --=20 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115217): https://edk2.groups.io/g/devel/message/115217 Mute This Topic: https://groups.io/mt/104211192/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-