OHCI unplug kernel crash in kernel 4.3, 4.4 and 4.5

2016-02-28 Thread Stefani Seibold
I still reported this bug 6 Weeks ago... and i checked it know with the current kernel 4.5.0-rc5. The bug is yet not fixed. A unplug of an USB 1.0 OHCI controller express card will result in a kernel crash. The express card is attached via thunderbolt and a sonnet express card to thunderbolt adapt

Re: [PATCH] configfs: switch ->default groups to a linked list

2016-02-28 Thread Sagi Grimberg
On 26/02/2016 14:33, Christoph Hellwig wrote: Replace the current NULL-terminated array of default groups with a linked list. This gets rid of lots of nasty code to size and/or dynamically allocate the array. While we're at it also provide a conveniant helper to remove the default groups. Si

Re: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial private data

2016-02-28 Thread Johan Hovold
On Sat, Jan 30, 2016 at 06:40:30PM +0100, Mathieu OTHACEHE wrote: > On Mon, Jan 25, 2016 at 01:01:59PM +0100, Johan Hovold wrote: > > On Mon, Jan 04, 2016 at 07:49:36PM +0100, Mathieu OTHACEHE wrote: > > > On nominal execution, private data allocated on port_probe and attach > > > are never freed.

Re: [PATCH v4] USB: serial: cp210x: Adding GPIO support for CP2105

2016-02-28 Thread Johan Hovold
On Mon, Feb 01, 2016 at 12:43:12PM +, Martyn Welch wrote: > On 31/01/16 19:54, Johan Hovold wrote: > > On Mon, Jan 18, 2016 at 02:14:37PM +, Martyn Welch wrote: > >> This patch adds support for the GPIO found on the CP2105. Unlike the GPIO > >> provided by some of the other devices supporte

Re: [PATCH 11/14] USB: serial: mos7840: move constants to right

2016-02-28 Thread Johan Hovold
On Mon, Feb 01, 2016 at 01:37:33PM +0100, Bjørn Mork wrote: > Mathieu OTHACEHE writes: > > On Sun, Jan 31, 2016 at 10:33:54PM +0100, Bjørn Mork wrote: > > > >> I feel I'm missing something here, so I have to ask the stupid question: > >> What could possibly be the benefit here? Is it faster? Safe

Re: [PATCH] configfs: switch ->default groups to a linked list

2016-02-28 Thread Christoph Hellwig
On Sun, Feb 28, 2016 at 12:58:42PM +0200, Sagi Grimberg wrote: >> -As a consequence of this, default_groups cannot be removed directly via >> +As a consequence of this, default groups cannot be removed directly via >> rmdir(2). They also are not considered when rmdir(2) on the parent >> group

Re: [PATCH v2 1/4] USB: serial: fix compare_const_fl.cocci warnings

2016-02-28 Thread Johan Hovold
On Thu, Feb 04, 2016 at 07:01:27PM +0100, Mathieu OTHACEHE wrote: > Move constants to the right of binary operators. > > Generated by: scripts/coccinelle/misc/compare_const_fl.cocci > > Signed-off-by: Mathieu OTHACEHE > --- > Move constants to the right improve readability in my opinion. > But i

Re: [PATCH v2 4/4] USB: serial: fix semicolon.cocci warnings

2016-02-28 Thread Johan Hovold
On Thu, Feb 04, 2016 at 07:01:30PM +0100, Mathieu OTHACEHE wrote: > Remove unneeded semicolons. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > Signed-off-by: Mathieu OTHACEHE > --- Rest of the series now applied as well. Thanks, Johan -- To unsubscribe from this list: send the l

[PATCH v2] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Vittorio Alfieri
The Parrot NMEA GPS Flight Recorder is a USB composite device consisting of hub, flash storage, and cp210x usb to serial chip. It is an accessory to the mass-produced Parrot AR Drone 2. The device emits standard NMEA messages which make the it compatible with NMEA compatible software. It was tested

Re: [PATCH] Support HP lt4114 LTE Module (Huawei ME206V-561)

2016-02-28 Thread Johan Hovold
On Fri, Feb 19, 2016 at 12:02:04AM -0800, Daniel Patrick Johnson wrote: > Adds HP lt4114 LTE module USB ID as a Huawei device. > > Currently 4 ttyUSB devices are detected, but only the second two respond to > AT commands. The first two serial ports may be falsely detected. > > Of the two responsi

Re: ftdi_sio: ftdi_set_termios

2016-02-28 Thread Johan Hovold
On Fri, Feb 19, 2016 at 01:55:34PM +0300, Matwey V. Kornilov wrote: > Dear Bill and all, > > I am facing an issue with ftdi_sio module and FTDI FT232-based > devices. Now I am trying to understand where the origin is. > By indirect evidences, I think that there is a small time gap between > return

Re: [PATCH] Add Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card (rev3) to qcserial

2016-02-28 Thread Johan Hovold
On Sat, Feb 20, 2016 at 06:49:56PM +0100, Patrik Halfar wrote: > New revison of Dell Wireless 5809e Gobi 4G HSPA+ Mobile Broadband Card has > new idProduct Next time make sure to wrap your commit messages at around 72 cols or so, and also include a "USB: qcserial:" prefix to a shortened patch sum

[PATCH] usb: phy: generic: Handle late registration of gadget

2016-02-28 Thread Maarten ter Huurne
It is possible for the VBUS detect GPIO interrupt to occur before nop_set_peripheral() is called, in which case otg->gadget is NULL. Signed-off-by: Maarten ter Huurne --- drivers/usb/phy/phy-generic.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/usb/phy

Re: [PATCH 1/1] usb: serial: option: Adding support for Telit LE922 PID 0x1045

2016-02-28 Thread Johan Hovold
On Fri, Feb 26, 2016 at 01:35:27PM +0100, Daniele Palmas wrote: > This patch adds support for 0x1045 PID of Telit LE922. > > Signed-off-by: Daniele Palmas > --- > drivers/usb/serial/option.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/usb/serial/option.c b/drivers/u

Re: [PATCH v4 1/3 RESEND] USB: serial: cp210x: New 16-bit register access functions.

2016-02-28 Thread Johan Hovold
On Sat, Feb 27, 2016 at 07:55:16AM -0600, Konstantin Shkolnyy wrote: > cp210x_get_config and cp210x_set_config are cumbersome to use. This change > introduces new register access functions for 16-bit values, instead of > the above functions. > > Signed-off-by: Konstantin Shkolnyy > --- > change i

Re: [PATCH v2] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Johan Hovold
On Sun, Feb 28, 2016 at 02:40:24PM +0100, Vittorio Alfieri wrote: > The Parrot NMEA GPS Flight Recorder is a USB composite device > consisting of hub, flash storage, and cp210x usb to serial chip. > It is an accessory to the mass-produced Parrot AR Drone 2. > The device emits standard NMEA messages

Re: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial private data

2016-02-28 Thread Mathieu OTHACEHE
On Sun, Feb 28, 2016 at 01:20:16PM +0100, Johan Hovold wrote: > On Sat, Jan 30, 2016 at 06:40:30PM +0100, Mathieu OTHACEHE wrote: > > On Mon, Jan 25, 2016 at 01:01:59PM +0100, Johan Hovold wrote: > > > On Mon, Jan 04, 2016 at 07:49:36PM +0100, Mathieu OTHACEHE wrote: > > > > On nominal execution, p

Re: [PATCH v2] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Vittorio Alfieri
On Sun, Feb 28, 2016 at 05:23:17PM +0100, Johan Hovold wrote: > On Sun, Feb 28, 2016 at 02:40:24PM +0100, Vittorio Alfieri wrote: > > The Parrot NMEA GPS Flight Recorder is a USB composite device > > consisting of hub, flash storage, and cp210x usb to serial chip. > > It is an accessory to the mass

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Vittorio Alfieri
On Sun, Feb 28, 2016 at 02:59:43AM +, Greg KH wrote: > On Sun, Feb 28, 2016 at 02:17:39AM +0100, Vittorio Alfieri wrote: > > The Parrot NMEA GPS Flight Recorder is a USB composite device consisting of > > hub, flash storage, and cp210x usb to serial chip. > > It is an accessory to the mass-pro

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Greg KH
On Sun, Feb 28, 2016 at 06:18:00PM +0100, Vittorio Alfieri wrote: > On Sun, Feb 28, 2016 at 02:59:43AM +, Greg KH wrote: > > On Sun, Feb 28, 2016 at 02:17:39AM +0100, Vittorio Alfieri wrote: > > > The Parrot NMEA GPS Flight Recorder is a USB composite device consisting > > > of hub, flash stor

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Vittorio Alfieri
On Sun, Feb 28, 2016 at 05:55:45PM +, Greg KH wrote: > On Sun, Feb 28, 2016 at 06:18:00PM +0100, Vittorio Alfieri wrote: > > On Sun, Feb 28, 2016 at 02:59:43AM +, Greg KH wrote: > > > On Sun, Feb 28, 2016 at 02:17:39AM +0100, Vittorio Alfieri wrote: > > > > The Parrot NMEA GPS Flight Record

Re: Delays when Lacie USB 3.0 drive attached

2016-02-28 Thread Deryk Lister
Workaround found via a lot of googling for similar issues: basically, tell it not to use uas. /etc/modprobe.d/ignore_uas.conf: options usb-storage quirks=059f:1062:u As I'm on Ubuntu this was followed by sudo update-initramfs -u Works fine now... On 27 February 2016 at 20:15, Deryk Lister wrot

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Greg KH
On Sun, Feb 28, 2016 at 07:35:38PM +0100, Vittorio Alfieri wrote: > > > BTW, is it possible to have this associated with my Github account for > > > record keeping? > > > > I don't understand what you mean by this, please explain it more. > > > > greg k-h > > Hello, > > At risk of going complet

Re: OHCI unplug kernel crash in kernel 4.3, 4.4 and 4.5

2016-02-28 Thread Greg KH
On Sun, Feb 28, 2016 at 10:24:32AM +0100, Stefani Seibold wrote: > I still reported this bug 6 Weeks ago... and i checked it know with the > current kernel 4.5.0-rc5. The bug is yet not fixed. > > A unplug of an USB 1.0 OHCI controller express card will result in a > kernel crash. The express card

Re: OHCI unplug kernel crash in kernel 4.3, 4.4 and 4.5

2016-02-28 Thread Greg KH
On Sun, Feb 28, 2016 at 11:04:03AM -0800, Greg KH wrote: > On Sun, Feb 28, 2016 at 10:24:32AM +0100, Stefani Seibold wrote: > > I still reported this bug 6 Weeks ago... and i checked it know with the > > current kernel 4.5.0-rc5. The bug is yet not fixed. > > > > A unplug of an USB 1.0 OHCI contro

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Vittorio Alfieri
On Sun, Feb 28, 2016 at 06:58:52PM +, Greg KH wrote: > On Sun, Feb 28, 2016 at 07:35:38PM +0100, Vittorio Alfieri wrote: > > > > BTW, is it possible to have this associated with my Github account for > > > > record keeping? > > > > > > I don't understand what you mean by this, please explain i

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Greg KH
On Sun, Feb 28, 2016 at 09:02:29PM +0100, Vittorio Alfieri wrote: > On Sun, Feb 28, 2016 at 06:58:52PM +, Greg KH wrote: > > On Sun, Feb 28, 2016 at 07:35:38PM +0100, Vittorio Alfieri wrote: > > > > > BTW, is it possible to have this associated with my Github account for > > > > > record keepin

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Vittorio Alfieri
On Sun, Feb 28, 2016 at 08:12:25PM +, Greg KH wrote: > On Sun, Feb 28, 2016 at 09:02:29PM +0100, Vittorio Alfieri wrote: > > On Sun, Feb 28, 2016 at 06:58:52PM +, Greg KH wrote: > > > On Sun, Feb 28, 2016 at 07:35:38PM +0100, Vittorio Alfieri wrote: > > > > > > BTW, is it possible to have t

Re: OHCI unplug kernel crash in kernel 4.3, 4.4 and 4.5

2016-02-28 Thread Alan Stern
On Sun, 28 Feb 2016, Greg KH wrote: > On Sun, Feb 28, 2016 at 11:04:03AM -0800, Greg KH wrote: > > On Sun, Feb 28, 2016 at 10:24:32AM +0100, Stefani Seibold wrote: > > > I still reported this bug 6 Weeks ago... and i checked it know with the > > > current kernel 4.5.0-rc5. The bug is yet not fixed

Re: [PATCH] USB: cp210x: Add ID for Parrot NMEA GPS Flight Recorder

2016-02-28 Thread Greg KH
On Sun, Feb 28, 2016 at 09:21:09PM +0100, Vittorio Alfieri wrote: > On Sun, Feb 28, 2016 at 08:12:25PM +, Greg KH wrote: > > On Sun, Feb 28, 2016 at 09:02:29PM +0100, Vittorio Alfieri wrote: > > > On Sun, Feb 28, 2016 at 06:58:52PM +, Greg KH wrote: > > > > On Sun, Feb 28, 2016 at 07:35:38P

[PATCH v5 1/3] USB: serial: cp210x: New 16-bit register access functions.

2016-02-28 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions for 16-bit values, instead of the above functions. Signed-off-by: Konstantin Shkolnyy --- change in v5: Same patch, regenerated against current usb-next branch. change in v4: Inste

[PATCH v5 2/3] USB: serial: cp210x: New 8-bit and 32-bit register access functions.

2016-02-28 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change introduces new register access functions for 8 and 32-bit values, instead of the above functions. Signed-off-by: Konstantin Shkolnyy --- change in v5: Same patch, regenerated against current usb-next branch. change in v4:

[PATCH v5 3/3] USB: serial: cp210x: New access functions for large registers

2016-02-28 Thread Konstantin Shkolnyy
cp210x_get_config and cp210x_set_config are cumbersome to use. This change switches large register access to use new block functions. The old functions are removed because now they become unused. Signed-off-by: Konstantin Shkolnyy --- change in v5: Same patch, regenerated against current usb-next

[GIT PULL] usb: chipidea: fix for v4.5-rc7

2016-02-28 Thread Peter Chen
The following changes since commit 428b315a2475d614d6efbdbeaa13f3977416b21a: Merge tag 'fixes-for-v4.5-rc6' of http://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-linus (2016-02-24 09:04:21 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/ker

[GIT PULL] usb: chipidea: changes for v4.6-rc1

2016-02-28 Thread Peter Chen
Hi Greg, Below are changes for chipidea drivers for v4.6-rc1, they are at linux-next more than 1 weeks. Since my second baby will come to the world soon, I send this a little earlier in case I have no time at that time, thanks. The following changes since commit a057c3259ab6ecab477379d23e27ea0a

Re: Fwd: USB gadget driver issue

2016-02-28 Thread Felipe Balbi
Hi, Olivier Schonken writes: > Hope I'm not raising an issue which actually is my own stupidity. > > I recently upstreamed my embedded Linux kernel to version 4.4, after which > I started experiencing issues with my serial gadget - acm and obex. I used > to be able to run a getty console on it