archive mirror
 help / color / mirror / Atom feed
From: Mark Brown <>
To: Catalin Marinas <>, Will Deacon <>
	Marc Zyngier <>, Mark Brown <>
Subject: [PATCH] arm64: Document requirement for access to FEAT_HCX
Date: Wed, 12 May 2021 17:23:50 +0100	[thread overview]
Message-ID: <> (raw)

v8.7 of the architecture introduced FEAT_HCX which adds an additional
hypervisor configuration register HCRX_EL2. Even though Linux does not
currently make use of this feature let's document that the EL3 trap for
access to the register should be disabled so that we are able to make
use of it in future.

Signed-off-by: Mark Brown <>
 Documentation/arm64/booting.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Documentation/arm64/booting.rst b/Documentation/arm64/booting.rst
index 18b8cc1bf32c..a9192e7a231b 100644
--- a/Documentation/arm64/booting.rst
+++ b/Documentation/arm64/booting.rst
@@ -277,6 +277,12 @@ Before jumping into the kernel, the following conditions must be met:
     - SCR_EL3.FGTEn (bit 27) must be initialised to 0b1.
+  For CPUs with support for HCRX_EL2 (FEAT_HCX) present:
+  - If EL3 is present and the kernel is entered at EL2:
+    - SCR_EL3.HXEn (bit 38) must be initialised to 0b1.
   For CPUs with Advanced SIMD and floating point support:
   - If EL3 is present:

linux-arm-kernel mailing list

             reply	other threads:[~2021-05-12 16:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-12 16:23 Mark Brown [this message]
2021-05-14 11:01 ` [PATCH] arm64: Document requirement for access to FEAT_HCX Catalin Marinas
2021-05-25 18:58 ` Will Deacon

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \

* 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).