Skip to content

Add support to generate PPR data within the BMC disk#143

Draft
aasaitha0219 wants to merge 3 commits intoheliosfrom
cpers_to_pprs
Draft

Add support to generate PPR data within the BMC disk#143
aasaitha0219 wants to merge 3 commits intoheliosfrom
cpers_to_pprs

Conversation

@aasaitha0219
Copy link
Copy Markdown
Collaborator

@aasaitha0219 aasaitha0219 commented Mar 20, 2026

Description
Added the feature to generate the PPR json both the Run time (RTPPR) and Boot time (BTPPR) PPR's within the BMC alongside the existing CPER's.

Changes

  1. Add new source file to handle the PPR generation.
  2. Add meson change to build the new PPR source file.
  3. Intercept the dumpData from the MCAErrorInfo and construct the PPR's before the buffer gets cleared.
  4. The filename convention follows the related CPER file name.

Testing

Signal-based error injection within the source*
Validated internally using signal-based error injection confirming that both CPER files and their corresponding PPR's RTPPR.json and BTPPR.json are generated correctly for correctable and deferred errors.
image

Error injection testing
Injected the error and tested to see that the PPR's are getting generated for the UMC MCA and DRAM errors
image

amd-bmc-ras.zip

Description
Added the feature to generate the PPR data both the Run time and
Boot time PPR within the BMC alongside the existing CPER's.

Changes
1. Add new source file to handle the PPR generation.
2. Add meson change to build the new PPR source file.
3. Intercept the dumpData from the MCAErrorInfo and before we create CPER
and delete the dump parse the MCAErrorInfo to construct the PPR's.
4. The filename convention follows the related CPER file name.

Testing
Validated internally using signal-based error injection confirming that
both CPER files and their corresponding PPR's RTPPR.json and BTPPR.json
are generated correctly for correctable and deferred errors.

Signed-off-by: aasaitha <[email protected]>
@aasaitha0219 aasaitha0219 self-assigned this Mar 20, 2026
@aasaitha0219 aasaitha0219 marked this pull request as draft March 20, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant