summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/cpufeature.h
diff options
context:
space:
mode:
authorMarc Zyngier <marc.zyngier@arm.com>2016-04-22 12:25:33 +0100
committerWill Deacon <will.deacon@arm.com>2016-04-25 15:14:00 +0100
commit25fc11aead380501d70b701e136e89d321277177 (patch)
treebef589bd1d1ab792413247e6752040f74226ab83 /arch/arm64/include/asm/cpufeature.h
parente3661b128e53ee281e1e7c589a5b647890bd6d7c (diff)
irqchip/gic: Restore CPU interface checking
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. Reviewed-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
0 files changed, 0 insertions, 0 deletions