diff options
author | Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com> | 2017-04-04 11:09:56 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-01 00:04:03 -0600 |
commit | 40b55be1035b4cdc11bba19088390aefb937a6db (patch) | |
tree | a3d6464444d2448fd386f6590ed346939196b5df /hw | |
parent | e8248d22600e421984b52f81c6da2c5a9e04a891 (diff) | |
download | skiboot-40b55be1035b4cdc11bba19088390aefb937a6db.zip skiboot-40b55be1035b4cdc11bba19088390aefb937a6db.tar.gz skiboot-40b55be1035b4cdc11bba19088390aefb937a6db.tar.bz2 |
hw/occ: Log proper SCOM register names
This patch fixes the logging of incorrect SCOM
register names.
Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/occ.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -796,7 +796,7 @@ static bool cpu_pstates_prepare_core(struct proc_chip *chip, rc = xscom_read(chip->id, XSCOM_ADDR_P8_EX_SLAVE(core, EX_PM_PPMCR), &tmp); if (rc) { log_simple_error(&e_info(OPAL_RC_OCC_PSTATE_INIT), - "OCC: Failed to read from OCC in pstates init\n"); + "OCC: Failed to read PM_PPMCR from OCC in pstates init\n"); return false; } tmp = tmp & ~0xFFFF000000000000ULL; @@ -805,7 +805,7 @@ static bool cpu_pstates_prepare_core(struct proc_chip *chip, rc = xscom_write(chip->id, XSCOM_ADDR_P8_EX_SLAVE(core, EX_PM_PPMCR), tmp); if (rc) { log_simple_error(&e_info(OPAL_RC_OCC_PSTATE_INIT), - "OCC: Failed to write PM_GP1 in pstates init\n"); + "OCC: Failed to write PM_PPMCR in pstates init\n"); return false; } time_wait_ms(1); /* Wait for PState to change */ @@ -832,7 +832,7 @@ static bool cpu_pstates_prepare_core(struct proc_chip *chip, rc = xscom_read(chip->id, XSCOM_ADDR_P8_EX_SLAVE(core, EX_PM_PPMSR), &tmp); if (rc) { log_simple_error(&e_info(OPAL_RC_OCC_PSTATE_INIT), - "OCC: Failed to read back setting from OCC" + "OCC: Failed to read PM_PPMSR from OCC" "in pstates init\n"); return false; } |