[GIT PULL] IPMI bug fixes and enhancements for 5.16

From: Corey Minyard
Date: Mon Nov 01 2021 - 09:04:42 EST


The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:

Linux 5.15-rc1 (2021-09-12 16:28:37 -0700)

are available in the Git repository at:

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

for you to fetch changes up to f281d010b87454e72475b668ad66e34961f744e0:

ipmi: kcs_bmc: Fix a memory leak in the error handling path of 'kcs_bmc_serio_add_device()' (2021-10-29 07:23:59 -0500)

----------------------------------------------------------------
Updates for the IPMI driver

A new type of low-level IPMI driver is added for direct communication
over the IPMI message bus without a BMC between the driver and the bus.

Other than that, lots of little bug fixes and enhancements.

----------------------------------------------------------------
Christophe JAILLET (1):
ipmi: kcs_bmc: Fix a memory leak in the error handling path of 'kcs_bmc_serio_add_device()'

Colin Ian King (1):
ipmi: ipmb: Fix off-by-one size check on rcvlen

Corey Minyard (12):
ipmi:watchdog: Set panic count to proper value on a panic
ipmi: Disable some operations during a panic
ipmi:devintf: Return a proper error when recv buffer too small
ipmi: Check error code before processing BMC response
ipmi: Fix a typo
ipmi: Export ipmb_checksum()
ipmi: Add support for IPMB direct messages
ipmi:ipmb: Add initial support for IPMI over IPMB
ipmi: Add docs for IPMB direct addressing
ipmi: Add docs for the IPMI IPMB driver
ipmi:ssif: Use depends on, not select, for I2C
ipmi:ipmb: Add OF support

Joel Stanley (2):
ipmi: bt-bmc: Use registers directly
ipmi: bt: Add ast2600 compatible string

Randy Dunlap (1):
ipmi: ipmb: fix dependencies to eliminate build error

Ye Guojin (1):
char: ipmi: replace snprintf in show functions with sysfs_emit

.../bindings/ipmi/aspeed,ast2400-ibt-bmc.txt | 1 +
.../devicetree/bindings/ipmi/ipmi-ipmb.yaml | 59 +++
Documentation/driver-api/ipmi.rst | 64 ++-
drivers/char/ipmi/Kconfig | 11 +-
drivers/char/ipmi/Makefile | 1 +
drivers/char/ipmi/bt-bmc.c | 69 +--
drivers/char/ipmi/ipmi_devintf.c | 8 +-
drivers/char/ipmi/ipmi_ipmb.c | 539 +++++++++++++++++++++
drivers/char/ipmi/ipmi_msghandler.c | 330 +++++++++++--
drivers/char/ipmi/ipmi_si_intf.c | 8 +-
drivers/char/ipmi/ipmi_ssif.c | 4 +-
drivers/char/ipmi/ipmi_watchdog.c | 25 +-
drivers/char/ipmi/kcs_bmc_serio.c | 4 +-
include/linux/ipmi.h | 3 +
include/linux/ipmi_smi.h | 59 +++
include/uapi/linux/ipmi.h | 16 +-
16 files changed, 1078 insertions(+), 123 deletions(-)
create mode 100644 Documentation/devicetree/bindings/ipmi/ipmi-ipmb.yaml
create mode 100644 drivers/char/ipmi/ipmi_ipmb.c