[SWDEV-530385] Update aca-decode with parsing fixes (#435)
*Update aca-decode to #4cd539d that fixes some errors in parsing cper files for afid extraction *Without this fix, we get garbage value for some cper input files relating GFX_poison_cpers Signed-off-by: Oosman Saeed <oossaeed@amd.com>
This commit is contained in:
@@ -2,13 +2,15 @@
|
||||
* @file aca_decode.h
|
||||
* @brief Internal decoder interface and data structures
|
||||
*/
|
||||
#ifndef ACA_DECODE_H
|
||||
#define ACA_DECODE_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef ACA_DECODE_H
|
||||
#define ACA_DECODE_H
|
||||
|
||||
#include "aca_api.h"
|
||||
#include "aca_fields.h"
|
||||
|
||||
/**
|
||||
@@ -17,6 +19,7 @@ extern "C" {
|
||||
typedef struct
|
||||
{
|
||||
uint64_t aca_status; /**< Raw status register value */
|
||||
uint64_t aca_addr; /**< Raw address register value */
|
||||
uint64_t aca_ipid; /**< Raw IPID register value */
|
||||
uint64_t aca_synd; /**< Raw syndrome register value */
|
||||
uint32_t flags; /**< Decoder flags */
|
||||
@@ -33,24 +36,13 @@ typedef struct
|
||||
typedef struct
|
||||
{
|
||||
uint64_t aca_status; /**< Raw status register value */
|
||||
uint64_t aca_addr; /**< Raw address register value */
|
||||
uint64_t aca_ipid; /**< Raw IPID register value */
|
||||
uint64_t aca_synd; /**< Raw syndrome register value */
|
||||
uint32_t flags; /**< Flags from descriptor */
|
||||
uint16_t hw_revision; /**< Hardware hw_revision number */
|
||||
} aca_raw_data_t;
|
||||
|
||||
/**
|
||||
* @brief Structure containing decoded error information
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
const char *bank_ref; /**< Reference to bank name string */
|
||||
const char *error_type_ref; /**< Reference to error type string */
|
||||
const char *severity_ref; /**< Reference to error severity string */
|
||||
const char *category_ref; /**< Reference to error category string */
|
||||
int afid; /**< AFID value (AMD Field ID) */
|
||||
} aca_error_info_t;
|
||||
|
||||
/**
|
||||
* @brief Main decode function that processes raw ACA error data
|
||||
* @param[in] raw_data Pointer to structure containing raw ACA error data
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user