]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3: Detect if GIC can support pseudo-NMIs
authorJulien Thierry <julien.thierry@arm.com>
Thu, 31 Jan 2019 14:58:57 +0000 (14:58 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 6 Feb 2019 10:05:21 +0000 (10:05 +0000)
commit0666aef2036467dbfea91dc73fc29d3f9656d2a0
tree8192b29016e657d8473494f135e150c8370c779b
parentc25432fe5f40687c73ef6b52a9864a3076963d99
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>
Documentation/arm64/booting.txt
drivers/irqchip/irq-gic-v3.c