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 /include/fsp.h | |
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 'include/fsp.h')
-rw-r--r-- | include/fsp.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h index 5689798..3df78a1 100644 --- a/include/fsp.h +++ b/include/fsp.h @@ -520,6 +520,12 @@ #define FSP_CMD_VSERIAL_OUT 0x0e10200 /* HV->FSP */ /* + * Class E6 + */ +#define FSP_CMD_TOPO_ENABLE_DISABLE 0x0e60600 /* FSP->HV */ +#define FSP_RSP_TOPO_ENABLE_DISABLE 0x0e68600 /* HV->FSP */ + +/* * Class E8 */ #define FSP_CMD_READ_SRC 0x1e84a40 /* HV->FSP */ @@ -812,4 +818,7 @@ extern void fsp_epow_init(void); /* DPO */ extern void fsp_dpo_init(void); +/* Chiptod */ +extern void fsp_chiptod_init(void); + #endif /* __FSP_H */ |