xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Fu Wei <fu.wei@linaro.org>
To: Julien Grall <julien.grall@arm.com>
Cc: xen-devel@lists.xensource.com, Jon Masters <jcm@redhat.com>,
	Leif Lindholm <leif.lindholm@linaro.org>,
	sstabellini@kernel.org,
	Linaro UEFI Mailman List <linaro-uefi@lists.linaro.org>,
	Daniel De Graaf <dgdegra@tycho.nsa.gov>
Subject: Re: [PATCH v5] xen/arm64: check XSM Magic from the second unknown module.
Date: Wed, 13 Apr 2016 17:43:47 +0800	[thread overview]
Message-ID: <CADyBb7t0hr5gkJFx+JZSUkPGq+WHd08hPi5V0t93p2SOamhTvg@mail.gmail.com> (raw)
In-Reply-To: <5707C56A.8020304@arm.com>

Hi Julien,

On 8 April 2016 at 22:51, Julien Grall <julien.grall@arm.com> wrote:
> Hi Fu Wei,
>
> On 05/04/16 17:46, 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.
>
>
> The documentation in docs/misc/arm/device-tree/booting.txt needs to be
> update.

Yes, I may forgot this part, but I will make a new doc patch.
Thanks for reminding me

>
> Otherwise, the rest of the patch looks good to me.

Great thanks for your help

>
> Regards,
>
> --
> Julien Grall



-- 
Best regards,

Fu Wei
Software Engineer
Red Hat Software (Beijing) Co.,Ltd.Shanghai Branch
Ph: +86 21 61221326(direct)
Ph: +86 186 2020 4684 (mobile)
Room 1512, Regus One Corporate Avenue,Level 15,
One Corporate Avenue,222 Hubin Road,Huangpu District,
Shanghai,China 200021

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

  parent reply	other threads:[~2016-04-13  9:43 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 [this message]
2016-04-08 15:12 ` Daniel De Graaf

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=CADyBb7t0hr5gkJFx+JZSUkPGq+WHd08hPi5V0t93p2SOamhTvg@mail.gmail.com \
    --to=fu.wei@linaro.org \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=jcm@redhat.com \
    --cc=julien.grall@arm.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).