Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable APML RAS Manager Initialization #102

Open
wants to merge 1 commit into
base: integ_sp7
Choose a base branch
from
Open

Enable APML RAS Manager Initialization #102

wants to merge 1 commit into from

Conversation

aasboddu
Copy link
Collaborator

  • Added initialization for APML RAS Manager.
  • Included conditional compilation for APML support.
  • Added a placeholder error log for PLDM RAS capabilities, indicating that they are yet to be enabled.
  • The init function repeatedly attempts to get the BMC RAS OOB configuration until successful.
  • The function initializes the platform with the block ID's that needs to be harvested during a crashdump and sets up a D-Bus match to monitor watchdog state changes to monitor BIOS post complete.
  • It reads CPU IDs for all CPUs and logs errors on failure.
  • The function also handles BIOS post-completion by configuring PCIE OOB settings and enabling PCIE error thresholds based on watchdog timer changes.
  • It also clears SbrmiAlertMask register so APML_ALERT_L will be asserted during a syncflood in the system.
  • The commit has oem_cper.h providing the outline of file format for both runtime and crashdump CPER records.
  • Overall , this commit provides all the necessary preps needed to enable the crashdump flow.

@@ -0,0 +1,61 @@
#pragma once

#include "libcper/Cper.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is still open discussion to use libcper library or copy the contents of libcper/Cper.h to amd-ras repo is still under discussion.

@supven01 Can you please provide your inputs

- Added initialization for APML RAS Manager.
- Included conditional compilation for APML support.
- Added a placeholder error log for PLDM RAS capabilities, indicating
  that they are yet to be enabled.
- The init function repeatedly attempts to get the BMC RAS OOB
  configuration until successful.
- The function initializes the platform with the block ID's that needs
  to be harvested during a crashdump and sets up a D-Bus match to
  monitor watchdog state changes to monitor BIOS post complete.
- It reads CPU IDs for all CPUs and logs errors on failure.
- The function also handles BIOS post-completion by configuring PCIE
  OOB settings and enabling PCIE error thresholds based on watchdog
  timer changes.
- It also clears SbrmiAlertMask register so APML_ALERT_L will be
  asserted during a syncflood in the system.
- The commit has oem_cper.h providing the outline of file format for
  both runtime and crashdump CPER records.
- Overall , this commit provides all the necessary preps needed to
  enable the crashdump flow.

Signed-off-by: aasboddu <[email protected]>, Abinaya Dhandapani <[email protected]>
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.

2 participants