[GIT PULL] IPMI updates for 4.18

From: Corey Minyard
Date: Tue Jun 05 2018 - 08:57:06 EST

The following changes since commit a27fc14219f2e3c4a46ba9177b04d9b52c875532:

 Merge branch 'parisc-4.17-3' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux (2018-04-16 14:07:39 -0700)

are available in the git repository at:

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

for you to fetch changes up to 048f7c3e352eeef50ed2c14dd89683f8a3af2f9b:

 ipmi: Properly release srcu locks on error conditions (2018-05-24 15:08:30 -0500)

It's been a busy release for the IPMI driver. Some notable changes:

A user was running into timeout issues doing maintenance commands over
the IPMB network behind an IPMI controller. Extend the maintenance
mode concept to messages over IPMB and allow the timeouts to be tuned.

Lots of cleanup, style fixing, some bugfixes, and such.

At least one user was having trouble with the way the IPMI driver would
lock the i2c driver module it used. The IPMI driver was not designed
for hotplug. However, hotplug is a reality now, so the IPMI driver
was modified to support hotplug.

The proc interface code is now completely removed. Long live sysfs!

Avi Fishman (1):
ÂÂÂÂÂ ipmi: NPCM7xx KCS BMC: enable interrupt to the host

Corey Minyard (32):
ÂÂÂÂÂ ipmi: Add a way to tune some timeouts
ÂÂÂÂÂ ipmi: Add a maintenance mode for IPMB messages
ÂÂÂÂÂ ipmi:watchdog: Rework locking and handling
ÂÂÂÂÂ ipmi:watchdog: Replace printk() with pr_xxx()
ÂÂÂÂÂ ipmi: Add a panic handler for IPMI users
ÂÂÂÂÂ ipmi:watchdog: Use the IPMI panic handler instead of the system one
ÂÂÂÂÂ ipmi: Clean up some debug code
ÂÂÂÂÂ ipmi:devintf: Clean up some coding style issues
ÂÂÂÂÂ ipmi: Clean up comments in include files.
ÂÂÂÂÂ ipmi: Break up i_ipmi_request
ÂÂÂÂÂ ipmi: Clean up some style issues in the message handler
ÂÂÂÂÂ ipmi_devintf: Small lock rework
ÂÂÂÂÂ ipmi: Add shutdown functions for users and interfaces
ÂÂÂÂÂ ipmi: Rename ipmi_user_t to struct ipmi_user *
ÂÂÂÂÂ ipmi: Change ipmi_smi_t to struct ipmi_smi *
ÂÂÂÂÂ ipmi: Fix some counter issues
ÂÂÂÂÂ ipmi: Rework locking and shutdown for hot remove
ÂÂÂÂÂ ipmi_si: Convert over to a shutdown handler
ÂÂÂÂÂ ipmi_ssif: Convert over to a shutdown handler
ÂÂÂÂÂ ipmi: Remove condition on interface shutdown
ÂÂÂÂÂ ipmi_ssif: Remove usecount handling
ÂÂÂÂÂ ipmi: Remove usecount function from interfaces
ÂÂÂÂÂ ipmi_devintf: Add an error return on invalid ioctls
ÂÂÂÂÂ ipmi: ipmi_unregister_smi() cannot fail, have it return void
ÂÂÂÂÂ ipmi: Get rid of ipmi_user_t and ipmi_smi_t in include files
ÂÂÂÂÂ ipmi_ssif: Get rid of unused intf_num
ÂÂÂÂÂ ipmi: Remove smi->intf checks
ÂÂÂÂÂ ipmi_si: Rename intf_num to si_num
ÂÂÂÂÂ ipmi_si: Clean up shutdown a bit
ÂÂÂÂÂ ipmi: Remove the proc interface
ÂÂÂÂÂ ipmi:bt: Set the timeout before doing a capabilities check
ÂÂÂÂÂ ipmi: Properly release srcu locks on error conditions

Gustavo A. R. Silva (1):
ÂÂÂÂÂ ipmi_ssif: Fix uninitialized variable issue

Haiyue Wang (1):
ÂÂÂÂÂ ipmi: add an NPCM7xx KCS BMC driver

Â.../devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txtÂÂ |ÂÂ 39 +
Âdrivers/char/ipmi/KconfigÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 23 +-
Âdrivers/char/ipmi/MakefileÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂÂ 1 +
Âdrivers/char/ipmi/ipmi_bt_sm.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂÂ 3 +-
Âdrivers/char/ipmi/ipmi_devintf.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 129 +-
Âdrivers/char/ipmi/ipmi_msghandler.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ | 2123 +++++++++-----------
Âdrivers/char/ipmi/ipmi_poweroff.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |ÂÂ 32 +-
Âdrivers/char/ipmi/ipmi_si_intf.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 198 +-
Âdrivers/char/ipmi/ipmi_ssif.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 183 +-
Âdrivers/char/ipmi/ipmi_watchdog.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 407 ++--
Âdrivers/char/ipmi/kcs_bmc_npcm7xx.cÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 215 ++
Âinclude/linux/ipmi_smi.hÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ |Â 129 +-
Â13 files changed, 1752 insertions(+), 1883 deletions(-)
Âcreate mode 100644 Documentation/devicetree/bindings/ipmi/npcm7xx-kcs-bmc.txt
Âcreate mode 100644 drivers/char/ipmi/kcs_bmc_npcm7xx.c