]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(context mgmt): remove explicit ICC_SRE_EL2 register read
authorVarun Wadekar <vwadekar@nvidia.com>
Tue, 13 Sep 2022 11:38:47 +0000 (12:38 +0100)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 14 Sep 2022 11:39:28 +0000 (13:39 +0200)
commit2b28727e6dafdaa08a517b5a97bda5de26cc8919
tree2292e3a0543540f78b3785e3bc688097406b20e0
parent207bda950d9cc741a9fa3767219ccc83d8dd2736
fix(context mgmt): remove explicit ICC_SRE_EL2 register read

ICC_SRE_EL2 has only 4 bits, while others are RES0. The library programs
all four of them already, so there is no need to read the previous
settings from the actual register.

This patch removes the explicit register read as a result.

Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Change-Id: Iff0cb3b0d6fd85e5ae891068e440d855973a1c5e
lib/el3_runtime/aarch64/context_mgmt.c