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 26E78AC18AD for ; Thu, 14 Mar 2024 20:19:34 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=j4IILy3u5TwDM8eZE5afqs31KNMivKlSqhhLvBfWPCg=; 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:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20240206; t=1710447572; v=1; b=Tqqd1ejzJMtjua4xQgd1TV8kyx7kObyd/FawpWNAHTvPB2npBGh7OgksZoVJvXcR0dbalChm QXx91BG99gISvRcm4YCtnG34TwVycDJcZg4/qQQGYtZ5AFUjPWphhWlLdza+JGZkREIqYKBuYUM 3S1pqSFJ2fFcLzwgpkAm8lZRJiqpG9M0BeKpdbdEXs1yJwiLICjI4xitw3qNjH7JQA2Z3CeZER0 ALgArmnllSOUH7qhVi9IgtVe/1d9CKah1q8ADWwG6eX2L0AYz7d5VDc7YKZkPTJXTIWlj+//vyp 1vfMMpn4vv1oibzTwQbvYmXGFKsLvj+TbHa3qCpTkorjg== X-Received: by 127.0.0.2 with SMTP id fBvBYY7687511xn5oYfqRaOR; Thu, 14 Mar 2024 13:19:32 -0700 X-Received: from mail-pf1-f169.google.com (mail-pf1-f169.google.com [209.85.210.169]) by mx.groups.io with SMTP id smtpd.web10.3088.1710447566035920312 for ; Thu, 14 Mar 2024 13:19:26 -0700 X-Received: by mail-pf1-f169.google.com with SMTP id d2e1a72fcca58-6e6b22af648so2004212b3a.0 for ; Thu, 14 Mar 2024 13:19:25 -0700 (PDT) X-Gm-Message-State: pzqj8DKKBzoquMru726OHXSTx7686176AA= X-Google-Smtp-Source: AGHT+IGuVqbCa+STM4881zDmEBsdcy3QbDgeAX171sVsSmNYCLq+bmuDDHlHqR9abBy/n1vlqX9dLg== X-Received: by 2002:a05:6a20:3941:b0:1a1:e41:3edb with SMTP id r1-20020a056a20394100b001a10e413edbmr4142329pzg.11.1710447565191; Thu, 14 Mar 2024 13:19:25 -0700 (PDT) X-Received: from localhost.localdomain (c-73-223-207-212.hsd1.ca.comcast.net. [73.223.207.212]) by smtp.gmail.com with ESMTPSA id y20-20020a63b514000000b005d34cf68664sm1135859pge.25.2024.03.14.13.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 13:19:24 -0700 (PDT) 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 v4 1/4] MdePkg.dec: RISC-V: Define override bit for Svpbmt extension Date: Thu, 14 Mar 2024 13:19:14 -0700 Message-Id: <20240314201917.1756-2-tphan@ventanamicro.com> In-Reply-To: <20240314201917.1756-1-tphan@ventanamicro.com> References: <20240314201917.1756-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 Resent-Date: Thu, 14 Mar 2024 13:19:32 -0700 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=20240206 header.b=Tqqd1ejz; 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 EFI_MEMORY_UC and EFI_MEMORY_WC. Cc: Liming Gao Cc: Michael D Kinney Cc: Zhiguang Liu Reviewed-by: Laszlo Ersek 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 (#116776): https://edk2.groups.io/g/devel/message/116776 Mute This Topic: https://groups.io/mt/104934687/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-