audk/MdeModulePkg/Bus/Pci/PciBusDxe
Nhi Pham 5f46eb2307 MdeModulePkg/PciBusDxe: Fix boot hang with faulty PCI Option ROM
A faulty PCI device has the Option ROM image size set to 0. UEFI reads
two headers PCI_EXPANSION_ROM_HEADER and PCI_DATA_STRUCTURE to get the
Option ROM information. Because the image size is 0, the Option ROM
header address never changes. As a result, UEFI keeps reading the same
two headers definitely. This patch is intended to fix it.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
2023-08-30 06:29:14 +00:00
..
ComponentName.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
ComponentName.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciBus.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciBus.h Fix bug on SRIOV ReservedBusNum when ARI enable. 2022-10-14 07:07:01 +00:00
PciBusDxe.inf MdeModulePkg/Bus/Pci/PciBusDxe: Support PCIe Resizable BAR Capability 2021-01-04 08:25:28 +00:00
PciBusDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciBusDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PciCommand.c MdeModulePkg: Update code to be more C11 compliant by using __func__ 2023-04-10 14:19:57 +00:00
PciCommand.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciDeviceSupport.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciDeviceSupport.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciDriverOverride.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciDriverOverride.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciEnumerator.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciEnumerator.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciEnumeratorSupport.c MdeModulePkg/Pci: Display more information of PCIe devices 2023-02-15 01:07:18 +00:00
PciEnumeratorSupport.h MdeModulePkg: Update PciEnumeratorSupport to ignore OptionRom if needed 2022-04-02 10:09:47 +00:00
PciHotPlugSupport.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciHotPlugSupport.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciIo.c MdeModulePkg: Fix conditionally uninitialized variables 2023-04-03 15:29:08 +00:00
PciIo.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciLib.c Fix bug on SRIOV ReservedBusNum when ARI enable. 2022-10-14 07:07:01 +00:00
PciLib.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciOptionRomSupport.c MdeModulePkg/PciBusDxe: Fix boot hang with faulty PCI Option ROM 2023-08-30 06:29:14 +00:00
PciOptionRomSupport.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciPowerManagement.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciPowerManagement.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciResourceSupport.c MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciResourceSupport.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PciRomTable.c MdeModulePkg/Bus/Pci/PciBusDxe: Support platform PCI ROM override 2022-02-04 18:10:25 +00:00
PciRomTable.h MdeModulePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00