• Julien Thierry's avatar
    irqchip/gic-v3: Detect if GIC can support pseudo-NMIs · d98d0a99
    Julien Thierry authored
    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: default avatarJulien Thierry <julien.thierry@arm.com>
    Acked-by: default avatarMarc 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: default avatarCatalin Marinas <catalin.marinas@arm.com>
    d98d0a99
irq-gic-v3.c 42.4 KB