aarch64: Enable Statistical Profiling Extensions for lower ELs
SPE is only supported in non-secure state.  Accesses to SPE specific
registers from SEL1 will trap to EL3.  During a world switch, before
`TTBR` is modified the SPE profiling buffers are drained.  This is to
avoid a potential invalid memory access in SEL1.

SPE is architecturally specified only for AArch64.

Change-Id: I04a96427d9f9d586c331913d815fdc726855f6b0
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
1 parent 18f2efd commit d832aee900a92d14a08a6a2a552894188404b6a4
@dp-arm dp-arm authored on 23 May 2017
Dimitris Papastamos committed on 22 Jun 2017
Showing 12 changed files
View
Makefile
View
docs/user-guide.md
View
include/common/aarch64/el3_common_macros.S
View
include/lib/aarch64/arch.h
View
include/lib/aarch64/arch_helpers.h
View
include/lib/el3_runtime/aarch64/context.h
View
include/plat/arm/common/plat_arm.h
View
lib/el3_runtime/aarch64/context.S
View
lib/el3_runtime/aarch64/context_mgmt.c
View
make_helpers/defaults.mk
View
plat/arm/board/fvp/fvp_pm.c
View
plat/arm/common/aarch64/arm_helpers.S