Tegra194: ras: verbose prints for SErrors
This patch provides verbose prints for RAS SErrors handled by the
firmware, for improved debugging.
Change-Id: Iaad8d183054d884f606dc4621da2cc6b2375bcf9
Signed-off-by: David Pu <dpu@nvidia.com>
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
diff --git a/plat/nvidia/tegra/include/t194/tegra194_ras_private.h b/plat/nvidia/tegra/include/t194/tegra194_ras_private.h
index c867b9d..336461a 100644
--- a/plat/nvidia/tegra/include/t194/tegra194_ras_private.h
+++ b/plat/nvidia/tegra/include/t194/tegra194_ras_private.h
@@ -18,6 +18,8 @@
/* RAS error node-specific auxiliary data */
struct ras_aux_data {
+ /* name for current RAS node. */
+ const char *name;
/* point to null-terminated ras_error array to convert error code to msg. */
const struct ras_error *error_records;
/*
@@ -218,6 +220,7 @@
#define DEFINE_ONE_RAS_AUX_DATA(node) \
{ \
+ .name = #node, \
.error_records = node##_uncorr_ras_errors, \
.err_ctrl = &node##_err_ctrl \
},