aboutsummaryrefslogtreecommitdiff
path: root/include/timebase.h
AgeCommit message (Collapse)AuthorFilesLines
2014-08-13dpo: Add OPAL interface to access the DPO timeoutAnshuman Khandual1-0/+5
This patch adds a OPAL interface to fetch the DPO timeout. This functionality is required to synchronously query Sapphire about how much seconds are remaining for a forced system shutdown which is useful in cases where the host has missed the OPAL_MSG_DPO for some reason like system boot, reboot or kexec operations. This ensures host can still query about the DPO timeout status and act. This patch also adds helper routine to convert time base into seconds. Signed-off-by: Anshuman Khandual <khandual@linux.vnet.ibm.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-07-08timebase: Add "nopoll" variants of the delaysBenjamin Herrenschmidt1-3/+6
In case where we don't want to recurse into opal pollers Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-07-02Initial commit of Open Source releaseBenjamin Herrenschmidt1-0/+91
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>