]> git.baikalelectronics.ru Git - arm-tf.git/commit
Optimize Cortex-A57 cluster power down sequence on Juno
authorSoby Mathew <soby.mathew@arm.com>
Mon, 22 Sep 2014 13:13:34 +0000 (14:13 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 29 Oct 2014 17:39:59 +0000 (17:39 +0000)
commit5541bb3f61ae97b49203939f940931455b2f3037
tree13a011a9857ba598ccb96563b4b33919bb491b96
parentb1a9631d8110a2bcd458ec5809b50d5263a200ef
Optimize Cortex-A57 cluster power down sequence on Juno

This patch optimizes the Cortex-A57 cluster power down sequence by not
flushing the Level1 data cache. The L1 data cache and the L2 unified
cache are inclusive. A flush of the L2 by set/way flushes any dirty
lines from the L1 as well. This is a known safe deviation from the
Cortex-A57 TRM defined power down sequence. This optimization can be
enabled by the platform through the 'SKIP_A57_L1_FLUSH_PWR_DWN' build
flag. Each Cortex-A57 based platform must make its own decision on
whether to use the optimization.

This patch also renames the cpu-errata-workarounds.md to
cpu-specific-build-macros.md as this facilitates documentation
of both CPU Specific errata and CPU Specific Optimization
build macros.

Change-Id: I299b9fe79e9a7e08e8a0dffb7d345f9a00a71480
Makefile
docs/cpu-errata-workarounds.md [deleted file]
docs/cpu-specific-build-macros.md [new file with mode: 0644]
docs/firmware-design.md
lib/cpus/aarch64/cortex_a57.S
lib/cpus/cpu-errata.mk [deleted file]
lib/cpus/cpu-ops.mk [new file with mode: 0644]
plat/juno/platform.mk