arm-trusted-firmware/plat/juno
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
include Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
tsp Juno: Use the generic ARM GIC driver 2014-10-31 18:40:41 +00:00
bl1_plat_setup.c Juno: Use TZC-400 driver calls 2014-10-09 17:15:24 +01:00
bl2_plat_setup.c Juno: Reserve some DDR-DRAM for secure use 2014-10-14 10:03:58 +01:00
bl31_plat_setup.c Juno: Use the generic ARM GIC driver 2014-10-31 18:40:41 +00:00
juno_def.h Merge pull request #233 from jcastillo-arm/jc/tf-issues/254 2015-01-16 17:55:45 +00:00
juno_private.h Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
mhu.c Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
mhu.h Juno: Implement initial platform port 2014-08-21 14:53:48 +01:00
plat-tsp.ld.S Juno: Add support for Test Secure-EL1 Payload 2014-08-21 14:53:48 +01:00
plat_io_storage.c Juno: Add support for Test Secure-EL1 Payload 2014-08-21 14:53:48 +01:00
plat_pm.c Merge pull request #219 from jcastillo-arm/jc/tf-issues/253 2014-11-04 16:01:40 +00:00
plat_security.c Juno: Reserve some DDR-DRAM for secure use 2014-10-14 10:03:58 +01:00
plat_topology.c Juno: Implement initial platform port 2014-08-21 14:53:48 +01:00
platform.mk Move bakery algorithm implementation out of coherent memory 2015-01-22 10:57:44 +00:00
scp_bootloader.c Juno: Implement initial platform port 2014-08-21 14:53:48 +01:00
scp_bootloader.h Juno: Implement initial platform port 2014-08-21 14:53:48 +01:00
scpi.c Juno: Implement PSCI SYSTEM_OFF and SYSTEM_RESET APIs 2014-08-21 14:53:48 +01:00
scpi.h Juno: Implement PSCI SYSTEM_OFF and SYSTEM_RESET APIs 2014-08-21 14:53:48 +01:00