[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH RFC 1/3] xen/efi: Always query the console information and get GOP


  • To: Julien Grall <julien@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Tue, 8 Feb 2022 11:22:31 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9zMbSiFz8/dLVrBO6IvGWf/x28O2Ku99pcxAmJHLaMY=; b=VM+YgIg29C3FmUCvl/UqaWA4fYSwwU9AFw/Uy9LNXYOEZC5GM4/v/n/powX7Noe9bEyw2ojsbFga9AqXAHct/H+SI4nQpVqPKjWDII8MD7Iz6Fz4kUH1EhhuMoz2TRIfXS9dxPtjOBTpKNWWrUpzEZR00a/8VW4HzIXJ8pCmrdUy/LAReC+GrqBCKk7cNcX51clOpg7tR179gRIxLoGQeW5yAKfFL0wLsuSDWp3ZlS6KVcA0+BCVf8AAJ99Dqay2l9bTxHFeqMypCE55DacOYuyI6b28szouXT5vmLEsG5wMv7r5Fg90XGekHJ8Y4ERHc3W4j0CVCs9yhtw7c801Mg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oXevsg5vNEJP7l+HBhu0bUzSO1+IEx9Y/0d7X3KrI7gIF2YatvpEWYrK7I2sVDIL1VuWqJ51E2maRYTN2dEKdjQeclPT5tD6lYzev2dHubp8LFkl4u1u92NlPCPPbCoCwqC1F/U562dxtqrbCjTZGhM5rHEeEz9wQzH15ezy3PSsPkfS2ARIRxew50zvttGWPJk7qeel2VO+GDFZKU3Erq+jLK+1bQGKogkQlJulHrEqoj3PbsbmcU0nMiGFzeddKrFs9dRw8u//CjjfGSgrqLHWVmq6uP0RjGyKU5BhdyG+fjN1D+tlTLrPLMkYDTr07YJkhVQPacTfpYiOCMrtDQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: ehem+xen@xxxxxxx, Julien Grall <jgrall@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Daniel Kiper <daniel.kiper@xxxxxxxxxx>
  • Delivery-date: Tue, 08 Feb 2022 10:22:43 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 07.02.2022 19:52, Julien Grall wrote:
> On 07/02/2022 08:46, Jan Beulich wrote:
>> On 06.02.2022 20:28, Julien Grall wrote:
>>> It is not entirely clear to me why the GOP was only fetched when
>>> the configuration file is used.
>>>
>>> I have tested this on RPI4 and it seems to work. Any chance this
>>> was done to workaround an x86 platform?
>>
>> This was done so in the context of making the code work for Arm. See
>> commit c38cf865ec82 ("EFI: ignore EFI commandline, skip console setup
>> when booted from GRUB"), the description of which explicitly says
>>
>> "Don't do EFI console or video configuration when booted by GRUB.  The EFI 
>> boot
>>   code does some console and video initialization to support native EFI boot 
>> from
>>   the EFI boot manager or EFI shell.  This initlization should not be done 
>> when
>>   booted using GRUB."
> 
> I read that and still couldn't figure out why this was done like that.
> 
>>
>> What you say now is effectively the opposite (and unlike back then
>> x86 is now able to use this code path as well, so needs considering
>> too). Cc-ing Daniel for possibly having a GrUB-side opinion.
> 
> I am quite interested to know the answer. Linux is able to use the EFI 
> framebuffer when booting via GRUB. So I am a bit puzzled why we are 
> preventing this setup on dom0/Xen.

To be honest - same here.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.