For a hot plug bridge with device attached, PciBusDxe driver reserves
the resources which equal to the total amount of padding resource
returned from HotPlug->GetResourcePadding() and the actual occupied
resource by the attached device. The behavior is incorrect.
Correct behavior is to reserve the bigger one between the padding
resource and the actual occupied resource.

The first patch is to revert the previous two commits which combine
the debug log fix and resource reservation fix together.

Ruiyu Ni (3):
  Revert "MdeModulePkg: Fix a PciBusDxe hot plug bug"
  MdeModulePkg: Fix a PCI resource dumping bug in PciBusDxe driver
  MdeModulePkg: Fix a PciBusDxe hot plug bug

 MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.h | 2 +-
 MdeModulePkg/Bus/Pci/PciBusDxe/PciLib.c               | 2 +-
 MdeModulePkg/Bus/Pci/PciBusDxe/PciResourceSupport.c   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.9.5.msysgit.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to