Commit 8212f1f0 authored by Stefan Krsmanovic's avatar Stefan Krsmanovic Committed by Soren Brinkmann
Browse files

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: default avatarStefan Krsmanovic <stefan.krsmanovic@aggios.com>
Signed-off-by: default avatarSoren Brinkmann <soren.brinkmann@xilinx.com>
parent fc65b87b
......@@ -81,7 +81,7 @@
#define IPI_APU_MASK 1U
static bakery_lock_t pm_secure_lock;
DEFINE_BAKERY_LOCK(pm_secure_lock);
const struct pm_ipi apu_ipi = {
.mask = IPI_APU_MASK,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment