diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-06-17 07:05:56 -0500 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2018-06-20 05:38:17 -0400 |
commit | 3105d5a9227b30f24dc22c2c9d218840fefa0129 (patch) | |
tree | eea414e25c5e2c1612830f30f719d6694d7a3937 /src/sbefw/core/sbescom.C | |
parent | 9f90433232b883ebd760265736e64bfb840b7554 (diff) | |
download | talos-sbe-3105d5a9227b30f24dc22c2c9d218840fefa0129.tar.gz talos-sbe-3105d5a9227b30f24dc22c2c9d218840fefa0129.zip |
Use Greylist in PutScomUnderMask
RTC: 195177
Change-Id: I1728d78b2019b5a3d5da24c18baf676d07b93de2
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60765
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
(cherry picked from commit 33f754c5c94daa873ca40e0a8accd43f3087ec5d)
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/60943
Diffstat (limited to 'src/sbefw/core/sbescom.C')
-rw-r--r-- | src/sbefw/core/sbescom.C | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/sbefw/core/sbescom.C b/src/sbefw/core/sbescom.C index cd2f0ca1..73924aba 100644 --- a/src/sbefw/core/sbescom.C +++ b/src/sbefw/core/sbescom.C @@ -74,7 +74,8 @@ void checkIndirectAndDoScom( const bool i_isRead, const uint64_t i_addr, uint64_t & io_data, sbeRespGenHdr_t *const o_hdr, - sbeResponseFfdc_t *const o_ffdc) + sbeResponseFfdc_t *const o_ffdc, + uint64_t i_mask ) { #define SBE_FUNC " checkIndirectAndDoScom " @@ -110,7 +111,7 @@ void checkIndirectAndDoScom( const bool i_isRead, CHECK_SBE_SECURITY_RC_AND_BREAK_IF_NOT_SUCCESS( static_cast<uint32_t>(i_addr), (i_isRead ? SBE_SECURITY::READ : SBE_SECURITY::WRITE), - o_hdr) + o_hdr, i_mask) if( i_isRead ) { fapiRc = getscom_abs_wrap (&l_hndl, (uint32_t)i_addr, @@ -164,7 +165,7 @@ void checkIndirectAndDoScom( const bool i_isRead, CHECK_SBE_SECURITY_RC_AND_BREAK_IF_NOT_SUCCESS( static_cast<uint32_t>(tempAddr), (i_isRead ? SBE_SECURITY::READ : SBE_SECURITY::WRITE), - o_hdr) + o_hdr, i_mask) // If we are doing a read. We need to do a write first.. if( i_isRead) |