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 D410878003C for ; Wed, 7 Feb 2024 18:01:26 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=EReHvxYWu1iAqdp5t68iSK1/V0hqqgU26khepQLKgVc=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1707328885; v=1; b=nzrbfS5JqdAjuQxcZJSFoZoAqBX6CCa8SAf4gFg75rKKwwJaD+Amyj0QtQlhEhtskzHCf81m KG93hpXBU7nCgdecNkb2o6T9vlmQLSu2Bp5xcG/FtQkAjxbMF74cXkOhWVMWfjcN2a3s+48igMN V1SOvGh8jNJtL9CfN7jjy9b0= X-Received: by 127.0.0.2 with SMTP id pP4hYY7687511x3CR2TD5nyK; Wed, 07 Feb 2024 10:01:25 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.groups.io with SMTP id smtpd.web10.4706.1707328884737226458 for ; Wed, 07 Feb 2024 10:01:24 -0800 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-621-O9pCFzWrMQK0fhFxRCROgQ-1; Wed, 07 Feb 2024 13:01:20 -0500 X-MC-Unique: O9pCFzWrMQK0fhFxRCROgQ-1 X-Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9C40E29AC012; Wed, 7 Feb 2024 18:01:19 +0000 (UTC) X-Received: from [10.39.195.126] (unknown [10.39.195.126]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5A98F492BF0; Wed, 7 Feb 2024 18:01:17 +0000 (UTC) Message-ID: Date: Wed, 7 Feb 2024 19:01:16 +0100 MIME-Version: 1.0 Subject: Re: [edk2-devel] [PATCH v2 1/3] MdePkg.dec: RISC-V: Define override bit for Svpbmt extension To: devel@edk2.groups.io, tphan@ventanamicro.com Cc: michael.d.kinney@intel.com, gaoliming@byosoft.com.cn, zhiguang.liu@intel.com, kraxel@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 References: <20240207012910.2133-1-tphan@ventanamicro.com> <20240207012910.2133-2-tphan@ventanamicro.com> From: "Laszlo Ersek" In-Reply-To: <20240207012910.2133-2-tphan@ventanamicro.com> X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.10 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com 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,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3jstbpDpJpBxertzoy78c9Nax7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 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=nzrbfS5J; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=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 On 2/7/24 02:29, Tuan Phan wrote: > 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. >=20 > Signed-off-by: Tuan Phan > --- > MdePkg/MdePkg.dec | 2 ++ > 1 file changed, 2 insertions(+) >=20 > 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. > # BIT 1 =3D Supervisor Time Compare (Sstc). This bit is relevant only = if > # previous stage has feature enabled and user wants to disable it. > + # BIT 2 =3D Page-Based Memory Types (Pbmt). This bit is relevant only = if > + # previous stage has feature enabled and user wants to disable it. > # > gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride|0xFFFFFFFFFFFFFFFF|UI= NT64|0x69 > =20 Reviewed-by: Laszlo Ersek -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115242): https://edk2.groups.io/g/devel/message/115242 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] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-