From ba5c91c6cf7f843d787a80a3c3bef1751a07855d Mon Sep 17 00:00:00 2001 From: Dean Sanner Date: Tue, 28 Jun 2016 10:24:10 -0500 Subject: 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 Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes Reviewed-by: Prachi Gupta Reviewed-by: Daniel M. Crowell --- src/include/usr/isteps/spless_255list.H | 6 ++++++ src/usr/initservice/istepdispatcher/sptask.C | 6 ++++++ 2 files changed, 12 insertions(+) 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 #include // Non istep commands +#include //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); -- cgit v1.2.1