]> git.baikalelectronics.ru Git - arm-tf.git/commit
aarch64: Enable Statistical Profiling Extensions for lower ELs
authordp-arm <dimitris.papastamos@arm.com>
Tue, 23 May 2017 08:32:49 +0000 (09:32 +0100)
committerDimitris Papastamos <dimitris.papastamos@arm.com>
Thu, 22 Jun 2017 09:33:19 +0000 (10:33 +0100)
commitd832aee900a92d14a08a6a2a552894188404b6a4
treef1e12914f0bc1f687509f1b7fbbaf172a335acfd
parent18f2efd67d881fe0a9a535ce9e801e60d746e024
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>
12 files changed:
Makefile
docs/user-guide.md
include/common/aarch64/el3_common_macros.S
include/lib/aarch64/arch.h
include/lib/aarch64/arch_helpers.h
include/lib/el3_runtime/aarch64/context.h
include/plat/arm/common/plat_arm.h
lib/el3_runtime/aarch64/context.S
lib/el3_runtime/aarch64/context_mgmt.c
make_helpers/defaults.mk
plat/arm/board/fvp/fvp_pm.c
plat/arm/common/aarch64/arm_helpers.S