On Wed, Jan 18, 2023 at 03:20:15PM +0100, sebastien.bo...@intel.com wrote: > From: Sebastien Boeuf <sebastien.bo...@intel.com> > > The address space width isn't properly calculated when the platform is > Cloud Hypervisor. The function PlatformAddressWidthFromCpuid() must not > be invoked with the QemuQuirk boolean set to true in the Cloud > Hypervisor case. > > Relying on the host bridge identifier, we can set the QemuQuirk to the > appropriate value, which results in the address space size to be > correctly returned for Cloud Hypervisor. > > Having the correct address space width allows the code to calculate > dynamically the MMIO space available for devices in the 64-bit address > space, preventing it to fallback onto the default value (32GiB). > > Signed-off-by: Sebastien Boeuf <sebastien.bo...@intel.com>
Acked-by: Gerd Hoffmann <kra...@redhat.com> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#98870): https://edk2.groups.io/g/devel/message/98870 Mute This Topic: https://groups.io/mt/96354531/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-