From 8ad37b962def84a761c3354dbaa146e6c1afa4c8 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Wed, 11 Sep 2019 17:25:19 -0500 Subject: Add support for DMI-MEMBUF bus failures to fapi I noticed this error message the other day - processEIBusCallouts - Bus between target types not known (0x00000027:0x00000004) The effect of this is that we don't end up with the bus error procedure getting added to the error log like it should be. Change-Id: Iecc5f6df2f9c6812d70c5ea66ad0f46dc9bb2694 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/83671 Reviewed-by: Christian R Geddes Reviewed-by: Corey V Swenson Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: William G Hoffa --- src/usr/fapi2/plat_utils.C | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/usr/fapi2') diff --git a/src/usr/fapi2/plat_utils.C b/src/usr/fapi2/plat_utils.C index dd3dab32d..5c4871a26 100644 --- a/src/usr/fapi2/plat_utils.C +++ b/src/usr/fapi2/plat_utils.C @@ -942,6 +942,13 @@ void processEIBusCallouts(const ErrorInfo & i_errInfo, { l_busType = HWAS::DMI_BUS_TYPE; } + else if ( ((l_type1 == TARGETING::TYPE_DMI) && + (l_type2 == TARGETING::TYPE_MEMBUF)) || + ((l_type1 == TARGETING::TYPE_MEMBUF) && + (l_type2 == TARGETING::TYPE_DMI)) ) + { + l_busType = HWAS::DMI_BUS_TYPE; + } else if ((l_type1 == TARGETING::TYPE_ABUS) && (l_type2 == TARGETING::TYPE_ABUS)) { -- cgit v1.2.1