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 6A6A1940F23 for ; Fri, 1 Mar 2024 01:29:35 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=UFkKfE5v4P4rChkvySDyFVuC2DUohPHofIqrGO00tUE=; 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=1709256574; v=1; b=r/Yh5XAUmsP/EFB7NsYb9ulvYMCdJegLWIP+GKjEqimB1hOOs8Tdaw1gkTBqdzbXUpiB1Lwh FGAG8r4UjGDs6hIvgsha3RT/WmECsOexleitQGt/HJdLPn5dyYLz7iO2AYS9w2DCBdd0JrL+MyY 7e3xE1mewas9n/tTIOoSqR0A= X-Received: by 127.0.0.2 with SMTP id PSAiYY7687511xFmDqcTUEBT; Thu, 29 Feb 2024 17:29:34 -0800 X-Received: from mail-oa1-f43.google.com (mail-oa1-f43.google.com [209.85.160.43]) by mx.groups.io with SMTP id smtpd.web10.12513.1709256573499978408 for ; Thu, 29 Feb 2024 17:29:33 -0800 X-Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-21fa0ec227eso799586fac.0 for ; Thu, 29 Feb 2024 17:29:33 -0800 (PST) X-Gm-Message-State: i7rns77p2MJKn797jV9rL9i0x7686176AA= X-Google-Smtp-Source: AGHT+IEleEQuGH43DOiDioN9SD/AGhUR+LiXq0cUWGMWku5FORxBWocV9LeoWGnOtOibdysjrjw0fw== X-Received: by 2002:a05:6870:40c3:b0:219:92e5:8b4 with SMTP id l3-20020a05687040c300b0021992e508b4mr279954oal.5.1709256572564; Thu, 29 Feb 2024 17:29:32 -0800 (PST) X-Received: from localhost.localdomain (c-98-210-194-104.hsd1.ca.comcast.net. [98.210.194.104]) by smtp.gmail.com with ESMTPSA id xa20-20020a0568707f1400b0021e7c192093sm755267oab.27.2024.02.29.17.29.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 17:29:32 -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 v3 1/3] MdePkg.dec: RISC-V: Define override bit for Svpbmt extension Date: Thu, 29 Feb 2024 17:29:22 -0800 Message-Id: <20240301012924.16232-2-tphan@ventanamicro.com> In-Reply-To: <20240301012924.16232-1-tphan@ventanamicro.com> References: <20240301012924.16232-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="r/Yh5XAU"; 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 (#116197): https://edk2.groups.io/g/devel/message/116197 Mute This Topic: https://groups.io/mt/104656465/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-