From nobody Tue Feb 10 04:15:02 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+58586+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58586+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588627821; cv=none; d=zohomail.com; s=zohoarc; b=jCnrj/UHIkwBivYG/jHGFeJb7t6GLn8k2x0+/Mm1T41Ud0gqzTEaMP+cBkoSgOiCL6jDFa6BjRG58Evwhp+BE/iUYDGHa/o0u7CKHU73NcvMnxwYZZNsILAGCtobvkHlDXEMznYKQIl2a1MuxfODpU0p6Y+3QbmlWYGHiMLvhM0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588627821; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=VOkrYXC5lgQ6HIKBMJYSS6xTPxVO5UM0UJF8744bEWc=; b=ejliOdalP6o/P5BhBPxBv5WHb2zu4p0pugu1OEdzdX7YUpginLdu+UhsxCZJ3D7f1eonTyttp9AU9N/SB8h6/zLjesKwgt/+S+28NrnWWtaQV73/MdJT9FBd5Ysy/W5w6/JYROJ60eOZHNRdAWTFcvsvRX1KhrGbRlgnytaic0g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+58586+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588627821833343.7051920877734; Mon, 4 May 2020 14:30:21 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id n70oYY1788612xsZbQWoIJHx; Mon, 04 May 2020 14:30:21 -0700 X-Received: from atlmailgw2.ami.com (atlmailgw2.ami.com []) by mx.groups.io with SMTP id smtpd.web10.16402.1588627814767066761 for ; Mon, 04 May 2020 14:30:20 -0700 X-AuditID: ac10606f-049ff70000001b62-0b-5eb0896c3b13 X-Received: from atlms1.us.megatrends.com (atlms1.us.megatrends.com [172.16.96.144]) (using TLS with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by atlmailgw2.ami.com (Symantec Messaging Gateway) with SMTP id B0.03.07010.C6980BE5; Mon, 4 May 2020 17:30:20 -0400 (EDT) X-Received: from Oleksiy77.us.megatrends.com (172.16.97.158) by atlms1.us.megatrends.com (172.16.96.144) with Microsoft SMTP Server id 14.3.468.0; Mon, 4 May 2020 17:29:05 -0400 From: "Oleksiy Yakovlev" To: CC: , , , Subject: [edk2-devel] [PATCH v2 4/7] BaseTools: Bootable NVDIMM namespaces Date: Mon, 4 May 2020 17:28:54 -0400 Message-ID: <20200504212857.48568-5-oleksiyy@ami.com> In-Reply-To: <20200504212857.48568-1-oleksiyy@ami.com> References: <20200504212857.48568-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrKIsWRmVeSWpSXmKPExsWyRiBhgm5O54Y4gw9HxC1+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2ZMeHIFPaCiZwVfXv/sDQwrmHvYuTk kBAwkWg9sxfI5uIQEtjFJPHw0CxGCGczo8Sbxe+ZQKrYBDQlDhybwghiiwhISUw5MBMsziyQ JvHrwXIwW1jAVuLkzSfMIDaLgIpE36P/YPW8AqYS7xdcYoHYpiExbc1dsHpOATOJKy+/sILY QkA1/UtXMkHUC0qcnPmEBWK+hMTBFy+YIWpkJdqOP2efwMg/C0nZLCRlCxiZVjEKJZbk5CZm 5qSXG+kl5mbqJefnbmKExFn+DsaPH80PMTJxMB5ilOBgVhLhVTTbECfEm5JYWZValB9fVJqT WnyI0QnogYnMUtygEARGSbyxgYGUKIxjaGJmYm5kbmhpYm5srCTOO2ntmjghgXRg1Ganphak FsEMYeLglGpg9Jhjzi8tdUewaML3U5/UZyW9qLj0aLnRzSdmz6UdZnmc9dxrs1P8HsP1y0se WrZ952Da+EpS4eVng1/rFb/fEPd6uOFIjnDIzSlHpNRu7PMpWzb1UvDadP5nMg15F7U3L5h7 90T/2xjVNNk5D7631LF12v1vf95gKREcJCO/w3K9A0+etE0CkxJLcUaioRZzUXEiAJ5BHNDI AgAA Precedence: Bulk List-Unsubscribe: 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,oleksiyy@ami.com X-Gm-Message-State: 2RWNDc06HI0B1fw6V5ulGRVwx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588627821; bh=1Jkc+dPJmFhKINBw47bRtTYxUlX0GUoX5kZGXFCzwY0=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=iLGzgQuTyfKn68tLOo3YoGs6Fkc8eqIQkm2tJpcMQSzxStUXKAeDWvpjSTfPHxxNSa4 Ew6x816jxYUdI7VC5eK4gUBttGFW2RONHSjqkomQVSyQ1F3/P37x6S3Q1TsNaMJjz882o QptUh22wZ04wvXGWdEvJs4KSCrho9vMbJag= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Privided a mechanism for UEFI FW to identify and hand off bootable NVDIMM namespaces to the OS by standardizing the EFI device path. EFI device path for physical NVDIMM devices changed from an ACPI _ADR device to an ACPI NVDIMM device for correctness. (UEFI 2.8 mantis 1858) Signed-off-by: Oleksiy Yakovlev --- BaseTools/Source/C/Include/Protocol/DevicePath.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/BaseTools/Source/C/Include/Protocol/DevicePath.h b/BaseTools/S= ource/C/Include/Protocol/DevicePath.h index e3571ef..7101bc2 100644 --- a/BaseTools/Source/C/Include/Protocol/DevicePath.h +++ b/BaseTools/Source/C/Include/Protocol/DevicePath.h @@ -719,6 +719,18 @@ typedef struct { UINT8 StopBits; } UART_DEVICE_PATH; =20 +/// +/// NVDIMM Namespace Device Path SubType. +/// +#define NVDIMM_NAMESPACE_DP 0x20 +typedef struct { + EFI_DEVICE_PATH_PROTOCOL Header; + /// + /// Namespace unique label identifier UUID. + /// + EFI_GUID Uuid; +} NVDIMM_NAMESPACE_DEVICE_PATH; + // // Use VENDOR_DEVICE_PATH struct // --=20 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and proprieta= ry to American Megatrends (AMI). This communication is intended to be read= only by the individual or entity to whom it is addressed or by their desig= nee. If the reader of this message is not the intended recipient, you are o= n notice that any distribution of this message, in any form, is strictly pr= ohibited. Please promptly notify the sender by reply e-mail or by telephon= e at 770-246-8600, and then delete or destroy all copies of the transmissio= n. -=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 (#58586): https://edk2.groups.io/g/devel/message/58586 Mute This Topic: https://groups.io/mt/73985396/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-