Re: [PATCH] usb: dwc2: host: fix isoc urb actual length

2017-11-06 Thread Minas Harutyunyan
Hi, On 11/6/2017 12:46 PM, William Wu wrote: > The actual_length in dwc2_hcd_urb structure is used > to indicate the total data length transferred so far, > but in dwc2_update_isoc_urb_state(), it just updates > the actual_length of isoc frame, and don't update the > urb actual_length at the same

RE: stopping and starting a functionfs USB-device causes panic

2017-11-06 Thread Felipe Balbi
Hi, andy_purc...@keysight.com writes: > Hello Felipe, > >> > >> > I have a second issue with a functionfs USB-device implementation. >> > >> > The scenario is this: >> > 1) USB-device app starts up, runs fine >> > 2) ssh to the device, kill the app with CTRL-C >> > 3) try to start the USB-device

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

2017-11-06 Thread Stefan Wahren
issue. > Thanks for your testing. Can I assume your Tested-by? Yes > >> Since the patch wasn't accepted, i want to know is there another solution? > The patch should be in next-20171106 > -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the

[PATCH] usb: dwc2: host: fix isoc urb actual length

2017-11-06 Thread William Wu
The actual_length in dwc2_hcd_urb structure is used to indicate the total data length transferred so far, but in dwc2_update_isoc_urb_state(), it just updates the actual_length of isoc frame, and don't update the urb actual_length at the same time, this will cause device drivers working error

Re: [PATCH v2] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-06 Thread Greg KH
On Mon, Nov 06, 2017 at 04:20:23PM +0800, Yu Chen wrote: > 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

[PATCH v2] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-06 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 v2] USB: add SPDX identifiers to all remaining files in drivers/usb/

2017-11-06 Thread Greg Kroah-Hartman
On Sun, Nov 05, 2017 at 04:39:22PM +0100, Philippe Ombredanne wrote: > 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 > >>

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

2017-11-06 Thread Michal Hocko
t; Since the patch wasn't accepted, i want to know is there another solution? The patch should be in next-20171106 -- Michal Hocko SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: [PATCH] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-06 Thread Chen Yu
On 2017/11/6 15:59, Greg KH wrote: >> >> diff --git a/drivers/usb/host/xhci-mem.c b/drivers/usb/host/xhci-mem.c >> index 2a82c927ded2..295789d993b0 100644 >> --- a/drivers/usb/host/xhci-mem.c >> +++ b/drivers/usb/host/xhci-mem.c >> @@ -947,6 +947,11 @@ void

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

2017-11-06 Thread Greg Kroah-Hartman
On Mon, Nov 06, 2017 at 08:35:41AM +0800, Lu Baolu wrote: > 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,

Re: [PATCH] usb:xhci fix panic in xhci_free_virt_devices_depth_first

2017-11-06 Thread Greg KH
On Mon, Nov 06, 2017 at 11:28:55AM +0800, Yu Chen wrote: > 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

<    1   2