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

Re: [Xen-devel] [PATCH 2/2] efi/boot: make sure chosen mode is set even if firmware tell it is


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Igor Druzhinin <igor.druzhinin@xxxxxxxxxx>
  • Date: Fri, 4 Oct 2019 14:08:38 +0100
  • Authentication-results: esa3.hc3370-68.iphmx.com; dkim=none (message not signed) header.i=none; spf=None smtp.pra=igor.druzhinin@xxxxxxxxxx; spf=Pass smtp.mailfrom=igor.druzhinin@xxxxxxxxxx; spf=None smtp.helo=postmaster@xxxxxxxxxxxxxxx
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Fri, 04 Oct 2019 13:08:50 +0000
  • Ironport-sdr: dsSW6jMqOxvpUVJhF5OWnbhT2IO/Vp4tGh5aeqoU79X/70XleRfXtl2exjhj/q0h1Zi1m6Xzva DP11yvOo1evlCSFaj6tgI7tWZE/vSsYqgC2OY+1CtvI4OTqhSWgcIoZ75QkQLa75X7g5ULw7Fv 8dNvneLmz6hzVZaw+KkN1ptLZ9DZlHVyeHQwTYGyOkCxVGDyb7FO8Q1HKFKPNlgXpNLEJ9YfJG CZlx67MFOXVA9pQTuR9Tj/j7XnheVzi8LrEaOKqaeE2vvzHq1SXvKdhogq1ApdklrCDDhm6+iq U/Y=
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 04/10/2019 14:04, Jan Beulich wrote:
> On 04.10.2019 13:33, Igor Druzhinin wrote:
>> On 04/10/2019 11:40, Jan Beulich wrote:
>>> On 03.10.2019 15:49, Igor Druzhinin wrote:
>>>> If a bootloader is using native driver instead of EFI GOP it might
>>>> reset graphics mode to be different from what firmware thinks it
>>>> currently is. Set chosen mode unconditionally to fix this possible
>>>> misalignment.
>>>>
>>>> Observed with EFI GRUB2 compiled with all possible video drivers where
>>>> native drivers take priority over firmware.
>>>
>>> I don't think this case can happen with just plain EFI. Therefore ...
>>>
>>
>> Could you clarify what you mean by "plain EFI" here? Do you mean being
>> booted as EFI binary unlike through multiboot protocol?
> 
> Yes - like when running xen.efi from the EFI shell command line.
> 
>> I think in both
>> cases it's possible to come there through a bootloader.
> 
> Anything invoking an EFI application with a screwed up EFI
> environment is bogus. I can see how grub would violate such
> assumptions though, and how one might call this valid when
> invoking the next binary with a protocol other than what plain
> EFI provides (read: MB2 here).
> 

I'll check if it's the case and will CC Daniel if it's broken that way.

Igor

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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