diff --git a/ArmPlatformPkg/ArmVirtualizationPkg/PciHostBridgeDxe/PciHostBridge.c b/ArmPlatformPkg/ArmVirtualizationPkg/PciHostBridgeDxe/PciHostBridge.c index 17d4db85be..78c12d0009 100644 --- a/ArmPlatformPkg/ArmVirtualizationPkg/PciHostBridgeDxe/PciHostBridge.c +++ b/ArmPlatformPkg/ArmVirtualizationPkg/PciHostBridgeDxe/PciHostBridge.c @@ -389,8 +389,9 @@ NotifyPhase( BitsOfAlignment = 0; } + BaseAddress = mResAperture[0][0].IoLimit; Status = gDS->AllocateIoSpace ( - EfiGcdAllocateAnySearchBottomUp, + EfiGcdAllocateMaxAddressSearchTopDown, EfiGcdIoTypeIo, BitsOfAlignment, AddrLen,