From 9c17687aabc9e64a26575d5662ef273185d9d275 Mon Sep 17 00:00:00 2001 From: Vinoj Soundararajan Date: Thu, 1 Aug 2024 18:50:23 +0000 Subject: [PATCH] fix(ras): fix status synchronous error type fields Based on SET bits of ISS encoding for an exception from Data or Instruction Abort. (Refer to ESR_EL3) 1. Fix Synchronous error type restartable value from 1 to 3 2. Remove corrected CE field which is not applicable to SET Change-Id: If357da9881bee962825bc3b9423ba7fc107f9b1d Signed-off-by: Vinoj Soundararajan --- include/lib/extensions/ras_arch.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/lib/extensions/ras_arch.h b/include/lib/extensions/ras_arch.h index e0aee50e6..fc3f42608 100644 --- a/include/lib/extensions/ras_arch.h +++ b/include/lib/extensions/ras_arch.h @@ -148,9 +148,8 @@ /* Error types for Synchronous exceptions */ #define ERROR_STATUS_SET_UER 0x0 /* Recoverable */ -#define ERROR_STATUS_SET_UEO 0x1 /* Restable */ #define ERROR_STATUS_SET_UC 0x2 /* Uncontainable */ -#define ERROR_STATUS_SET_CE 0x3 /* Corrected */ +#define ERROR_STATUS_SET_UEO 0x3 /* Restartable */ /* Number of architecturally-defined primary error codes */ #define ERROR_STATUS_NUM_SERR U(22)