Skip to content

mei: fix suspend/hibernation regression

Tomas Winkler lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mei: bus: fix hw module get/put balancedrivers/misc/mei/bus.c+1 -20 replies
2/2mei: bus: need to unlink client before freeingdrivers/misc/mei/bus.c+4 -50 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchGeorg Müller
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [char-misc for 4.19 0/2] mei: fix suspend/hibernation regression

A kernel panic during suspend/hibernation was reported on kernel 4.17.

RIP:  mei_cl_set_disconnected+0x5/0x260[mei]
Call trace:
mei_cl_all_disconnect+0x22/0x30
mei_reset+0x194/0x250
__synchronize_hardirq+0x43/0x50
_cond_resched+0x15/0x30
mei_me_intr_clear+0x20/0x100
mei_stop+0x76/0xb0
mei_me_shutdown+0x3f/0x80
pci_device_shutdown+0x34/0x60
kernel_restart+0x0e/0x30

Bugzilla entries:
https://bugzilla.redhat.com/show_bug.cgi?id=1597481
https://bugzilla.kernel.org/show_bug.cgi?id=200455

The regression is caused by a combination of two coding errors in two separate patches. In addition, this currently only happens on platforms with AMT watchdog enabled that systemd holds.

Both patches bellow should be applied.

Tomas Winkler (2):
mei: bus: fix hw module get/put balance
mei: bus: need to unlink client before freeing

 drivers/misc/mei/bus.c | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)
Signature · 1 line
2.14.4