Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755274AbdCTQdP (ORCPT ); Mon, 20 Mar 2017 12:33:15 -0400 Received: from mga01.intel.com ([192.55.52.88]:27628 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755172AbdCTQc0 (ORCPT ); Mon, 20 Mar 2017 12:32:26 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,195,1486454400"; d="scan'208";a="62731508" Subject: Re: Dell Inspiron 5558/0VNM2T hangs at resume from suspend when USB 3 is enabled To: Diego Viola References: <58CFE56C.8050906@linux.intel.com> Cc: mathias.nyman@intel.com, Roger , Ulf Hansson , Greg KH , Wei WANG , "linux-kernel@vger.kernel.org" , Linux USB List , Alan Stern From: Mathias Nyman Message-ID: <58D00409.7060205@linux.intel.com> Date: Mon, 20 Mar 2017 18:32:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1249 Lines: 38 On 20.03.2017 17:39, Diego Viola wrote: > On Mon, Mar 20, 2017 at 11:21 AM, Mathias Nyman > wrote: >> On 19.03.2017 23:29, Diego Viola wrote: >>> >>>> Still a problem with 4.11.0-rc2-ARCH+ >> 4.11-rc2 has better xhci tracing, it shows each URB enqueue and dequeue and >> giveback. >> >> Could you try enabling xhci tracing before suspending (not the same as xhci >> verbose dynamic debug) >> It will generate a lot of data, so better to remove all extra USB devices. >> >> xhci tracing can be added with: >> >> mount -t debugfs none /sys/kernel/debug >> echo xhci-hcd >> /sys/kernel/debug/tracing/set_event >> >> and then send the output of cat /sys/kernel/debug/tracing/trace > > https://bugzilla.kernel.org/attachment.cgi?id=255367 > > This is with Linux 4.11.0-rc3-ARCH. > > USB mouse/keyboard was unplugged before booting the machine. > > I didn't do a suspend/resume before getting this trace, should I do that? > > Should I reproduce the hang and get a netconsole dmesg capture with > tracing enabled? A trace and a dmesg of the same suspend/reusume hang would be great. And if you can then one of a succesful suspend/resume for reference. (I haven't yet checked the one you added to bugzilla) -Mathias