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 7C7B3940F2A for ; Thu, 11 Jan 2024 02:19:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=dfHYXSuTmLHn8jS70jTcBvvK1jqcGEZ2rkLkIQXAuWY=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1704939541; v=1; b=i3sK8L6hRYdC9NsaRharyP9KsBDOug6NG933jT9yf6tVOIskuiV67rNsKBgJXYHMCACtVpG7 Fd8QSHrNSrnQBPeqTcLPwiOpWprMNrkqRCIXbzeAIBKYxUR9/NXHb5B/2SjNN9limvMdxEpmhmF wGipsOB5rxd5BBD3uGjslJfQ= X-Received: by 127.0.0.2 with SMTP id 3lIGYY7687511xzrhP5HzS6Y; Wed, 10 Jan 2024 18:19:01 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web11.2813.1704939539850115402 for ; Wed, 10 Jan 2024 18:19:00 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 56A63DDA7E1 for ; Thu, 11 Jan 2024 10:18:58 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 53770DDA7E0 for ; Thu, 11 Jan 2024 10:18:58 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id 91216DDA788 for ; Thu, 11 Jan 2024 10:18:55 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.41.105.18]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 11 Jan 2024 10:18:51 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.41.105.18 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: , Cc: "'Michael D Kinney'" , "'Zhiguang Liu'" , "'Yi Li'" References: <46bbad77f08f2acefbc10475695e5133704d35c2.1703641932.git.junfengx.guan@intel.com> In-Reply-To: <46bbad77f08f2acefbc10475695e5133704d35c2.1703641932.git.junfengx.guan@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIDEvMV0gTWRlUGtnOiBVcGRhdGUgdGhlIExhYmVsIGRlZmluaXRpb25zIG9mIHRoZSBFRklfTlZESU1NX0xBQkVM?= Date: Thu, 11 Jan 2024 10:18:52 +0800 Message-ID: <02eb01da4434$8606c630$92145290$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQNtq2/q2/+uFiHHtZAY1sDm9cla9QIgbjQVrZwOtQA= 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,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: xg69tWqiZZUTaYdJVYXTr6jrx7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=i3sK8L6h; 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 Reviewed-by: Liming Gao > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Junfeng Guan > =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA12=D4=C227=C8=D5 9:57 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Michael D Kinney ; Liming Gao > ; Zhiguang Liu ; Yi Li > > =D6=F7=CC=E2: [edk2-devel] [PATCH 1/1] MdePkg: Update the Label definitio= ns of the > EFI_NVDIMM_LABEL >=20 > Refer to Uefi spec 2.10 section 13.19.5, update the label definitions > for NVDIMM SPA location cookie. >=20 > Signed-off-by: Junfeng Guan > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Yi Li > --- > MdePkg/Include/Protocol/NvdimmLabel.h | 16 +++++++++++++++- > 1 file changed, 15 insertions(+), 1 deletion(-) >=20 > diff --git a/MdePkg/Include/Protocol/NvdimmLabel.h > b/MdePkg/Include/Protocol/NvdimmLabel.h > index e46999a3ab4a..2352c9bd1652 100644 > --- a/MdePkg/Include/Protocol/NvdimmLabel.h > +++ b/MdePkg/Include/Protocol/NvdimmLabel.h > @@ -122,6 +122,12 @@ typedef struct { > /// > #define EFI_NVDIMM_LABEL_FLAGS_UPDATING 0x00000008 >=20 > +/// > +/// When set, the SPALocationCookie in the namespace label is valid and > should match the > +/// current value in the NFIT SPA Range Structure. > +/// > +#define EFI_NVDIMM_LABEL_FLAGS_SPACOOKIE_BOUND 0x00000010 > + > typedef struct { > /// > /// Unique Label Identifier UUID per RFC 4122. > @@ -196,10 +202,18 @@ typedef struct { > /// > EFI_GUID AddressAbstractionGuid; >=20 > + /// > + /// When creating the label, this value is set to the value from the NFIT > SPA Range Structure if the > + /// SPALocationCookie flag (bit 2) is set. If > EFI_NVDIMM_LABEL_FLAGS_SPACOOKIE_BOUND is set, the > SPALocationCookie > + /// value stored in the namespace label should match the current value in > the NFIT SPA Range Structure. > + /// Otherwise, the data may not be read correctly. > + /// > + UINT64 SPALocationCookie; > + > /// > /// Shall be 0. > /// > - UINT8 Reserved1[88]; > + UINT8 Reserved1[80]; >=20 > /// > /// 64-bit Fletcher64 checksum of all fields in this Label. > -- > 2.26.2.windows.1 >=20 >=20 >=20 >=20 >=20 -=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 (#113572): https://edk2.groups.io/g/devel/message/113572 Mute This Topic: https://groups.io/mt/103655517/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-