summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2014-09-22 12:15:26 +0100
committerSoby Mathew <soby.mathew@arm.com>2014-10-29 17:38:56 +0000
commitb1a9631d8110a2bcd458ec5809b50d5263a200ef (patch)
tree8fd89f21b24dfb9a0b6c00c0aa137547d50cfcd5 /lib
parent7395a725ae74de70820d7b126ba1af727f39e263 (diff)
Optimize barrier usage during Cortex-A57 power down
This the patch replaces the DSB SY with DSB ISH after disabling L2 prefetches during the Cortex-A57 power down sequence. Change-Id: I048d12d830c1b974b161224eff079fb9f8ecf52d
Diffstat (limited to 'lib')
-rw-r--r--lib/cpus/aarch64/cortex_a57.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cpus/aarch64/cortex_a57.S b/lib/cpus/aarch64/cortex_a57.S
index e7774974..c2e11bd9 100644
--- a/lib/cpus/aarch64/cortex_a57.S
+++ b/lib/cpus/aarch64/cortex_a57.S
@@ -57,7 +57,7 @@ func cortex_a57_disable_l2_prefetch
bic x0, x0, x1
msr CPUECTLR_EL1, x0
isb
- dsb sy
+ dsb ish
ret
/* ---------------------------------------------