diff options
author | Andrew Jeffery <[email protected]> | 2021-06-08 20:17:50 +0930 |
---|---|---|
committer | Corey Minyard <[email protected]> | 2021-06-21 19:50:28 -0500 |
commit | 28651e6c4237f4aee5e0744ce37d3a50e7b1f36b (patch) | |
tree | b5c9d7d039475d39bd2e8ceb78b76e2065251292 /scripts/clang-tools/gen_compile_commands.py | |
parent | 7cafff991e32d4b97251982ab0665601b65f2736 (diff) |
ipmi: kcs_bmc: Allow clients to control KCS IRQ state
Add a mechanism for controlling whether the client associated with a
KCS device will receive Input Buffer Full (IBF) and Output Buffer Empty
(OBE) events. This enables an abstract implementation of poll() for KCS
devices.
A wart in the implementation is that the ASPEED KCS devices don't
support an OBE interrupt for the BMC. Instead we pretend it has one by
polling the status register waiting for the Output Buffer Full (OBF) bit
to clear, and generating an event when OBE is observed.
Cc: CS20 KWLiu <[email protected]>
Signed-off-by: Andrew Jeffery <[email protected]>
Reviewed-by: Zev Weiss <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions