![]() |
xilplmi
Vitis Drivers API Documentation
|
This file contains the PLMI versal_net platform specific code.
MODIFICATION HISTORY:
Ver Who Date Changes
1.00 sk 08/26/2024 Initial release, Updated Error Table pre 01/09/2025 Added PCIE error handling sk 02/20/2025 Added XMPU/XPPU error handlers ma 03/14/2025 Moved a print statement in XPlmi_ErrPrintToLog sk 04/07/2025 Updated error actions for apll1 and rpu fatal error sk 04/07/2025 Added redundant call to enable EAM interrupt sk 04/09/2025 Updated LPD SLCR EAM Disable error logic
Macros | |
| #define | XPLMI_ERROR_TABLE_DS_VER (1U) |
| Error table data structure version. More... | |
| #define | XPLMI_ERROR_TABLE_DS_LCVER (1U) |
| Error table data structure LC version. More... | |
| #define | XPLMI_NUM_ERROUTS_VERSION (1U) |
| ERROUTS version. More... | |
| #define | XPLMI_NUM_ERROUTS_LCVERSION (1U) |
| ERROUTS LC version. More... | |
| #define | PCIE0_LINK_DOWN_PROC_ID (0x1U) |
| PCIE0 link down proc Id. More... | |
| #define | PCIE1_LINK_DOWN_PROC_ID (0x2U) |
| PCIE1 link down proc Id. More... | |
Functions | |
| void | XPlmi_HandleLinkDownError (u32 Cpm5PcieIrStatusReg, u32 Cpm5DmaCsrIntDecReg, u32 ProcId) |
| This function handles the CPM_NCR PCIE link down error. More... | |
| XPlmi_Error_t * | XPlmi_GetErrorTable (void) |
| This function provides error table pointer. More... | |
| void | XPlmi_ReconfigErrActions (void) |
| This function reconfigures error actions after the update. More... | |
| u8 | XPlmi_GetEventIndex (XPlmi_EventType ErrorNodeType) |
| This function provides event index. More... | |
| void | XPlmi_ErrPrintToLog (u32 ErrorNodeId, u32 RegMask) |
| This function is the interrupt handler for Error action "Print
to Log". More... | |
| void | XPlmi_DumpErrNGicStatus (void) |
| This function dumps EAM Error status registers and Gic Status registers. More... | |
| int | XPlmi_RestrictErrActions (XPlmi_EventType NodeType, u32 RegMask, u32 ErrorAction) |
| This function restricts error actions. More... | |
| u32 * | XPlmi_GetNumErrOuts (void) |
| This function provides pointer to NumErrOuts. More... | |
| int | EmEnableLpdSlcrErrAction (u32 ErrMaskRegAddr, u32 RegMask) |
| This function enables the error action for the given error mask. More... | |
| int | XPlmi_EmDisableLpdSlcrErrors (u32 RegMaskAddr, u32 RegMask) |
| This function disables the LPD SCLR error actions for the given mask. More... | |
| int | XPlmi_Versal2Ve2VmEAMHandler (void *Data) |
| This function is the interrupt handler for the EAM errors. More... | |
| int | XPlmi_LpdSlcrEmInit (void) |
| This function initializes the error actions in LPD Slcr Disables all the LPD SLCR error actions and registers default action. More... | |
| int | XPlmi_Versal2Ve2VmSetAction (XPlmi_Cmd *Cmd) |
| This function sets the error action as prescribed by the command. More... | |