aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2013-07-18 17:20:33 +0100
committerRussell King <[email protected]>2013-07-26 12:01:17 +0100
commit8fbac214e5c594a0c2fe78c14adf2cdbb1febc92 (patch)
tree0f331dcd30fb4110f10afe7cde11bc40b8f83ada /lib/mpi/mpi-bit.c
parentab8d46c0609843a83aef3f486365ca5e7c21d537 (diff)
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 <[email protected]> Acked-by: Dave Martin <[email protected]> Acked-by: Marc Zyngier <[email protected]> Cc: Christoffer Dall <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions