From d8b93b5773d40100f13fdf84803d579b58602f72 Mon Sep 17 00:00:00 2001 From: Yong Li Date: Wed, 5 Dec 2018 18:12:46 +0800 Subject: 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 --- xyz/openbmc_project/State/Watchdog.interface.yaml | 33 +++++++++++++++++++++++ 1 file changed, 33 insertions(+) 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 -- cgit v1.2.1