[edk2] [PATCH v2 0/6] Fix PciBus to accept Spec values as BarIndex and Alignment

Ruiyu Ni posted 6 patches 7 years, 2 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
.../IncompatiblePciDeviceSupport.c                 | 108 ++++++++++-----------
.../Bus/Pci/PciBusDxe/PciEnumeratorSupport.c       |  37 ++++---
MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c      |   2 +-
MdePkg/Include/IndustryStandard/Pci22.h            |  24 +++--
.../IncompatiblePciDeviceSupport.c                 |  13 +--
5 files changed, 101 insertions(+), 83 deletions(-)
[edk2] [PATCH v2 0/6] Fix PciBus to accept Spec values as BarIndex and Alignment
Posted by Ruiyu Ni 7 years, 2 months ago
If a platform developer follows the PI spec to write an
IncompatiblePciDeviceSupport driver, due to a spec complaince
bug in PciBus driver, the IncompatiblePciDeviceSupport driver
may not work as expected. The patches fix PciBus to follow Spec
to accept Spec defined values.

v2: Use DISABLE_NEW_DEPRECATED_INTERFACES to deprecate macros.

Ruiyu Ni (6):
  MdeModulePkg/PciSioSerialDxe: Use MAX_UINT8 instead of PCI_BAR_ALL
  MdeModulePkg/PciBus: Accept Spec values as BarIndex and Alignment
  MdeModulePkg/IncompatiblePciDevice: Do not use deprecated macros
  MdeModulePkg/IncompatiblePci: Use -1 to match any IDs
  OvmfPkg/IncompatiblePci: Do not use deprecated macros
  MdePkg/Pci22.h: Deprecate out-of-Spec IncompatiblePciDevice macros

 .../IncompatiblePciDeviceSupport.c                 | 108 ++++++++++-----------
 .../Bus/Pci/PciBusDxe/PciEnumeratorSupport.c       |  37 ++++---
 MdeModulePkg/Bus/Pci/PciSioSerialDxe/Serial.c      |   2 +-
 MdePkg/Include/IndustryStandard/Pci22.h            |  24 +++--
 .../IncompatiblePciDeviceSupport.c                 |  13 +--
 5 files changed, 101 insertions(+), 83 deletions(-)

-- 
2.9.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel