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

Re: [Xen-devel] [PATCH v5] xen/arm64: check XSM Magic from the second unknown module.



Hi Wei,

On 08/04/16 15:58, Wei Liu wrote:
On Fri, Apr 08, 2016 at 03:51:22PM +0100, Julien Grall wrote:
Hi Fu Wei,

On 05/04/16 17:46, fu.wei@xxxxxxxxxx wrote:
From: Fu Wei <fu.wei@xxxxxxxxxx>

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.

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

Regards,


Is this targeting 4.7? Today is the last day for committing stuff. The
doc can come in later.

Yes, it's targeting 4.7. Fu Wei, can you send a follow-up for the doc?


Julien and Daniel's acks are needed here.

Acked-by: Julien Grall <julien.grall@xxxxxxx>

Regards,

--
Julien Grall

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

 


Rackspace

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