aboutsummaryrefslogtreecommitdiff
path: root/include/opal-api.h
diff options
context:
space:
mode:
authorMahesh Salgaonkar <mahesh@linux.vnet.ibm.com>2019-03-04 22:36:42 +0530
committerStewart Smith <stewart@linux.ibm.com>2019-03-05 15:28:06 +1100
commit497734984231f7c76576a5b0b1762cdaeac6c67a (patch)
treedad4314991db1c2117e46d7fab075355f76b4079 /include/opal-api.h
parentca349b836d026e6442c873663a9fd72687a4298a (diff)
downloadskiboot-497734984231f7c76576a5b0b1762cdaeac6c67a.zip
skiboot-497734984231f7c76576a5b0b1762cdaeac6c67a.tar.gz
skiboot-497734984231f7c76576a5b0b1762cdaeac6c67a.tar.bz2
opal/hmi: set a flag to inform OS that TOD/TB has failed.
Set a flag to indicate OS about TOD/TB failure as part of new opal_handle_hmi2 handler. This flag then can be used by OS to make sure functions depending on TB value (e.g. udelay()) are aware of TB not ticking. Signed-off-by: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/opal-api.h')
-rw-r--r--include/opal-api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opal-api.h b/include/opal-api.h
index 5f397c8..73f86f9 100644
--- a/include/opal-api.h
+++ b/include/opal-api.h
@@ -777,6 +777,7 @@ enum {
OPAL_HMI_FLAGS_TB_RESYNC = (1ull << 0), /* Timebase has been resynced */
OPAL_HMI_FLAGS_DEC_LOST = (1ull << 1), /* DEC lost, needs to be reprogrammed */
OPAL_HMI_FLAGS_HDEC_LOST = (1ull << 2), /* HDEC lost, needs to be reprogrammed */
+ OPAL_HMI_FLAGS_TOD_TB_FAIL = (1ull << 3), /* TOD/TB recovery failed. */
OPAL_HMI_FLAGS_NEW_EVENT = (1ull << 63), /* An event has been created */
};