Commit 186c204
Fix SDEI state machine issue during reboot process
hulk inclusion
category: bugfix
bugzilla: https://atomgit.com/openeuler/kernel/issues/8325
--------------------------------
Add sdei event status check in sdei pm notifier, If event is already
unregistered, don't do disable/enable in pm notifier. In this way, we
can prevent incorrect state transitions, e.g., disabling or enabling
after unregistering.
Fixes: c8f96adca7fa ("arm64/watchdog: fix watchdog failure in low power scenarios")
Signed-off-by: Bowen You <youbowen2@huawei.com>
(cherry picked from commit 4f1e47d2241d253a802be3e0f5288626a590bec5)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 2542fa9 commit 186c204
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
120 | 138 | | |
121 | 139 | | |
122 | 140 | | |
| |||
131 | 149 | | |
132 | 150 | | |
133 | 151 | | |
| 152 | + | |
134 | 153 | | |
135 | 154 | | |
136 | | - | |
| 155 | + | |
137 | 156 | | |
138 | 157 | | |
139 | 158 | | |
| |||
0 commit comments