ipmi: Disable sysfs access and requests in maintenance mode
authorCorey Minyard <corey@minyard.net>
Thu, 7 Aug 2025 21:05:24 +0000 (16:05 -0500)
committerCorey Minyard <corey@minyard.net>
Mon, 8 Sep 2025 15:21:41 +0000 (10:21 -0500)
commit30f6c9d5451de72ebc52aed6c15031696c6c5bd3
treefa88871f19e105b541e91d5f633fa62db574fcec
parente5feb030d919f296257d628bae57d0494151dc24
ipmi: Disable sysfs access and requests in maintenance mode

If the driver goes into any maintenance mode, disable sysfs access until
it is done.

If the driver goes into reset maintenance mode, disable all messages
until it is done.

Signed-off-by: Corey Minyard <corey@minyard.net>
Tested-by: Frederick Lawler <fred@cloudflare.com>
drivers/char/ipmi/ipmi_msghandler.c