]> git.baikalelectronics.ru Git - arm-tf.git/commit
Add support for level specific cache maintenance operations
authorSoby Mathew <soby.mathew@arm.com>
Tue, 2 Sep 2014 09:47:33 +0000 (10:47 +0100)
committerSoby Mathew <soby.mathew@arm.com>
Wed, 29 Oct 2014 17:38:56 +0000 (17:38 +0000)
commit8e85791677a334bc7ed0799b18adad91ef3c1db4
treec08a9348cf5016af8fc31d188f70bfba6e7abff4
parent0f4b06347b4c2a5d018e085f7102fd3cc10ffa88
Add support for level specific cache maintenance operations

This patch adds level specific cache maintenance functions
to cache_helpers.S. The new functions 'dcsw_op_levelx',
where '1 <= x <= 3', allow to perform cache maintenance by
set/way for that particular level of cache.  With this patch,
functions to support cache maintenance upto level 3 have
been implemented since it is the highest cache level for
most ARM SoCs.

These functions are now utilized in CPU specific power down
sequences to implement them as mandated by processor specific
technical reference manual.

Change-Id: Icd90ce6b51cff5a12863bcda01b93601417fd45c
lib/aarch64/cache_helpers.S
lib/cpus/aarch64/cortex_a53.S
lib/cpus/aarch64/cortex_a57.S