Skip to content

Commit

Permalink
Node Communications: use addHwCallout() to deconfigure
Browse files Browse the repository at this point in the history
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 <ismirno@us.ibm.com>
Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com>
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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
mabaiocchi authored and dcrowell77 committed Aug 2, 2018
1 parent 847e8ef commit 864d9b8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/usr/secureboot/node_comm/node_comm.C
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 864d9b8

Please sign in to comment.