• Marc Zyngier's avatar
    irqchip/gic-v3: Detect LPI invalidation MMIO registers · a837ed36
    Marc Zyngier authored
    Since GICv4.1, an implementation can offer the same MMIO-based
    implementation as DirectLPI, only with an ITS. Given that this
    can be hugely beneficial for workloads that are very LPI masking
    heavy (although these workloads are admitedly a bit odd).
    
    Interestingly, this is independent of RVPEI, which only *implies*
    the functionnality.
    
    So let's detect whether the implementation has GICR_CTLR.IR set,
    and propagate this as DirectLPI to the ITS driver.
    
    While we're at it, repaint the GICv3 banner so that we advertise
    the various capabilities at boot time to be slightly less invasive.
    Signed-off-by: default avatarMarc Zyngier <maz@kernel.org>
    Link: https://lore.kernel.org/r/20220405183857.205960-3-maz@kernel.org
    a837ed36
irq-gic-v3.c 58.6 KB