Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753151AbaFGVLz (ORCPT ); Sat, 7 Jun 2014 17:11:55 -0400 Received: from gate.crashing.org ([63.228.1.57]:60884 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752990AbaFGVLy (ORCPT ); Sat, 7 Jun 2014 17:11:54 -0400 Message-ID: <1402175478.3247.299.camel@pasglop> Subject: Re: Missing USB XHCI and EHCI reset for kexec From: Benjamin Herrenschmidt To: Alan Stern Cc: Thadeu Lima de Souza Cascardo , linux-usb , Kernel development list , Greg KH , Sarah Sharp , Mathias Nyman Date: Sun, 08 Jun 2014 07:11:18 +1000 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2014-06-07 at 11:40 -0400, Alan Stern wrote: > The current xhci-hcd driver includes a quirk flag (XHCI_SPURIOS_WAKEUP) > that causes the shutdown routine to reset the controller. It wasn't > meant for fixing kexec problems, but I bet you could use it for that > purpose. > > In addition, it's possible that a reset is needed in the probe pathway. Ok, thanks. I'll have a look. A reset in the probe means fixing distros, I'd rather find a way to fix it from the kexec path entirely, even if that involves adding a quirk on the way out to reset it in shutdown() I'll see what I can come up with that works and will come back to you. Cheers, Ben. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/