slimbootloader/BootloaderCorePkg/Library
Maurice Ma c03faf59c3 Enhance PCI enumeration policy for resource downgrade
On TGL platform, when enable SR_IOV for PCI enumeration, system
hung due to insufficient PCI resource. GFX VF needs lots of MMIO
resource and it cannot be satisfied by SBL in 32 bit mode.

To address this issue, this patch extends the bus 0 downgrade
policy to further allow downgrading PCI bus 0 devices except for
GFX. Now the DowngradeBus0 policy has following values:
  0: Do not downgrade PCI devices on bus 0
  1: Downgrade all PCI devices on bus 0
  2: Downgrade all PCI devices on bus 0 but GFX
  3: Reserved
By default, it has the same behavior as before. If platform needs
to download bus 0 devices but GFX, the new value 2 can be used.

This has been tested on TGL, and it worked as expected.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
2021-10-18 09:14:52 -07:00
..
AcpiInitLib Clean up release build debug output 2021-04-04 07:59:03 -07:00
BootloaderCoreLib [CorePkg] Add additional APIs to access LoaderGlobalData 2021-08-06 12:34:36 -07:00
BootloaderLib Clean up BootloaderCorePkg stage code 2019-12-17 12:59:08 -08:00
CpuExceptionLib Enable QEMU Stage1A boot in X64 mode (#621) 2020-04-02 07:30:43 -07:00
DebugDataLib [QEMU] Fix NOOPT build failure 2020-10-12 13:00:44 -07:00
DebugPrintErrorLevelLib Update BSD license to BSD+Patent license 2019-06-13 10:46:49 -07:00
FspApiLib Add MultiBoot support for X64 build 2020-10-07 14:20:50 -07:00
FspSupportLib Add FSP HOB print function 2021-02-02 19:48:39 -08:00
HobBuildLib Enable UEFI Universal Payload boot 2021-10-04 11:59:55 -07:00
MemoryAllocationLib Fix pointer type cast errors from Visual Studio (#617) 2020-03-27 11:03:28 -07:00
MpInitLib Resolve issue with MpInitLib VS2015 compiling 2021-04-19 16:49:38 -07:00
PciEnumerationLib Enhance PCI enumeration policy for resource downgrade 2021-10-18 09:14:52 -07:00
S3SaveRestoreLib fix TSeg full during warn reset 2021-08-19 07:59:32 -07:00
SmbiosInitLib [TGL] Read boot Tjunctions 2021-08-24 08:56:51 -07:00
StageLib Support paging for Above4Gb addresses (#692) 2020-04-30 22:05:54 -07:00