Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2017 17:39:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 216261] [patch] Resume failing without xhci controller reset
Message-ID:  <bug-216261-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216261

            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@FreeBSD.org
          Reporter: yanko.yankulov@gmail.com
                CC: freebsd-amd64@FreeBSD.org
          Keywords: patch
                CC: freebsd-amd64@FreeBSD.org

Created attachment 179073
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179073&action=
=3Dedit
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 x=
hci
driver is not loaded.

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

A simple patch to implement this is attached.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216261-6>