[Bug 216261] [patch] Resume failing without xhci controller reset

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 19 17:39:06 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216261

            Bug ID: 216261
           Summary: [patch] Resume failing without xhci controller reset
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Some People
          Priority: ---
         Component: usb
          Assignee: freebsd-usb at FreeBSD.org
          Reporter: yanko.yankulov at gmail.com
                CC: freebsd-amd64 at FreeBSD.org
          Keywords: patch
                CC: freebsd-amd64 at FreeBSD.org

Created attachment 179073
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179073&action=edit
propoesed patch

On my new Skylake based laptop Suspend/Resume was failing (no resume_beep at
all). I was able to resolve the issue by adding controller reset of the xhci
controller after the xhci_halt_controller calls.

The problem is clearly BIOS bug as the Suspend/Resume is failing without
loading the xhci driver. The same is happening with latest Linux when the xhci
driver is not loaded.

Adding the reset code solves the issue. The Linux driver seems to do the same
on driver unload, so I am not expecting a regression by the change.

A simple patch to implement this is attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list