diff options
author | Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> | 2015-06-05 23:40:15 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-07-09 16:27:32 +1000 |
commit | 8c6d7e5aa922c580ebea630a0dec492aee25e6ee (patch) | |
tree | 3b6fed858ef0ece5cb6a539a0577e25d7e15ed57 /platforms | |
parent | 939ac40f8010210078a04a4d35f5dbfd780603e1 (diff) | |
download | skiboot-8c6d7e5aa922c580ebea630a0dec492aee25e6ee.zip skiboot-8c6d7e5aa922c580ebea630a0dec492aee25e6ee.tar.gz skiboot-8c6d7e5aa922c580ebea630a0dec492aee25e6ee.tar.bz2 |
opal: Enable backup topology.
Whenever FSP makes any changes to backup topology as part of either
routine hardware maintenance or fixing failed backup topology configuration,
it sends out mailbox command xE6, s/c 0x06, mod 0, to enable/disable
the backup topology. OPAL layer should keep itself up-to-date with accurate
details of current topology configurations. This will help OPAL layer to
successfully handle any TOD failover in future.
The FSP can only request that the currently inactive (backup) topology be
disabled or enabled. If the requested topology is currently the active
topology, then fail this request with a 0xB8 (TOD topology in use) status
as return code.
For disable request, set the backup topology status as disabled.
For enable request, scan all the available chips and find the new backup
master chip by looking at TOD status register of each chip.
Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/ibm-fsp/common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platforms/ibm-fsp/common.c b/platforms/ibm-fsp/common.c index d993b95..12536bd 100644 --- a/platforms/ibm-fsp/common.c +++ b/platforms/ibm-fsp/common.c @@ -110,6 +110,9 @@ void ibm_fsp_init(void) /* Initialize SP attention area */ fsp_attn_init(); + /* Initialize monitoring of TOD topology change event notification */ + fsp_chiptod_init(); + /* Send MDST table notification to FSP */ op_display(OP_LOG, OP_MOD_INIT, 0x0000); fsp_mdst_table_init(); |