summaryrefslogtreecommitdiff
path: root/lib/psci/psci_common.c
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2018-08-08 14:10:55 +0100
committerJeenu Viswambharan <jeenu.viswambharan@arm.com>2018-09-05 14:39:14 +0100
commit24dc97091532751ea810e99bd5a9be33514decf6 (patch)
treef6fb168ca1b12b70fa378e4a4a9f002513ea9683 /lib/psci/psci_common.c
parente43422b734269d23f336e5ca3c05dedd8fd52901 (diff)
Add missing barriers to Bakery Locks
With the current implementation, it's possible for a contender to observe accesses in the Critical Section before acquiring or releasing the lock. Insert fencing in the locking and release codes to prevent any reorder. Fixes ARM-software/tf-issues#609 Change-Id: I773b82aa41dd544a2d3dbacb9a4b42c9eb767bbb Signed-off-by: Jeenu Viswambharan <jeenu.viswambharan@arm.com>
Diffstat (limited to 'lib/psci/psci_common.c')
0 files changed, 0 insertions, 0 deletions