arm-trusted-firmware/plat/fvp
Soby Mathew 8c5fe0b5b9 Move bakery algorithm implementation out of coherent memory
This patch moves the bakery locks out of coherent memory to normal memory.
This implies that the lock information needs to be placed on a separate cache
line for each cpu. Hence the bakery_lock_info_t structure is allocated in the
per-cpu data so as to minimize memory wastage. A similar platform per-cpu
data is introduced for the platform locks.

As a result of the above changes, the bakery lock api is completely changed.
Earlier, a reference to the lock structure was passed to the lock implementation.
Now a unique-id (essentially an index into the per-cpu data array) and an offset
into the per-cpu data for bakery_info_t needs to be passed to the lock
implementation.

Change-Id: I1e76216277448713c6c98b4c2de4fb54198b39e0
2015-01-22 10:57:44 +00:00
..
aarch64 Merge pull request #220 from soby-mathew/sm/reassign_crash_console 2014-11-11 15:54:09 +00:00
drivers/pwrc Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
include Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
tsp Rationalize UART usage among different BL stages 2014-08-21 16:30:25 +01:00
bl1_fvp_setup.c Remove platform dependency in CCI-400 driver 2014-08-14 10:49:20 +01:00
bl2_fvp_setup.c FVP: keep shared data in Trusted SRAM 2014-10-22 15:57:39 +01:00
bl31_fvp_setup.c Remove platform dependency in CCI-400 driver 2014-08-14 10:49:20 +01:00
fvp_def.h Remove IRQ_SEC_SGI_8 constant 2014-12-10 12:58:25 +00:00
fvp_io_storage.c Remove redundant io_init() function 2014-08-14 11:16:15 +01:00
fvp_pm.c Add CPU specific power management operations 2014-08-20 19:14:31 +01:00
fvp_private.h Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
fvp_security.c Simplify interface to TZC-400 driver 2014-08-14 11:17:52 +01:00
fvp_topology.c Remove all checkpatch errors from codebase 2014-06-24 12:50:00 +01:00
platform.mk FVP: keep shared data in Trusted SRAM 2014-10-22 15:57:39 +01:00