Dearest

2017-05-08 Thread mariawarlor...@ono.com
Dearest , I am constrained to contact you because of the maltreatment which I am receiving from my step mother. She planned to take away all my late father's treasury and properties from me since the unexpected deathof my beloved Father ,my mother died 10years ago and I was left alone with my

Re: [PATCH V1 1/1] net: cdc_ncm: Fix TX zero padding

2017-05-08 Thread Baxter, Jim
Bjørn Mork writes: > > Ouch! Thanks for finding this. This should go to the stable queue as > well. > > Reviewed-by: Bjørn Mork > Do I need to submit this to the stable queue myself? -- Jim -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to

Re: [PATCH V1 1/1] net: cdc_ncm: Fix TX zero padding

2017-05-08 Thread Bjørn Mork
"Baxter, Jim" writes: > Bjørn Mork writes: >> >> Ouch! Thanks for finding this. This should go to the stable queue as >> well. >> >> Reviewed-by: Bjørn Mork >> > > Do I need to submit this to the stable queue myself? No, davem will handle that. That is, assuming that you had posted this t

Re: [PATCH V1 1/1] net: cdc_ncm: Fix TX zero padding

2017-05-08 Thread Baxter, Jim
Bjørn Mork writes: > "Baxter, Jim" writes: > >> >> Do I need to submit this to the stable queue myself? > > No, davem will handle that. > > That is, assuming that you had posted this to netdev in the first > place... Sorry, I just assumed you did without verifying it when I > replied. You wi

[PATCH V2 1/1] net: cdc_ncm: Fix TX zero padding

2017-05-08 Thread Jim Baxter
The zero padding that is added to NTB's does not zero the memory correctly. This is because the skb_put modifies the value of skb_out->len which results in the memset command not setting any memory to zero as (ctx->tx_max - skb_out->len) == 0. I have resolved this by storing the size of the memory

[PATCH V2 0/1] net: cdc_ncm: Fix TX zero padding

2017-05-08 Thread Jim Baxter
Analysis The zero padding that is added to NTB's does not zero the memory correctly. This happens because the skb_put called within the memset in the line: memset(skb_put(skb_out, ctx->tx_max - skb_out->len), 0, ctx->tx_max - skb_out->len); causes the value of skb_out->len to be mo

[PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-08 Thread Andrey Smirnov
Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent registers past offset 0x018, which includes MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on said platform results in external abort. Fix it by enabling CLKONOFF accessing codepath only for i.MX53. Fixes 3be3251d

Re: [PATCH 4/4] usb: musb: tusb6010_omap: Convert to DMAengine API

2017-05-08 Thread Peter Ujfalusi
Tony, On 2017-05-06 01:55, Tony Lindgren wrote: OK I verified that with the current mainline kernel using dma and g_ether and your patches 1 to 3 I can run the variable size ping test loop for few minutes before it just stops working and I can see the legacy DMA interrupt increase depending on t

[PATCH v2] usb: cdc-wdm: use memdup_user

2017-05-08 Thread Geliang Tang
Use memdup_user() helper instead of open-coding to simplify the code. Signed-off-by: Geliang Tang --- Changes in v2: - return count instead of "rv < 0 ? rv : count". --- drivers/usb/class/cdc-wdm.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/us

Re: How to improve resume time of USB device on Lenovo X60t?

2017-05-08 Thread Alan Stern
On Sun, 7 May 2017, Paul Menzel wrote: > > > $ journalctl -k | grep -i usb > > ... > > > Mai 07 13:44:19 gm-debian kernel: ehci_hcd: USB 2.0 'Enhanced' Host > > > Controller (EHCI) Driver > > > Mai 07 13:44:19 gm-debian kernel: ehci-pci :00:1d.7: new USB bus > > > registered, assigned bus nu

Re: Regression - Linux 4.9: ums_eneub6250 broken: transfer buffer not dma capable - Trace

2017-05-08 Thread Alan Stern
On Sun, 7 May 2017, Andreas Hartmann wrote: > > Therefore there's no disadvantage in saying that the media is not > > removable. That's what the patch below does. > > The patch achieved the goal: it's working perfectly now. No more > additional entries in device manager. Just as it should! Gre

Re: [PATCH 4/4] usb: musb: tusb6010_omap: Convert to DMAengine API

2017-05-08 Thread Tony Lindgren
* Peter Ujfalusi [170508 08:15]: > Tony, > > On 2017-05-06 01:55, Tony Lindgren wrote: > > OK I verified that with the current mainline kernel using dma > > and g_ether and your patches 1 to 3 I can run the variable size > > ping test loop for few minutes before it just stops working and > > I ca

Re: [PATCH v3] USB: serial: ftdi_sio: fix setting latency for unprivileged users

2017-05-08 Thread Johan Hovold
On Sat, May 06, 2017 at 02:18:19PM +0200, Anthony Mallet wrote: > > How did you generate this one? The white-space issue is gone, but now > > it's a "p0" patch again (without the root directory in the paths) so > > checkpatch complains and it does not apply using git am (with the normal > > setting

Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports

2017-05-08 Thread Shuah Khan
Hi Krzysztof, On Fri, Feb 10, 2017 at 6:34 AM, Krzysztof Kozlowski wrote: > On Thu, Feb 09, 2017 at 11:26:48AM +0100, Richard Genoud wrote: >> I did some tests with XU3 and XU4, playing with USB2 and USB3 quirks >> (snps,dis_u{2,3}_susphy_quirk) >> >> kernel for the tests: next-20170206 >> DTBs:

Re: [PATCHv3] phy: cpcap-usb: Add CPCAP PMIC USB support

2017-05-08 Thread Tony Lindgren
* Kishon Vijay Abraham I [170507 23:23]: > Hi Tony, > > On Monday 10 April 2017 09:49 AM, Tony Lindgren wrote: > > Some Motorola phones like droid 4 use a custom CPCAP PMIC that has a > > multiplexing USB PHY. > > > > This USB PHY can operate at least in four modes using pin multiplexing > > and

Re: [PATCH V2 1/1] net: cdc_ncm: Fix TX zero padding

2017-05-08 Thread David Miller
From: Jim Baxter Date: Mon, 8 May 2017 13:49:57 +0100 > The zero padding that is added to NTB's does > not zero the memory correctly. > This is because the skb_put modifies the value > of skb_out->len which results in the memset > command not setting any memory to zero as > (ctx->tx_max - skb_out

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-05-08 Thread Stefan Wahren
> Stefan Wahren hat am 25. April 2017 um 20:11 > geschrieben: > > > > Stefan Wahren hat am 22. April 2017 um 22:50 > > geschrieben: > > > > > > Hi, > > > > > Eric Anholt hat am 20. April 2017 um 20:54 geschrieben: > > > > > > > > > Stefan Wahren writes: > > > > > > > Hi, > > > > > >

Re: How to improve resume time of USB device on Lenovo X60t?

2017-05-08 Thread Alan Stern
On Mon, 8 May 2017, Paul Menzel wrote: > `CONFIG_PRINTK_TIME` is already selected in the Debian configuration. That's odd; the kernel timestamps weren't present in the journalctl output you posted earlier. > As I have never built a module separately before, and while reading up > on it, I remem

Re: [PATCH] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-08 Thread Peter Chen
On Mon, May 08, 2017 at 07:15:01AM -0700, Andrey Smirnov wrote: > Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent > registers past offset 0x018, which includes > MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on > said platform results in external abort. > > Fix

Re: USB CDP (charging downstream port) charging over Chipidea HDRC in host mode

2017-05-08 Thread Peter Chen
On Fri, May 05, 2017 at 10:40:01AM +0530, Jayan John wrote: > I would like to add CDP (charging downstream port) capability over my > OTG port in host mode. I am using an iMX6q platform with Chipidea HDRC > (highspeed dual role controller) with 4.1 kernel. > > Looked at a bunch of documents like U

Re: dwc3 udc driver

2017-05-08 Thread Felipe Balbi
Hi, Ed Lizard writes: > I'm having trouble seeing the udc driver for dwc3 in /sys/class/udc. > > We are moving platforms from musb on 2.6.37 to dwc3 on 4.6. Whew, a lot why v4.6? why not v4.10 fresh out of the oven? Who's making you stuck on older kernels? Seems like you should ask for support