summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYong Li <yong.b.li@linux.intel.com>2018-12-05 18:12:46 +0800
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-01-15 16:59:25 +0000
commitd8b93b5773d40100f13fdf84803d579b58602f72 (patch)
tree596e1866936cbefb7285dd2c09dd126d146e95da
parentcb1d059cebf9d6dbb83ff3cb3d6eab42dc018a00 (diff)
downloadphosphor-dbus-interfaces-d8b93b5773d40100f13fdf84803d579b58602f72.zip
phosphor-dbus-interfaces-d8b93b5773d40100f13fdf84803d579b58602f72.tar.gz
Add the time use related fields defined in IPMI spec
The IPMI watchdog timer use field is used to indicate the current timer use assigned to the watchdog timer, timer expiration flags is used to indicate the current timer expiration flags used by the timer. Add them as a dbus property, IPMI set/get watchdog commands will use it. Change-Id: I549a97a13a398fd0815a3865004c6880010aa08e Signed-off-by: Yong Li <yong.b.li@linux.intel.com>
-rw-r--r--xyz/openbmc_project/State/Watchdog.interface.yaml33
1 files changed, 33 insertions, 0 deletions
diff --git a/xyz/openbmc_project/State/Watchdog.interface.yaml b/xyz/openbmc_project/State/Watchdog.interface.yaml
index f76dbf2..166d400 100644
--- a/xyz/openbmc_project/State/Watchdog.interface.yaml
+++ b/xyz/openbmc_project/State/Watchdog.interface.yaml
@@ -44,6 +44,16 @@ properties:
Time remaining before timeout, in milli-second.
Setting this property can re-arm the watchdog.
default: 0
+ - name: TimerUse
+ type: enum[self.TimerUseField]
+ description: >
+ The current timer use assigned to the watchdog timer.
+ default: 'Reserved'
+ - name: TimerUseExpirationFlag
+ type: enum[self.TimerUseField]
+ description: >
+ The current timer use expiration flags assigned to the watchdog timer.
+ default: 'Reserved'
enumerations:
- name: Action
@@ -63,4 +73,27 @@ enumerations:
description: >
Perform a power cycle of the system.
+ - name: TimerUseField
+ description: >
+ The type of timer use.
+ values:
+ - name: 'Reserved'
+ description: >
+ Reserved.
+ - name: 'BIOSFRB2'
+ description: >
+ BIOS FRB2.
+ - name: 'BIOSPOST'
+ description: >
+ BIOS POST.
+ - name: 'OSLoad'
+ description: >
+ OS Load.
+ - name: SMSOS
+ description: >
+ SMS OS.
+ - name: 'OEM'
+ description: >
+ OEM.
+
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud