From b1a9631d8110a2bcd458ec5809b50d5263a200ef Mon Sep 17 00:00:00 2001 From: Soby Mathew Date: Mon, 22 Sep 2014 12:15:26 +0100 Subject: [PATCH] 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 --- lib/cpus/aarch64/cortex_a57.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 /* --------------------------------------------- -- 2.30.2