aboutsummaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/thread_info.h
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2013-07-09 15:16:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-09 12:24:26 -0800
commit5fb08df3dd1f7b8e83936808b042725a8b067562 (patch)
treef5a0d8bdc17c08384792c66a7584b5e6584bfdf6 /arch/arm64/include/asm/thread_info.h
parent81ca15a3e04961b54d4a0b395e681bffb6cfbc68 (diff)
arm64: virt: ensure visibility of __boot_cpu_mode
commit 82b2f495fba338d1e3098dde1df54944a9c19751 upstream. 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 <mark.rutland@arm.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Christoffer Dall <cdall@cs.columbia.edu> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Cc: Mark Brown <broonie@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/arm64/include/asm/thread_info.h')
0 files changed, 0 insertions, 0 deletions