From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by mx.groups.io with SMTP id smtpd.web12.11163.1576679240574508709 for ; Wed, 18 Dec 2019 06:27:20 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 192.55.52.43, mailfrom: liming.gao@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2019 06:27:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,329,1571727600"; d="scan'208";a="217869440" Received: from lgao4-mobl1.ccr.corp.intel.com ([10.255.29.178]) by orsmga006.jf.intel.com with ESMTP; 18 Dec 2019 06:27:18 -0800 From: "Liming Gao" To: devel@edk2.groups.io Cc: Daniel Pawel Banaszek , Ray Ni Subject: [Patch] MdePkg PciExpress21: PCI_REG_PCIE_DEVICE_CONTROL2 struct has 17 bits Date: Wed, 18 Dec 2019 22:27:04 +0800 Message-Id: <20191218142704.3384-1-liming.gao@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 From: Daniel Pawel Banaszek Device Control 2 Structure have an issue. LtrMechanism - there is 2 bits instead of 1. Signed-off-by: Daniel Pawel Banaszek Reviewed-by: Liming Gao Cc: Ray Ni --- MdePkg/Include/IndustryStandard/PciExpress21.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/IndustryStandard/PciExpress21.h b/MdePkg/Include/IndustryStandard/PciExpress21.h index f17f570775..2c07cb560e 100644 --- a/MdePkg/Include/IndustryStandard/PciExpress21.h +++ b/MdePkg/Include/IndustryStandard/PciExpress21.h @@ -304,7 +304,7 @@ typedef union { UINT16 AtomicOpEgressBlocking : 1; UINT16 IdoRequest : 1; UINT16 IdoCompletion : 1; - UINT16 LtrMechanism : 2; + UINT16 LtrMechanism : 1; UINT16 EmergencyPowerReductionRequest : 1; UINT16 TenBitTagRequesterEnable : 1; UINT16 Obff : 2; -- 2.13.0.windows.1