[edk2-devel] [PATCH v3] OvmfPkg: Call PlatformInitializeConsole for GPU passthrough case

Ard Biesheuvel ardb at kernel.org
Fri Dec 17 21:31:26 UTC 2021


On Fri, 17 Dec 2021 at 20:21, Shivanshu Goyal <shivanshu3 at gmail.com> wrote:
>
> Hi,
>
> I'm asking on behalf of Arch Linux maintainers: are you planning on creating a new release with this patch, or should we apply this patch ourselves until a new version is released?
>

Tianocore doesn't do releases, there are only periodic 'stable tags'
in the repo, and one such tag was created just a week ago.

So if Arch Linux needs this change, it's better to carry it locally
for the time being.


>
> On Fri, Dec 17, 2021, 9:37 AM Ard Biesheuvel <ardb at kernel.org> wrote:
>>
>> On Fri, 17 Dec 2021 at 06:52, Gerd Hoffmann <kraxel at redhat.com> wrote:
>> >
>> > On Thu, Dec 16, 2021 at 09:41:40PM -0500, Stefan Berger wrote:
>> > > For GPU passthrough support we have to initialize the console after
>> > > EfiBootManagerDispatchDeferredImages() has loaded ROMs, so call it after
>> > > this. This was the calling order before the TCG physical presence support
>> > > had to be moved and the console initialized earlier so user interaction
>> > > could be supported before processing TCG physical presence opcodes.
>> > >
>> > > Fixes: b8675deaa819631db2667df63f89799fe65fc906
>> > > Fixes: https://bugzilla.tianocore.org/show_bug.cgi?id=3771
>> > > Cc: Ard Biesheuvel <ardb+tianocore at kernel.org>
>> > > Cc: Jiewen Yao <jiewen.yao at intel.com>
>> > > Cc: Jordan Justen <jordan.l.justen at intel.com>
>> > > Cc: Gerd Hoffmann <kraxel at redhat.com>
>> > > Signed-off-by: Stefan Berger <stefanb at linux.ibm.com>
>> > > Tested-by: Shivanshu Goyal <shivanshu3 at gmail.com>
>> >
>> > > +  //
>> > > +  // GPU passthrough only allows Console enablement after ROM image load
>> > > +  //
>> > > +  PlatformInitializeConsole (gPlatformConsole);
>> >
>> > Ah, fixed already.
>> >
>> > Acked-by: Gerd Hoffmann <kraxel at redhat.com>
>> >
>> > take care,
>> >   Gerd
>> >
>>
>> Merged as #2325
>>
>> Thanks all,


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85087): https://edk2.groups.io/g/devel/message/85087
Mute This Topic: https://groups.io/mt/87782159/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