[PATCH v4 2/6] usb: fix some references for /proc/bus/usb

2017-04-16 Thread Mauro Carvalho Chehab
Since when we got rid of usbfs, the /proc/bus/usb is now elsewhere. Fix references for it. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/media/usb/pwc/philips.txt | 2 +- drivers/usb/class/Kconfig | 2 +- drivers/usb/class/usblp.c | 2 +- d

[PATCH v4 5/6] zr364xx.rst: usb/devices is now at /sys/kernel/debug/

2017-04-16 Thread Mauro Carvalho Chehab
The /proc/bus/usb/devices got moved to sysfs. It is now sitting at: /sys/kernel/debug/usb/devices Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/media/v4l-drivers/zr364xx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v4 1/6] docs-rst: usb: update old usbfs-related documentation

2017-04-16 Thread Mauro Carvalho Chehab
There's no usbfs anymore. The old features are now either exported to /dev/bus/usb or via debugfs. Update documentation accordingly, pointing to the new places where the character devices and usb/devices are now placed. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH v4 3/6] [media] convert philips.txt to ReST and add to media docs

2017-04-16 Thread Mauro Carvalho Chehab
The philips.txt file were at the wrong place: it should be, instead, at Documentation/media. Move and convert it. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/media/v4l-drivers/index.rst | 1 + .../media/v4l-drivers/phili

[PATCH v4 0/6] Get rid of usbfs leftovers

2017-04-16 Thread Mauro Carvalho Chehab
that are for the stuff under media. Those patches shouldn't conflict with the stuff I have on my tree. So, feel free to merge them via your tree (or if you prefer, I can merge them myself). Mauro Carvalho Chehab (6): docs-rst: usb: update old usbfs-related documentation usb: fix some references

Re: [PATCH v4 0/6] Get rid of usbfs leftovers

2017-04-20 Thread Mauro Carvalho Chehab
Em Thu, 20 Apr 2017 15:32:44 -0600 Jonathan Corbet <cor...@lwn.net> escreveu: > On Sun, 16 Apr 2017 21:51:05 -0300 > Mauro Carvalho Chehab <mche...@s-opensource.com> wrote: > > > When we got rid of usbfs, the old /proc/bus/usb stuff got moved > > to two diff

[PATCH v2] docs-rst: usb: update old usbfs-related documentation

2017-04-16 Thread Mauro Carvalho Chehab
There's no usbfs anymore. The old features are now either exported to /dev/bus/usb or via debugfs. Update documentation accordingly, pointing to the new places where the character devices and usb/devices are now placed. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH v3 2/3] usb: fix some references for /proc/bus/usb

2017-04-16 Thread Mauro Carvalho Chehab
Since when we got rid of usbfs, the /proc/bus/usb is now elsewhere. Fix references for it. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/media/usb/pwc/philips.txt | 2 +- drivers/usb/class/Kconfig | 2 +- drivers/usb/class/usblp.c | 2 +- d

[PATCH v3 1/3] docs-rst: usb: update old usbfs-related documentation

2017-04-16 Thread Mauro Carvalho Chehab
There's no usbfs anymore. The old features are now either exported to /dev/bus/usb or via debugfs. Update documentation accordingly, pointing to the new places where the character devices and usb/devices are now placed. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

Re: [PATCH 2/3] docs-rst/usb: usb/devices is now at /sys/kernel/debug/

2017-04-16 Thread Mauro Carvalho Chehab
Em Sun, 16 Apr 2017 10:39:58 -0400 (EDT) Alan Stern <st...@rowland.harvard.edu> escreveu: > On Sun, 16 Apr 2017, Mauro Carvalho Chehab wrote: > > > The /proc/bus/usb/devices got moved to sysfs. It is now > > sitting at: > > /sys/kernel/debug/us

[PATCH 2/3] docs-rst/usb: usb/devices is now at /sys/kernel/debug/

2017-04-16 Thread Mauro Carvalho Chehab
The /proc/bus/usb/devices got moved to sysfs. It is now sitting at: /sys/kernel/debug/usb/devices Fix the old references at the USB documentation Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/usb.rst | 14 +++--- Documen

[PATCH 1/3] zr364xx.rst: usb/devices is now at /sys/kernel/debug/

2017-04-16 Thread Mauro Carvalho Chehab
The /proc/bus/usb/devices got moved to sysfs. It is now sitting at: /sys/kernel/debug/usb/devices Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/media/v4l-drivers/zr364xx.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v2 01/22] tmplcvt: make the tool more robust

2017-04-05 Thread Mauro Carvalho Chehab
Em Sun, 2 Apr 2017 15:32:31 -0600 Jonathan Corbet <cor...@lwn.net> escreveu: > On Thu, 30 Mar 2017 07:45:35 -0300 > Mauro Carvalho Chehab <mche...@s-opensource.com> wrote: > > > Currently, the script just assumes to be called at > > Documentation/sphinx/. C

[PATCH v2 21/21] docs-rst: fix usb cross-references

2017-04-05 Thread Mauro Carvalho Chehab
As some USB documentation files got moved, adjust their cross-references to their new place. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/ABI/stable/sysfs-bus-usb| 2 +- Documentation/driver-api/usb/URB.rst | 2 ++ Documen

[PATCH v2 13/21] error-codes.rst: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core features. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/usb/error-codes.rst | 205 +++ Documentation/driver-api/usb/index.rst | 1 + Documen

[PATCH v2 08/21] usb/anchors.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../anchors.txt => driver-api/usb/anchors.rst} | 36 -- Documentation/driver-api/usb/index.rst | 1 +

[PATCH v2 04/21] usb.rst: Enrich its ReST representation

2017-04-05 Thread Mauro Carvalho Chehab
- use the proper warning and note markups; - add references for parts of the document that will be cross-referenced on other USB docs; - some minor adjustments to make it better to read in text mode and in html. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.

[PATCH v2 02/21] driver-api/basics.rst: add device table header

2017-04-05 Thread Mauro Carvalho Chehab
The structs there at device table are used by other documentation at the Kernel. So, add it to the driver API. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- Documentation/driver-api/basics.rst | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/

[PATCH v2 09/21] usb/bulk-streams.txt: convert to ReST and add to driver-api book

2017-04-05 Thread Mauro Carvalho Chehab
This document describe some USB core functions. Add it to the driver-api book. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- .../bulk-streams.txt => driver-api/usb/bulk-streams.rst}| 13 + Documentation/driver-api/usb/index.rst

[PATCH 12/13] usb: fix the comment with regards to DocBook

2017-05-14 Thread Mauro Carvalho Chehab
specifying where it is. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/usb/gadget/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index c164d6b788c3..b3c879b75a39 100644 --- a/drive

[PATCH v2 51/53] usb: fix the comment with regards to DocBook

2017-05-16 Thread Mauro Carvalho Chehab
specifying where it is. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/usb/gadget/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index c164d6b788c3..b3c879b75a39 100644 --- a/drive

Re: [PATCH 00/18] use ARRAY_SIZE macro

2017-10-02 Thread Mauro Carvalho Chehab
Em Sun, 1 Oct 2017 20:52:20 -0400 Jérémy Lefaure escreveu: > Anyway, I can tell to each maintainer that they can apply the patches > they're concerned about and next time I may send individual patches. In the case of media, we'll handle it as if they were individual

[PATCH 0/3] document types of hardware control for V4L2

2017-08-25 Thread Mauro Carvalho Chehab
On 2010, we introduced a new way to control complex V4L2 devices used on embedded systems, but this was never documented, nor it is possible for an userspace applicatin to detect the kind of control a device supports. This series fill the gap. Mauro Carvalho Chehab (3): media: open.rst

[PATCH 3/3] media: add V4L2_CAP_VDEV_CENTERED flag on vdev-centric drivers

2017-08-25 Thread Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mche...@osg.samsung.com> Those devices are controlled via their V4L2 device. Add a flag to indicate them as such. Signed-off-by: Mauro Carvalho Chehab <mche...@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> ---

Re: dvb usb issues since kernel 4.9

2017-12-17 Thread Mauro Carvalho Chehab
Em Sun, 17 Dec 2017 12:06:37 + Sean Young escreveu: > Hi Josef, Em Sun, 17 Dec 2017 11:19:38 +0100 "Josef Griebichler" escreveu: > > Hello Mr. Caumont, > > > > since switch to kernel 4.9 there are several users which have issues with > > their

[PATCH v2 11/11] docs: fix broken references with multiple hints

2018-05-09 Thread Mauro Carvalho Chehab
The script: ./scripts/documentation-file-ref-check --fix-rst Gives multiple hints for broken references on some files. Manually use the one that applies for some files. Signed-off-by: Mauro Carvalho Chehab <mchehab+sams...@kernel.org> --- Documentation/ABI/obsolete/sysf

Re: dvb usb issues since kernel 4.9

2018-01-06 Thread Mauro Carvalho Chehab
/Greg/Eric/David: Any ideas about how to fix it without causing regressions to network? Regards, Mauro > Gesendet: Sonntag, 17. Dezember 2017 um 14:27 Uhr > Von: "Mauro Carvalho Chehab" <mche...@s-opensource.com> > An: "Sean Young" <s...@mess.org> > Cc

Re: dvb usb issues since kernel 4.9

2018-01-07 Thread Mauro Carvalho Chehab
Em Sat, 6 Jan 2018 16:44:20 -0500 (EST) Alan Stern <st...@rowland.harvard.edu> escreveu: > On Sat, 6 Jan 2018, Mauro Carvalho Chehab wrote: > > > Hi Josef, > > > > Em Sat, 6 Jan 2018 16:04:16 +0100 > > "Josef Griebichler" <gr

Re: dvb usb issues since kernel 4.9

2018-01-09 Thread Mauro Carvalho Chehab
Em Mon, 8 Jan 2018 11:51:04 -0800 Linus Torvalds escreveu: > On Mon, Jan 8, 2018 at 11:15 AM, Alan Stern wrote: > > > > Both dwc2_hsotg and ehci-hcd use the tasklets embedded in the > > giveback_urb_bh member of struct usb_hcd. See

Re: dvb usb issues since kernel 4.9

2018-01-08 Thread Mauro Carvalho Chehab
Em Sun, 7 Jan 2018 10:41:37 -0500 (EST) Alan Stern <st...@rowland.harvard.edu> escreveu: > On Sun, 7 Jan 2018, Mauro Carvalho Chehab wrote: > > > > > It seems that the original patch were designed to solve some IRQ issues > > > > with network cards wit

Re: dvb usb issues since kernel 4.9

2018-01-08 Thread Mauro Carvalho Chehab
Hi Linus, Em Sun, 7 Jan 2018 13:23:39 -0800 Linus Torvalds <torva...@linux-foundation.org> escreveu: > On Sat, Jan 6, 2018 at 11:54 AM, Mauro Carvalho Chehab > <mche...@s-opensource.com> wrote: > > > > Em Sat, 6 Jan 2018 16:04:16 +0100 > > "Josef Griebic

Re: dvb usb issues since kernel 4.9

2018-01-08 Thread Mauro Carvalho Chehab
Em Mon, 8 Jan 2018 12:59:10 +0100 Jesper Dangaard Brouer <jbro...@redhat.com> escreveu: > On Mon, 8 Jan 2018 08:02:00 -0200 > Mauro Carvalho Chehab <mche...@s-opensource.com> wrote: > > > Hi Linus, > > > > Em Sun, 7 Jan 2018 13:23:39 -0800 > >

Re: dvb usb issues since kernel 4.9

2018-01-26 Thread Mauro Carvalho Chehab
Hi Alan, Em Mon, 8 Jan 2018 14:15:35 -0500 (EST) Alan Stern escreveu: > On Mon, 8 Jan 2018, Linus Torvalds wrote: > > > Can somebody tell which softirq it is that dvb/usb cares about? > > I don't know about the DVB part. The USB part is a little difficult to >

Re: dvb usb issues since kernel 4.9

2018-01-26 Thread Mauro Carvalho Chehab
Em Fri, 26 Jan 2018 12:17:37 -0200 Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu: > Hi Alan, > > Em Mon, 8 Jan 2018 14:15:35 -0500 (EST) > Alan Stern <st...@rowland.harvard.edu> escreveu: > > > On Mon, 8 Jan 2018, Linus Torvalds wrote: > >

Re: [PATCH] usb: dwc2: Fix endless deferral probe

2018-01-12 Thread Mauro Carvalho Chehab
an 12 12:35:19 EST 2018 armv7l GNU/Linux $ lsusb Bus 001 Device 005: ID 045e:0750 Microsoft Corp. Wired Keyboard 600 Bus 001 Device 004: ID 0572:960c Conexant Systems (Rockwell), Inc. DVBSky S960C DVB-S2 tuner Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast

Re: dvb usb issues since kernel 4.9

2018-01-12 Thread Mauro Carvalho Chehab
Em Tue, 9 Jan 2018 09:48:47 -0800 Linus Torvalds escreveu: > On Tue, Jan 9, 2018 at 9:27 AM, Eric Dumazet wrote: > > > > So yes, commit 4cd13c21b207 ("softirq: Let ksoftirqd do its job") has > > shown up multiple times in various 'regressions'

Re: dvb usb issues since kernel 4.9

2018-01-13 Thread Mauro Carvalho Chehab
Em Fri, 12 Jan 2018 13:48:46 -0800 Eric Dumazet <eric.duma...@gmail.com> escreveu: > On Fri, 2018-01-12 at 19:13 -0200, Mauro Carvalho Chehab wrote: > > > > > > The .config file used to build the Kernel is at: > > https://pastebin.com/wpZghann > > &g

Re: dvb usb issues since kernel 4.9

2018-01-13 Thread Mauro Carvalho Chehab
Em Sat, 13 Jan 2018 07:09:20 -0200 Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu: > Em Fri, 12 Jan 2018 13:48:46 -0800 > Eric Dumazet <eric.duma...@gmail.com> escreveu: > > > On Fri, 2018-01-12 at 19:13 -0200, Mauro Carvalho Chehab wrote: > > >

Re: dvb usb issues since kernel 4.9

2018-01-29 Thread Mauro Carvalho Chehab
Em Fri, 26 Jan 2018 17:37:39 -0200 Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu: > Em Fri, 26 Jan 2018 12:17:37 -0200 > Mauro Carvalho Chehab <mche...@s-opensource.com> escreveu: > > > Hi Alan, > > > > Em Mon, 8 Jan 2018

Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet

2018-02-27 Thread Mauro Carvalho Chehab
Hi Sebastian, Em Fri, 16 Feb 2018 18:04:50 +0100 Sebastian Andrzej Siewior escreveu: > I've been going over Frederic's softirq patches and it seems that there > were two problems. One was network related, the other was Mauro's USB > dvb-[stc] device which was not able to

[PATCH 26/30] media: zr364xx: avoid casting just to print pointer address

2018-03-23 Thread Mauro Carvalho Chehab
Instead of casting, just use %p. Signed-off-by: Mauro Carvalho Chehab <mche...@s-opensource.com> --- drivers/media/usb/zr364xx/zr364xx.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/usb/zr364xx/zr364xx.c b/drivers/media/usb/zr364xx/zr364xx.c

<    1   2