From 40039bb5fddf5efd1b01429ef011b68be999dce3 Mon Sep 17 00:00:00 2001 From: Corey Swenson Date: Thu, 6 Sep 2018 13:31:35 -0500 Subject: 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 Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Matt Derksen Tested-by: FSP CI Jenkins Reviewed-by: Christian R. Geddes Reviewed-by: Daniel M. Crowell --- src/usr/fapi2/test/p9_hwtests.C | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/usr/fapi2') 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(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; -- cgit v1.2.1