Linux kernel -stable discussions
 help / color / mirror / Atom feed
* Request for backport 4.19 for the IPMI driver
@ 2023-06-20 12:05 Corey Minyard
  2023-06-21 18:39 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Corey Minyard @ 2023-06-20 12:05 UTC (permalink / raw)
  To: stable, Greg Kroah-Hartman; +Cc: Janne Huttunen (Nokia)

Please backport the following changes to the 4.18 stable kernel:

  e1891cffd4c4 "ipmi: Make the smi watcher be disabled immediately when not needed"
  383035211c79 "ipmi: move message error checking to avoid deadlock"

e1891cffd4c4 doesn't apply completely cleanly because of other changes,
but you just need to leave in the free_user_work() function and delete
the other function in the conflict.  I can also supply a patch if
necessary.

Change

  b4a34aa6d "ipmi: Fix how the lower layers are told to watch for messages"

was backported to fullfill a dependency for another backport, but there
was another change:

  e1891cffd4c4 "ipmi: Make the smi watcher be disabled immediately when not needed"

That is needed to avoid calling a lower layer function with
xmit_msgs_lock held.  In addition to that, you will also need:

  383035211c79 "ipmi: move message error checking to avoid deadlock"

to fix a bug in that change.

e1891cffd4c4 came in 5.1 and 383035211c79 came in 5.4 (and I believe was
backported) so everything should be good for 5.4 and later.  b4a34aa6d
was not backported to 4.14, so it is also ok.  So 4.19 is the only
kernel that needs the change.

Thanks to Janne Huttunen for quick work on this.

-corey

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Request for backport 4.19 for the IPMI driver
  2023-06-20 12:05 Request for backport 4.19 for the IPMI driver Corey Minyard
@ 2023-06-21 18:39 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2023-06-21 18:39 UTC (permalink / raw)
  To: Corey Minyard; +Cc: stable, Janne Huttunen (Nokia)

On Tue, Jun 20, 2023 at 07:05:50AM -0500, Corey Minyard wrote:
> Please backport the following changes to the 4.18 stable kernel:
> 
>   e1891cffd4c4 "ipmi: Make the smi watcher be disabled immediately when not needed"
>   383035211c79 "ipmi: move message error checking to avoid deadlock"
> 
> e1891cffd4c4 doesn't apply completely cleanly because of other changes,
> but you just need to leave in the free_user_work() function and delete
> the other function in the conflict.  I can also supply a patch if
> necessary.
> 
> Change
> 
>   b4a34aa6d "ipmi: Fix how the lower layers are told to watch for messages"
> 
> was backported to fullfill a dependency for another backport, but there
> was another change:
> 
>   e1891cffd4c4 "ipmi: Make the smi watcher be disabled immediately when not needed"
> 
> That is needed to avoid calling a lower layer function with
> xmit_msgs_lock held.  In addition to that, you will also need:
> 
>   383035211c79 "ipmi: move message error checking to avoid deadlock"
> 
> to fix a bug in that change.
> 
> e1891cffd4c4 came in 5.1 and 383035211c79 came in 5.4 (and I believe was
> backported) so everything should be good for 5.4 and later.  b4a34aa6d
> was not backported to 4.14, so it is also ok.  So 4.19 is the only
> kernel that needs the change.
> 
> Thanks to Janne Huttunen for quick work on this.

Thanks for this, both now queued up.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-21 18:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-20 12:05 Request for backport 4.19 for the IPMI driver Corey Minyard
2023-06-21 18:39 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox