OSDN Git Service

arm64: Document ICC_CTLR_EL3.PMHE setting requirements
authorMarc Zyngier <maz@kernel.org>
Wed, 2 Oct 2019 09:06:13 +0000 (10:06 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 15 Oct 2019 11:26:15 +0000 (12:26 +0100)
It goes without saying, but better saying it: the kernel expects
ICC_CTLR_EL3.PMHE to have the same value across all CPUs, and
for that setting not to change during the lifetime of the kernel.

Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Documentation/arm64/booting.rst

index d3f3a60..5d78a6f 100644 (file)
@@ -213,6 +213,9 @@ Before jumping into the kernel, the following conditions must be met:
 
       - ICC_SRE_EL3.Enable (bit 3) must be initialiased to 0b1.
       - ICC_SRE_EL3.SRE (bit 0) must be initialised to 0b1.
+      - ICC_CTLR_EL3.PMHE (bit 6) must be set to the same value across
+        all CPUs the kernel is executing on, and must stay constant
+        for the lifetime of the kernel.
 
   - If the kernel is entered at EL1: