From 40cbc0048661edaa492fcc4ee60837a4c75210cd Mon Sep 17 00:00:00 2001 From: Matt Derksen Date: Wed, 20 Feb 2019 12:59:06 -0600 Subject: OpenPOWER support for native and compatibility mode for DD2.3 Witherspoon (OpenPOWER) will run in native mode, which means all the processors have to be at the same level (all DD2.2 or all DD2.3). Other systems (ZZ) we support running in a mixed configuration where DD2.3 processors will be run in 2.2 compatibility mode. We also need to support arbitrary OP systems that might want to run in compatibility mode even without mixed parts. See src/usr/hwas/common/README.md for the rules and resulting mode. Change-Id: I80fb98e2687b945ba506f2d75b1533884443e10b RTC:201485 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/72214 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/include/usr/hwas/common/hwas_reasoncodes.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/include/usr/hwas') diff --git a/src/include/usr/hwas/common/hwas_reasoncodes.H b/src/include/usr/hwas/common/hwas_reasoncodes.H index 09e0e2a56..7b793ecb3 100644 --- a/src/include/usr/hwas/common/hwas_reasoncodes.H +++ b/src/include/usr/hwas/common/hwas_reasoncodes.H @@ -40,6 +40,7 @@ namespace HWAS MOD_IS_DESCENDANT_FUNCTIONAL = 0x09, MOD_FIND_RULES_FOR_TARGET = 0x0A, MOD_DISCOVER_TARGETS = 0x0B, + MOD_UPDATE_PROC_COMPAT_RISK_LEVEL = 0x0C, }; enum HwasReasonCode @@ -74,6 +75,9 @@ namespace HWAS RC_SYSAVAIL_NO_MEMORY_PRESENT = HWAS_COMP_ID | 0x18, RC_PG_INDEX_INVALID = HWAS_COMP_ID | 0x19, RC_PARTIAL_GOOD_INFORMATION = HWAS_COMP_ID | 0x1A, + RC_FORCED_COMPAT_INVALID_LEVEL = HWAS_COMP_ID | 0x1B, + RC_FORCED_NATIVE_INVALID_MIXED_EC = HWAS_COMP_ID | 0x1C, + RC_FORCED_NATIVE_OF_INCOMPATIBLE_RISK = HWAS_COMP_ID | 0x1D, }; enum HwasPlatUserDetailsTypes -- cgit v1.2.1