diff --git a/src/usr/targeting/common/genHwsvMrwXml.pl b/src/usr/targeting/common/genHwsvMrwXml.pl index e782b3fe2ed..e4b029a86b9 100755 --- a/src/usr/targeting/common/genHwsvMrwXml.pl +++ b/src/usr/targeting/common/genHwsvMrwXml.pl @@ -258,7 +258,10 @@ "FREQ_X_MHZ", $reqPol->{'proc_x_frequency'}->{content}, "PROC_EPS_TABLE_TYPE", $reqPol->{'proc_eps_table_type'}, "PROC_FABRIC_PUMP_MODE", $reqPol->{'proc_fabric_pump_mode'}, - "PROC_X_BUS_WIDTH", $reqPol->{'proc_x_bus_width'}, + "PROC_FABRIC_X_BUS_WIDTH", $reqPol->{'proc_fabric_x_bus_width'}, + "PROC_FABRIC_A_BUS_WIDTH", $reqPol->{'proc_fabric_a_bus_width'}, + "PROC_FABRIC_SMP_OPTICS_MODE", $reqPol->{'proc_fabric_smp_optics_mode'}, + "PROC_FABRIC_CAPI_MODE", $reqPol->{'proc_fabric_capi_mode'}, "X_EREPAIR_THRESHOLD_FIELD", $reqPol->{'x-erepair-threshold-field'}, "A_EREPAIR_THRESHOLD_FIELD", $reqPol->{'a-erepair-threshold-field'}, "DMI_EREPAIR_THRESHOLD_FIELD", $reqPol->{'dmi-erepair-threshold-field'}, @@ -3076,24 +3079,6 @@ sub generate_sys "; } - # Tuletas can now support multiple nest frequencies - if ($sysname =~ /tuleta/) - { - print " - MRW_NEST_CAPABLE_FREQUENCIES_SYS - 2000_MHZ_OR_2400_MHZ - -"; - } - else - { - print " - MRW_NEST_CAPABLE_FREQUENCIES_SYS - UNSUPPORTED_FREQ - -"; - } - #adding XSCOM_BASE_ADDRESS to the system target for HDAT print " XSCOM_BASE_ADDRESS diff --git a/src/usr/targeting/common/xmltohb/attribute_types.xml b/src/usr/targeting/common/xmltohb/attribute_types.xml index 203066fc31b..34a48ebd116 100644 --- a/src/usr/targeting/common/xmltohb/attribute_types.xml +++ b/src/usr/targeting/common/xmltohb/attribute_types.xml @@ -2388,38 +2388,6 @@ - - PROC_X_BUS_WIDTH - Enumeration indicating the PROC_X_BUS_WIDTH - - W4BYTE - 1 - - - W8BYTE - 2 - - - - - PROC_X_BUS_WIDTH - - System attribute. - Processor SMP X bus width. - Provided by the Machine Readable Workbook. - - - - - non-volatile - - - - ATTR_PROC_X_BUS_WIDTH - DIRECT - - - ALL_MCS_IN_INTERLEAVING_GROUP @@ -16393,10 +16361,9 @@ Measured in GB 0x03 = PD_AND_STR - - MSS_MRW_POWER_CONTROL_REQUESTED + OFF - + non-volatile @@ -16444,10 +16411,9 @@ Measured in GB 0x03 = PD_AND_STR - - MSS_MRW_IDLE_POWER_CONTROL_REQUESTED + OFF - + non-volatile @@ -17494,41 +17460,6 @@ Measured in GB - - MRW_NEST_CAPABLE_FREQUENCIES_SYS - Enumeration of MRW_NEST_CAPABLE_FREQUENCIES_SYS - - UNSUPPORTED_FREQ - 0 - - - 2000_MHZ - 1 - - - 2400_MHZ - 2 - - - 2000_MHZ_OR_2400_MHZ - 3 - - - - - MRW_NEST_CAPABLE_FREQUENCIES_SYS - The NEST frequencies that the system can support. This is a bit-wise value that represents which of the possible nest frequencies are supported. : 2.0GHz, 2.4GHz, or both. New frequencies should be added in ascending order. - - - - MRW_NEST_CAPABLE_FREQUENCIES_SYS - UNSUPPORTED_FREQ - - - non-volatile - - - WOF_ENABLED @@ -19755,9 +19686,9 @@ Measured in GB Platform default: FALSE - - SYSTEM_WOF_ENABLED - + + OFF + ATTR_SYSTEM_WOF_ENABLED @@ -21226,6 +21157,22 @@ Measured in GB + + PROC_FABRIC_A_BUS_WIDTH + + Enumeration indicating the PROC_FABRIC_A_BUS_WIDTH + + + + 2_BYTE + 1 + + + 4_BYTE + 2 + + + PROC_FABRIC_A_BUS_WIDTH @@ -21234,7 +21181,7 @@ Measured in GB Provided by the MRW. 2_BYTE = 0x01, 4_BYTE = 0x02 - + 4_BYTE non-volatile @@ -21248,6 +21195,7 @@ Measured in GB Enumeration indicating the PROC_FABRIC_X_BUS_WIDTH + 2_BYTE 1 @@ -21267,10 +21215,7 @@ Measured in GB 2_BYTE = 0x01, 4_BYTE = 0x02 - - PROC_FABRIC_X_BUS_WIDTH - 4_BYTE - + 4_BYTE non-volatile @@ -21324,6 +21269,22 @@ Measured in GB + + PROC_FABRIC_SMP_OPTICS_MODE + + Enumeration indicating the PROC_FABRIC_SMP_OPTICS_MODE + + + + OPTICS_IS_X_BUS + 0x0 + + + OPTICS_IS_A_BUS + 0x1 + + + PROC_FABRIC_SMP_OPTICS_MODE @@ -21336,7 +21297,7 @@ Measured in GB - 0 + OPTICS_IS_X_BUS non-volatile @@ -21347,6 +21308,22 @@ Measured in GB + + PROC_FABRIC_CAPI_MODE + + Enumeration indicating the PROC_FABRIC_CAPI_MODE + + + + OFF + 0x0 + + + ON + 0x1 + + + PROC_FABRIC_CAPI_MODE @@ -21358,7 +21335,7 @@ Measured in GB - 0 + OFF non-volatile @@ -21369,6 +21346,19 @@ Measured in GB + + + PROC_FABRIC_ADDR_BAR_MODE + + Enumeration indicating the PROC_FABRIC_ADDR_BAR_MODE + + + + LARGE_SYSTEM + 0x0 + + + PROC_FABRIC_ADDR_BAR_MODE @@ -21379,7 +21369,7 @@ Measured in GB - 0 + LARGE_SYSTEM non-volatile @@ -29830,11 +29820,7 @@ Measured in GB reaction p9_hcd_cache procedures to power on VDMs before CME booting - - - VDM_ENABLE - - + non-volatile diff --git a/src/usr/targeting/common/xmltohb/simics_NIMBUS.system.xml b/src/usr/targeting/common/xmltohb/simics_NIMBUS.system.xml index d352908e2eb..e2dac7acdeb 100644 --- a/src/usr/targeting/common/xmltohb/simics_NIMBUS.system.xml +++ b/src/usr/targeting/common/xmltohb/simics_NIMBUS.system.xml @@ -155,6 +155,10 @@ SYSTEM_RESCLK_STEP_DELAY 0x32 + + PROC_FABRIC_X_BUS_WIDTH + 4_BYTE + diff --git a/src/usr/targeting/common/xmltohb/target_types.xml b/src/usr/targeting/common/xmltohb/target_types.xml index fc035d8aee6..4596a7465e1 100755 --- a/src/usr/targeting/common/xmltohb/target_types.xml +++ b/src/usr/targeting/common/xmltohb/target_types.xml @@ -602,7 +602,6 @@ ISTEP_PAUSE_CONFIG FRU_ID BMC_FRU_ID - MRW_NEST_CAPABLE_FREQUENCIES_SYS PROC_REFCLOCK_RCVR_TERM PCI_REFCLOCK_RCVR_TERM MIN_FREQ_MHZ @@ -621,7 +620,6 @@ MSS_MBA_CACHELINE_INTERLEAVE_MODE PROC_EPS_TABLE_TYPE PROC_FABRIC_PUMP_MODE - PROC_X_BUS_WIDTH X_EREPAIR_THRESHOLD_FIELD A_EREPAIR_THRESHOLD_FIELD DMI_EREPAIR_THRESHOLD_FIELD diff --git a/src/usr/targeting/common/xmltohb/xmltohb.pl b/src/usr/targeting/common/xmltohb/xmltohb.pl index 34f03b36a0d..18de6c34ed4 100755 --- a/src/usr/targeting/common/xmltohb/xmltohb.pl +++ b/src/usr/targeting/common/xmltohb/xmltohb.pl @@ -877,7 +877,12 @@ sub writeFapi2PlatAttrMacrosHeaderFileContent { $fapiWriteable = 1; } - if(!exists $attribute->{simpleType}->{enumeration}) + if(exists $attribute->{simpleType}->{enumeration}) + { + die "Do not use enumerations for FAPI types! ". + $attribute->{id}."\n"; + } + else { $typeSection .= " static_assert(sizeof(TARGETING::ATTR_". $attribute->{id}."_type) == sizeof(fapi2::". $fapiAttr->{id}."_Type), \"Size of attribute ATTR_". $attribute->{id}."_type is not equal to the size of ". @@ -4349,8 +4354,8 @@ sub enumNameToValue { print STDOUT $enumeration; - fatal("dc99> Could not convert enumerator name \"$enumeratorName\"into " - . "enumerator value in \"$enumerationName\". enum="); #dc99 + fatal("Could not convert enumerator name \"$enumeratorName\"into " + . "enumerator value in \"$enumerationName\". enum="); } if($enumeratorValue < 0)