edk2/MdeModulePkg/Bus
Phil Noh c70637de12 MdeModulePkg/PciBusDxe: Honor SpecificFlag for PMem64 in UpdatePciInfo
When UpdatePciInfo() downgrades a PciBarTypePMem64 BAR to a 32-bit type
via EFI_INCOMPATIBLE_PCI_DEVICE_SUPPORT_PROTOCOL, it unconditionally
assigns PciBarTypePMem32 regardless of SpecificFlag, placing the BAR in
the prefetchable bridge window even when the platform intended the
non-prefetchable window.

The ACPI resource descriptor's SpecificFlag field encodes the intended
prefetchability of the constrained resource, using the bit:
EFI_ACPI_MEMORY_RESOURCE_SPECIFIC_FLAG_CACHEABLE_PREFETCHABLE.

Fix this by checking the bit in SpecificFlag to select PciBarTypePMem32 or
PciBarTypeMem32, consistent with DumpPpbPaddingResource() in
PciEnumeratorSupport.c that uses the bit as the sole discriminator
between the two 32-bit BAR types.

Signed-off-by: Phil Noh <Phil.Noh@amd.com>
2026-07-17 09:03:00 +00:00
..
Ata MdeModulePkg: Cleanup debug print readability 2026-05-06 10:43:05 +00:00
I2c/I2cDxe MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Isa MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Pci MdeModulePkg/PciBusDxe: Honor SpecificFlag for PMem64 in UpdatePciInfo 2026-07-17 09:03:00 +00:00
Scsi MdeModulePkg,MdePkg: Send I/O without FUA if necessary 2026-05-06 08:04:12 +00:00
Sd MdeModulePkg: SdBlockIoPei: Fix uninitialized variable warnings 2026-06-24 14:49:50 +00:00
Spi MdeModulePkg: SpiNorFlashJedecSfdp: Fix uninitialized variable warnings 2026-06-24 14:49:50 +00:00
Ufs MdeModulePkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Usb MdeModulePkg/UsbBusDxe: Manufacturer String Descriptor Caching 2026-06-30 11:47:34 +00:00