ARM: 6387/1: errata: check primary part ID in proc-v7.S
authorWill Deacon <will.deacon@arm.com>
Tue, 14 Sep 2010 08:50:03 +0000 (09:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 17 Sep 2010 09:16:50 +0000 (10:16 +0100)
commit6491848d1ab246f6d243ddef25085fc1d836ff2c
treec818251255daf1edc51f4fe04b2a34c0e8580c2c
parent63f469324f999a28e67b90eb27a5fe0e379b7064
ARM: 6387/1: errata: check primary part ID in proc-v7.S

Kconfig doesn't have any knowledge of specific v7 cores, so it is possible
to select errata workarounds that may cause inadvertent behaviour when
executed on a core other than those targetted by the fix.

This patch improves the variant and revision checking in proc-v7.S so
that the primary part number is also considered when applying errata
workarounds.

Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/proc-v7.S