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
1 parent 0f4b063 commit 8e85791677a334bc7ed0799b18adad91ef3c1db4
@Soby Mathew Soby Mathew authored on 2 Sep 2014
Showing 3 changed files
View
lib/aarch64/cache_helpers.S
View
lib/cpus/aarch64/cortex_a53.S
View
lib/cpus/aarch64/cortex_a57.S