From 864d9b80ebf96b48746fccbc751d471198c2e4b3 Mon Sep 17 00:00:00 2001 From: Mike Baiocchi Date: Wed, 1 Aug 2018 15:05:32 -0500 Subject: Node Communications: use addHwCallout() to deconfigure This commit adds the appropriate addHwCallout() after addBusCallout() to ensure that the appropriate item (either XBUS or SMPGROUP) gets deconfigured. Change-Id: Iff2cea9d41b6d86b79024a5f682675d4938f20a3 RTC:184518 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/63727 Reviewed-by: ILYA SMIRNOV Reviewed-by: Nicholas E. Bofferding Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: Daniel M. Crowell --- src/usr/secureboot/node_comm/node_comm.C | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/usr/secureboot') diff --git a/src/usr/secureboot/node_comm/node_comm.C b/src/usr/secureboot/node_comm/node_comm.C index cb6b18bc9..64b23137a 100644 --- a/src/usr/secureboot/node_comm/node_comm.C +++ b/src/usr/secureboot/node_comm/node_comm.C @@ -666,6 +666,13 @@ void addNodeCommBusCallout(node_comm_modes_t i_mode, l_ep2, l_bus_type, i_priority); + + // Add HW Callout to deconfigure this XBUS + io_log->addHwCallout(l_busTgt, + i_priority, + HWAS::DECONFIG, + HWAS::GARD_NULL); + break; } else @@ -729,6 +736,14 @@ void addNodeCommBusCallout(node_comm_modes_t i_mode, l_smpGroup_peer_ep, l_bus_type, i_priority); + + // Add HW Callout to deconfigure this SMPGROUP + // NOTE: GARD is not supported at SMPGORUP level + io_log->addHwCallout(l_smpGroup, + i_priority, + HWAS::DECONFIG, + HWAS::GARD_NULL); + break; } } // for loop on SMPGROUP -- cgit v1.2.1