From 9e004972550ddbe98efbe8c1803bb7ef86aa4f1d Mon Sep 17 00:00:00 2001 From: Douglas Gilbert Date: Mon, 30 Apr 2018 15:00:15 -0500 Subject: 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 Reviewed-by: William A. Bryan Reviewed-by: Martha Broyles --- src/common/centaur_configuration.h | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'src/common') 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 -- cgit v1.2.1