From nobody Tue Feb 10 01:35:47 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+58812+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+58812+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1588878931; cv=none; d=zohomail.com; s=zohoarc; b=cjTcjm9dIWXCMVwZYT8I3xqXUrzsaTTOzCYjWznKmCuVI9hLbXAZQ+EvslPc41oYM0bLbQIIqpXMp9Sr2PnscVUUyO5bxLHBOdYOfNfyaFqP4bqZzGEzKX18xSZNpUkExxsEnGMZqA4i2BTVyu7RG8xF90Fpghe04B6jicyrFg0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1588878931; h=Content-Type:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=KHShdk60xG4No2/mKMFdILZZdQvOKW1uHxINizKrLrU=; b=lAfhTqmLrYR2T+oc0NwIMhQqFMQZ5va/SKmp+D9CBrE3BATzboctLvI/e/lqyyfQiujgoiotqPuLRNVJpnMFRtxXPDtHlEVrPFMhXbkVUqxv26KsxmIUstu0S5LcNivmzIpZkagEVTZRk2wztJbSK322vd4gUYrFgD8+ed2Zesg= 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+58812+1787277+3901457@groups.io Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1588878931282113.78171632976807; Thu, 7 May 2020 12:15:31 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id k6hBYY1788612x7Wf6Qyjjif; Thu, 07 May 2020 12:15:30 -0700 X-Received: from atlmailgw1.ami.com (atlmailgw1.ami.com []) by mx.groups.io with SMTP id smtpd.web11.1959.1588878925964128957 for ; Thu, 07 May 2020 12:15:30 -0700 X-AuditID: ac1060b2-0f7ff700000018d4-27-5eb45e5129ca 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 atlmailgw1.ami.com (Symantec Messaging Gateway) with SMTP id A9.DB.06356.15E54BE5; Thu, 7 May 2020 15:15:29 -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; Thu, 7 May 2020 15:14:05 -0400 From: "Oleksiy Yakovlev" To: CC: , , , , Subject: [edk2-devel] [PATCH v3 5/7] MdePkg: Bootable NVDIMM namespaces Date: Thu, 7 May 2020 15:13:56 -0400 Message-ID: <20200507191358.74904-6-oleksiyy@ami.com> In-Reply-To: <20200507191358.74904-1-oleksiyy@ami.com> References: <20200507191358.74904-1-oleksiyy@ami.com> MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsWyRiBhgm5g3JY4gyMrtSx+HZ3HZtE+YTab xYp7G9gtOjr+MTmweGz/foHRY/Gel0wBTFENjDaJeXn5JYklqQopqcXJtkoBRZllicmVSgqZ KbZKhkoKBTmJyam5qXkltkqJBQWpeSlKdlwKGMAGqCwzTyE1Lzk/JTMv3VbJM9hf18LC1FLX UMkuJCNVITMvLb8oN7EkMz9PITk/rwSoOjUFKKqQ0M2Z0fB0J2vBVY6KoydFGxg/sHUxcnJI CJhIdP6fwNrFyMUhJLCLSeJb321mkISQwGZGiau3pEFsNgFNiQPHpjCC2CICUhJTDsxkArGZ BSoknq58wgJiCwtYS7xY+o0dxGYRUJHofrYMLM4rYCqxsXsm1DINiWlr7oL1cgqYScyZs40F YpepxOTVJ9kh6gUlTs6EmMksICFx8MULqHtkJdqOP2efwMg/C0nZLCRlCxiZVjEKJZbk5CZm 5qSXG+ol5mbqJefnbmKExNimHYwtF80PMTJxMB5ilOBgVhLh5fmxMU6INyWxsiq1KD++qDQn tfgQoxPQAxOZpbhB4QeMkHhjAwMpURjH0MTMxNzI3NDSxNzYWEmcd/LaNXFCAunAiM1OTS1I LYIZwsTBKdXAqLjO/tcD68ob065ff/VYtDj91Czb00sPzSies39W+9HsqkW3H3UYnVC2vKzf 7F7YqJ+Q3CQ0Yakjx6PNr3ZHxr5g0xSQE5xx5tth+UNNkwICIpt61p1Y+O/X3+W3FeMcb21o ltDflzwvVi96XtTFns+dZuYKt/d63veYsTTmunTaKV5/I/PLmUosxRmJhlrMRcWJAClGkGnG 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: TOprtZqJlcQhLxwBpYkoS88ix1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1588878930; bh=yLHqOSe/NVRLO1DUlry8wQKHwLhdyN4YdTnyimxrAYA=; h=CC:Content-Type:Date:From:Reply-To:Subject:To; b=QLEZ+l7EQND7GXpBf++5JzrP4oaiHRSWGJF8H3QHO94+SntnB6glMF9KTTcBdKhpool SP9edwsE9s9qIQwbl9JdDnuAsW4izFgUNccgl6PjNJpm/32qMtw0I1tCaiNqcQkUL35OZ 6NYsmkCRkZW3VELs3uFsGbxenSge/4K2uYc= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Provided 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 Reviewed-by: Zhiguang Liu --- MdePkg/Include/Protocol/DevicePath.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/MdePkg/Include/Protocol/DevicePath.h b/MdePkg/Include/Protocol= /DevicePath.h index aaec0a6..c1f8352 100644 --- a/MdePkg/Include/Protocol/DevicePath.h +++ b/MdePkg/Include/Protocol/DevicePath.h @@ -712,6 +712,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 (#58812): https://edk2.groups.io/g/devel/message/58812 Mute This Topic: https://groups.io/mt/74057933/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-