All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] docs/arm64: update the documention for loading XSM support
@ 2016-04-21 11:07 fu.wei
  2016-04-21 11:40 ` Jan Beulich
  2016-04-22 16:40 ` Julien Grall
  0 siblings, 2 replies; 23+ messages in thread
From: fu.wei @ 2016-04-21 11:07 UTC (permalink / raw)
  To: xen-devel, julien.grall, sstabellini, dgdegra, konrad.wilk,
	ian.jackson, jbeulich, keir, tim, xen-devel
  Cc: jcm, Fu Wei, leif.lindholm, linaro-uefi

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

This patch updates the documentation for allowing detection of an XSM
module that lacks a specific compatible string.
This mechanism has been added by the commit
ca32012341f3de7d3975407fb963e6028f0d0c8b.

Signed-off-by: Fu Wei <fu.wei@linaro.org>
---
v2: Improve the doc, according to the suggestion from Julien Grall.

v1: http://lists.xen.org/archives/html/xen-devel/2016-04/msg02070.html
    The first upstream version submitted in xen-devel mailing list.

 docs/misc/arm/device-tree/booting.txt | 22 ++++++++++++++++++----
 1 file changed, 18 insertions(+), 4 deletions(-)

diff --git a/docs/misc/arm/device-tree/booting.txt b/docs/misc/arm/device-tree/booting.txt
index ad98bf3..254ba77 100644
--- a/docs/misc/arm/device-tree/booting.txt
+++ b/docs/misc/arm/device-tree/booting.txt
@@ -24,10 +24,24 @@ 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 check all the modules for the XSM Magic from the second
+	module that lacks a specific compatible string. According to the
+	result of the detection:
+	- if it's a XSM, Xen will assume its compatible string is a
+	  "xen,xsm-policy";
+	- if it's not a XSM, for the second module that lacks a specific
+	  compatible string, Xen will assume its compatible string is a
+	  "multiboot,ramdisk"; for the third and subsequent modules those
+	  lacks a specific compatible string will not receive any special
+	  treatment.
+	This means if the ramdisk module is present and does not have the
+	compatible string "multiboot,ramdisk", then it must always be the
+	second module.
+	Note: This XSM Magic detection behavior was introduced by Xen 4.7.
+	Xen 4.6 (and downwards) still requires the XSM module to have the
+	compatible string "xen,xsm-policy".
 
 	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

^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2016-04-26 14:03 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 11:07 [PATCH v2] docs/arm64: update the documention for loading XSM support fu.wei
2016-04-21 11:40 ` Jan Beulich
2016-04-26 14:00   ` Fu Wei
2016-04-22 16:40 ` Julien Grall
2016-04-22 16:41   ` Julien Grall
2016-04-22 16:43   ` Wei Liu
2016-04-22 17:28     ` Stefano Stabellini
2016-04-22 17:37       ` Ian Jackson
2016-04-22 17:29   ` [PATCH v3] " Ian Jackson
2016-04-22 17:37     ` Konrad Rzeszutek Wilk
2016-04-25  9:42     ` Julien Grall
2016-04-25 15:12       ` Ian Jackson
2016-04-25 15:25         ` Stefano Stabellini
2016-04-25 15:35           ` [PATCH] docs/arm64: clarify " Ian Jackson
2016-04-25 16:16             ` Julien Grall
2016-04-25 16:35               ` Ian Jackson
2016-04-25 16:38                 ` [PATCH v2] " Ian Jackson
2016-04-25 16:45                   ` Julien Grall
2016-04-25 16:49                     ` Wei Liu
2016-04-26  9:47             ` [PATCH] " Stefano Stabellini
2016-04-26  9:56               ` Wei Liu
2016-04-26  9:57                 ` Stefano Stabellini
2016-04-26 14:03           ` [PATCH v3] docs/arm64: update " Fu Wei

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.