blob: 67fa590903347d5302baf51e8b505a037f536bec [file] [log] [blame]
George Hung230aee72020-07-09 22:22:22 +08001From 6e9a19c43acac7d4254910906329d98d7b59085a Mon Sep 17 00:00:00 2001
2From: Ren Yu <yux.ren@intel.com>
3Date: Fri, 24 May 2019 14:55:10 +0800
4Subject: [PATCH] Add the pre-timeout interrupt defined in IPMI spec
5
6The IPMI watchdog pre-timeout interrupt is used to set the different
7pre-timeout interrupt source. Add them as a dbus property,
8IPMI set/get watchdog commands will use it.
9
10Signed-off-by: Ren Yu <yux.ren@intel.com>
11---
12 xyz/openbmc_project/State/Watchdog.interface.yaml | 22 ++++++++++++++++++++++
13 1 file changed, 22 insertions(+)
14
15diff --git a/xyz/openbmc_project/State/Watchdog.interface.yaml b/xyz/openbmc_project/State/Watchdog.interface.yaml
16index 2fc47d8..6dfa9b9 100644
17--- a/xyz/openbmc_project/State/Watchdog.interface.yaml
18+++ b/xyz/openbmc_project/State/Watchdog.interface.yaml
19@@ -33,6 +33,11 @@ properties:
20 description: >
21 The action the watchdog should perform when it expires.
22 default: 'HardReset'
23+ - name: PreTimeoutInterrupt
24+ type: enum[self.PreTimeoutInterruptAction]
25+ description: >
26+ The BMC generates the selected interrupt before the timer expires.
27+ default: 'None'
28 - name: Interval
29 type: uint64
30 description: >
31@@ -73,6 +78,23 @@ enumerations:
32 description: >
33 Perform a power cycle of the system.
34
35+ - name: PreTimeoutInterruptAction
36+ description: >
37+ The type of PreTimeout Interrupt.
38+ values:
39+ - name: 'None'
40+ description: >
41+ Do nothing.
42+ - name: 'SMI'
43+ description: >
44+ SMI.
45+ - name: 'NMI'
46+ description: >
47+ NMI / Diagnostic Interrupt.
48+ - name: 'MI'
49+ description: >
50+ Messaging Interrupt.
51+
52 - name: TimerUse
53 description: >
54 The type of timer use.
55--
562.7.4
57