George Hung | 230aee7 | 2020-07-09 22:22:22 +0800 | [diff] [blame] | 1 | From b7c487750c05dcc081219ccdd4ef539beef6aa30 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ren Yu <yux.ren@intel.com> |
| 3 | Date: Mon, 29 Jul 2019 10:51:12 +0800 |
| 4 | Subject: [PATCH] Add PreInterruptFlag properity in DBUS. |
| 5 | |
| 6 | PreTimeoutInterruptOccurFlag in DBUS would be set 'true' |
| 7 | when watchdog pre-timeout interrupt occurred. |
| 8 | |
| 9 | Tested: |
| 10 | Enable command(raw 0x06 0x31) that get message flag |
| 11 | can set right bit about watchdog, |
| 12 | need record PreTimeoutInterruptOccurFlag |
| 13 | at xyz.openbmmc_project.State.Watchdog when watchdog |
| 14 | pre-timeout interrupt occurred. |
| 15 | |
| 16 | Signed-off-by: Ren Yu <yux.ren@intel.com> |
| 17 | --- |
| 18 | xyz/openbmc_project/State/Watchdog.interface.yaml | 5 +++++ |
| 19 | 1 file changed, 5 insertions(+) |
| 20 | |
| 21 | diff --git a/xyz/openbmc_project/State/Watchdog.interface.yaml b/xyz/openbmc_project/State/Watchdog.interface.yaml |
| 22 | index bf4cca0..6579368 100644 |
| 23 | --- a/xyz/openbmc_project/State/Watchdog.interface.yaml |
| 24 | +++ b/xyz/openbmc_project/State/Watchdog.interface.yaml |
| 25 | @@ -59,6 +59,11 @@ properties: |
| 26 | description: > |
| 27 | The timer user at the time of expiration. |
| 28 | default: 'Reserved' |
| 29 | + - name: PreTimeoutInterruptOccurFlag |
| 30 | + type: boolean |
| 31 | + description: > |
| 32 | + PreTimeoutInterruptOccurFlag that preTimeoutInterrupt action occurred. |
| 33 | + default: false |
| 34 | |
| 35 | enumerations: |
| 36 | - name: Action |
| 37 | -- |
| 38 | 2.7.4 |
| 39 | |