Re: [PATCH 1/2] usb: dwc2: Fix DMA alignment to start at allocated boundary

2018-07-07 Thread Antti Seppälä
On 6 July 2018 at 18:57, Doug Anderson wrote: > Hi, > > Thanks for tracking this down and sorry for the original regression. > Seems like a good fix. With this fix, I'd be curious of your > observations on how dwc2 performs (both performance and compatibility > under stress) with the newest

[PATCH 0/2] usb: dwc2: DMA alignment fixes

2018-07-05 Thread Antti Seppälä
nce improvement in certain use cases. Since it touches the same area that I was already modifying I decided to split it into separate patch and include in the series. Antti Seppälä (2): usb: dwc2: Fix DMA alignment to start at allocated boundary usb: dwc2: Fix inefficient copy of unaligned bu

[PATCH 1/2] usb: dwc2: Fix DMA alignment to start at allocated boundary

2018-07-05 Thread Antti Seppälä
M). Fixes: 3bc04e28a030 ("usb: dwc2: host: Get aligned DMA in a more supported way") Signed-off-by: Antti Seppälä --- drivers/usb/dwc2/hcd.c | 44 +++- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/drivers/usb/dwc2/hcd.c b/dr

[PATCH 2/2] usb: dwc2: Fix inefficient copy of unaligned buffers

2018-07-05 Thread Antti Seppälä
S) and RPi Model B Rev 2 (ARM) Signed-off-by: Antti Seppälä --- drivers/usb/dwc2/hcd.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/usb/dwc2/hcd.c b/drivers/usb/dwc2/hcd.c index 2ed0ac18e053..6e2cdd7b93d4 100644 --- a/drivers/usb/dwc2/hcd.c +++ b/driver

Re: usb: dwc2: crash regression in commit 3bc04e28a030 (bisected)

2018-07-03 Thread Antti Seppälä
On 3 July 2018 at 09:56, Doug Anderson wrote: > Hi, > > On Sun, Jul 1, 2018 at 11:30 PM, Antti Seppälä wrote: >> On 30 June 2018 at 02:57, Doug Anderson wrote: >>> Hi, >>> >>> On Fri, Jun 29, 2018 at 11:29 AM, Antti Seppälä wrote: >>>> Hi

Re: usb: dwc2: crash regression in commit 3bc04e28a030 (bisected)

2018-07-02 Thread Antti Seppälä
On 30 June 2018 at 02:57, Doug Anderson wrote: > Hi, > > On Fri, Jun 29, 2018 at 11:29 AM, Antti Seppälä wrote: >> Hi Doug, John and linux-usb. >> >> I'd like to report a regression in commit 3bc04e28a030 (usb: dwc2: >> host: Get aligned DMA in a more supported

usb: dwc2: crash regression in commit 3bc04e28a030 (bisected)

2018-06-29 Thread Antti Seppälä
Hi Doug, John and linux-usb. I'd like to report a regression in commit 3bc04e28a030 (usb: dwc2: host: Get aligned DMA in a more supported way) Apparently the patch does something nasty that the Lantiq platform really does not like as whenever I plug my usb 3g modem into the usb port of my BT

[PATCH] usb: dwc2: Add support for Lantiq ARX and XRX SoCs

2016-02-27 Thread Antti Seppälä
Add support for Lantiq ARX and XRX SoC families to the dwc2 driver. Signed-off-by: Antti Seppälä <a.sepp...@gmail.com> --- Documentation/devicetree/bindings/usb/dwc2.txt | 2 ++ drivers/usb/dwc2/platform.c| 34 ++ 2 files changed, 36 inse

Re: [PATCH v3 2/2] usb: dwc2: host: Clear interrupts before handling them

2015-11-19 Thread Antti Seppälä
On 19 November 2015 at 21:45, Douglas Anderson wrote: > In general it is wise to clear interrupts before processing them. If > you don't do that, you can get: > 1. Interrupt happens > 2. You look at system state and process interrupt > 3. A new interrupt happens > 4.

[PATCH v3] usb: dwc2: add support for big-endian Lantiq SoCs

2015-08-20 Thread Antti Seppälä
dropped the dwc2 core parameters patch for Lantiq from this series for now as finding the right parameters is still a bit of a work in progress. [1] http://www.spinics.net/lists/linux-usb/msg122814.html [2] http://www.spinics.net/lists/linux-usb/msg122897.html Antti Seppälä (1): usb: dwc2: Use

[PATCH v3] usb: dwc2: Use platform endianness when accessing registers

2015-08-20 Thread Antti Seppälä
-off-by: Antti Seppälä a.sepp...@gmail.com Signed-off-by: Vincent Pelletier plr.vinc...@gmail.com --- Notes: Changes in v2: - Fixed wrong comment style Changes in v3 - Rebased against latest linux-next - Tweaked indentation in some files drivers/usb/dwc2/core.c

[PATCH v2 1/2] usb: dwc2: Use platform endianness when accessing registers

2015-03-12 Thread Antti Seppälä
-off-by: Antti Seppälä a.sepp...@gmail.com Signed-off-by: Vincent Pelletier plr.vinc...@gmail.com --- drivers/usb/dwc2/core.c | 341 ++- drivers/usb/dwc2/core.h | 29 +++- drivers/usb/dwc2/core_intr.c | 73 - drivers/usb/dwc2/gadget.c

[PATCH v2 0/2] usb: dwc2: add support for big-endian Lantiq SoCs

2015-03-12 Thread Antti Seppälä
version: * Patches updated to apply to latest dwc2 code * Fixing wrong comment style (as pointed out by Felipe Balbi) Antti Seppälä (2): usb: dwc2: Use platform endianness when accessing registers usb: dwc2: Add default fifo sizes for Lantiq SoCs Documentation/devicetree/bindings/usb/dwc2

[PATCH 2/2] usb: dwc2: Add default fifo sizes for Lantiq SoCs

2015-03-12 Thread Antti Seppälä
. Signed-off-by: Antti Seppälä a.sepp...@gmail.com Signed-off-by: Vincent Pelletier plr.vinc...@gmail.com --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + drivers/usb/dwc2/platform.c| 29 ++ 2 files changed, 30 insertions(+) diff --git

[PATCH 1/2] usb: dwc2: Use platform endianness when accessing registers

2015-01-31 Thread Antti Seppälä
-off-by: Antti Seppälä a.sepp...@gmail.com Signed-off-by: Vincent Pelletier plr.vinc...@gmail.com --- drivers/usb/dwc2/core.c | 341 ++- drivers/usb/dwc2/core.h | 24 ++- drivers/usb/dwc2/core_intr.c | 73 - drivers/usb/dwc2/gadget.c

[PATCH 2/2] usb: dwc2: Add default fifo sizes for Lantiq SoCs

2015-01-31 Thread Antti Seppälä
. Signed-off-by: Antti Seppälä a.sepp...@gmail.com Signed-off-by: Vincent Pelletier plr.vinc...@gmail.com --- Documentation/devicetree/bindings/usb/dwc2.txt | 1 + drivers/usb/dwc2/platform.c| 29 ++ 2 files changed, 30 insertions(+) diff --git

[PATCH 0/2] usb: dwc2: add support for big-endian Lantiq SoCs

2015-01-31 Thread Antti Seppälä
parameters for Lantiq SoCs to dwc2 which is needed to support devices equipped with smaller fifo sizes. Antti Seppälä (2): usb: dwc2: Use platform endianness when accessing registers usb: dwc2: Add default fifo sizes for Lantiq SoCs Documentation/devicetree/bindings/usb/dwc2.txt | 1

Re: [RFC PATCH] usb: dwc2: Use platform endianness when accessing registers

2015-01-28 Thread Antti Seppälä
On 27 January 2015 at 04:18, John Youn john.y...@synopsys.com wrote: From: Vincent Pelletier [mailto:plr.vinc...@gmail.com] Sent: Friday, January 23, 2015 12:19 AM On Fri, 23 Jan 2015 02:38:37 +, John Youn john.y...@synopsys.com wrote: Having the __raw functions everywhere is not pretty

[RFC PATCH] usb: dwc2: Use platform endianness when accessing registers

2015-01-21 Thread Antti Seppälä
. in OpenWrt. The patch was autogenerated with the following commands: sed -i s/\readl\/__raw_readl/g *.c hcd.h hw.h sed -i s/\writel\/__raw_writel/g *.c hcd.h hw.h Some files were then hand-edited to fix checkpatch.pl warning about too long lines. Signed-off-by: Antti Seppälä a.sepp...@gmail.com

Regression: Two em28xx devices in the same xhci-hcd (bisected)

2014-05-30 Thread Antti Seppälä
Port 5: .0100 power Port 6: .0100 power Port 7: .0100 power Port 8: .0100 power Port 9: .0100 power Device Status: 0x0001 Self Powered Best regards, -- Antti Seppälä -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message