From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from zg8tmty3ljk5ljewns4xndka.icoremail.net (zg8tmty3ljk5ljewns4xndka.icoremail.net [167.99.105.149]) by mx.groups.io with SMTP id smtpd.web10.66633.1629358265018861989 for ; Thu, 19 Aug 2021 00:31:10 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: phytium.com.cn, ip: 167.99.105.149, mailfrom: zhoucheng@phytium.com.cn) Received: from prodtpl.icoremail.net (unknown [10.12.1.20]) by hzbj-icmmx-1 (Coremail) with SMTP id AQAAfwC3h7R+CB5ho0SEAg--.38426S2; Thu, 19 Aug 2021 15:30:06 +0800 (CST) Received: from ubuntu.localdomain (unknown [106.19.30.100]) by mail (Coremail) with SMTP id AQAAfwCnbyu1CB5hXykAAA--.148S3; Thu, 19 Aug 2021 15:31:02 +0800 (CST) From: "zhoucheng" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao , Zhiguang Liu Subject: [PATCH v1 1/2] MdePkg:Update IndustryStandard/Nvme.h with Nvme amdin controller data Date: Thu, 19 Aug 2021 15:30:55 +0800 Message-Id: <20210819073056.3996-2-zhoucheng@phytium.com.cn> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20210819073056.3996-1-zhoucheng@phytium.com.cn> References: <20210819073056.3996-1-zhoucheng@phytium.com.cn> X-CM-TRANSID: AQAAfwCnbyu1CB5hXykAAA--.148S3 X-CM-SenderInfo: 52kr3upkhqwqxsk13x1xpou0fpof0/ Authentication-Results: hzbj-icmmx-1; spf=neutral smtp.mail=zhoucheng@ phytium.com.cn; X-Coremail-Antispam: 1Uk129KBjvJXoW7Cr1rWryxWryDCw1kAr18Zrb_yoW8Xr1rpF Z8uayxG3yDXFW7ArW7uF4aqrZrWw4kGw18uFZrZFn09F98tFykWr4qkr4DJr1rZry7C3sr ZF1qgryruw4kGFDanT9S1TB71UUUUUDqnTZGkaVYY2UrUUUUj1kv1TuYvTs0mT0YCTnIWj DUYxn0WfASr-VFAU7a7-sFnT9fnUUIcSsGvfJ3UbIYCTnIWIevJa73UjIFyTuYvj4RJUUU UUUUU Update Nvme data structure Signed-off-by: Cheng Zhou Reviewed-by: Liming Gao Cc: Michael D Kinney Cc: Liming Gao Cc: Zhiguang Liu --- MdePkg/Include/IndustryStandard/Nvme.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/Nvme.h b/MdePkg/Include/IndustryStandard/Nvme.h index 9b19a2074b0d..f7a1a9f6ca32 100644 --- a/MdePkg/Include/IndustryStandard/Nvme.h +++ b/MdePkg/Include/IndustryStandard/Nvme.h @@ -353,7 +353,16 @@ typedef struct { UINT8 Npss; /* Number of Power States Support */ UINT8 Avscc; /* Admin Vendor Specific Command Configuration */ UINT8 Apsta; /* Autonomous Power State Transition Attributes */ - UINT8 Rsvd2[246]; /* Reserved as of Nvm Express 1.1 Spec */ + // + // Below fields before Rsvd2 are defined in NVM Express 1.3 Spec + // + UINT16 Wctemp; /* Warning Composite Temperature Threshold */ + UINT16 Cctemp; /* Critical Composite Temperature Threshold */ + UINT16 Mtfa; /* Maximum Time for Firmware Activation */ + UINT32 Hmpre; /* Host Memory Buffer Preferred Size */ + UINT32 Hmmin; /* Host Memory Buffer Minimum Size */ + UINT8 Tnvmcap[16]; /* Total NVM Capacity */ + UINT8 Rsvd2[216]; /* Reserved as of NVM Express */ // // NVM Command Set Attributes // -- 2.17.1