Skip to content

Commit

Permalink
oem-ibm: Handle the Disruptive System Dump
Browse files Browse the repository at this point in the history
Earlier dump manager was not creating a system dump entry when
a disruptive system dump was triggered. Recent changes in dump
manager started creating a dump entry and we had to handle the
scenario when the SystemImpact was Disruptive. When it is a
disruptive system dump we must ignore and do not process it.

Change-Id: I5afb3d4ee1e9f20afbe264ba613073b11faf6199
Signed-off-by: Pavithra Barithaya <[email protected]>
  • Loading branch information
Pavithrab7 committed Mar 7, 2025
1 parent 012a333 commit 2b441b9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oem/ibm/libpldmresponder/file_io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -789,6 +789,13 @@ class Handler : public CmdHandler
{
vspstring = "system";
}
else if (
std::get<std::string>(property.second) ==
"xyz.openbmc_project.Dump.Entry.System.SystemImpact.Disruptive")
{
return; // it is a disruptive system dump,
// ignore
}
}
else if (property.first == "UserChallenge")
{
Expand Down

0 comments on commit 2b441b9

Please sign in to comment.