diff options
author | Corey Swenson <cswenson@us.ibm.com> | 2018-09-06 13:31:35 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-11-09 09:30:00 -0600 |
commit | 40039bb5fddf5efd1b01429ef011b68be999dce3 (patch) | |
tree | d509be93e473fc292bd51658b377954785d1117a /src/usr/fapi2 | |
parent | fffa79ecb0c701ee029eae8ffb33483701e4c117 (diff) | |
download | talos-hostboot-40039bb5fddf5efd1b01429ef011b68be999dce3.tar.gz talos-hostboot-40039bb5fddf5efd1b01429ef011b68be999dce3.zip |
Extend multicast workaround and add tests
- Add support for multicast OR op type
- Add xscom and scom multicast tests
- Avoid false fails by not setting multicast bit in bad address tests
Change-Id: I32ea5b1b68a1a2f0d92c2b82b5ab1b932ddb54af
RTC:198114
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65778
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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>
Reviewed-by: Matt Derksen <mderkse1@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: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2')
-rw-r--r-- | src/usr/fapi2/test/p9_hwtests.C | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/fapi2/test/p9_hwtests.C b/src/usr/fapi2/test/p9_hwtests.C index 6be74f20e..d761f99a5 100644 --- a/src/usr/fapi2/test/p9_hwtests.C +++ b/src/usr/fapi2/test/p9_hwtests.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2016,2017 */ +/* Contributors Listed Below - COPYRIGHT 2016,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -395,14 +395,16 @@ fapi2::ReturnCode p9_piberrmask_masktest( fapi2::setPIBErrorMask(static_cast<uint8_t>(PIB::PIB_INVALID_ADDRESS)); //Attempt writing to a bad address + // Avoid multicast error by not setting bit 1 FAPI_TRY(fapi2::putScom(i_target, - 0xDEADBEEF, + 0xBADDBEEF, l_scomdata)); //try another scom, this time a get to make sure that // FAPI_TRY does not reset the mask + // Avoid multicast error by not setting bit 1 FAPI_TRY(fapi2::getScom(i_target, - 0xDEADBEEF, + 0xBADDBEEF, l_scomdata)); completionCheck = 1; |