I commented out this patch of 876dcb and cannot reproduce the issue
afterward.

diff --git a/drivers/base/dd.c b/drivers/base/dd.c
index 2c964f5..37c0105 100644
--- a/drivers/base/dd.c
+++ b/drivers/base/dd.c
@@ -868,6 +868,13 @@ static void __device_release_driver(struct device *dev, 
struct device *parent)
                        dev->bus->remove(dev);
                else if (drv->remove)
                        drv->remove(dev);
+               /*
+                * A concurrent invocation of the same function might
+                * have released the driver successfully while this one
+                * was waiting, so check for that.
+                */
+               if (dev->driver != drv)
+                       return;
 
                device_links_driver_cleanup(dev);
                dma_deconfigure(dev);

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1803942

Title:
  System randomly hangs during suspend when mei_wdt is loaded

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Problem description:
  System randomly hangs during suspend when mei_wdt is loaded.

  Platform:
  Intel Dawson Canyon I5 (NUC7i5DNHE) and I7 (NUC7i7DNHE)

  Test procedure:
  1. Install Ubuntu 18.04 and do apt full-upgrade

  2. Enable mei_wdt:
  $ sudo modprobe mei_wdt

  3. Do system S3 test:
  $ sudo systemctl suspend
  or
  $ sudo rtcwake -v -m mem -s 15

  4. Afterward, I noticed that somehow system will hang during
  suspend/resume.

  Expect result:
  Suspend/resume won't impact system.

  Actual result:
  System will hang during S3 test.

  Additional info:
  - BIOS version: V57
  - Another i3 platform (NUC7i3DNHNC) doesn't have this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1803942/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to