summaryrefslogtreecommitdiffstats
path: root/src/usr/sbe
diff options
context:
space:
mode:
authorNick Bofferding <bofferdn@us.ibm.com>2018-11-13 00:35:35 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-11-15 13:58:29 -0600
commit1e6bbb9b989b1c04c8190ed6240badb8cd99d886 (patch)
treeab3d6c5c840612ef041c93a2008828ef2828272e /src/usr/sbe
parent6cf801f1c1b75b6bb67fa67d310b3b1518f66817 (diff)
downloadtalos-hostboot-1e6bbb9b989b1c04c8190ed6240badb8cd99d886.tar.gz
talos-hostboot-1e6bbb9b989b1c04c8190ed6240badb8cd99d886.zip
Only allow key transition in istep 10.2
In certain cases, if a key transition driver was booted and the nest frequency had to be updated, the key transition flow would erroneously activate in istep 7.3 (call_mss_freq). This change confines key transitioning to istep 10.2 Change-Id: I450703e21bf68644298f77fcdfca62eae5c667e4 CQ: SW451376 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68685 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael Baiocchi <mbaiocch@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/sbe')
-rw-r--r--src/usr/sbe/sbe_update.C11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/usr/sbe/sbe_update.C b/src/usr/sbe/sbe_update.C
index 4792de5bd..7fdd7ae14 100644
--- a/src/usr/sbe/sbe_update.C
+++ b/src/usr/sbe/sbe_update.C
@@ -115,7 +115,8 @@ using namespace TARGETING;
namespace SBE
{
- errlHndl_t updateProcessorSbeSeeproms()
+ errlHndl_t updateProcessorSbeSeeproms(
+ const KEY_TRANSITION_PERM i_keyTransPerm)
{
errlHndl_t err = NULL;
errlHndl_t err_cleanup = NULL;
@@ -260,8 +261,12 @@ namespace SBE
err = NULL;
}
- // Check if a key transition is needed
- err = secureKeyTransition();
+ // Check if a key transition is allowed/needed
+ if(i_keyTransPerm == ALLOW_KEY_TRANSITION)
+ {
+ err = secureKeyTransition();
+ }
+
if (err)
{
TRACFCOMP( g_trac_sbe, ERR_MRK"updateProcessorSbeSeeproms() - failed secureKeyTransition");
OpenPOWER on IntegriCloud