summaryrefslogtreecommitdiffstats
path: root/src/usr/secureboot
diff options
context:
space:
mode:
authorMike Baiocchi <mbaiocch@us.ibm.com>2018-08-01 15:05:32 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-02 14:40:26 -0500
commit864d9b80ebf96b48746fccbc751d471198c2e4b3 (patch)
tree7b6b9233eb4b2b09c6541de09f5948aae3067eea /src/usr/secureboot
parent847e8ef1fbeb1c87cc2ff9d7dfe7ad3a8d4d9895 (diff)
downloadtalos-hostboot-864d9b80ebf96b48746fccbc751d471198c2e4b3.tar.gz
talos-hostboot-864d9b80ebf96b48746fccbc751d471198c2e4b3.zip
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 <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>
Diffstat (limited to 'src/usr/secureboot')
-rw-r--r--src/usr/secureboot/node_comm/node_comm.C15
1 files changed, 15 insertions, 0 deletions
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
OpenPOWER on IntegriCloud