[PATCH v4 3/5] irqchip/gic: Restore CPU interface checking

Catalin Marinas catalin.marinas at arm.com
Fri Apr 22 06:33:56 PDT 2016


On Fri, Apr 22, 2016 at 12:25:33PM +0100, Suzuki K. Poulose wrote:
> From: Marc Zyngier <marc.zyngier at arm.com>
> 
> When introducing the whole CPU feature detection framework,
> we lost the capability to detect a mismatched GIC configuration
> (using the GICv2 MMIO interface, but having the system register
> interface enabled).
> 
> In order to solve this, use the new this_cpu_has_cap() helper.
> Also move the check to the CPU interface path in order to catch
> systems where the first CPU has been correctly configured,
> but the secondaries are not.
> 
> Signed-off-by: Marc Zyngier <marc.zyngier at arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poulose at arm.com>

Acked-by: Catalin Marinas <catalin.marinas at arm.com>



More information about the linux-arm-kernel mailing list