[edk2-devel] [PATCH V8 19/47] OvmfPkg/PlatformPei: Refactor MiscInitialization

Gerd Hoffmann kraxel at redhat.com
Tue Mar 15 07:59:19 UTC 2022


On Sat, Mar 12, 2022 at 09:53:44AM +0800, Min Xu wrote:
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3863
> 
> In MiscInitialization Microvm looks a little weird. Other platforms
> call PcdSet16S to set the PcdOvmfHostBridgePciDevId with the value same
> as PlatformInfoHob->HostBridgeDevId. But Microvm doesn't follow this
> way. In switch-case 0xffff is Microvm, but set with
> MICROVM_PSEUDO_DEVICE_ID. So we have to add a new function
> ( MiscInitializationForMicrovm ) for Microvm and delete the code in
> MiscInitialization.
> 
> Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
> Cc: Jordan Justen <jordan.l.justen at intel.com>
> Cc: Brijesh Singh <brijesh.singh at amd.com>
> Cc: Erdem Aktas <erdemaktas at google.com>
> Cc: James Bottomley <jejb at linux.ibm.com>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Tom Lendacky <thomas.lendacky at amd.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Sebastien Boeuf <sebastien.boeuf at intel.com>
> Signed-off-by: Min Xu <min.m.xu 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 (#87575): https://edk2.groups.io/g/devel/message/87575
Mute This Topic: https://groups.io/mt/89725412/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