]> git.baikalelectronics.ru Git - arm-tf.git/commit
SPMD: Adds partially supported EL2 registers.
authorMax Shvetsov <maksims.svecovs@arm.com>
Mon, 17 Feb 2020 16:15:47 +0000 (16:15 +0000)
committerMax Shvetsov <maksims.svecovs@arm.com>
Tue, 3 Mar 2020 11:38:26 +0000 (11:38 +0000)
commit2825946e92c0bb14482a1a23e2304aed95e72718
treeda30127c3beb2e1bd723e81779bbdde8a4a28997
parent28f39f02ade1bd3ae86c8a472d01873ba0cdacb7
SPMD: Adds partially supported EL2 registers.

This patch adds EL2 registers that are supported up to ARMv8.6.
ARM_ARCH_MINOR has to specified to enable save/restore routine.

Note: Following registers are still not covered in save/restore.
 * AMEVCNTVOFF0<n>_EL2
 * AMEVCNTVOFF1<n>_EL2
 * ICH_AP0R<n>_EL2
 * ICH_AP1R<n>_EL2
 * ICH_LR<n>_EL2

Change-Id: I4813f3243e56e21cb297b31ef549a4b38d4876e1
Signed-off-by: Max Shvetsov <maksims.svecovs@arm.com>
include/arch/aarch64/arch.h
include/lib/el3_runtime/aarch64/context.h
lib/el3_runtime/aarch64/context.S
lib/el3_runtime/aarch64/context_mgmt.c
services/spd/trusty/trusty.c
services/std_svc/spm_mm/spm_mm_setup.c