diff options
author | Douglas Gilbert <dgilbert@us.ibm.com> | 2018-04-30 15:00:15 -0500 |
---|---|---|
committer | Martha Broyles <mbroyles@us.ibm.com> | 2018-05-07 12:35:12 -0400 |
commit | 9e004972550ddbe98efbe8c1803bb7ef86aa4f1d (patch) | |
tree | 9cabbb635a4d41a52a9bb86e8316a87bf69a4c38 /src/common | |
parent | f741c41933c8835c5de75abe8402e3c5d13d417e (diff) | |
download | talos-occ-9e004972550ddbe98efbe8c1803bb7ef86aa4f1d.tar.gz talos-occ-9e004972550ddbe98efbe8c1803bb7ef86aa4f1d.zip |
Centaur SYNC required after changing throttle
Change-Id: I8bccc2a0971728d8d2582ba678de166c2591557a
CQ: SW426949
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/58053
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: William A. Bryan <wilbryan@us.ibm.com>
Reviewed-by: Martha Broyles <mbroyles@us.ibm.com>
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/centaur_configuration.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/common/centaur_configuration.h b/src/common/centaur_configuration.h index 12b8072..65b556b 100644 --- a/src/common/centaur_configuration.h +++ b/src/common/centaur_configuration.h @@ -50,18 +50,13 @@ typedef struct /// APIs mb_id(), mb_chip_type() and mb_ec_level(). centaur_device_id_t deviceId[OCCHW_NCENTAUR]; - /// The image of the PBA slave control register to use for the SYNC command - /// - /// The PowerBus address used to accomplish a Centaur SYNC is - /// constant. To simplify the procedures the PBA slave control register - /// (containing the extended address portion of the address) is - /// pre-computed and stored here. - /// + /// Designated sync scom address /// \note One and Only one of the MCS units can be targeted with SYNC /// commands. The design includes a private bus connecting all MCS on the /// chip that allows this "SYNC master" to broadcast the SYNC to all other - /// MCS on the chip. Currently not used in P9 - pba_slvctln_t syncSlaveControl; + /// MCS on the chip. + uint32_t mcSyncAddr; + uint32_t reserved; // keep 8 byte aligned /// A GpePbaParms parameter block for gpe_mem_data() /// @@ -177,8 +172,12 @@ typedef enum /// Centaur. Currently unsupported for gpe_scom_p8(). CENTAUR_SCOM_RMW_ALL, + // Send Centaur SYNC to broadcast new throttle values. + CENTAUR_SCOM_CENTAUR_SYNC, + } centaur_scom_operation_t; +#define MCS_MCSYNC_SYNC_GO 0x0000800000000000ull // BAR and PBA_SLAVE assigned to gpe1 centaur // - @see POWER Energy Management Hcode/HWP spec |