Re: FTDI Serial shutdown

2019-03-21 Thread Greg KH
On Fri, Mar 22, 2019 at 08:50:09AM +0900, Leonardo, Sionzon wrote: > Hi Felipe, > > I am using 3.14.52 version from NXP codeline. I haven't tried the > latest codeline We have no idea what that refers to, sorry. Please try the in-kernel driver. If you have problems with an out-of-tree driver, p

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2019-03-21 Thread kbuild test robot
Hi Felipe, I love your patch! Yet something to improve: [auto build test ERROR on balbi-usb/next] [also build test ERROR on v5.1-rc1 next-20190321] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

PRIVATE...

2019-03-21 Thread daniele
I have a business Proposal that will be of benefit to the both of us.Kindly contact me on mrmichealwu...@yahoo.com.hk should this be of interest to you.

Re: FTDI Serial shutdown

2019-03-21 Thread Leonardo, Sionzon
Hi Felipe, I am using 3.14.52 version from NXP codeline. I haven't tried the latest codeline Best Regards, Leonardo On Wed, Mar 20, 2019 at 4:15 PM Felipe Balbi wrote: > > > Hi Leonardo, > > "Leonardo, Sionzon" writes: > > I am Leonardo from Adtec Corporation Japan. > > > > I'm new to USB se

Re: Problem with USB2 devices connected to a hub

2019-03-21 Thread Georg Chini
On 21.03.19 16:19, Mathias Nyman wrote: On 21.3.2019 13.05, Georg Chini wrote: On 16.03.19 15:52, Georg Chini wrote: On 15.03.19 17:04, Georg Chini wrote: On 15.03.19 15:48, Mathias Nyman wrote: On 14.3.2019 20.39, Georg Chini wrote: On 14.03.19 15:00, Mathias Nyman wrote: On 14.3.2019 14.3

Re: [regression] USB power management failure to suspend / high CPU usage

2019-03-21 Thread Eric Blau
On Thu, Mar 21, 2019 at 10:51 AM Mathias Nyman wrote: > > On 21.3.2019 15.32, Eric Blau wrote: > > > > Where do we stand with this fix? Were you able to try out this port > > debug patch, Ivan? > > > > I normally run with ACPI wakeup disabled on XHC1 but if more debugging > > is needed, I can enab

Re: Problem with USB2 devices connected to a hub

2019-03-21 Thread Mathias Nyman
On 21.3.2019 13.05, Georg Chini wrote: On 16.03.19 15:52, Georg Chini wrote: On 15.03.19 17:04, Georg Chini wrote: On 15.03.19 15:48, Mathias Nyman wrote: On 14.3.2019 20.39, Georg Chini wrote: On 14.03.19 15:00, Mathias Nyman wrote: On 14.3.2019 14.38, Georg Chini wrote: Hello, I have a p

Re: [regression] USB power management failure to suspend / high CPU usage

2019-03-21 Thread Mathias Nyman
On 21.3.2019 15.32, Eric Blau wrote: On Mon, Mar 4, 2019 at 10:13 AM Mathias Nyman wrote: On 26.2.2019 0.11, Ivan Mironov wrote: Hi Mathias, I applied your patch on top of v5.0-rc8 and tested it on my laptop. It fixes the suspend problem from the kernel side, but there is another one: start

Re: [regression] USB power management failure to suspend / high CPU usage

2019-03-21 Thread Eric Blau
On Mon, Mar 4, 2019 at 10:13 AM Mathias Nyman wrote: > > On 26.2.2019 0.11, Ivan Mironov wrote: > > Hi Mathias, > > > > I applied your patch on top of v5.0-rc8 and tested it on my laptop. > > > > It fixes the suspend problem from the kernel side, but there is another > > one: starting with the sec

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2019-03-21 Thread Felipe Balbi
hi, Greg KH writes: > On Thu, Mar 21, 2019 at 11:50:04AM +0200, Felipe Balbi wrote: >> > +static struct usb_interface_descriptor ftrace_intf_desc = { >> > + .bLength= USB_DT_INTERFACE_SIZE, >> > + .bDescriptorType= USB_DT_INTERFACE, >> > + >> > + .bAlternateSetting

Re: Problem with USB2 devices connected to a hub

2019-03-21 Thread Georg Chini
On 16.03.19 15:52, Georg Chini wrote: On 15.03.19 17:04, Georg Chini wrote: On 15.03.19 15:48, Mathias Nyman wrote: On 14.3.2019 20.39, Georg Chini wrote: On 14.03.19 15:00, Mathias Nyman wrote: On 14.3.2019 14.38, Georg Chini wrote: Hello, I have a problem with multiple USB2 devices. After

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2019-03-21 Thread Greg KH
On Thu, Mar 21, 2019 at 11:50:04AM +0200, Felipe Balbi wrote: > > +static struct usb_interface_descriptor ftrace_intf_desc = { > > + .bLength= USB_DT_INTERFACE_SIZE, > > + .bDescriptorType= USB_DT_INTERFACE, > > + > > + .bAlternateSetting = 0, > > + .bNumEndpoin

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2019-03-21 Thread Greg KH
On Thu, Mar 21, 2019 at 11:47:48AM +0200, Felipe Balbi wrote: > Allow for ftrace data to be exported over a USB Gadget > Controller. With this, we have a potentially very fast pipe for > transmitting ftrace data to a Host PC for further analysis. > > Note that in order to decode the data, one need

Re: [PATCH] usb: gadget: functions: add ftrace export over USB

2019-03-21 Thread Felipe Balbi
Felipe Balbi writes: > Allow for ftrace data to be exported over a USB Gadget > Controller. With this, we have a potentially very fast pipe for > transmitting ftrace data to a Host PC for further analysis. > > Note that in order to decode the data, one needs access to kernel > symbols in order to

[PATCH] usb: gadget: functions: add ftrace export over USB

2019-03-21 Thread Felipe Balbi
Allow for ftrace data to be exported over a USB Gadget Controller. With this, we have a potentially very fast pipe for transmitting ftrace data to a Host PC for further analysis. Note that in order to decode the data, one needs access to kernel symbols in order to convert binary data into function

Re: [PATCH] usb: gadget: Don't allocate zero-length buffers

2019-03-21 Thread Andrzej Pietrasiewicz
Hi Greg, W dniu 20.03.2019 o 15:25, Greg KH pisze: On Wed, Mar 20, 2019 at 01:56:41PM +0100, Andrzej Pietrasiewicz wrote: Don't actually allocate anything if userspace enqueues a zero-length buffer. Otherwise vmalloc of zero-sized area will be attempted in ffs_build_sg_list(). Are you sur