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 <vinojs@google.com>
This commit is contained in:
Vinoj Soundararajan 2024-08-01 18:50:23 +00:00 committed by Manish Pandey
parent ee5915e2ff
commit 9c17687aab

View file

@ -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)