]> git.baikalelectronics.ru Git - arm-tf.git/commit
fix(ras): restrict RAS support for NS world
authorManish Pandey <manish.pandey2@arm.com>
Mon, 10 Oct 2022 10:43:08 +0000 (11:43 +0100)
committerManish Pandey <manish.pandey2@arm.com>
Tue, 8 Nov 2022 10:10:59 +0000 (10:10 +0000)
commit46cc41d5592a16f702f7f0c0c41f8948a3e11cda
tree44b1fc1e4e79fd83470e2212e7a28461c1a8c8f7
parent0ae4a3a3f0cd841b83f2944dde9837ea67f08813
fix(ras): restrict RAS support for NS world

Current RAS framework in TF-A only supports handling errors originating
from NS world but the HANDLE_EA_EL3_FIRST flag configures it for all
lower Els. To make the current design of RAS explicit, rename this macro
to HANDLE_EA_EL3_FIRST_NS and set EA bit in scr_el3 only when
switching to NS world.

Note: I am unaware of any platform which traps errors originating in
Secure world to EL3, if there is any such platform then it need to
be explicitly implemented in TF-A

Signed-off-by: Manish Pandey <manish.pandey2@arm.com>
Change-Id: If58eb201d8fa792c16325c85c26056e9b409b750
15 files changed:
Makefile
common/aarch64/debug.S
docs/components/ras.rst
docs/getting_started/build-options.rst
docs/plat/marvell/armada/build.rst
lib/el3_runtime/aarch64/context_mgmt.c
make_helpers/defaults.mk
plat/arm/board/tc/platform.mk
plat/arm/css/sgi/sgi-common.mk
plat/common/aarch64/plat_common.c
plat/marvell/armada/a3k/common/a3700_common.mk
plat/marvell/armada/a3k/common/a3700_ea.c
plat/nvidia/tegra/soc/t194/platform_t194.mk
plat/renesas/common/common.mk
plat/ti/k3/common/plat_common.mk