Re: BUG: Soft lockup calling xhci_free_streams in 4.12-rc6 when USB-C hub and SSD is connected

2017-06-21 Thread rocko r
> Does the Samsung 840 EVO SSD support UAS (USB attached SCSI?) i.e. does > it use the uas driver instead of mass-storage? I don't think UAS is an issue here: I tried disabling it for the SSD using a quirk (ie with the line "options usb_storage quirks=174c:1053:u" in the file /etc/modprobe.d/usb_s

Re: [PATCH 2/2] USB: serial: propagate late probe errors

2017-06-21 Thread Johan Hovold
On Tue, Jun 20, 2017 at 10:17:58PM +0800, Greg Kroah-Hartman wrote: > On Tue, Jun 20, 2017 at 12:52:03PM +0200, Johan Hovold wrote: > > Propagate errnos for late probe errors (e.g. -ENOMEM on allocation > > failures) instead of always returning -EIO. > > > > Note that some drivers are currently re

[PATCH 2/5] dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy

2017-06-21 Thread Jiancheng Xue
Add support for hisi-inno-usb2 phy. Signed-off-by: Jiancheng Xue --- .../devicetree/bindings/phy/phy-hisi-inno-usb2.txt | 36 ++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/phy-hisi-inno-usb2.txt diff --git a/Documentation/devic

[PATCH 3/5] phy: add inno-usb2-phy driver for hi3798cv200 SoC

2017-06-21 Thread Jiancheng Xue
From: Pengcheng Li Add inno-usb2-phy driver for hi3798cv200 SoC. Signed-off-by: Pengcheng Li Signed-off-by: Jiancheng Xue --- drivers/phy/Kconfig | 10 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-hisi-inno-usb2.c | 287 +++ 3

[PATCH 4/5] arm64: dts: hisilicon: add usb2 controller and phy nodes for poplar board.

2017-06-21 Thread Jiancheng Xue
Add usb2 controller and phy nodes for poplar board. Signed-off-by: Jiancheng Xue Reviewed-by: Daniel Thompson --- .../boot/dts/hisilicon/hi3798cv200-poplar.dts | 13 ++ arch/arm64/boot/dts/hisilicon/hi3798cv200.dtsi | 47 ++ 2 files changed, 60 insertions(+) di

[PATCH 5/5] arm64: defconfig: enable some drivers and configs for hi3798cv200-poplar board.

2017-06-21 Thread Jiancheng Xue
Enable GMAC,I2C,IR,USB2-PHY for hi3798cv200-poplar board. Signed-off-by: Jiancheng Xue --- arch/arm64/configs/defconfig | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index 97c123e..b45d760 100644 ---

[PATCH 1/5] clk: hisilicon: add usb2 clocks for hi3798cv200 SoC

2017-06-21 Thread Jiancheng Xue
Add usb2 clocks for hi3798cv200 SoC. Signed-off-by: Jiancheng Xue Reviewed-by: Daniel Thompson --- drivers/clk/hisilicon/crg-hi3798cv200.c | 21 + include/dt-bindings/clock/histb-clock.h | 9 - 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/drivers/c

[PATCH 0/5] enable usb2 function on poplar board.

2017-06-21 Thread Jiancheng Xue
This patchset is mainly used to enable usb2 function on poplar board. Jiancheng Xue (4): clk: hisilicon: add usb2 clocks for hi3798cv200 SoC dt-bindings: phy-hisi-inno-usb2: add support for hisi-inno-usb2 phy arm64: dts: hisilicon: add usb2 controller and phy nodes for poplar board. ar

Re: BUG: Soft lockup calling xhci_free_streams in 4.12-rc6 when USB-C hub and SSD is connected

2017-06-21 Thread Mathias Nyman
On 21.06.2017 10:06, rocko r wrote: Does the Samsung 840 EVO SSD support UAS (USB attached SCSI?) i.e. does it use the uas driver instead of mass-storage? I don't think UAS is an issue here: I tried disabling it for the SSD using a quirk (ie with the line "options usb_storage quirks=174c:1053:u

Re: [project-aspen-dev] [PATCH 3/5] phy: add inno-usb2-phy driver for hi3798cv200 SoC

2017-06-21 Thread Daniel Thompson
On 21/06/17 10:00, Jiancheng Xue wrote: From: Pengcheng Li Add inno-usb2-phy driver for hi3798cv200 SoC. Signed-off-by: Pengcheng Li Signed-off-by: Jiancheng Xue --- drivers/phy/Kconfig | 10 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-hisi-inno-usb2.c | 28

Re: [PATCH v4 1/2] usb: typec: Add support for UCSI interface

2017-06-21 Thread Heikki Krogerus
On Fri, Jun 16, 2017 at 03:14:37PM -0700, Guenter Roeck wrote: > On Fri, Jun 16, 2017 at 11:21:24AM +0300, Heikki Krogerus wrote: > > UCSI - USB Type-C Connector System Software Interface - is a > > specification that defines set of registers and data > > structures for controlling the USB Type-C p

Re: [PATCH] usb: musb: compress return logic into one line

2017-06-21 Thread Bin Liu
Hi Greg, On Tue, Jun 20, 2017 at 03:24:27PM -0500, Gustavo A. R. Silva wrote: > Simplify return logic to avoid unnecessary variable assignment. > > Signed-off-by: Gustavo A. R. Silva My tree is already closed for v4.13. if you want to pick it up directly, here is my Acked-by, or I will take it

Re: [PATCH] usb:gadget:hid: This patch adds support for set_protocol and get_protocol for remote wakeup

2017-06-21 Thread abdulahhadi2
Hi, Thanks for the reply! I'll be sure to send in another patch with fixes to all the formatting errors. But before that just a couple of points on your feedback. > > struct usb_request *req; > > unsigned long flags; > > ssize_t status = -ENOMEM; > > > > + usb_gadget_wakeup(cdev->

Re: [PATCH 5/5] watchdog: sp5100_tco: Use request_declared_muxed_region()

2017-06-21 Thread Guenter Roeck
On Wed, Jun 21, 2017 at 05:53:49AM +0200, Zoltán Böszörményi wrote: > Use the new request_declared_muxed_region() macro to synchronize > accesses to the SB800 I/O port pair (0xcd6 / 0xcd7) with the > PCI quirk for isochronous USB transfers and with the i2c-piix4 > driver. > > At the same time, rem

Re: [PATCH] usb:gadget:hid: This patch adds support for set_protocol and get_protocol for remote wakeup

2017-06-21 Thread Alan Stern
On Wed, 21 Jun 2017 abdulahha...@gmail.com wrote: > Hi, > > Thanks for the reply! I'll be sure to send in another patch > with fixes to all the formatting errors. But before that > just a couple of points on your feedback. > > > > struct usb_request *req; > > > unsigned long flags; > > >

Re: [PATCH net-next] r8152: correct the definition

2017-06-21 Thread David Miller
From: Hayes Wang Date: Wed, 21 Jun 2017 11:25:18 +0800 > Replace VLAN_HLEN and CRC_SIZE with ETH_FCS_LEN. > > Signed-off-by: Hayes Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/5] clk: hisilicon: add usb2 clocks for hi3798cv200 SoC

2017-06-21 Thread Stephen Boyd
On 06/21, Jiancheng Xue wrote: > Add usb2 clocks for hi3798cv200 SoC. > > Signed-off-by: Jiancheng Xue > Reviewed-by: Daniel Thompson > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project -- To unsubscribe from

Re: [PATCH 2/3] usb: dwc3: gadget: Fix early exit in set/clear ep halt

2017-06-21 Thread John Youn
On 6/21/2017 3:38 AM, Felipe Balbi wrote: > > Hi, > > John Youn writes: > > > I haven't checked, but Thinh looked and couldn't find anything relating to the macOS issue. Which is why we want more information about the problem. I can take a look at it too later today when

AW: Wir geben jährlich Darlehen für 2% Zinsen aus

2017-06-21 Thread Bernhard Stöckl
Wir vergeben Kredite mit einem Zinssatz von jährlich 2%. Die Bearbeitung des Antrags erfolgt rasch, wir verlangen keine Gebühren, was sie beantragen werden wir annehmen. Wir bewilligen Kredite von bis zu 40 Millionen Euro und von mindestens 15.000 Euro. Sie können einen geschäftlichen oder pri

Re: BUG: Soft lockup calling xhci_free_streams in 4.12-rc6 when USB-C hub and SSD is connected

2017-06-21 Thread rocko r
> does this help: > > diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c Thanks! That patch stops the lockup (at least for the one reboot that I had time to test before leaving for work). The patched 4.12 now works just like 4.11 with my USB-C to USB-3 hub hardware configura

[PATCH v5] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-06-21 Thread Jiahau Chang
When USB Ethernet is plugged in ASMEDIA ASM1042A xHCI host, bad performance was manifesting in Web browser use (like download large file such as ISO image). It is known limitation of ASM1042A that is not compatible with driver scheduling, As a workaround we can modify flow control handling of ASM10