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