RAS: SGI: Add platform handler for RAS interrupts
authorSughosh Ganu <sughosh.ganu@arm.com>
Wed, 16 May 2018 11:52:35 +0000 (17:22 +0530)
committerSughosh Ganu <sughosh.ganu@arm.com>
Thu, 26 Jul 2018 16:33:32 +0000 (22:03 +0530)
commit485fc95443cff116e5b07ba6bc7d8c1dcb1f3f48
tree01210e7f00484639f3449e89bb6f1751bb03b8ef
parentd952391914be7f28cab2357b471daa304a4d505b
RAS: SGI: Add platform handler for RAS interrupts

Add a platform specific handler for RAS interrupts and configure the
platform RAS interrupts for EL3 handling. The interrupt handler passes
control to StandaloneMM code executing in S-EL0, which populates the
CPER buffer with relevant error information. The handler subsequently
invokes the SDEI client which processes the information in the error
information in the CPER buffer. The helper functions
plat_sgi_get_ras_ev_map and plat_sgi_get_ras_ev_map_size would be
defined for sgi platforms in the subsequent patch, which adds sgi575
specific RAS changes.

Change-Id: I490f16c15d9917ac40bdc0441659b92380108d63
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
plat/arm/css/sgi/include/sgi_ras.h [new file with mode: 0644]
plat/arm/css/sgi/sgi-common.mk
plat/arm/css/sgi/sgi_bl31_setup.c
plat/arm/css/sgi/sgi_ras.c [new file with mode: 0644]