From: Mark Rutland Date: Tue, 9 Jul 2013 14:16:06 +0000 (+0100) Subject: arm64: virt: ensure visibility of __boot_cpu_mode X-Git-Tag: v3.11-rc3~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b2f495fba338d1e3098dde1df54944a9c19751;p=pandora-kernel.git arm64: 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 Cc: Marc Zyngier Cc: Christoffer Dall Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed