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

RE: [PATCH v2 02/40] xen/arm: make ARM_EFI selectable for Arm64


  • To: Julien Grall <julien@xxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Wei Chen <Wei.Chen@xxxxxxx>
  • Date: Wed, 18 Jan 2023 02:19:36 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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=Oez922NGKhif7LclDvt12UEBh5S2BpR2MihgPORW6d8=; b=UXpMMy0Tn9mYddJiY25zKT/ibopeF/lGnyldUas7VAl7TppDYtLZNbEovSsL92o5fG+Y8uCEvpUoHyUoWSc7EjgDy+MysAPEOZuWJlegarR67h90UoZkUWUkrRrT86op8LkjkdQ4gjJE7iOlAiVQs/gtcS31ZLWhD42anmnWfZC5xrrmtQgLqSF5sS4x2TpdqNAM1+CrwrCPPwU306nacqL4tuplWyLP665CtiqYkJM6v+ioBcJCaOuSeBgOylO6aF+99x5gMHiGYGhPL61BdonADPPudSjeGwQznYMFEy/6DQoKRtnjw6emQtOYl+MDeBqulhT5ozg7RWVW5knExQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ADwQwErAostf2NbndIlgxS78BBk1xcks5a8UeUQ7/jriOVr0fjGgKGA61pDQPFRINIH18NGy2fO2enZgaFvxrXEN8m6gOUcW/eNIZCJCOBECNuc4RYj+Y5+n6FMdSbCXNgj2FkiCpNmQyKvBFscZ5ZrEkUQaErDzRGsh/eqzRGkYfA4iNqJ7Y0C/4rPI1D7C7r5r30CFNwleHZYUymwT4VCW8a+2TYfzZj8l1cfW7oByDhsSSLSpAvt56ZkTYIGNGdN8yiEaDCbiVJXW6PUQkXqArbg8isFFiH+Ql6RlJ/fu1mYVJOSW3h8yEbmt5m+kPbpQl2wv7zwJFx/NRnAHDg==
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Wed, 18 Jan 2023 02:20:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
  • Thread-index: AQHZJxAWjxT6rj1UKU+x1t/kdJ20K66jQz0AgAA1JWA=
  • Thread-topic: [PATCH v2 02/40] xen/arm: make ARM_EFI selectable for Arm64

Hi Julien,

> -----Original Message-----
> From: Julien Grall <julien@xxxxxxx>
> Sent: 2023年1月18日 7:09
> To: Penny Zheng <Penny.Zheng@xxxxxxx>; xen-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Wei Chen <Wei.Chen@xxxxxxx>; Stefano Stabellini
> <sstabellini@xxxxxxxxxx>; Bertrand Marquis <Bertrand.Marquis@xxxxxxx>;
> Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
> Subject: Re: [PATCH v2 02/40] xen/arm: make ARM_EFI selectable for Arm64
> 
> Hi Penny,
> 
> On 13/01/2023 05:28, Penny Zheng wrote:
> > From: Wei Chen <wei.chen@xxxxxxx>
> >
> > Currently, ARM_EFI will mandatorily selected by Arm64.
> > Even if the user knows for sure that their images will not
> > start in the EFI environment, they can't disable the EFI
> > support for Arm64. This means there will be about 3K lines
> > unused code in their images.
> >
> > So in this patch, we make ARM_EFI selectable for Arm64, and
> > based on that, we can use CONFIG_ARM_EFI to gate the EFI
> > specific code in head.S for those images that will not be
> > booted in EFI environment.
> >
> > Signed-off-by: Wei Chen <wei.chen@xxxxxxx>
> 
> Your signed-off-by is missing.
> 
> > ---
> > v1 -> v2:
> > 1. New patch
> > ---
> >   xen/arch/arm/Kconfig      | 10 ++++++++--
> >   xen/arch/arm/arm64/head.S | 15 +++++++++++++--
> >   2 files changed, 21 insertions(+), 4 deletions(-)
> >
> > diff --git a/xen/arch/arm/Kconfig b/xen/arch/arm/Kconfig
> > index 239d3aed3c..ace7178c9a 100644
> > --- a/xen/arch/arm/Kconfig
> > +++ b/xen/arch/arm/Kconfig
> > @@ -7,7 +7,6 @@ config ARM_64
> >     def_bool y
> >     depends on !ARM_32
> >     select 64BIT
> > -   select ARM_EFI
> >     select HAS_FAST_MULTIPLY
> >
> >   config ARM
> > @@ -37,7 +36,14 @@ config ACPI
> >       an alternative to device tree on ARM64.
> >
> >   config ARM_EFI
> > -   bool
> > +   bool "UEFI boot service support"
> > +   depends on ARM_64
> > +   default y
> > +   help
> > +     This option provides support for boot services through
> > +     UEFI firmware. A UEFI stub is provided to allow Xen to
> > +     be booted as an EFI application. This is only useful for
> > +     Xen that may run on systems that have UEFI firmware.
> 
> I would drop the last sentence as this is implied with the rest of the
> paragraph.
> 

Ok.

Cheers,
Wei Chen

> Cheers,
> 
> --
> Julien Grall

 


Rackspace

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