[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

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

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

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

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

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

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 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,

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; > > > > +

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

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

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 ++

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

[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.

[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

[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

[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

[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 +

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

[PATCH v16 3/7] binding-doc: usb: usb-device: add optional properties for power sequence

2017-06-21 Thread Peter Chen
Add optional properties for power sequence. Signed-off-by: Peter Chen Acked-by: Rob Herring --- Documentation/devicetree/bindings/usb/usb-device.txt | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

[PATCH v16 4/7] usb: core: add power sequence handling for USB devices

2017-06-21 Thread Peter Chen
Some hard-wired USB devices need to do power sequence to let the device work normally, the typical power sequence like: enable USB PHY clock, toggle reset pin, etc. But current Linux USB driver lacks of such code to do it, it may cause some hard-wired USB devices works abnormal or can't be

[PATCH v16 5/7] ARM: dts: imx6qdl: Enable usb node children with

2017-06-21 Thread Peter Chen
From: Joshua Clayton Give usb nodes #address and #size attributes, so that a child node representing a permanently connected device such as an onboard hub may be addressed with a attribute Signed-off-by: Joshua Clayton Signed-off-by: Peter

[PATCH v16 7/7] ARM: dts: imx6q-evi: Fix onboard hub reset line

2017-06-21 Thread Peter Chen
From: Joshua Clayton Previously the onboard hub was made to work by treating its reset gpio as a regulator enable. Get rid of that kludge now that pwseq has added reset gpio support Move pin muxing the hub reset pin into the usbh1 group Signed-off-by: Joshua Clayton

[PATCH v16 6/7] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2017-06-21 Thread Peter Chen
The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Besides, using gpio pinctrl setting for USB2415's reset pin. Signed-off-by: Peter Chen

[PATCH v16 2/7] power: add power sequence library

2017-06-21 Thread Peter Chen
We have an well-known problem that the device needs to do some power sequence before it can be recognized by related host, the typical example like hard-wired mmc devices and usb devices. This power sequence is hard to be described at device tree and handled by related host driver, so we have

[PATCH v16 1/7] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2017-06-21 Thread Peter Chen
Add binding doc for generic power sequence library. Signed-off-by: Peter Chen Acked-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/power/pwrseq/pwrseq-generic.txt | 53 ++ 1 file changed, 53

[PATCH v16 0/7] power: add power sequence library

2017-06-21 Thread Peter Chen
This is a follow-up for my last power sequence framework patch set [1]. According to Rob Herring and Ulf Hansson's comments[2]. The kinds of power sequence instances will be added at postcore_initcall, the match criteria is compatible string first, if the compatible string is not matched between

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

2017-06-21 Thread Felipe Balbi
Hi, first of all, your subject line is too long. Something like: usb: gadget: hid: Add support for {GET,SET}_PROTOCOL would've been enough Abdulhadi Mohamed writes: > This patch is required to implement the set_procotol and get_procotol > commands > for HID