Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 5f46eb2307dd6d4ea163b6899ded81e795780059
      
https://github.com/tianocore/edk2/commit/5f46eb2307dd6d4ea163b6899ded81e795780059
  Author: Nhi Pham <[email protected]>
  Date:   2023-08-30 (Wed, 30 Aug 2023)

  Changed paths:
    M MdeModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c

  Log Message:
  -----------
  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 <[email protected]>
Cc: Hao A Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Signed-off-by: Nhi Pham <[email protected]>
Reviewed-by: Liming Gao <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to