]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(gic600ae_fmu): introduce support for RAS error handling
authorVarun Wadekar <vwadekar@nvidia.com>
Mon, 24 Jan 2022 13:45:15 +0000 (05:45 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Wed, 6 Apr 2022 07:14:39 +0000 (08:14 +0100)
commit308dce40679f63db504cd3d746a0c37a2a05f473
tree00b17593c2ac0038deb2480731083ffea3e49dfa
parent1bbe2135c3123bd732c846f61361b11d8623072b
feat(gic600ae_fmu): introduce support for RAS error handling

The GIC-600AE uses a range of RAS features for all RAMs, which include
SECDED, ECC, and Scrub, software and bus error reporting. The GIC makes
all necessary information available to software through Armv8.2 RAS
architecture compliant register space.

This patch introduces support to probe the FMU_ERRGSR register to find
the right error record. Once the correct record is identified, the
"handler" function queries the FMU_ERR<m>STATUS register to further
identify the block ID, safety mechanism and the architecturally defined
primary error code. The description of the error is displayed on the
console to simplify debug.

Change-Id: I7e543664b74457afee2da250549f4c3d9beb1a03
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
drivers/arm/gic/v3/gic600ae_fmu.c
include/drivers/arm/gic600ae_fmu.h