Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753550AbcD2PVg (ORCPT ); Fri, 29 Apr 2016 11:21:36 -0400 Received: from mga14.intel.com ([192.55.52.115]:1410 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752928AbcD2PVf (ORCPT ); Fri, 29 Apr 2016 11:21:35 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,552,1455004800"; d="scan'208";a="955598831" Message-ID: <57237D96.9080003@linux.intel.com> Date: Fri, 29 Apr 2016 18:28:22 +0300 From: Mathias Nyman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Felipe Balbi , Jim Lin CC: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed References: <1461321780-3226-1-git-send-email-jilin@nvidia.com> <87bn51uagb.fsf@intel.com> <571E0058.6020007@nvidia.com> <87r3dtrj7b.fsf@intel.com> <571F2BA3.6040209@nvidia.com> <871t5plya5.fsf@intel.com> In-Reply-To: <871t5plya5.fsf@intel.com> 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: 1083 Lines: 28 On 28.04.2016 15:21, Felipe Balbi wrote: > > Hi, > >> dmesg from PC host side (after adding your change without my patch): >> >> [17907.984647] usb 6-2: new SuperSpeed USB device number 54 using xhci_hcd >> [17908.012036] usb 6-2: No SuperSpeed endpoint companion for config 1 >> interface 1 altsetting 0 ep 2: using minimum values >> [17908.012040] usb 6-2: No SuperSpeed endpoint companion for config 1 >> interface 1 altsetting 0 ep 131: using minimum values >> [17908.013652] usb 6-2: New USB device found, idVendor=xxxx, idProduct=xxxx >> [17908.013656] usb 6-2: New USB device strings: Mfr=1, Product=2, >> SerialNumber=3 >> [17908.013658] usb 6-2: Product: xxxxxxx >> [17908.013661] usb 6-2: Manufacturer: xxxxxx >> [17908.013664] usb 6-2: SerialNumber: 1234567890 >> [17908.014680] xhci_hcd 0000:05:00.0: ERROR: unexpected command >> completion code 0x11. > > hmmm... completed with unknown code ? Odd. Mathias, any idea what this > is ? > Parameter error, xhci doesn't like one of the values in one of the contexts we give it (slot context, endpoint context etc) -Mathias