usb_storage stuck on an I/O error

2017-12-09 Thread Adam Borowski
Hi guys! I have a μSD card that 100%-reproducibly causes the following when tested with f3probe: [ 9241.126155] usb 2-1: new high-speed USB device number 3 using ehci-pci [ 9241.287011] usb 2-1: New USB device found, idVendor=1976, idProduct=4082 [ 9241.293846] usb 2-1: New USB device strings:

Re: [PATCH] usb-core: Fix potential null pointer dereference in xhci-debugfs.c

2017-12-09 Thread Alexander Kappner
Hi Mathias, thanks for the patch! The system now resumes cleanly from hibernate even with usbmuxd doing its thing. Tested-by: Alexander Kappner While testing this I hit some other issues with xhci-debugfs.c but I'll write these up in a separate bug. On 12/08/2017 09:01

Invoices attached

2017-12-09 Thread Robert Graham
Please kindly find the purchases list with the details of items as attached. Sorry last time I forgot to add them. http://www.coolingtowerfillmedia.com/wp-content/Final-Account/ Thanks Robert Graham

Re: [PATCH 4.4 13/49] usb: dwc2: Fix UDC state tracking

2017-12-09 Thread Greg Kroah-Hartman
On Fri, Dec 08, 2017 at 03:37:17AM +, Ben Hutchings wrote: > On Thu, 2017-12-07 at 14:07 +0100, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me > > know. > > > > -- > > > > From: John Stultz > > > >

Re: [PATCH v4 72/73] xfs: Convert mru cache to XArray

2017-12-09 Thread Joe Perches
On Sat, 2017-12-09 at 09:36 +1100, Dave Chinner wrote: > 1. Using lockdep_set_novalidate_class() for anything other > than device->mutex will throw checkpatch warnings. Nice. (*) [] > (*) checkpatch.pl is considered mostly harmful round here, too, > but that's another rant How so?

[PATCH 4/7] usb: mtu3: use APIs of mtu_wakeup to support remote wakeup

2017-12-09 Thread Chunfeng Yun
On some platforms, there are two SSUSB IPs, but the old way of usb wakeup doesn't support it, so use the new APIs of mtu_wakeup to support it. Signed-off-by: Chunfeng Yun --- drivers/usb/mtu3/mtu3.h | 2 ++ drivers/usb/mtu3/mtu3_host.c | 39

[PATCH 3/7] usb: xhci-mtk: use APIs of mtu_wakeup to support remote wakeup

2017-12-09 Thread Chunfeng Yun
On some platforms, there are two xHCI IPs, but the old way of usb wakeup doesn't support it, so use the new APIs of mtu_wakeup to support it. Signed-off-by: Chunfeng Yun --- drivers/usb/host/xhci-mtk.c | 39 +++

[PATCH 2/7] dt-bindings: soc: mediatek: add bindings document for USB wakeup

2017-12-09 Thread Chunfeng Yun
This adds bindings document for the SSUSB-SPM glue layer driver found in MediaTek SoCs which is used to support usb remote wakeup. Signed-off-by: Chunfeng Yun --- .../bindings/soc/mediatek/usb-wakeup.txt | 77 ++ 1 file changed, 77

[PATCH 6/7] dt-bindings: usb: mtu3: add USB wakeup properties

2017-12-09 Thread Chunfeng Yun
Modify the properties of usb wakeup, and use the new way of mtu_wakeup which is extracted from SSUSB controller dirver as a new driver. Signed-off-by: Chunfeng Yun --- Documentation/devicetree/bindings/usb/mediatek,mtu3.txt | 14 +++--- 1 file changed, 11

[PATCH 5/7] dt-bindings: usb: mtk-xhci: add USB wakeup properties

2017-12-09 Thread Chunfeng Yun
Modify the properties of usb wakeup, and use the new way of mtu_wakeup which is extracted from SSUSB controller dirver as a new one. Signed-off-by: Chunfeng Yun --- .../devicetree/bindings/usb/mediatek,mtk-xhci.txt | 15 +++ 1 file changed, 11

[PATCH 7/7] arm64: dts: mt8173: add uwk node and remove unused usb property

2017-12-09 Thread Chunfeng Yun
Add uwk node for new way of usb remote wakeup instead of old one, and modify some usb properties according binding documents of mediatek,mtu3.txt and mediatek,mtk-xhci.txt Signed-off-by: Chunfeng Yun --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 28

[PATCH 0/7] Add USB remote wakeup driver

2017-12-09 Thread Chunfeng Yun
These patches introduce the SSUSB and SPM glue layer driver which is used to support usb remote wakeup. Usually the glue layer is put into a system controller, such as PERICFG module. The old way to support usb wakeup is put into SSUSB controller drivers, including xhci-mtk driver and mtu3

[PATCH 1/7] soc: mediatek: Add USB wakeup driver

2017-12-09 Thread Chunfeng Yun
This driver is used to support usb wakeup which is controlled by the glue layer between SSUSB and SPM. Usually the glue layer is put into a system controller, such as pericfg module, which is represented by a syscon node in DTS. Due to the glue layer may vary on different SoCs, it's useful to