diff options
| author | Deb McLemore <[email protected]> | 2018-05-20 21:04:38 -0500 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2019-10-11 19:42:06 +1100 |
| commit | a9336ddf448b1cba3080195cec2287af3907236c (patch) | |
| tree | 2402d97e43add5b95dc10166ada0a4d6d8fced11 /tools/perf/scripts/python | |
| parent | 29674a1c71be710f8418468aa6a8addd6d1aba1c (diff) | |
powerpc/powernv: Add queue mechanism for early messages
When issuing a BMC soft poweroff during IPL, the poweroff can be lost
so the machine would not poweroff.
This is because opal messages can be received before the opal-power
code registered its notifiers.
Fix it by buffering messages. If we receive a message and do not yet
have a handler for that type, store the message and replay when a
handler for that type is registered.
Signed-off-by: Deb McLemore <[email protected]>
[mpe: Single unlock path in opal_message_notifier_register(), tweak
comments/formatting and change log.]
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions