Skip to content

Commit

Permalink
Parse system_vdm_disable if it is in SW1 xml
Browse files Browse the repository at this point in the history
Add code to handle system_vdm_disable once it shows up in the
ZZ xml.

CMVC-Prereq: 1034437
Change-Id: I7e4172d68307163ae94c66f30339995c4b2097cf
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46081
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
dcrowell77 committed Sep 23, 2017
1 parent 540ffac commit 69439a6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 26 deletions.
7 changes: 7 additions & 0 deletions src/usr/targeting/common/genHwsvMrwXml.pl
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,13 @@
push @systemAttr, ['REQUIRED_SYNCH_MODE', 0];
}

# Handle the new name when/if it shows up in the xml
# otherwise we'll just rely on the default value
if ( exists $reqPol->{'system_vdm_disable'} )
{
push @systemAttr, ['SYSTEM_VDM_DISABLE',
$reqPol->{'system_vdm_disable'}];
}

if ( exists $reqPol->{'dpll_vdm_response'} )
{
Expand Down
26 changes: 0 additions & 26 deletions src/usr/targeting/common/xmltohb/attribute_types.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7669,30 +7669,4 @@ Selects which voltage level to place the Core and ECO domain PFETs upon Winkle e
</hwpfToHbAttrMap>
</attribute>

<attribute>
<id>SYSTEM_VDM_DISABLE</id>
<description>
Disables the enablement of Voltage Droop Monitors (VDM) in the system.

Producer: Override

Consumers:
p9_pstate_parameter_block to clear flag for CME QuadManager Hcode
reaction
</description>
<simpleType>
<uint8_t>
<default>0x01</default>
</uint8_t>
</simpleType>
<readable/>
<writeable/>
<persistency>volatile</persistency>
<hwpfToHbAttrMap>
<id>ATTR_SYSTEM_VDM_DISABLE</id>
<macro>DIRECT</macro>
</hwpfToHbAttrMap>
</attribute>


</attributes>

0 comments on commit 69439a6

Please sign in to comment.