diff options
| author | Deb McLemore <debmc@linux.vnet.ibm.com> | 2018-05-20 21:04:38 -0500 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-10-11 19:42:06 +1100 |
| commit | a9336ddf448b1cba3080195cec2287af3907236c (patch) | |
| tree | 2402d97e43add5b95dc10166ada0a4d6d8fced11 /tools/perf/scripts/python | |
| parent | powerpc/pkeys: remove unused pkey_allows_readwrite (diff) | |
| download | linux-a9336ddf448b1cba3080195cec2287af3907236c.tar.gz linux-a9336ddf448b1cba3080195cec2287af3907236c.zip | |
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 <debmc@linux.vnet.ibm.com>
[mpe: Single unlock path in opal_message_notifier_register(), tweak
comments/formatting and change log.]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1526868278-4204-1-git-send-email-debmc@linux.vnet.ibm.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
