Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed

From: Mathias Nyman
Date: Fri Apr 29 2016 - 11:21:38 EST


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