arm-trusted-firmware/bl2
Andrew Thoelke 8cec598ba3 Correct usage of data and instruction barriers
The current code does not always use data and instruction
barriers as required by the architecture and frequently uses
barriers excessively due to their inclusion in all of the
write_*() helper functions.

Barriers should be used explicitly in assembler or C code
when modifying processor state that requires the barriers in
order to enable review of correctness of the code.

This patch removes the barriers from the helper functions and
introduces them as necessary elsewhere in the code.

PORTING NOTE: check any port of Trusted Firmware for use of
system register helper functions for reliance on the previous
barrier behaviour and add explicit barriers as necessary.

Fixes ARM-software/tf-issues#92

Change-Id: Ie63e187404ff10e0bdcb39292dd9066cb84c53bf
2014-05-07 11:19:47 +01:00
..
aarch64 Correct usage of data and instruction barriers 2014-05-07 11:19:47 +01:00
bl2.ld.S Use --gc-sections during link 2014-03-26 21:54:37 +00:00
bl2.mk Remove vpath usage in makefiles 2014-05-06 12:35:02 +01:00
bl2_main.c Reduce deep nesting of header files 2014-05-06 13:57:48 +01:00
bl2_private.h Separate BL functions out of arch.h 2014-05-06 12:35:02 +01:00