summaryrefslogtreecommitdiffstats
path: root/Documentation/arm64
diff options
context:
space:
mode:
authorJulien Thierry <julien.thierry@arm.com>2019-01-31 09:58:57 -0500
committerCatalin Marinas <catalin.marinas@arm.com>2019-02-06 05:05:21 -0500
commitd98d0a990ca1446d3c0ca8f0b9ac127a66e40cdf (patch)
tree8192b29016e657d8473494f135e150c8370c779b /Documentation/arm64
parentb334481ab76b2a9031aef5393b07de6d21a08244 (diff)
irqchip/gic-v3: Detect if GIC can support pseudo-NMIs
The values non secure EL1 needs to use for PMR and RPR registers depends on the value of SCR_EL3.FIQ. The values non secure EL1 sees from the distributor and redistributor depend on whether security is enabled for the GIC or not. To avoid having to deal with two sets of values for PMR masking/unmasking, only enable pseudo-NMIs when GIC has non-secure view of priorities. Also, add firmware requirements related to SCR_EL3. Signed-off-by: Julien Thierry <julien.thierry@arm.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Cc: Will Deacon <will.deacon@arm.com> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Jason Cooper <jason@lakedaemon.net> Cc: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'Documentation/arm64')
-rw-r--r--Documentation/arm64/booting.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/arm64/booting.txt b/Documentation/arm64/booting.txt
index 8df9f4658d6f..fbab7e21d116 100644
--- a/Documentation/arm64/booting.txt
+++ b/Documentation/arm64/booting.txt
@@ -188,6 +188,11 @@ Before jumping into the kernel, the following conditions must be met:
188 the kernel image will be entered must be initialised by software at a 188 the kernel image will be entered must be initialised by software at a
189 higher exception level to prevent execution in an UNKNOWN state. 189 higher exception level to prevent execution in an UNKNOWN state.
190 190
191 - SCR_EL3.FIQ must have the same value across all CPUs the kernel is
192 executing on.
193 - The value of SCR_EL3.FIQ must be the same as the one present at boot
194 time whenever the kernel is executing.
195
191 For systems with a GICv3 interrupt controller to be used in v3 mode: 196 For systems with a GICv3 interrupt controller to be used in v3 mode:
192 - If EL3 is present: 197 - If EL3 is present:
193 ICC_SRE_EL3.Enable (bit 3) must be initialiased to 0b1. 198 ICC_SRE_EL3.Enable (bit 3) must be initialiased to 0b1.