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> |
---|
|
include/lib/aarch32/arch_helpers.h |
---|
lib/extensions/amu/aarch32/amu.c |
---|
lib/extensions/amu/aarch64/amu.c |
---|