Skip to contentSkip to conversation

xen: arm: doc: Add firmware requirements

PATCH In review Dirk Behme 2 participants 2 messages Apr 25, 2016 – Apr 26, 2016

lore
Share & tools
lore

Dirk Behme

author
#0 lore raw

PATCH v3 1/1 xen: arm: doc: Add firmware requirements

From: Dirk Behme <[email protected]>

Add a section about what the firmware should do in EL3 before starting Xen.

E.g guest will use HVC instruction to issue hypercall. As this can be set only at EL3, i.e. outside Xen, document this boot requirement.

---
 docs/misc/arm/booting.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)
docs/misc/arm/booting.txt +11 -0
index 9802e5e..c7c1d7e 100644
@@ -23,6 +23,17 @@ The exceptions to this on 32-bit ARM are as follows:
 
 There are no exception on 64-bit ARM.
 
+
+Firmware/bootloader requirements
+--------------------------------
+
+Xen relies on some settings the firmware has to configure in EL3 before starting Xen.
+
+* Xen must be entered in NS EL2 mode
+
+* The bit SCR_EL3.HCR (resp. SCR.HCE for 32-bit ARM) must be set to 1.
+
+
 [1] linux/Documentation/arm/Booting
 Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/Booting
 
Signature · 7 lines
2.8.1


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Reviewed-by on v3 1/1
#1 lore raw
Quoted 8 lines · Dirk Behme

From: Dirk Behme <[email protected]>

Add a section about what the firmware should do in EL3 before starting Xen.

E.g guest will use HVC instruction to issue hypercall. As this can be set only at EL3, i.e. outside Xen, document this boot requirement.

Added to me queue

Quoted 28 lines
 docs/misc/arm/booting.txt | 11 +++++++++++
 1 file changed, 11 insertions(+)
docs/misc/arm/booting.txt +11 -0
index 9802e5e..c7c1d7e 100644
@@ -23,6 +23,17 @@ The exceptions to this on 32-bit ARM are as follows:
 
 There are no exception on 64-bit ARM.
 
+
+Firmware/bootloader requirements
+--------------------------------
+
+Xen relies on some settings the firmware has to configure in EL3 before starting Xen.
+
+* Xen must be entered in NS EL2 mode
+
+* The bit SCR_EL3.HCR (resp. SCR.HCE for 32-bit ARM) must be set to 1.
+
+
 [1] linux/Documentation/arm/Booting
 Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/Booting
 
Signature · 1 line
2.8.1

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel