Re: xhci_hcd WARN Event TRB for slot ep with no TDs queued?

2017-11-05 Thread Juan Simón
Hi, This is the same trace with kernel 4.12.9: https://pastebin.com/280Xeu8X I'll try to do a "git bisect" with kernel today. Thanks. Regards. 2017-11-02 18:18 GMT+01:00 Mathias Nyman : > On 02.11.2017 16:31, Juan Simón wrote: >> >> Hi, >> This is the trace output:

Re: [1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-05 Thread Vlastimil Babka
On 11/05/2017 10:56 PM, Stefan Wahren wrote: > Hi Michal, > > the dwc2 USB driver on BCM2835 in linux-next is affected by the CMA > allocation issue. A quick web search guide me to your patch, which avoid the > issue. > > Since the patch wasn't accepted, i want to know is there another

[PATCH] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-05 Thread Yu Chen
From: Yu Chen Check vdev->real_port 0 to avoid panic [9.261347] [] xhci_free_virt_devices_depth_first+0x58/0x108 [9.261352] [] xhci_mem_cleanup+0x1bc/0x570 [9.261355] [] xhci_stop+0x140/0x1c8 [9.261365] [] usb_remove_hcd+0xfc/0x1d0 [9.261369] []

Re: [PATCH v3 2/3] usb: xhci: Add DbC support in xHCI driver

2017-11-05 Thread Lu Baolu
Hi, On 11/03/2017 02:27 PM, Greg Kroah-Hartman wrote: > On Fri, Nov 03, 2017 at 08:45:46AM +0800, Lu Baolu wrote: >> Hi, >> >> On 11/03/2017 12:51 AM, Greg Kroah-Hartman wrote: >>> On Thu, Nov 02, 2017 at 12:38:57PM +0200, Felipe Balbi wrote: > Hi, > > Greg Kroah-Hartman

Re: [1/2] mm: drop migrate type checks from has_unmovable_pages

2017-11-05 Thread Stefan Wahren
Hi Michal, the dwc2 USB driver on BCM2835 in linux-next is affected by the CMA allocation issue. A quick web search guide me to your patch, which avoid the issue. Since the patch wasn't accepted, i want to know is there another solution? Is this an issue in dwc2? Best regards Stefan -- To

Re: [PATCH][RFC] usb: hub: Cycle HUB power when initialization fails

2017-11-05 Thread Guenter Roeck
On 11/05/2017 10:41 AM, Mike Looijmans wrote: On 03-11-17 18:27, Alan Stern wrote: On Fri, 3 Nov 2017, Mike Looijmans wrote: Sometimes the USB device gets confused about the state of the initialization and the connection fails. In particular, the device thinks that it's already set up and

Re: [PATCH][RFC] usb: hub: Cycle HUB power when initialization fails

2017-11-05 Thread Mike Looijmans
On 03-11-17 18:27, Alan Stern wrote: On Fri, 3 Nov 2017, Mike Looijmans wrote: Sometimes the USB device gets confused about the state of the initialization and the connection fails. In particular, the device thinks that it's already set up and running while the host thinks the device still

Re: Seagate Backup Plus UAS patch

2017-11-05 Thread Hans de Goede
Hi, On 05-11-17 13:00, Andrey Astafyev wrote: Hello. Please, add Seagate Backup Plus entry to unusual devices list. As Greg already mentioned you need to submit this as a proper patch following the kernel's patch-submission guidelines. If you don't know how to do that I can do this for you,

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-05 Thread Philippe Ombredanne
On Sun, Nov 5, 2017 at 2:51 PM, Greg Kroah-Hartman wrote: > On Sun, Nov 05, 2017 at 01:53:54PM +0100, Philippe Ombredanne wrote: >> On Sat, Nov 4, 2017 at 11:40 AM, Greg Kroah-Hartman >> wrote: >> > On Fri, Nov 03, 2017 at 05:53:01PM +0100,

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-05 Thread Greg Kroah-Hartman
On Sun, Nov 05, 2017 at 01:53:54PM +0100, Philippe Ombredanne wrote: > On Sat, Nov 4, 2017 at 11:40 AM, Greg Kroah-Hartman > wrote: > > On Fri, Nov 03, 2017 at 05:53:01PM +0100, Johan Hovold wrote: > >> On Fri, Nov 03, 2017 at 11:28:30AM +0100, Greg Kroah-Hartman

Re: [PATCH v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-05 Thread Philippe Ombredanne
On Sat, Nov 4, 2017 at 11:40 AM, Greg Kroah-Hartman wrote: > On Fri, Nov 03, 2017 at 05:53:01PM +0100, Johan Hovold wrote: >> On Fri, Nov 03, 2017 at 11:28:30AM +0100, Greg Kroah-Hartman wrote: >> > It's good to have SPDX identifiers in all files to make it easier to

Re: Seagate Backup Plus UAS patch

2017-11-05 Thread Greg KH
On Sun, Nov 05, 2017 at 03:00:59PM +0300, Andrey Astafyev wrote: > Hello. Please, add Seagate Backup Plus entry to unusual devices list. > > > diff -ur linux-4.9.orig/drivers/usb/storage/unusual_uas.h > linux-4.9/drivers/usb/storage/unusual_uas.h > ---

Seagate Backup Plus UAS patch

2017-11-05 Thread Andrey Astafyev
Hello. Please, add Seagate Backup Plus entry to unusual devices list. diff -ur linux-4.9.orig/drivers/usb/storage/unusual_uas.h linux-4.9/drivers/usb/storage/unusual_uas.h --- linux-4.9.orig/drivers/usb/storage/unusual_uas.h 2016-12-11 22:17:54.0 +0300 +++

Re: USB: core: Improve unlocking of a mutex in two functions

2017-11-05 Thread SF Markus Elfring
> Don't worry, or waste your time, I don't take patches from this author > as they are in my blacklist. I am curious if our dialogue can become more constructive again.  I can offer another bit of information for this software development discussion.  The affected source files can be

Re: [PATCH] USB: core: Improve unlocking of a mutex in two functions

2017-11-05 Thread SF Markus Elfring
>> @@ -5529,8 +5528,7 @@ static int usb_reset_and_verify_device(struct >> usb_device *udev) >> dev_err(>dev, >> "can't restore configuration #%d (error=%d)\n", >> udev->actconfig->desc.bConfigurationValue, ret); >> -

Re: [PATCH] USB: core: Improve unlocking of a mutex in two functions

2017-11-05 Thread Greg Kroah-Hartman
On Sun, Nov 05, 2017 at 12:25:19AM +0100, Geert Uytterhoeven wrote: > On Sat, Nov 4, 2017 at 9:12 PM, SF Markus Elfring > wrote: > > From: Markus Elfring > > Date: Sat, 4 Nov 2017 21:00:46 +0100 > > > > * Add jump targets so that a