From: Mark Rutland Date: Thu, 18 Jul 2013 16:20:33 +0000 (+0100) Subject: ARM: 7787/1: virt: ensure visibility of __boot_cpu_mode X-Git-Tag: v3.11-rc4~12^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fbac214e5c594a0c2fe78c14adf2cdbb1febc92;p=pandora-kernel.git ARM: 7787/1: virt: ensure visibility of __boot_cpu_mode Secondary CPUs write to __boot_cpu_mode with caches disabled, and thus a cached value of __boot_cpu_mode may be incoherent with that in memory. This could lead to a failure to detect mismatched boot modes. This patch adds flushing to ensure that writes by secondaries to __boot_cpu_mode are made visible before we test against it. Signed-off-by: Mark Rutland Acked-by: Dave Martin Acked-by: Marc Zyngier Cc: Christoffer Dall Signed-off-by: Russell King --- Reading git-diff-tree failed