I attached a patch witch change that is needed in EDK2 code as it is described.

 

PCI_REG_PCIE_DEVICE_CONTROL2 struct is UINT16 but has 17 bits !!

 

Issue is UINT16 LtrMechanism

There is 2 instead of 1.

-    UINT16 LtrMechanism : 2;

+    UINT16 LtrMechanism : 1;

 

 

 

Daniel Banaszek

BIOS Engineer – IGK1-245

Intel Server UEFI Firmware Development Team

______________________________________________________________________________

 

From: Ni, Ray <ray.ni@intel.com>
Sent: Monday, 2 December, 2019 15:45
To: Banaszek, Daniel Pawel <daniel.pawel.banaszek@intel.com>
Cc: Gao, Liming <liming.gao@intel.com>
Subject: RE: ASAP Issue in PciExpress21.h

 

Daniel,

thank you for finding such a critical issue.

Can you please submit an open source patch for this?

 

Thanks,

Ray

 

 

From: Banaszek, Daniel Pawel <daniel.pawel.banaszek@intel.com>
Sent: Monday, December 2, 2019 6:54 PM
To: Ni, Ray <ray.ni@intel.com>
Subject: ASAP Issue in PciExpress21.h

 

Hi

There I an issue in

MdePkg/Include/IndustryStandard/PciExpress21.h

 

PCI_REG_PCIE_DEVICE_CONTROL2 struct is UINT16 but has 17 bits !!

 

Issue is UINT16 LtrMechanism

There is 2 instead of 1.

-    UINT16 LtrMechanism : 2;

+    UINT16 LtrMechanism : 1;

 

Who can commit the change?

 

Thanks

Daniel Banaszek

BIOS Engineer – IGK1-245

Intel Server UEFI Firmware Development Team

Intel Technology Poland Sp. z o.o.

 

---------------------------------------------------------------------
Intel Technology Poland sp. z o.o.
ul. Słowackiego 173 | 80-298 Gdańsk | Sąd Rejonowy Gdańsk Północ | VII Wydział Gospodarczy Krajowego Rejestru Sądowego - KRS 101882 | NIP 957-07-52-316 | Kapitał zakładowy 200.000 PLN.

Ta wiadomość wraz z załącznikami jest przeznaczona dla określonego adresata i może zawierać informacje poufne. W razie przypadkowego otrzymania tej wiadomości, prosimy o powiadomienie nadawcy oraz trwałe jej usunięcie; jakiekolwiek przeglądanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by others is strictly prohibited.