[edk2-devel] [PATCH] OvmfPkg: Report proper address space width for Cloud Hypervisor
Gerd Hoffmann
kraxel at redhat.com
Thu Jan 19 07:54:00 UTC 2023
On Wed, Jan 18, 2023 at 03:20:15PM +0100, sebastien.boeuf at intel.com wrote:
> From: Sebastien Boeuf <sebastien.boeuf at 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.boeuf at intel.com>
Acked-by: Gerd Hoffmann <kraxel at 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/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list