From: Russell King Date: Mon, 1 Jun 2009 11:50:33 +0000 (+0100) Subject: [ARM] ARMv7 errata: only apply fixes when running on applicable CPU X-Git-Tag: v2.6.30~14^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1946d6ef9d7bd4ba97094fe6eb68a9b877bde6b7;p=pandora-kernel.git [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 Signed-off-by: Russell King --- Reading git-diff-tree failed