xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Daniel De Graaf <dgdegra@tycho.nsa.gov>
To: fu.wei@linaro.org, xen-devel@lists.xensource.com,
	julien.grall@arm.com, sstabellini@kernel.org,
	konrad.wilk@oracle.com
Cc: jcm@redhat.com, leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org
Subject: Re: [PATCH v5] xen/arm64: check XSM Magic from the second unknown module.
Date: Fri, 8 Apr 2016 11:12:56 -0400	[thread overview]
Message-ID: <5707CA78.9040603@tycho.nsa.gov> (raw)
In-Reply-To: <1459874796-27052-1-git-send-email-fu.wei@linaro.org>

On 04/05/2016 12:46 PM, fu.wei@linaro.org wrote:
> From: Fu Wei <fu.wei@linaro.org>
>
> This patch adds a has_xsm_magic helper function for detecting XSM
> from the second unknown module.
>
> If Xen can't get the kind of module from compatible, we guess the kind of
> these unknowns respectively:
>      (1) The first unknown must be kernel.
>      (2) Detect the XSM Magic from the 2nd unknown:
>          a. If it's XSM, set the kind as XSM, and that also means we
> 	won't load ramdisk;
> 	b. if it's not XSM, set the kind as ramdisk.
> 	So if user want to load ramdisk, it must be the 2nd unknown.
> We also detect the XSM Magic for the following unknowns, then set its kind
> according to the return value of has_xsm_magic.
>
> By this way, arm64 behavior can be compatible to x86 and can simplify
> multi-arch bootloader such as GRUB.
>
> Signed-off-by: Fu Wei <fu.wei@linaro.org>

Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

      parent reply	other threads:[~2016-04-08 15:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-05 16:46 [PATCH v5] xen/arm64: check XSM Magic from the second unknown module fu.wei
2016-04-08 14:51 ` Julien Grall
2016-04-08 14:58   ` Wei Liu
2016-04-08 15:19     ` Julien Grall
2016-04-13  9:45       ` Fu Wei
2016-04-15  9:47         ` Wei Liu
2016-04-19 12:32           ` Fu Wei
2016-04-19 14:56             ` Wei Liu
2016-04-13  9:43   ` Fu Wei
2016-04-08 15:12 ` Daniel De Graaf [this message]

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=5707CA78.9040603@tycho.nsa.gov \
    --to=dgdegra@tycho.nsa.gov \
    --cc=fu.wei@linaro.org \
    --cc=jcm@redhat.com \
    --cc=julien.grall@arm.com \
    --cc=konrad.wilk@oracle.com \
    --cc=leif.lindholm@linaro.org \
    --cc=linaro-uefi@lists.linaro.org \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xensource.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).