]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ipmi: ssif_bmc: Fix new request loss when bmc ready for a response
authorQuan Nguyen <quan@os.amperecomputing.com>
Tue, 7 Jan 2025 03:47:34 +0000 (10:47 +0700)
committerCorey Minyard <corey@minyard.net>
Tue, 7 Jan 2025 15:14:26 +0000 (09:14 -0600)
commit83d8c79aa958e37724ed9c14dc7d0f66a48ad864
tree5d08e6ecedca820e3bbb0604dc741e444cd25469
parent9b6442a3bdd7e0d528122d63c24bd57f6cb05671
ipmi: ssif_bmc: Fix new request loss when bmc ready for a response

Cosmo found that when there is a new request comes in while BMC is
ready for a response, the complete_response(), which is called to
complete the pending response, would accidentally clear out that new
request and force ssif_bmc to move back to abort state again.

This commit is to address that issue.

Fixes: dd2bc5cc9e25 ("ipmi: ssif_bmc: Add SSIF BMC driver")
Reported-by: Cosmo Chou <chou.cosmo@gmail.com>
Closes: https://lore.kernel.org/lkml/20250101165431.2113407-1-chou.cosmo@gmail.com/
Signed-off-by: Quan Nguyen <quan@os.amperecomputing.com>
Message-ID: <20250107034734.1842247-1-quan@os.amperecomputing.com>
Signed-off-by: Corey Minyard <corey@minyard.net>
drivers/char/ipmi/ssif_bmc.c