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

[PATCH 0/5] gfx: improvements when using multiboot2 and EFI + misc


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Date: Wed, 23 Nov 2022 16:45:19 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; 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=mwYQDu3FJbnU9eijKndbLoQ5ZKpllZUTITw+E3o7oOw=; b=Xk1JdxCRvQMJyFy6dN1wo4j+vC7fB4a6fCPMLd0dUgohYMOZMkOFenO2s69xbHbZ8LkxrYJzwI+eHmJ16gIU6b3kgNBvGtNw2UpETrxUsnhRT+4o1GrHGmS9NUD+lPnnuT6AMinFGO7vs24wjhXqgEF+OlfNppxukvzR9F8huGGP9jku+yKF55Oh9lOJ9AKxBw/ASYNTVBMMaezjTt4+5UZ5UsJ+vWkcDncfdwR9o5Z9QKfV5BZoUSo+FC7BjTfGqjFXSu+mYCPPPvoJWJaJCeWHX287lWBkuhyqEcjfVkASqnksXAkZ/mVB2SaTDEwZ32yML79sPBIWudxJooadOQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UjIk0tmSeRXSatK5fMqgL47WaOimVIEXCSpdaQtjprQQgCqd8ODDHpsBwGAvwKeXor0UTfn5Bc+E521dCOqC31b9uYUYiUKI3A93JENSkXFLPtFq7rntnxPi/MrmQMWnp8KkbCw8UFrneLjTxQhTRS4KEhAoPLDa6+2jYSTY04jyy44uQzFacv76CVVX9MbLdYD8Zm2AWn3s3EQcZHejYtmL9ZOIEYuL+C1higAtN7zuE1Oi5ZFEr6V5xZv8JTox1MDtJR+aM7BC9Z9KbGqNU3hm8TPAvE7S/DVkUGA5sZwx6zZsanEMpqd1lBv0Dzp4XZRBxo3n69KPnen0gMd3ow==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
  • Cc: marmarek@xxxxxxxxxxxxxxxxxxxxxx, Roger Pau Monne <roger.pau@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>
  • Delivery-date: Wed, 23 Nov 2022 15:45:59 +0000
  • Ironport-data: A9a23:4Q6ElKkn8aPlJog3pXhkd/bo5gxuJ0RdPkR7XQ2eYbSJt1+Wr1Gzt xIdUDyBMq2MMTamKdgnb9yxpxlQ75GGmN4wTlc+q38xRSMWpZLJC+rCIxarNUt+DCFhoGFPt JxCN4aafKjYaleG+39B55C49SEUOZmgH+a6U6icf3grHmeIcQ954Tp7gek1n4V0ttawBgKJq LvartbWfVSowFaYCEpNg064gE4p7aqaVA8w5ARkP6kS5gSGzRH5MbpETU2PByqgKmVrNrbSq 9brlNmR4m7f9hExPdKp+p6TnpoiG+O60aCm0xK6aoD66vRwjnVaPpUTbZLwXXx/mTSR9+2d/ f0W3XCGpaXFCYWX8AgVe0Ew/yiTpsSq8pefSZS0mZT7I0Er7xIAahihZa07FdRwxwp5PY1B3 d1IbzAqZwCivKWv6pORQ8s2l5kHdvC+aevzulk4pd3YJdAPZMmZBoD1v5pf1jp2gd1SF/HDY cZfcSBocBnLfxxIPBEQFY46m+CrwHL4dlW0qnrM/fZxvzeVklI3jOaF3Nn9I7RmQe1PmUmVv CTe9nnRCRAGLt2PjzGC9xpAg8efwnKlBttIRdVU8NZWn2WL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xqJJW9o5XyNZ3AAEwhqbOQl/vAGZnmpnuXnbqXXi82zSoejGFOqK0duZl/C
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

Hello,

The following series contains some fixes and improvements related to
graphics usage when booting Xen.

First patch introduces a new platform hypercall to pass the graphics
console information and mode to a PVH dom0, which doesn't have this
information available as part of the start_info contents.

Further patches fix some shortcomings when using multiboot2, mostly the
ignoring of the console=vga (or lack of) and the vga=gfx- parameters.
It also switches default Xen behaviour from trying to reuse the
currently set GOP mode instead of attempting to set the maximum
supported resolution.

Marek: after this series using console= without the vga option should
result in Xen not attempting to touch the selected GOP mode and the
screen not getting cleared.

Thanks, Roger.

Roger Pau Monne (5):
  x86/platform: introduce hypercall to get initial video console
    settings
  efi: only set a console mode if the current one is invalid
  efi: try to use the currently set GOP mode
  multiboot2: parse console= option when setting GOP mode
  multiboot2: parse vga= option when setting GOP mode

 xen/arch/x86/boot/head.S          | 15 ++++++++--
 xen/arch/x86/efi/efi-boot.h       | 48 +++++++++++++++++++++++++++++--
 xen/arch/x86/platform_hypercall.c | 11 +++++++
 xen/arch/x86/x86_64/asm-offsets.c |  1 +
 xen/common/efi/boot.c             | 25 ++++++++++++++++
 xen/drivers/video/vga.c           |  2 +-
 xen/include/public/platform.h     |  6 ++++
 7 files changed, 103 insertions(+), 5 deletions(-)

-- 
2.37.3




 


Rackspace

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