summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2009-06-01 15:50:33 +0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-06-03 01:36:20 +0400
commit1946d6ef9d7bd4ba97094fe6eb68a9b877bde6b7 (patch)
treed6cb6a56623d39021e30bb6d1892bfda7edb123a /lib
parenteb5f4ca9536ba297c98721ecbbdf41ec5b987bd5 (diff)
downloadlinux-1946d6ef9d7bd4ba97094fe6eb68a9b877bde6b7.tar.xz
[ARM] ARMv7 errata: only apply fixes when running on applicable CPU
Currently, whenever an erratum workaround is enabled, it will be applied whether or not the erratum is relevent for the CPU. This patch changes this - we check the variant and revision fields in the main ID register to determine which errata to apply. We also avoid re-applying erratum 460075 if it has already been applied. Applying this fix in non-secure mode results in the kernel failing to boot (or even do anything.) This fixes booting on some ARMv7 based platforms which otherwise silently fail. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions