All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@linaro.org>
To: suravee.suthikulpanit@amd.com, stefano.stabellini@eu.citrix.com
Cc: ian.campbell@citrix.com, Vijay Kilari <vijay.kilari@gmail.com>,
	Vijaya Kumar K <vijaya.kumar@caviumnetworks.com>,
	xen-devel@lists.xen.org, roy.franz@linaro.org
Subject: Re: [PATCH FOR-4.5] xen: arm: Do not enable EFI in dom0 since it is not yet supported.
Date: Mon, 13 Oct 2014 17:20:31 +0100	[thread overview]
Message-ID: <543BFBCF.8010008@linaro.org> (raw)
In-Reply-To: <1413217030-9170-1-git-send-email-suravee.suthikulpanit@amd.com>

(CC vijay)

Hi Suravee,

On 10/13/2014 05:17 PM, suravee.suthikulpanit@amd.com wrote:
> From: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
> 
> Since EFI is not yet supported in dom0, we need to remove the following
> properties from the chosen node:
> 
>   * linux,uefi-mmap-start
>   * linux,uefi-mmap-size
>   * linux,uefi-mmap-desc-size
>   * linux,uefi-mmap-desc-ver
> 
> These are added by "arch/arm/efi/efi-boot.h: fdt_add_uefi_nodes()",
> and used by dom0 kernel to enable EFI.
> 
> Cc: Julien Grall <julien.grall@linaro.org>
> Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
> Cc: Ian Campbell <ian.campbell@citrix.com>
> Cc: Roy Franz <roy.franz@linaro.org>
> Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>

Reviewed-by: Julien Grall <julien.grall@linaro.org>

Regards,

> ---
>  xen/arch/arm/domain_build.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/xen/arch/arm/domain_build.c b/xen/arch/arm/domain_build.c
> index 90abc3a..f1d0d20 100644
> --- a/xen/arch/arm/domain_build.c
> +++ b/xen/arch/arm/domain_build.c
> @@ -423,12 +423,21 @@ static int write_properties(struct domain *d, struct kernel_info *kinfo,
>           *   bootargs (from module #1, above).
>           * * remove bootargs,  xen,dom0-bootargs, xen,xen-bootargs,
>           *   linux,initrd-start and linux,initrd-end.
> +         * * remove bootargs, linux,uefi-system-table,
> +         *   linux,uefi-mmap-start, linux,uefi-mmap-size,
> +         *   linux,uefi-mmap-desc-size, and linux,uefi-mmap-desc-ver
> +         *   (since EFI boot is not currently supported in dom0).
>           */
>          if ( dt_node_path_is_equal(node, "/chosen") )
>          {
>              if ( dt_property_name_is_equal(prop, "xen,xen-bootargs") ||
>                   dt_property_name_is_equal(prop, "linux,initrd-start") ||
> -                 dt_property_name_is_equal(prop, "linux,initrd-end") )
> +                 dt_property_name_is_equal(prop, "linux,initrd-end") ||
> +                 dt_property_name_is_equal(prop, "linux,uefi-system-table") ||
> +                 dt_property_name_is_equal(prop, "linux,uefi-mmap-start") ||
> +                 dt_property_name_is_equal(prop, "linux,uefi-mmap-size") ||
> +                 dt_property_name_is_equal(prop, "linux,uefi-mmap-desc-size") ||
> +                 dt_property_name_is_equal(prop, "linux,uefi-mmap-desc-ver"))
>                  continue;
>  
>              if ( dt_property_name_is_equal(prop, "xen,dom0-bootargs") )
> 

-- 
Julien Grall

  reply	other threads:[~2014-10-13 16:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-13 16:17 [PATCH FOR-4.5] xen: arm: Do not enable EFI in dom0 since it is not yet supported suravee.suthikulpanit
2014-10-13 16:20 ` Julien Grall [this message]
2014-10-13 19:37   ` Roy Franz
2014-10-14  7:21     ` Ian Campbell
2014-10-14  9:59       ` Ian Campbell
2014-10-14 12:28       ` Julien Grall
2014-10-14 12:49         ` Ian Campbell
2014-10-14 12:58           ` Julien Grall
2014-10-14 13:07             ` Ian Campbell
2014-10-14 13:18               ` Julien Grall
2014-10-14 13:47                 ` Ian Campbell
2014-10-14 14:02                   ` Julien Grall
2014-10-14 14:51                     ` Ian Campbell
2014-10-14 15:00                       ` Julien Grall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=543BFBCF.8010008@linaro.org \
    --to=julien.grall@linaro.org \
    --cc=ian.campbell@citrix.com \
    --cc=roy.franz@linaro.org \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=vijay.kilari@gmail.com \
    --cc=vijaya.kumar@caviumnetworks.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.