[edk2-devel] ASAP Issue in PciExpress21.h

Banaszek, Daniel Pawel daniel.pawel.banaszek at intel.com
Wed Dec 18 16:07:02 UTC 2019


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 at intel.com>
Sent: Monday, 2 December, 2019 15:45
To: Banaszek, Daniel Pawel <daniel.pawel.banaszek at intel.com>
Cc: Gao, Liming <liming.gao at 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 at intel.com<mailto:daniel.pawel.banaszek at intel.com>>
Sent: Monday, December 2, 2019 6:54 PM
To: Ni, Ray <ray.ni at intel.com<mailto:ray.ni at 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. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie 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.

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#52360): https://edk2.groups.io/g/devel/message/52360
Mute This Topic: https://groups.io/mt/68796847/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20191218/d5265ccd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 18c9006.diff.zip
Type: application/x-zip-compressed
Size: 690 bytes
Desc: 18c9006.diff.zip
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20191218/d5265ccd/attachment.bin>


More information about the edk2-devel-archive mailing list