diff options
author | Dean Sanner <dsanner@us.ibm.com> | 2016-06-28 10:24:10 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2016-08-31 20:04:28 -0400 |
commit | ba5c91c6cf7f843d787a80a3c3bef1751a07855d (patch) | |
tree | c70a5bd966a5591298d7129b113865cfee52245f | |
parent | f0ba9883033e21a52e0c8ecf554816832abdebc8 (diff) | |
download | talos-hostboot-ba5c91c6cf7f843d787a80a3c3bef1751a07855d.tar.gz talos-hostboot-ba5c91c6cf7f843d787a80a3c3bef1751a07855d.zip |
Add debug hook to dump FAPI ATTR
Change-Id: Ibe720b72ca5cb71fa2c6806655048e84d2d64b4e
RTC:127348
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/26348
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Prachi Gupta <pragupta@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
-rw-r--r-- | src/include/usr/isteps/spless_255list.H | 6 | ||||
-rw-r--r-- | src/usr/initservice/istepdispatcher/sptask.C | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/include/usr/isteps/spless_255list.H b/src/include/usr/isteps/spless_255list.H index 5bfca668a..3f445ce37 100644 --- a/src/include/usr/isteps/spless_255list.H +++ b/src/include/usr/isteps/spless_255list.H @@ -63,6 +63,7 @@ namespace INITSERVICE const uint8_t CTL_CONT_TRACE_DISABLE = 0x00; const uint8_t CTL_CONT_TRACE_ENABLE = 0x01; const uint8_t FLUSH_TRACE_BUFS = 0x02; + const uint8_t DUMP_FAPI_ATTR = 0x03; const TaskInfo g_istep255[] = { @@ -81,6 +82,11 @@ namespace INITSERVICE NULL, { NONE, EXT_IMAGE, IPL_NOOP, false } }, + { + ISTEPNAME(255,3, "dump_fapi_attr"), + NULL, + { NONE, EXT_IMAGE, IPL_NOOP, false } + }, }; const DepModInfo g_istep255Dependancies = { diff --git a/src/usr/initservice/istepdispatcher/sptask.C b/src/usr/initservice/istepdispatcher/sptask.C index b63a154ce..83e5bc487 100644 --- a/src/usr/initservice/istepdispatcher/sptask.C +++ b/src/usr/initservice/istepdispatcher/sptask.C @@ -57,11 +57,13 @@ #include <config.h> #include <isteps/spless_255list.H> // Non istep commands +#include <fapi2/plat_attr_override_sync.H> //Attr dump #include "istepdispatcher.H" #include "splesscommon.H" + namespace INITSERVICE { @@ -110,6 +112,10 @@ void handleControlCmd( SPLessCmd & io_cmd ) TRAC_FLUSH_BUFFERS(); break; + case DUMP_FAPI_ATTR: + fapi2::theAttrOverrideSync().triggerAttrSync(); + break; + default: #ifdef CONFIG_CONSOLE_OUTPUT_PROGRESS CONSOLE::displayf(NULL, "Unknown control command %02x", io_cmd.substep); |