[GIT PULL] IPMI bug fixes for 5.16

From: Corey Minyard
Date: Wed Dec 01 2021 - 14:58:14 EST


The following changes since commit 5833291ab6de9c3e2374336b51c814e515e8f3a5:

Merge tag 'pci-v5.16-fixes-1' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci (2021-11-11 15:10:18 -0800)

are available in the Git repository at:

https://github.com/cminyard/linux-ipmi.git tags/for-linus-5.16-2

for you to fetch changes up to c03a487a83fddbca1ef6cb5b97a69cd3e390e233:

ipmi:ipmb: Fix unknown command response (2021-11-25 21:17:55 -0600)

----------------------------------------------------------------
Fix issues with IPMI

Some changes that went in 5.16 that had issues. When working on the
design a piece was redesigned and things got missed. And the message
type was not being initialized when it was allocated, resulting in some
crashes.

In addition, the IPMI driver has had a shutdown issue where it could
still have an item in a system workqueue after it had been shutdown.
Move to a private workqueue to avoid that problem.

----------------------------------------------------------------
Corey Minyard (2):
ipmi: fix IPMI_SMI_MSG_TYPE_IPMB_DIRECT response length checking
ipmi:ipmb: Fix unknown command response

Ioanna Alifieraki (1):
ipmi: Move remove_work to dedicated workqueue

Jakub Kicinski (1):
ipmi: fix oob access due to uninit smi_msg type

Wei Yongjun (1):
ipmi: msghandler: Make symbol 'remove_work_wq' static

drivers/char/ipmi/ipmi_msghandler.c | 41 +++++++++++++++++++++++++++++--------
1 file changed, 33 insertions(+), 8 deletions(-)