AMU: Add hooks to save/restore AMU context
On some systems, the AMU counters might reset to 0 when a CPU
powerdown happens.  This behaviour conflicts with the intended
use-case of AMU as lower ELs are only expected to see non-decreasing
counter values.

Change-Id: If25519965d4e6e47e09225d0e732947986cbb5ec
Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
1 parent 0767d50 commit b6eb39327c5b009bc0bbecdb6867d8bf7c05f2fd
@Dimitris Papastamos Dimitris Papastamos authored on 28 Nov 2017
Showing 3 changed files
View
include/lib/aarch32/arch_helpers.h
View
lib/extensions/amu/aarch32/amu.c
View
lib/extensions/amu/aarch64/amu.c