<commit_before><!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_freq.xml $ -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- Contributors Listed Below - COPYRIGHT 2015,2019                        -->
<!-- [+] International Business Machines Corp.                              -->
<!--                                                                        -->
<!--                                                                        -->
<!-- Licensed under the Apache License, Version 2.0 (the "License");        -->
<!-- you may not use this file except in compliance with the License.       -->
<!-- You may obtain a copy of the License at                                -->
<!--                                                                        -->
<!--     http://www.apache.org/licenses/LICENSE-2.0                         -->
<!--                                                                        -->
<!-- Unless required by applicable law or agreed to in writing, software    -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
<!-- implied. See the License for the specific language governing           -->
<!-- permissions and limitations under the License.                         -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->

<!-- -->
<!-- @file memory_mss_freq.xml -->
<!-- @brief Error xml for mss_freq -->
<!-- -->
<!-- *HWP HWP Owner: <NAME> <<EMAIL>> -->
<!-- *HWP HWP Backup: <NAME> <<EMAIL>> -->
<!-- *HWP Team: Memory -->
<!-- *HWP Level: 1 -->
<!-- *HWP Consumed by: HB:FSP -->
<!-- -->

<!-- //TK - This needs to be cleaned up after mss_freq is refactored - AAM -->

<hwpErrors>


  <hwpError>
    <rc>RC_MSS_INVALID_TIMING_VALUE</rc>
    <description>Invalid value calculated for timing value based on MTB and FTB from SPD.</description>
    <ffdc>VALUE</ffdc>
    <callout>
      <target>DIMM_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>DIMM_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_REACHED_HIGHEST_TCK</rc>
    <description>
      No valid tCK exists that would produce a CAS latency that is common among all dimms.
    </description>
    <ffdc>TCK</ffdc>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_NO_COMMON_SUPPORTED_CL</rc>
    <description>Current Configuration has no common supported CL values.</description>
    <ffdc>CL_SUPPORTED</ffdc>
    <callout>
      <target>MCS_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>MCS_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_EXCEED_TAA_MAX_NO_CL</rc>
    <description>Exceeded TAA MAX with Lowest frequency.  No compatable CL.</description>
    <ffdc>CL</ffdc>
    <callout>
      <target>DIMM_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>DIMM_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_FREQ_NOT_EQUAL_NEST_FREQ</rc>
    <description>
      Case when mss_freq speeds are different and sync mode is required,
      and mss_freq is not equal to nest freq.
    </description>
    <ffdc>MSS_FREQ</ffdc>
    <ffdc>NEST_FREQ</ffdc>
    <callout>
      <target>MCS_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>MCS_TARGET</target>
    </deconfigure>
  </hwpError>

  <!-- TK - Should this be FFDC or just return FAPI2_RC_FALSE? - AAM -->
  <hwpError>
    <rc>RC_MSS_UNSUPPORTED_FREQ_CALCULATED</rc>
    <description>The frequency calculated with spd data is not supported by the jedec standards.</description>
    <ffdc>DIMM_MIN_FREQ</ffdc>
  </hwpError>

  <!-- TK - I don't think this belongs in this file - AAM -->
  <hwpError>
    <rc>RC_MSS_UNSUPPORTED_DEV_TYPE</rc>
    <description>Device type is not DDR4.</description>
    <ffdc>DEV_TYPE</ffdc>
    <callout>
      <target>DIMM_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>DIMM_TARGET</target>
    </deconfigure>
  </hwpError>


</hwpErrors><commit_msg>Change p9_mss_freq_system to write attributes, errors for Cronus<commit_after><!-- IBM_PROLOG_BEGIN_TAG                                                   -->
<!-- This is an automatically generated prolog.                             -->
<!--                                                                        -->
<!-- $Source: src/import/chips/p9/procedures/xml/error_info/p9_memory_mss_freq.xml $ -->
<!--                                                                        -->
<!-- OpenPOWER HostBoot Project                                             -->
<!--                                                                        -->
<!-- Contributors Listed Below - COPYRIGHT 2015,2019                        -->
<!-- [+] International Business Machines Corp.                              -->
<!--                                                                        -->
<!--                                                                        -->
<!-- Licensed under the Apache License, Version 2.0 (the "License");        -->
<!-- you may not use this file except in compliance with the License.       -->
<!-- You may obtain a copy of the License at                                -->
<!--                                                                        -->
<!--     http://www.apache.org/licenses/LICENSE-2.0                         -->
<!--                                                                        -->
<!-- Unless required by applicable law or agreed to in writing, software    -->
<!-- distributed under the License is distributed on an "AS IS" BASIS,      -->
<!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or        -->
<!-- implied. See the License for the specific language governing           -->
<!-- permissions and limitations under the License.                         -->
<!--                                                                        -->
<!-- IBM_PROLOG_END_TAG                                                     -->

<!-- -->
<!-- @file memory_mss_freq.xml -->
<!-- @brief Error xml for mss_freq -->
<!-- -->
<!-- *HWP HWP Owner: <NAME> <<EMAIL>> -->
<!-- *HWP HWP Backup: <NAME> <<EMAIL>> -->
<!-- *HWP Team: Memory -->
<!-- *HWP Level: 1 -->
<!-- *HWP Consumed by: HB:FSP -->
<!-- -->

<!-- //TK - This needs to be cleaned up after mss_freq is refactored - AAM -->

<hwpErrors>


  <hwpError>
    <rc>RC_MSS_INVALID_TIMING_VALUE</rc>
    <description>Invalid value calculated for timing value based on MTB and FTB from SPD.</description>
    <ffdc>VALUE</ffdc>
    <callout>
      <target>DIMM_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>DIMM_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_REACHED_HIGHEST_TCK</rc>
    <description>
      No valid tCK exists that would produce a CAS latency that is common among all dimms.
    </description>
    <ffdc>TCK</ffdc>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_NO_COMMON_SUPPORTED_CL</rc>
    <description>Current Configuration has no common supported CL values.</description>
    <ffdc>CL_SUPPORTED</ffdc>
    <callout>
      <target>MCS_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>MCS_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_EXCEED_TAA_MAX_NO_CL</rc>
    <description>Exceeded TAA MAX with Lowest frequency.  No compatable CL.</description>
    <ffdc>CL</ffdc>
    <callout>
      <target>DIMM_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>DIMM_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_FREQ_NOT_EQUAL_NEST_FREQ</rc>
    <description>
      Case when mss_freq speeds are different and sync mode is required,
      and mss_freq is not equal to nest freq.
    </description>
    <ffdc>MSS_FREQ</ffdc>
    <ffdc>NEST_FREQ</ffdc>
    <callout>
      <target>MCS_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <childTargets>
        <parent>MCS_TARGET</parent>
        <childType>TARGET_TYPE_DIMM</childType>
      </childTargets>
    </deconfigure>
  </hwpError>

  <!-- Cronus only error when we can't match DIMM speeds to sync mode -->
  <hwpError>
    <rc>RC_MSS_FAILED_SYNC_MODE</rc>
    <description>
      DIMM speeds are different and sync mode is required
    </description>
    <ffdc>NEST_FREQ</ffdc>
  </hwpError>

  <!-- TK - Should this be FFDC or just return FAPI2_RC_FALSE? - AAM -->
  <hwpError>
    <rc>RC_MSS_UNSUPPORTED_FREQ_CALCULATED</rc>
    <description>The frequency calculated with spd data is not supported by the jedec standards.</description>
    <ffdc>DIMM_MIN_FREQ</ffdc>
  </hwpError>

  <!-- TK - I don't think this belongs in this file - AAM -->
  <hwpError>
    <rc>RC_MSS_UNSUPPORTED_DEV_TYPE</rc>
    <description>Device type is not DDR4.</description>
    <ffdc>DEV_TYPE</ffdc>
    <callout>
      <target>DIMM_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>DIMM_TARGET</target>
    </deconfigure>
  </hwpError>

  <hwpError>
    <rc>RC_MSS_VPD_FREQ_MAX_FREQ_EMPTY_SET</rc>
    <description>
      When considering the frequencies in the VPD and the max supported
      frequencies based on DIMM config, there are no applicable frequencies
      remaining
    </description>
    <ffdc>MSS_VPD_FREQ_0</ffdc>
    <ffdc>MSS_VPD_FREQ_1</ffdc>
    <ffdc>MSS_VPD_FREQ_2</ffdc>
    <ffdc>MSS_VPD_FREQ_3</ffdc>
    <ffdc>MSS_MAX_FREQ_0</ffdc>
    <ffdc>MSS_MAX_FREQ_1</ffdc>
    <ffdc>MSS_MAX_FREQ_2</ffdc>
    <ffdc>MSS_MAX_FREQ_3</ffdc>
    <ffdc>MSS_MAX_FREQ_4</ffdc>
    <ffdc>REQUIRED_SYNC_MODE</ffdc>
    <ffdc>MAX_FREQ_FROM_DIMM</ffdc>
    <callout>
      <target>MCS_TARGET</target>
      <priority>HIGH</priority>
    </callout>
    <deconfigure>
      <target>MCS_TARGET</target>
    </deconfigure>
  </hwpError>

</hwpErrors>
{'fraction_non_alphanumeric': 0.12945801741083965, 'fraction_numerical': 0.004118693250959468, 'mean_word_length': 1.64390002474635, 'pattern_counts': {'":': 0, '<': 360, '<?xml version=': 0, '>': 360, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 62, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3141020', 'n_tokens_mistral': 3141, 'n_tokens_neox': 3103, 'n_words': 707}