[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aJ-lPAc2bLlvHNa3@CMGLRV3>
Date: Fri, 15 Aug 2025 16:23:08 -0500
From: Frederick Lawler <fred@...udflare.com>
To: Corey Minyard <corey@...yard.net>
Cc: openipmi-developer@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
kernel-team@...udflare.com
Subject: Re: [RFC] Patches to disable messages during BMC reset
Hi Corey,
On Thu, Aug 07, 2025 at 06:02:31PM -0500, Corey Minyard wrote:
> I went ahead and did some patches for this, since it was on my mind.
>
> With these, if a reset is sent to the BMC, the driver will disable
> messages to the BMC for a time, defaulting to 30 seconds. Don't
> modify message timing, since no messages are allowed, anyway.
>
> If a firmware update command is sent to the BMC, then just reject
> sysfs commands that query the BMC. Modify message timing and
> allow direct messages through the driver interface.
>
> Hopefully this will work around the problem, and it's a good idea,
> anyway.
>
> -corey
>
Thanks for the patches, and sorry for the delay in response.
It's one of _those weeks_. Anyway, I backported the patch series
to 6.12, and the changes seem reasonable to me overall. Ran it
through our infra on a single node, and nothing seemed to break.
I did observe with testing that resetting BMC via ipmitool on the host
did kick out sysfs reads as expected.
Resetting the BMC remotely, was not handled (this seems obvious given the state
changes are handled via ipmi_msg handler). Would the BMC send an event
to the kernel letting it know its resetting so that case could be
handled?
Best,
Fred
Powered by blists - more mailing lists