On Fri, Apr 22, 2016 at 12:25:33PM +0100, Suzuki K. Poulose wrote:
> From: Marc Zyngier <marc.zyng...@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.zyng...@arm.com>
> Signed-off-by: Suzuki K Poulose <suzuki.poul...@arm.com>

Acked-by: Catalin Marinas <catalin.mari...@arm.com>

Reply via email to