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

2017-07-06 Thread Jiahau Chang
2017-06-28 21:42 GMT+08:00 Mathias Nyman <mathias.ny...@linux.intel.com>: > On 22.06.2017 07:49, Jiahau Chang wrote: >> >> When USB Ethernet is plugged in ASMEDIA ASM1042A xHCI host, bad >> performance was manifesting in Web browser use (like download >> large fil

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

2017-06-21 Thread Jiahau Chang
of ASM1042A. The register we modify is changes the behavior Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com.tw> Signed-off-by: Ian Pilcher <arequip...@gmail.com> --- v5: run usb_asmedia_modifyflowcontrol after CMD_RESET and resume v4 changes from Ian Pilcher v4: use usleep_range inste

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

2017-06-15 Thread Jiahau Chang
of ASM1042A. The register we modify is change the behavior Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com.tw> --- v3: add define value of setting ASMT write Reg modify dev_dbg message use usleep v2: fix coding format drivers/usb/host/pci-quirks.

Re: [PATCH v4] xhci: AMD Promontory USB disable port support

2017-06-14 Thread Jiahau Chang
2017-06-13 20:33 GMT+08:00 Mathias Nyman <mathias.ny...@linux.intel.com>: > On 13.06.2017 14:26, Jiahau Chang wrote: >> >> 2017-06-07 16:02 GMT+08:00 Mathias Nyman <mathias.ny...@linux.intel.com>: >>> >>> On 06.06.2017 13:13, Jiahau Chang wrote: >

Re: [PATCH v4] xhci: AMD Promontory USB disable port support

2017-06-13 Thread Jiahau Chang
2017-06-07 16:02 GMT+08:00 Mathias Nyman <mathias.ny...@linux.intel.com>: > On 06.06.2017 13:13, Jiahau Chang wrote: >> >> v4: Remove the patch code in case USB_PORT_FEAT_REMOTE_WAKE_MASK >> >> For AMD Promontory xHCI host, although you can disable USB 2.0 ports in

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

2017-06-08 Thread Jiahau Chang
control handling of ASM1042A. Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com.tw> --- drivers/usb/host/pci-quirks.c | 62 +++ drivers/usb/host/pci-quirks.h | 1 + drivers/usb/host/xhci-pci.c | 5 drivers/usb/host/xhci.c | 3 +++ d

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

2017-06-07 Thread Jiahau Chang
of ASM1042A. Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com.tw> --- drivers/usb/host/pci-quirks.c | 62 +++ drivers/usb/host/pci-quirks.h | 1 + drivers/usb/host/xhci-pci.c | 5 drivers/usb/host/xhci.c | 4 +++ drivers/usb/host/

[PATCH v4] xhci: AMD Promontory USB disable port support

2017-06-06 Thread Jiahau Chang
. As a workaround we can clear the PORT_WAKE_BITS. Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com.tw> --- drivers/usb/host/xhci-hub.c | 2 ++ drivers/usb/host/xhci-pci.c | 13 + drivers/usb/host/xhci.h | 2 ++ 3 files changed, 17 insertions(+) diff --git a/drivers/usb/host/xhci

[PATCH v3] xhci: AMD Promontory USB disable port support

2017-05-31 Thread Jiahau Chang
the PORT_WAKE_BITS. Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com.tw> --- drivers/usb/host/xhci-hub.c | 19 ++- drivers/usb/host/xhci-pci.c | 13 + drivers/usb/host/xhci.h | 2 ++ 3 files changed, 29 insertions(+), 5 deletions(-) diff --git a/drivers/usb/hos

[PATCH v2] usb:host:xhci AMD Promontory USB disable port support

2017-05-26 Thread Jiahau Chang
There is some limitation for AMD Promontory xHCI host to disable USB port function. It will enable USB wake-up function then cause USB disable port feature to fail. Workaround this issue on Promontory xHCI host is clear PORT_WAKE_BITS. Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com

[PATCH]usb:host:xhci AMD Promontory USB disable port support

2017-05-25 Thread Jiahau Chang
There is some limitation for AMD Promontory xHCI host to disable USB port function. It will enable USB wake-up function then cause USB disable port feature to fail. Workaround this issue on Promontory xHCI host is clear PORT_WAKE_BITS. Signed-off-by: Jiahau Chang <lars_ch...@asmedia.com