zynqmp: Put pm_secure_lock in coherent memory region
authorStefan Krsmanovic <stefan.krsmanovic@aggios.com>
Fri, 20 May 2016 13:51:08 +0000 (15:51 +0200)
committerSoren Brinkmann <soren.brinkmann@xilinx.com>
Tue, 24 May 2016 17:18:07 +0000 (10:18 -0700)
commit8212f1f0ee9e99eaf2610d263f251380996bf9f3
tree16925fdf249da31304979be046cb9f2291655101
parentfc65b87b8a1477f18c18646f84b3dfda0573d126
zynqmp: Put pm_secure_lock in coherent memory region

DEFINE_BAKERY_LOCK() macro is used to put lock in coherent memory region.
ARM Trusted Firmware design guide, chapter 11 states that bakery_lock data
structures should be allocated in coherent memory region because it is
accessed by multiple CPUs with mismatched shareability, cacheability and
memory attributes.

Signed-off-by: Stefan Krsmanovic <stefan.krsmanovic@aggios.com>
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
plat/xilinx/zynqmp/pm_service/pm_ipi.c