how to change denali report severity

if you want to change some denali error information such as "denali * Error" to "denali * Warning", you can use the PCIE_REG_DEN_ERROR_CTRL to change the setting.

for example:

errData = (PCIE_ERR_DESTINATION_nochange << PCIE_Rpos__DEN_ERROR_CTRL_dest) +

                (PCIE_PL_COR_EIES_TS1_RCVRLOCK << PCIE_Rpos__DEN_ERROR_CTRL_errId) +

                (PCIE_ERR_CONFIG_disable_callback << PCIE_Rpos__DEN_ERROR_CTRL_callback) +

                (PCE_ERR_CONFIG_DIRECTION_TRX << PCIE_Rpos__DEN_ERROR_CTRL_direction) +

                (PCIE_ERR_CONFIG_FORMAT_WARN << PCIE_Rpos__DEN_ERROR_CTRL_severity);

status = $mmwriteword4(denali_monitor_cfg_id, PCIE_REG_DEN_ERROR_CTRL, errData);

The error types are listed in $DENALI/ddvapi/sv/denaliPcieErrTable.svh.

posted on 2018-05-16 14:50  lybinger  阅读(351)  评论(0)    收藏  举报

导航