Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754697AbaDOTJF (ORCPT ); Tue, 15 Apr 2014 15:09:05 -0400 Received: from www84.your-server.de ([213.133.104.84]:54434 "EHLO www84.your-server.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751852AbaDOTJD (ORCPT ); Tue, 15 Apr 2014 15:09:03 -0400 Message-ID: <1397588892.21892.6.camel@vger.seibold.net> Subject: Re: Missing USB XHCI and EHCI reset for kexec From: Stefani Seibold To: Alan Stern Cc: linux-usb , linux-kernel@vger.kernel.org, Greg KH , sarah.a.sharp@linux.intel.com, andreas.brief@rohde-schwarz.com Date: Tue, 15 Apr 2014 21:08:12 +0200 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Authenticated-Sender: stefani@seibold.net Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, den 15.04.2014, 15:05 -0400 schrieb Alan Stern: > On Tue, 15 Apr 2014, Stefani Seibold wrote: > > > > One other thing you can try is to increase the reset timeout in > > > drivers/usb/host/ehci-hub.c. This is under the USB_PORT_FEAT_RESET > > > case in ehci_hub_control(), around line 1225: > > > > > > /* > > > * caller must wait, then call GetPortStatus > > > * usb 2.0 spec says 50 ms resets on root > > > */ > > > ehci->reset_done [wIndex] = jiffies > > > + msecs_to_jiffies (50); > > > > > > Increasing the 50 to 100 or more might help. > > > > > > Alan Stern > > > > > > > I tried this, when i increase the value to 1000, the reset and > > enumeration process will be faster after a kexec: 28 Seconds vs. 162 > > Seconds. > > Even 28 seconds is much longer than it should be. And a 1000-ms long > reset signal is a lot longer than any device should need. > > Anyway, since you saw the same problem after unbind and rebind, you > don't have to perform a kexec for testing. > Right, but i would prefer a solution for this. Since it works perfectly in kernel 3.4 i don't think it is a hardware issue. - Stefani -- 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/