From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (NAM10-MW2-obe.outbound.protection.outlook.com [40.107.94.113]) by mx.groups.io with SMTP id smtpd.web11.17929.1588633009527138543 for ; Mon, 04 May 2020 15:56:49 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=Si+h36xr; spf=pass (domain: microsoft.com, ip: 40.107.94.113, mailfrom: bret.barkelew@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TewhF3IlL+j6k8YAmt+kSsCGZzBWcjguXSOqg7jvs1viu5ooCwhyrduCTrIjmxnANjNARLbEbKsIOMlBn+WsbDOy6pN97Cha/mgXL7+8ubar+WiYNVfzEmOQGDrSZ6TgHGyCVD3xKugEpas9APmXCZXsp+ZqYKPKTUGVvm0j38Fd/gl79be70WHPkWPTL/kG9HjHVykLPjDJ2HjXyvktJZwe36QIOIlLH4BXuN7dF70PHqL+aJN5LWYTBbgp2hTFrwz4Sew4C9quy+13MheIPkbNnFp/NeXyDqVIUGEEUQV+JOWUmnFZMaLn+xpEnBycvjZOEBvE0wS2F6WcRstPkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w9XStVx/jdX+nlYIhqFIwRtQ+jLLWBdia3mIHoeG1w0=; b=VPcbVLITrxv1VuetqDXubV8Uo/Bg+rj5R4LIwOfrEo7TUnfvUjWBgCepE8xuLPNPsXwBhwmYz60XVKXC6PE6zHprNDnyWoS6Ci+KHgJVzT6C3brOu8AHcFpAb17U9PjHo2mdMe0m5mxt1XHaQS0O+Ekpn8sajVVz/POCnz23thFEGGzZHuY9eSKRopf2DjUGMgtTjgTGsyv5dA8vr0KlTx0YHJw5G43feWSyQqfpNQmm+446fA8Xis9jQ7NRVKxublYkszkW59hSTOdO3PsKI/yEecbGB+wgH9OngmGIX7Xhm1sDgqodOnKSM0S9FcIOhXag81XS+KK+n4eQFAqUiA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=w9XStVx/jdX+nlYIhqFIwRtQ+jLLWBdia3mIHoeG1w0=; b=Si+h36xrui85BNtaeqRCEZeMtyty55aX4M5EVXNOj+1FBojCFWbsCU9xs6mHbGGsXDrW4QJNrgoHRBRsxvJgE8ibaXo1yAXhtr/O0bQ+2raDabmZTeQG6/PSXtQVvMi07LkGuYDGg3tjnUg+ZJenyU+pQ5sGxfAaLgg/ZOik0bQ= Received: from CY4PR21MB0743.namprd21.prod.outlook.com (2603:10b6:903:b2::9) by CY4PR21MB0135.namprd21.prod.outlook.com (2603:10b6:903:b2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2979.3; Mon, 4 May 2020 22:56:48 +0000 Received: from CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::90d:10d9:c5bc:5318]) by CY4PR21MB0743.namprd21.prod.outlook.com ([fe80::90d:10d9:c5bc:5318%11]) with mapi id 15.20.2979.017; Mon, 4 May 2020 22:56:48 +0000 From: "Bret Barkelew" To: "devel@edk2.groups.io" , "oleksiyy@ami.com" CC: "bob.c.feng@intel.com" , "liming.gao@intel.com" , "Kinney, Michael D" , "oleksiyy@ami.com" Subject: Re: [EXTERNAL] [edk2-devel] [PATCH v2 4/7] BaseTools: Bootable NVDIMM namespaces Thread-Topic: [EXTERNAL] [edk2-devel] [PATCH v2 4/7] BaseTools: Bootable NVDIMM namespaces Thread-Index: AQHWIls9hHoBvrY0KU2ePXa5JMoor6iYicQB Date: Mon, 4 May 2020 22:56:47 +0000 Message-ID: References: <20200504212857.48568-1-oleksiyy@ami.com>,<20200504212857.48568-5-oleksiyy@ami.com> In-Reply-To: <20200504212857.48568-5-oleksiyy@ami.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2020-05-04T22:56:26.2752932Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [174.21.83.205] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 5f39e7ee-e8a7-487a-bbdb-08d7f07e6cf0 x-ms-traffictypediagnostic: CY4PR21MB0135:|CY4PR21MB0135: x-ld-processed: 72f988bf-86f1-41af-91ab-2d7cd011db47,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-forefront-prvs: 03932714EB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eijQ+XogLcwv9/ub0mHEdjYQ20ZmDqFGanS92/Zp2GczpHT1GJsDTyu6a21/GUKHa6ENGylC1qOHyyfOTn+K2nimVuPHN/qt6fXi9itRn2ThW0LgPMZwyicGbdPvHavpS0yVv3hNFSFTYBstP6UNoaYvrIMcHBVNLFUNnuQ/3YFzxH+z0quJCryvjwMC92jGljjZEiXRgBzr+fU8lftUU4e5IMsIM4SbWjK37YBOt7UGaKshZq1IeRYuwllTjy0nefAg3fYaTpFoQ0JwGByAqwGZcCQW1Ixptsgkl1uoMNvDeU0Zhet8bjgeQz18RqOtAttsf1ylbV26g+hL/1iacyXULLQGqLLqH7Oo1M2qh2MzD3KGIzfrCq/SdFMWsfN+ZxwQQZr8Xl4JT7Rg58lJYxhBdzkV6QY/vLpMxLqys96//jr6G+eMls3P/mnKijAY3/ewdJEfwNXfFrUnR9zMHOAnGq0H1SGf5E//X2tLwN/y/HgO91VMn5ufSetDU1uGg6vhxEvoFK94v+VzBBzvei/r69G26+RLcfo27DmmgsCmVqLe47PshDp3CAbl1s0fwaZEQEt/iUO4t8thXcdl7Ye4tvmWZHlrcWs81xYXKSQ= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CY4PR21MB0743.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(4636009)(39860400002)(366004)(396003)(136003)(376002)(346002)(33430700001)(66946007)(86362001)(10290500003)(6506007)(53546011)(110136005)(478600001)(186003)(4326008)(54906003)(316002)(7696005)(66556008)(9686003)(966005)(66446008)(33440700001)(64756008)(2906002)(55016002)(26005)(76116006)(91956017)(82950400001)(52536014)(66476007)(82960400001)(8990500004)(5660300002)(8676002)(8936002)(71200400001)(33656002);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: pRG7vWb308Lc+MLZFDGU9IIIh9lPz86eBLhqNg8k7VnqRiD2KNiB5VBd4v3/BCkzq0i6KwQDsqozbuWcUYrlR0c3aa6uZeCDvnw2XeSU0IYi3XxW05mcnJVAcaOjxxKqzhyTm7uoH7gEH5gFfcpm5PdVSJ7DUdcJ+MamKqjW2QXccrhTcwbPuFxbA5Z19RKjuMEOs4HrARyneBhGpbcdLF3f6i8cpsDBtPCgA7s57cM0RG7LJIJ2MM4t1d45m06MIFtYQdB9cyoEY9mtbSiczE+sUP7W+X4NiN4Rj4hB2XMr/xNenCCo/C0E+KGjZ5yxgFRHyYvQkrhannpWSh0WP/qgJv4xtFQCAxtEH31RozisGWrL5LTVlJAI2LfQSFAJWKdxgggjW0/orxDY04rOpbf8Sjd/Bz0BhDB1ks0u296NefirngTfgl31dQ+SpfQfVJpGWuH5Lc1WluLbyCOIeMHMPUOez0b/hA0sqNvZE/3DVHwo0Z1FjVqWs3tCB7DIRw6jLQqfip3Vl6w0ZQVHrrjzLG9X3ORjChmTQyw8XKCexo2lGB/5VsXPXkkilS6CXYADKGE+oXyHCGj5Kk+gv5IdAevM5nl8a5frUQdf3UylKxSMFlfWnQIQhWJ2OlTokMtwVXGvh1tYP3GQ7noumWTafrVmsOA7icFVG/8uGPfjLErlHPyVXJuJ4oPVFMJd+neBUYFuaLgUKnBbLdH2bjeOe1/MYa8YV/SdtY89p1kBWf4sCd0ljUddps3vQrcEp0UniJzgNUmUzCr5y0kIVHkRm9c7e0+tdftEqYmHNCE= x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f39e7ee-e8a7-487a-bbdb-08d7f07e6cf0 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 May 2020 22:56:47.8741 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: giZdCcgh578TCHU63N9mNIiNs5jloMN8JzuayHxOLRqsaB4wi5ZWrbEEshT0rFMlqtr62z1+JNjuPf9kx1FWGg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR21MB0135 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_CY4PR21MB07436343DE40115D9F861349EFA60CY4PR21MB0743namp_" --_000_CY4PR21MB07436343DE40115D9F861349EFA60CY4PR21MB0743namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Typo in description: =93Privided a mechanism=85=94 - Bret ________________________________ From: devel@edk2.groups.io on behalf of Oleksiy Yak= ovlev via groups.io Sent: Monday, May 4, 2020 2:28:54 PM To: devel@edk2.groups.io Cc: bob.c.feng@intel.com ; liming.gao@intel.com ; Kinney, Michael D ; oleksiy= y@ami.com Subject: [EXTERNAL] [edk2-devel] [PATCH v2 4/7] BaseTools: Bootable NVDIMM= namespaces 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/= Source/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; +/// +/// 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 // -- 2.9.0.windows.1 Please consider the environment before printing this email. The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI). This communication is intended to be rea= d only by the individual or entity to whom it is addressed or by their desi= gnee. If the reader of this message is not the intended recipient, you are = on notice that any distribution of this message, in any form, is strictly p= rohibited. Please promptly notify the sender by reply e-mail or by telepho= ne at 770-246-8600, and then delete or destroy all copies of the transmissi= on. --_000_CY4PR21MB07436343DE40115D9F861349EFA60CY4PR21MB0743namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Typo in description:

=93Privided a mechanism=85=94

 

- Bret

 


From: devel@edk2.groups.io= <devel@edk2.groups.io> on behalf of Oleksiy Yakovlev via groups.io &= lt;oleksiyy=3Dami.com@groups.io>
Sent: Monday, May 4, 2020 2:28:54 PM
To: devel@edk2.groups.io <devel@edk2.groups.io>
Cc: bob.c.feng@intel.com <bob.c.feng@intel.com>; liming.gao@i= ntel.com <liming.gao@intel.com>; Kinney, Michael D <michael.d.kinn= ey@intel.com>; oleksiyy@ami.com <oleksiyy@ami.com>
Subject: [EXTERNAL] [edk2-devel] [PATCH v2 4/7] BaseTools: Bootable= NVDIMM namespaces
 
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 <oleksiyy@ami.com>
---
 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/= Source/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         &n= bsp;            = ;     StopBits;
 } UART_DEVICE_PATH;
 
+///
+/// NVDIMM Namespace Device Path SubType.
+///
+#define NVDIMM_NAMESPACE_DP       =         0x20
+typedef struct {
+  EFI_DEVICE_PATH_PROTOCOL      &n= bsp; Header;
+  ///
+  /// Namespace unique label identifier UUID.
+  ///
+  EFI_GUID Uuid;
+} NVDIMM_NAMESPACE_DEVICE_PATH;
+
 //
 // Use VENDOR_DEVICE_PATH struct
 //
--
2.9.0.windows.1


Please consider the environment before printing this email.

The information contained in this message may be confidential and propriet= ary to American Megatrends (AMI).  This communication is intended to b= e read only by the individual or entity to whom it is addressed or by their= designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of= this message, in any form, is strictly prohibited.  Please promptly n= otify the sender by reply e-mail or by telephone at 770-246-8600, and then = delete or destroy all copies of the transmission.



--_000_CY4PR21MB07436343DE40115D9F861349EFA60CY4PR21MB0743namp_--