Move collectSBEDump to openpower-debug-collector
Hardware and Hostboot dump collection are being handled in
openpower-debug-collector. SBE dump collection should also be performed
from openpower-debug-collector instead of from IPL.This change
implements the collectSBEDump function as a SbeDumpCollector member
function which executes the SBE dump collection process. collectSBEDump
function is being removed from IPL in this commit[1]
Declared functions which will be called from collectSBEDump
in libphal.H file via commit[1]
Implemented collectSBEDump(for SBE dump collection) and
collectHWHBDump(for Hardware and Hostboot dump collection)
as private member functions in SbeDumpCollector class. These
private member functions will now be called via collectDump
public method based on the type of dump that needs to be collected.
Tested on a Everest DDR5 machine. Able to generate Proc and
Odyssey SBE dumps
[1] https://github.com/open-power/ipl/pull/96
Change-Id: I7919fdf31dc9a985a72bc06444d9d55fe78aa13b
Signed-off-by: Nabil Ananthamangalath <nabilmanjeri@gmail.com>
3 files changed