commit | 0ffd9e23f75d9a8665535b16115ec4cd94342dad | [log] [tgz] |
---|---|---|
author | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | Wed Aug 08 14:10:55 2018 +0100 |
committer | Jeenu Viswambharan <jeenu.viswambharan@arm.com> | Wed Sep 05 14:39:14 2018 +0100 |
tree | f6fb168ca1b12b70fa378e4a4a9f002513ea9683 | |
parent | 1aa2db348383cf5a65b6c6265175862c8969623d [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>