diff options
author | Zane Shelley <zshelle@us.ibm.com> | 2018-03-31 16:00:01 -0500 |
---|---|---|
committer | Zane C. Shelley <zshelle@us.ibm.com> | 2018-04-10 11:08:15 -0400 |
commit | ad8ec727bc7f5c641c92e274829cc89f6e0e7f1f (patch) | |
tree | 1ba39fdf37798917dbfca71deee595b2ac746d26 /src/usr/diag/prdf/plat/mem | |
parent | 58b9dd72866a2eed96e74b92b732443b59376571 (diff) | |
download | talos-hostboot-ad8ec727bc7f5c641c92e274829cc89f6e0e7f1f.tar.gz talos-hostboot-ad8ec727bc7f5c641c92e274829cc89f6e0e7f1f.zip |
PRD: super fast read command support for MBA
Change-Id: Ie7cf3910e177056bdabf68ee6d0e66f8ec130b7d
RTC: 190428
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56551
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Caleb N. Palmer <cnpalmer@us.ibm.com>
Reviewed-by: Benjamin J. Weisenbeck <bweisenb@us.ibm.com>
Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com>
Reviewed-by: Zane C. Shelley <zshelle@us.ibm.com>
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56890
CI-Ready: Zane C. Shelley <zshelle@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: Zane C. Shelley <zshelle@us.ibm.com>
Diffstat (limited to 'src/usr/diag/prdf/plat/mem')
-rw-r--r-- | src/usr/diag/prdf/plat/mem/prdfMemTdCtlr.C | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr.C b/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr.C index ba1eadd83..986edc20c 100644 --- a/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr.C +++ b/src/usr/diag/prdf/plat/mem/prdfMemTdCtlr.C @@ -109,6 +109,8 @@ uint32_t MemTdCtlr<T>::handleCmdComplete( STEP_CODE_DATA_STRUCT & io_sc ) } // Inform MDIA the command has completed and PRD is starting analysis. + // If MDIA started the command, the reset message will do the cleanup + // for the super fast command. o_rc = mdiaSendEventMsg( iv_chip->getTrgt(), MDIA::RESET_TIMER ); if ( SUCCESS != o_rc ) { @@ -116,6 +118,16 @@ uint32_t MemTdCtlr<T>::handleCmdComplete( STEP_CODE_DATA_STRUCT & io_sc ) break; } + // If PRD started a super fast command, this will do the cleanup for the + // super fast command. + o_rc = cleanupSfRead<T>( iv_chip ); + if ( SUCCESS != o_rc ) + { + PRDF_ERR( PRDF_FUNC "cleanupSfRead(0x%08x) failed", + iv_chip->getHuid() ); + break; + } + #endif collectStateCaptureData( io_sc, TD_CTLR_DATA::START ); |