From: Russell King Date: Sun, 1 Nov 2009 17:44:24 +0000 (+0000) Subject: ARM: ensure initial page tables are setup for SMP systems X-Git-Tag: v2.6.32-rc6~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b46d6416548fb6a0940dfd9911fd895eb6247b3;p=pandora-kernel.git ARM: ensure initial page tables are setup for SMP systems Mapping the same memory using two different attributes (memory type, shareability, cacheability) is unpredictable. During boot, we encounter a situation when we're updating the kernel's page tables which can lead to dirty cache lines existing in the cache which are subsequently missed. This causes stack corruption, and therefore a crash. Therefore, ensure that the shared and cacheability settings matches the configuration that will be used later; this together with the restriction in early_cachepolicy() ensures that we won't create a mismatch during boot. Acked-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed