IPMI bug fixes for 6.16
The following changes since commit 4f79eaa2ceac86a0e0f304b0bab556cca5bf4f30:
kbuild: Properly disable -Wunterminated-string-initialization for clang (2025-04-30 18:57:56 -0700)
are available in the Git repository at:
https://github.com/cminyard/linux-ipmi.git tags/for-linus-6.16-1
for you to fetch changes up to 08effa6b77f7dbb4727f811daef0f6085c0d63c8:
docs: ipmi: fix spelling and grammar mistakes (2025-05-15 20:43:14 -0500)
----------------------------------------------------------------
Restructure the IPMI driver for 6.16
This is a restructure of the IPMI driver, mostly to remove SRCU. The locking had issues, and they were not going to be straightforward to fix. Plus it used tons of memory and was generally a pain.
Most of this moves handling of messages out of bh and interrupt context and runs it in thread context. Then getting rid of SRCU is easy.
This also has a minor cleanup to remove a warning on newer GCCs and to fix some documentation.
----------------------------------------------------------------
Corey Minyard (24):
ipmi:si: Move SI type information into an info structure ipmi:msghandler: Use READ_ONCE on run_to_completion ipmi:msghandler: Rename recv_work to smi_work ipmi:msghandler: Move timer handling into a work queue ipmi:msghandler: Deliver user messages in a work queue
ipmi_msghandler: Change the events lock to a mutex ipmi:msghandler: Use the system_wq, not system_bh_wq ipmi:msghandler: Remove srcu from the ipmi user structure ipmi:msghandler: Remove srcu for the ipmi_interfaces list ipmi:watchdog: Change lock to mutex
ipmi: Add a note about the pretimeout callback ipmi:msghandler: Remove some user level processing in panic mode ipmi:msghandler: Fix locking around users and interfaces ipmi:msghandler: Don't acquire a user refcount for queued messages ipmi:msghandler: Don't check for shutdown when returning responses ipmi:msghandler: Remove proc_fs.h
ipmi:msghandler: Shut down lower layer first at unregister ipmi:msghandler: Add a error return from unhandle LAN cmds ipmi:si: Rework startup of IPMI devices ipmi:msghandler: Don't deliver messages to deleted users ipmi:ssif: Fix a shutdown race
Documentation:ipmi: Remove comments about interrupt level ipmi:msghandler: Export and fix panic messaging capability ipmi:watchdog: Use the new interface for panic messages
Dan Carpenter (1):
ipmi:msghandler: Fix potential memory corruption in ipmi_create_user()
Praveen Balakrishnan (1):
docs: ipmi: fix spelling and grammar mistakes
Documentation/driver-api/ipmi.rst | 29 +- drivers/char/ipmi/ipmi_msghandler.c | 761 ++++++++++++++++++----------------- drivers/char/ipmi/ipmi_si.h | 10 +- drivers/char/ipmi/ipmi_si_intf.c | 116 ++++-- drivers/char/ipmi/ipmi_si_parisc.c | 2 +- drivers/char/ipmi/ipmi_si_pci.c | 52 +-- drivers/char/ipmi/ipmi_si_platform.c | 27 +- drivers/char/ipmi/ipmi_ssif.c | 6 +- drivers/char/ipmi/ipmi_watchdog.c | 92 ++--- include/linux/ipmi.h | 13 +- 10 files changed, 584 insertions(+), 524 deletions(-)
The pull request you sent on Thu, 29 May 2025 14:39:33 -0500:
The pull request you sent on Thu, 29 May 2025 14:39:33 -0500:
Quoted 1 line
https://github.com/cminyard/linux-ipmi.git tags/for-linus-6.16-1
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/02897f5e56b22e78d376faff1533ad800991650e
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html