aboutsummaryrefslogtreecommitdiff
path: root/include/lib/extensions/ras_arch.h
diff options
context:
space:
mode:
authorDavid Pu <dpu@nvidia.com>2019-03-18 15:14:49 -0700
committerVarun Wadekar <vwadekar@nvidia.com>2020-06-12 09:43:54 -0700
commit8ca61538a0fe3aed6764a012317cbf61f09ebb61 (patch)
tree1176c936e1c2cfb1ab53be392a38ef31da8f465a /include/lib/extensions/ras_arch.h
parent635912f12103f0a77ed66408c5b2ab5f1a45dab8 (diff)
downloadarm-trusted-firmware-8ca61538a0fe3aed6764a012317cbf61f09ebb61.tar.gz
Tegra194: add RAS exception handling
This patch adds all Tegra194 RAS nodes definitions and support to handle all uncorrectable RAS errors. Change-Id: I109b5a8dbca91d92752dc282c4ca30f273c475f9 Signed-off-by: David Pu <dpu@nvidia.com> Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'include/lib/extensions/ras_arch.h')
-rw-r--r--include/lib/extensions/ras_arch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/lib/extensions/ras_arch.h b/include/lib/extensions/ras_arch.h
index 0c98c4a0e..55760b06b 100644
--- a/include/lib/extensions/ras_arch.h
+++ b/include/lib/extensions/ras_arch.h
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
@@ -151,6 +152,9 @@
#define ERROR_STATUS_SET_UC 0x2 /* Uncontainable */
#define ERROR_STATUS_SET_CE 0x3 /* Corrected */
+/* Number of architecturally-defined primary error codes */
+#define ERROR_STATUS_NUM_SERR U(22)
+
/* Implementation Defined Syndrome bit in ESR */
#define SERROR_IDS_BIT U(24)