Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-20 Thread Pavel Machek
Hi! > > @@ -0,0 +1,206 @@ > > +/* > > + * USB port LED trigger > > + * > > + * Copyright (C) 2016 Rafał Miłecki > > + * > > + * This program is free software; you can redistribute it and/or modify > > + * it under the terms of the GNU General Public License as published by > > + * the Free Softwa

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-20 Thread Rafał Miłecki
On 20 July 2016 at 03:02, Rob Herring wrote: > On Fri, Jul 15, 2016 at 11:10:45PM +0200, Rafał Miłecki wrote: >> This commit adds a new trigger that can turn on LED when USB device gets >> connected to the USB port. This can be useful for various home routers >> that have USB port and a proper LED

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-20 Thread Pavel Machek
On Mon 2016-07-18 08:55:52, Rafał Miłecki wrote: > On 18 July 2016 at 07:53, Peter Chen wrote: > > On Mon, Jul 18, 2016 at 07:57:34AM +0200, Rafał Miłecki wrote: > >> On 18 July 2016 at 07:40, Peter Chen wrote: > >> > On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote: > >> >> On 18 Ju

Re: [PATCH 00/18] Complete moving media documentation to ReST format

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 08:07:54 +0200 Markus Heiser escreveu: > Am 20.07.2016 um 02:00 schrieb Mauro Carvalho Chehab > : > > > Em Tue, 19 Jul 2016 16:49:16 -0600 > > Jonathan Corbet escreveu: > > > >> On Tue, 19 Jul 2016 11:53:19 -0300 > >> Mauro Carvalho Chehab wrote: > >> > >>> So, I gue

[PATCH] docs: Remove kernel-doc-nano-HOWTO.txt

2016-07-20 Thread Daniel Vetter
In the transformation of this to sphinx we've forgotten to remove the old .txt file. See commit 17defc282fe6e6ac93edbad8873ce89ef86b2490 Author: Jani Nikula Date: Thu Jun 23 15:36:04 2016 +0300 Documentation: add meta-documentation for Sphinx and kernel-doc Cc: Jani Nikula Cc: Jonathan C

[PATCH] doc-rst: kernel-doc directive, fix state machine reporter

2016-07-20 Thread Markus Heiser
From: Markus Heiser Add a reporter replacement that assigns the correct source name and line number to a system message, as recorded in a ViewList. [1] http://mid.gmane.org/cakmk7ufmq2wop99t-8v06om78mi9ovrzwuqsfjd55qa20bb...@mail.gmail.com Signed-off-by: Markus Heiser --- Documentation/sphin

Re: [PATCH 1/2] doc/sphinx: Enable keep_warnings

2016-07-20 Thread Markus Heiser
Hi Daniel, hi Mauro, Am 19.07.2016 um 17:32 schrieb Daniel Vetter : > On Tue, Jul 19, 2016 at 5:25 PM, Daniel Vetter wrote: >> On Tue, Jul 19, 2016 at 4:59 PM, Markus Heiser >> wrote: >>> >>> Am 19.07.2016 um 13:42 schrieb Daniel Vetter : >>> Unfortunately warnings generated after parsin

Re: [PATCH] doc-rst: kernel-doc directive, fix state machine reporter

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 12:38:58 +0200 Markus Heiser escreveu: > From: Markus Heiser > > Add a reporter replacement that assigns the correct source name and line > number to a system message, as recorded in a ViewList. This seemed to work. It will now pointing the errors inside the kernel-doc stuf

Re: [PATCH 1/2] doc/sphinx: Enable keep_warnings

2016-07-20 Thread Daniel Vetter
On Wed, Jul 20, 2016 at 12:55 PM, Markus Heiser wrote: > Hi Daniel, hi Mauro, > > Am 19.07.2016 um 17:32 schrieb Daniel Vetter : > >> On Tue, Jul 19, 2016 at 5:25 PM, Daniel Vetter >> wrote: >>> On Tue, Jul 19, 2016 at 4:59 PM, Markus Heiser >>> wrote: Am 19.07.2016 um 13:42 schrieb D

Re: [PATCH 2/2] drm/doc: Fix more kerneldoc/sphinx warnings

2016-07-20 Thread Mauro Carvalho Chehab
Em Tue, 19 Jul 2016 14:36:50 +0200 Daniel Vetter escreveu: > On Tue, Jul 19, 2016 at 01:42:55PM +0200, Daniel Vetter wrote: > > These are the leftovers I could only track down using keep_warnings = > > True. For some of them we might want to update our style guide on how > > to reference structur

Re: [PATCH 1/2] doc/sphinx: Enable keep_warnings

2016-07-20 Thread Markus Heiser
Am 20.07.2016 um 13:27 schrieb Daniel Vetter : > On Wed, Jul 20, 2016 at 12:55 PM, Markus Heiser > wrote: >> Hi Daniel, hi Mauro, >> >> Am 19.07.2016 um 17:32 schrieb Daniel Vetter : >> >>> On Tue, Jul 19, 2016 at 5:25 PM, Daniel Vetter >>> wrote: On Tue, Jul 19, 2016 at 4:59 PM, Markus

[PATCH] [media] doc-rst: Fix some Sphinx warnings

2016-07-20 Thread Mauro Carvalho Chehab
Fix all remaining media warnings with ReST that are fixable without changing at the Sphinx code. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx88.rst| 1 + Documentation/media/v4l-drivers/tm6000-cardlist.rst | 2 +- drivers/media/dvb-core/dvb_math.h

Re: [PATCH] doc-rst: kernel-doc directive, fix state machine reporter

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 12:38:58 +0200 Markus Heiser escreveu: > From: Markus Heiser > > Add a reporter replacement that assigns the correct source name and line > number to a system message, as recorded in a ViewList. > > [1] > http://mid.gmane.org/cakmk7ufmq2wop99t-8v06om78mi9ovrzwuqsfjd55qa20b

Re: [PATCH 1/2] doc/sphinx: Enable keep_warnings

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 14:29:01 +0200 Markus Heiser escreveu: > Am 20.07.2016 um 13:27 schrieb Daniel Vetter : > > > On Wed, Jul 20, 2016 at 12:55 PM, Markus Heiser > > wrote: > >> Hi Daniel, hi Mauro, > >> > >> Am 19.07.2016 um 17:32 schrieb Daniel Vetter : > >> > >>> On Tue, Jul 19, 2016 a

Re: [PATCH] [media] doc-rst: Fix some Sphinx warnings

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 09:32:15 -0300 Mauro Carvalho Chehab escreveu: > Fix all remaining media warnings with ReST that are fixable > without changing at the Sphinx code. > > diff --git a/include/media/media-entity.h b/include/media/media-entity.h > index 83877719bef4..3d885d97d149 100644 > --- a/

Re: [PATCH] [media] doc-rst: Fix some Sphinx warnings

2016-07-20 Thread Markus Heiser
Am 20.07.2016 um 15:00 schrieb Mauro Carvalho Chehab : > Em Wed, 20 Jul 2016 09:32:15 -0300 > Mauro Carvalho Chehab escreveu: > >> Fix all remaining media warnings with ReST that are fixable >> without changing at the Sphinx code. >> > >> diff --git a/include/media/media-entity.h b/include/me

Re: [PATCH] [media] doc-rst: Fix some Sphinx warnings

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 15:14:27 +0200 Markus Heiser escreveu: > Am 20.07.2016 um 15:00 schrieb Mauro Carvalho Chehab > : > > > Em Wed, 20 Jul 2016 09:32:15 -0300 > > Mauro Carvalho Chehab escreveu: > > > >> Fix all remaining media warnings with ReST that are fixable > >> without changing at th

[PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Mauro Carvalho Chehab
Sphinx 1.4.5 complains about some literal blocks at kernel-documentation.rst: Documentation/kernel-documentation.rst:373: WARNING: Could not lex literal_block as "C". Highlighting skipped. Documentation/kernel-documentation.rst:378: WARNING: Could not lex literal_block as "C". Hi

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Markus Heiser
Am 20.07.2016 um 16:11 schrieb Mauro Carvalho Chehab : > Sphinx 1.4.5 complains about some literal blocks at > kernel-documentation.rst: > > Documentation/kernel-documentation.rst:373: WARNING: Could not lex > literal_block as "C". Highlighting skipped. > Documentation/kernel-docume

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Jonathan Corbet
On Wed, 20 Jul 2016 16:23:28 +0200 Markus Heiser wrote: > Am 20.07.2016 um 16:11 schrieb Mauro Carvalho Chehab > : > > > Sphinx 1.4.5 complains about some literal blocks at > > kernel-documentation.rst: > > > > Documentation/kernel-documentation.rst:373: WARNING: Could not lex > > literal

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 08:31:49 -0600 Jonathan Corbet escreveu: > On Wed, 20 Jul 2016 16:23:28 +0200 > Markus Heiser wrote: > > > Am 20.07.2016 um 16:11 schrieb Mauro Carvalho Chehab > > : > > > > > Sphinx 1.4.5 complains about some literal blocks at > > > kernel-documentation.rst: > > > > >

[PATCH 2/5] [media] doc-rst: Fix some Sphinx warnings

2016-07-20 Thread Mauro Carvalho Chehab
Fix all remaining media warnings with ReST that are fixable without changing at the Sphinx code. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx88.rst| 1 + Documentation/media/v4l-drivers/tm6000-cardlist.rst | 2 +- drivers/media/dvb-core/dvb_math.h

[PATCH 3/5] [media] doc-rst: better organize the media books

2016-07-20 Thread Mauro Carvalho Chehab
The uAPI book has 5 parts, but they lost numeration after conversion to rst. Manually number those parts, and make the main index with 1 depth, to only show the parts and the annexes. At each part, use :maxwidth: 5, in order to show a more complete index. While here, fix the cross-references betw

[PATCH 1/5] [media] doc-rst: backward compatibility with older Sphinx versions

2016-07-20 Thread Mauro Carvalho Chehab
Sphinx is really evil when an older version finds an extra attribute for the :toctree: tag: it simply ignores everything and produce documents without any chapter inside! As we're now using tags available only on Sphinx 1.4.x, we need to use some creative ways to add a title before the table of co

[PATCH 5/5] [media] doc-rst: Fix license for the media books

2016-07-20 Thread Mauro Carvalho Chehab
The kAPI, v4l-drivers and dvb-drivers never used the GNU FDL license. The addition of such license header were just due to copy-and-paste. So, let's fix it. As the media_kapi were part of device-drivers.tmp, it is under GPL v2+. The other two books is an agregation of files without any license ex

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Markus Heiser
Am 20.07.2016 um 16:31 schrieb Jonathan Corbet : > On Wed, 20 Jul 2016 16:23:28 +0200 > Markus Heiser wrote: > >> Am 20.07.2016 um 16:11 schrieb Mauro Carvalho Chehab >> : >> >>> Sphinx 1.4.5 complains about some literal blocks at >>> kernel-documentation.rst: >>> >>> Documentation/kerne

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 16:49:59 +0200 Markus Heiser escreveu: > Am 20.07.2016 um 16:31 schrieb Jonathan Corbet : > > > On Wed, 20 Jul 2016 16:23:28 +0200 > > Markus Heiser wrote: > > > >> Am 20.07.2016 um 16:11 schrieb Mauro Carvalho Chehab > >> : > >> > >>> Sphinx 1.4.5 complains about som

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Markus Heiser
Am 20.07.2016 um 17:06 schrieb Mauro Carvalho Chehab : > Em Wed, 20 Jul 2016 16:49:59 +0200 > Markus Heiser escreveu: > >> Am 20.07.2016 um 16:31 schrieb Jonathan Corbet : >> >>> On Wed, 20 Jul 2016 16:23:28 +0200 >>> Markus Heiser wrote: >>> Am 20.07.2016 um 16:11 schrieb Mauro Carvalh

Re: [PATCH 10/10] ARM: dts: Add Arria10 USB EDAC devicetree entry

2016-07-20 Thread Dinh Nguyen
On 07/14/2016 11:06 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the device tree entries needed to support the Altera USB > FIFO buffer EDAC on the Arria10 chip. > > Signed-off-by: Thor Thayer > --- > arch/arm/boot/dts/socfpga_arria10.dtsi |8 > 1 file chan

Re: [PATCH 09/10] ARM: dts: Add Arria10 DMA EDAC devicetree entry

2016-07-20 Thread Dinh Nguyen
On 07/14/2016 11:06 AM, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the device tree entries needed to support the Altera DMA > FIFO buffer EDAC on the Arria10 chip. > > Signed-off-by: Thor Thayer > --- > arch/arm/boot/dts/socfpga_arria10.dtsi |8 > 1 file chan

Re: [PATCH 2/2] drm/doc: Fix more kerneldoc/sphinx warnings

2016-07-20 Thread Markus Heiser
Am 20.07.2016 um 14:20 schrieb Mauro Carvalho Chehab : > Em Tue, 19 Jul 2016 14:36:50 +0200 > Daniel Vetter escreveu: > >> On Tue, Jul 19, 2016 at 01:42:55PM +0200, Daniel Vetter wrote: >>> These are the leftovers I could only track down using keep_warnings = >>> True. For some of them we might

Re: [PATCH 2/2] drm/doc: Fix more kerneldoc/sphinx warnings

2016-07-20 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 20:35:09 +0200 Markus Heiser escreveu: > Am 20.07.2016 um 14:20 schrieb Mauro Carvalho Chehab > : > > > Em Tue, 19 Jul 2016 14:36:50 +0200 > > Daniel Vetter escreveu: > > > >> On Tue, Jul 19, 2016 at 01:42:55PM +0200, Daniel Vetter wrote: > >>> These are the leftovers

Re: [PATCH] docs: Remove kernel-doc-nano-HOWTO.txt

2016-07-20 Thread Jonathan Corbet
On Wed, 20 Jul 2016 12:21:04 +0200 Daniel Vetter wrote: > In the transformation of this to sphinx we've forgotten to remove the > old .txt file. We didn't quite forget...Jani sent the patch but I didn't feel quite right about applying it. People "know" that kernel-doc-nano-HOWTO.txt is there, a

Re: [PATCH] doc-rst: kernel-doc directive, fix state machine reporter

2016-07-20 Thread Jonathan Corbet
On Wed, 20 Jul 2016 12:38:58 +0200 Markus Heiser wrote: > Add a reporter replacement that assigns the correct source name and line > number to a system message, as recorded in a ViewList. This is clearly a worthwhile fix, and I've applied it. A couple of little notes, though... > + se

Re: [PATCH] doc-rst: get rid of warnings at kernel-documentation.rst

2016-07-20 Thread Jonathan Corbet
On Wed, 20 Jul 2016 11:41:11 -0300 Mauro Carvalho Chehab wrote: > > The thing with that is that a lot of literal blocks *do* have C code, even > > in kernel-documentation.rst. Setting that in conf.py would turn off all C > > highlighting. I think that might actually be a desirable outcome, but

Re: [PATCH 1/2] dax: some small updates to dax.txt documentation

2016-07-20 Thread Jonathan Corbet
On Thu, 14 Jul 2016 15:40:48 -0600 Ross Zwisler wrote: > These are originally from Matthew Wilcox and were part of his huge > "mm,fs,dax: Change ->pmd_fault to ->huge_fault" patch that was part of PUD > support. > > I'm breaking these small changes out as they stand on their own and add > useful

Re: [PATCH 1/2] dax: some small updates to dax.txt documentation

2016-07-20 Thread Andrew Morton
On Wed, 20 Jul 2016 17:13:02 -0600 Jonathan Corbet wrote: > On Thu, 14 Jul 2016 15:40:48 -0600 > Ross Zwisler wrote: > > > These are originally from Matthew Wilcox and were part of his huge > > "mm,fs,dax: Change ->pmd_fault to ->huge_fault" patch that was part of PUD > > support. > > > > I'm

Re: [PATCH 1/2] dax: some small updates to dax.txt documentation

2016-07-20 Thread Jonathan Corbet
On Wed, 20 Jul 2016 16:18:57 -0700 Andrew Morton wrote: > > So how were you thinking of routing these? I can take the docs fix, of > > course, but part 2 is a bit out of my turf. If you want to route them > > together via another tree that's fine, just let me know. > > I have them queued. Y

Re: [PATCH 00/18] Complete moving media documentation to ReST format

2016-07-20 Thread Jonathan Corbet
On Wed, 20 Jul 2016 08:07:54 +0200 Markus Heiser wrote: > Jon, what do you think ... could we serve this 1.2 doc > on https://www.kernel.org/doc/ as reference? Seems like a good idea. I don't really know who controls that directory, though; I can ping Konstantin and see what can be done there.

[PATCH v5 0/2] Doc/memory-barriers: Add Korean translation

2016-07-20 Thread SeongJae Park
This patchset adds a Korean translation of memory-barriers.txt and fix a typo that was found during the translation. The translation has started from Feb, 2016 and using a public git tree[1] to manage the work. It's commit history says that it is following upstream changes as well. Changes from

[PATCH v5 1/2] Doc/memory-barriers: Fix a typo of example result

2016-07-20 Thread SeongJae Park
An example result for data dependent write has a typo. This commit fixes the wrong typo. Signed-off-by: SeongJae Park --- Documentation/memory-barriers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/memory-barriers.txt b/Documentation/memory-barriers.txt

Re: [PATCH v13 00/12] support "task_isolation" mode

2016-07-20 Thread Christoph Lameter
We are trying to test the patchset on x86 and are getting strange backtraces and aborts. It seems that the cpu before the cpu we are running on creates an irq_work event that causes a latency event on the next cpu. This is weird. Is there a new round robin IPI feature in the kernel that I am not a