summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJeenu Viswambharan <jeenu.viswambharan@arm.com>2014-03-13 11:16:25 +0000
committerDan Handley <dan.handley@arm.com>2014-03-20 11:16:23 +0000
commit82a0aca05394343407f7f12ff454ac9e8cdfcba6 (patch)
treea09766594da8715faa088af02621be9fe5a799b8 /tools
parent9f98aa1a7e33dd55851fd4feec0de9b40b6d9f10 (diff)
Rework bakery lock with WFE/SEV sequence
Current implementation of Bakery Lock does tight-loop waiting upon lock contention. This commit reworks the implementation to use WFE instruction for waiting, and SEV to signal lock availability. It also adds the rationale for choosing Bakery Locks instead of exclusion primitives, and more comments for the lock algorithm. Fixes ARM-software/tf-issue#67 Change-Id: Ie351d3dbb27ec8e64dbc9507c84af07bd385a7df Co-authored-by: Vikram Kanigiri <vikram.kanigiri@arm.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions