From 093246224655865346ec1353383f1f96f9f403d9 Mon Sep 17 00:00:00 2001 From: Dan Crowell Date: Wed, 31 Jan 2018 16:07:05 -0600 Subject: Set ATTR_RISK_LEVEL based on scratch reg bits The risk level value has expanded to 2 extra bits to handle new modified settings. Change-Id: Ic3794066659fe5ebe82b330c9530a04f7eadee94 RTC: 187088 Backport: fips910 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/53023 Reviewed-by: Martin Gloff 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/include/usr/initservice/mboxRegs.H | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/include/usr') diff --git a/src/include/usr/initservice/mboxRegs.H b/src/include/usr/initservice/mboxRegs.H index a5b46abb3..52cd45ea6 100644 --- a/src/include/usr/initservice/mboxRegs.H +++ b/src/include/usr/initservice/mboxRegs.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -86,12 +86,13 @@ namespace SPLESS uint32_t goToRuntime :1; //1 uint32_t isMpipl :1; //2 uint32_t fspAttached :1; //3 - uint32_t reserved1 :1; //4 -- do not repurpose + uint32_t reserved :1; //4 -- do not repurpose uint32_t sbeInternalFFDC :1; //5 uint32_t overrideSecurity :1; //6 uint32_t allowAttrOverrides :1; //7 uint32_t smtMode :2; //8:9 - uint32_t reserved2 :22; //10:31 -- Available + uint32_t unused :18; //10:27 -- Available + uint32_t riskLevel :4; //28:31 } PACKED; // NOTE: Used for debug tool communication during Hostboot IPL }; @@ -124,7 +125,7 @@ namespace SPLESS { uint32_t cacheContained :1; //0 uint32_t initAllCores :1; //1 - uint32_t riskLevel :1; //2 + uint32_t oldRiskLevel :1; //2 uint32_t noBLVectors :1; //3 uint32_t mcSyncMode :1; //4 uint32_t slowPci :1; //5 -- cgit v1.2.3