xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: fu.wei@linaro.org
To: xen-devel@lists.xensource.com, julien.grall@arm.com,
	sstabellini@kernel.org, dgdegra@tycho.nsa.gov,
	konrad.wilk@oracle.com, ian.jackson@eu.citrix.com,
	jbeulich@suse.com, keir@xen.org, tim@xen.org,
	xen-devel@lists.xen.org
Cc: jcm@redhat.com, Fu Wei <fu.wei@linaro.org>,
	leif.lindholm@linaro.org, linaro-uefi@lists.linaro.org
Subject: [PATCH] docs/arm64: update the documention for loading XSM support
Date: Fri, 15 Apr 2016 01:06:05 +0800	[thread overview]
Message-ID: <1460653565-17759-1-git-send-email-fu.wei@linaro.org> (raw)

From: Fu Wei <fu.wei@linaro.org>

This patch updates the documention for loading XSM by the module which
lacks a specific compatible string. This mechanism has been added by the
commit ca32012341f3de7d3975407fb963e6028f0d0c8b

Signed-off-by: Fu Wei <fu.wei@linaro.org>
---
 docs/misc/arm/device-tree/booting.txt | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/docs/misc/arm/device-tree/booting.txt b/docs/misc/arm/device-tree/booting.txt
index ad98bf3..f45a9c4 100644
--- a/docs/misc/arm/device-tree/booting.txt
+++ b/docs/misc/arm/device-tree/booting.txt
@@ -24,10 +24,19 @@ Each node contains the following properties:
 	string (which must always be present).
 
 	Xen will assume that the first module which lacks a more
-	specific compatible string is a "multiboot,kernel" and that
-	the second such is a "multiboot,ramdisk". Any subsequent
-	modules which lack a specific compatiblity string will not
-	receive any special treatment.
+	specific compatible string is a "multiboot,kernel". Xen will
+	detect the XSM magic from the second module which lacks of
+	a specific compatiblity string:
+	- if it's XSM, Xen will assume that the second such is a
+	"xen,xsm-policy". and also assume user won't load ramdisk;
+	- if it's not XSM, Xen will assume that the second such is a
+	"multiboot,ramdisk".
+	So if user want to load ramdisk without a specific compatiblity,
+	it must	be the 2nd one.
+	Xen will also detect the XSM Magic for the following modules
+	which lack of a specific compatiblity, and assume that the module
+	is a "xen,xsm-policy" or "multiboot,module", according to the
+	result of detection.
 
 	Xen 4.4 supported a different set of legacy compatible strings
 	which remain supported such that systems supporting both 4.4
-- 
2.5.5


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

             reply	other threads:[~2016-04-14 17:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14 17:06 fu.wei [this message]
2016-04-20 11:27 ` [PATCH] docs/arm64: update the documention for loading XSM support Julien Grall
2016-04-21 11:16   ` Fu Wei

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=1460653565-17759-1-git-send-email-fu.wei@linaro.org \
    --to=fu.wei@linaro.org \
    --cc=dgdegra@tycho.nsa.gov \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=jcm@redhat.com \
    --cc=julien.grall@arm.com \
    --cc=keir@xen.org \
    --cc=konrad.wilk@oracle.com \
    --cc=leif.lindholm@linaro.org \
    --cc=linaro-uefi@lists.linaro.org \
    --cc=sstabellini@kernel.org \
    --cc=tim@xen.org \
    --cc=xen-devel@lists.xen.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).