All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dirk Behme <dirk.behme@de.bosch.com>
To: xen-devel@lists.xen.org
Cc: Dirk Behme <dirk.behme@de.bosch.com>,
	julien.grall@arm.com, sstabellini@kernel.org,
	Ian.Jackson@eu.citrix.com, JBeulich@suse.com
Subject: [PATCH v2] xen: arm: doc: Add firmware requirements
Date: Fri, 22 Apr 2016 08:15:29 +0200	[thread overview]
Message-ID: <1461305729-12459-1-git-send-email-dirk.behme@de.bosch.com> (raw)

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

E.g. on ARM Linux the HVC instruction is used to trap into Xen. As this
can be set only at EL3, i.e. outside from Xen, document this boot requirement.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
---
 docs/misc/arm/booting.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/docs/misc/arm/booting.txt b/docs/misc/arm/booting.txt
index 9802e5e..b0ff305 100644
--- a/docs/misc/arm/booting.txt
+++ b/docs/misc/arm/booting.txt
@@ -23,6 +23,21 @@ 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 do in EL3 before starting
+Xen.
+
+* EL2: Xen must be entered in NS EL2 mode
+
+* HCE: It has to be ensured that the Secure Configuration Register
+       has the HVC instructions enabled at EL1 and above
+       ARM32: SCR.HCE == 1
+       ARM64: SCR_EL3.HCE == 1
+
+
 [1] linux/Documentation/arm/Booting
 Latest version: http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arm/Booting
 
-- 
2.8.0


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

             reply	other threads:[~2016-04-22  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  6:15 Dirk Behme [this message]
2016-04-22 16:57 ` [PATCH v2] xen: arm: doc: Add firmware requirements Julien Grall

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=1461305729-12459-1-git-send-email-dirk.behme@de.bosch.com \
    --to=dirk.behme@de.bosch.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=JBeulich@suse.com \
    --cc=julien.grall@arm.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xen.org \
    /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 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.