From 497734984231f7c76576a5b0b1762cdaeac6c67a Mon Sep 17 00:00:00 2001 From: Mahesh Salgaonkar Date: Mon, 4 Mar 2019 22:36:42 +0530 Subject: 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 Signed-off-by: Stewart Smith --- include/opal-api.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/opal-api.h') 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 */ }; -- cgit v1.1