Date: Thu, 19 Jan 2017 17:39:06 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 216261] [patch] Resume failing without xhci controller reset Message-ID: <bug-216261-17@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
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@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=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 the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216261-17>
