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

2016-07-21 Thread Christoph Lameter
On Thu, 21 Jul 2016, Chris Metcalf wrote: > On 7/20/2016 10:04 PM, Christoph Lameter wrote: > unstable, and then scheduling work to safely remove that timer. > I haven't looked at this code before (in kernel/time/clocksource.c > under CONFIG_CLOCKSOURCE_WATCHDOG) since the timers on > arm64 and t

Re: [PATCH v4 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-21 Thread Guenter Roeck
On 07/21/2016 03:37 PM, Hoan Tran wrote: This patch set adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, this patch is built on top and depe

[PATCH v4 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Hoan Tran
This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: Hoan Tran Reviewed-by: Guenter Roeck --- Documentation/hwmon/xgene-hwmon | 30 ++ drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile

[PATCH v4 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-21 Thread Hoan Tran
This patch adds DT node to enable hwmon driver for APM X-Gene SoC. Signed-off-by: Hoan Tran Acked-by: Guenter Roeck --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts

[PATCH v4 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-21 Thread Hoan Tran
This patch set adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, this patch is built on top and depends on patch[1]: [1] http://www.spinics.net

[PATCH v4 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-21 Thread Hoan Tran
This patch adds the APM X-Gene hwmon device tree node documentation. Signed-off-by: Hoan Tran Acked-by: Rob Herring --- .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ap

Re: [PATCH v3 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Hoan Tran
Hi Guenter, On Thu, Jul 21, 2016 at 3:09 PM, Guenter Roeck wrote: > On Thu, Jul 21, 2016 at 01:55:56PM -0700, Hoan Tran wrote: >> This patch adds hardware temperature and power reading support for >> APM X-Gene SoC using the mailbox communication interface. >> >> Signed-off-by: Hoan Tran >> ---

Re: [PATCH v3 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-21 Thread Guenter Roeck
On Thu, Jul 21, 2016 at 01:55:57PM -0700, Hoan Tran wrote: > This patch adds DT node to enable hwmon driver for APM X-Gene SoC. > > Signed-off-by: Hoan Tran Acked-by: Guenter Roeck > --- > arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + > arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 +

Re: [PATCH v3 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Guenter Roeck
On Thu, Jul 21, 2016 at 01:55:56PM -0700, Hoan Tran wrote: > This patch adds hardware temperature and power reading support for > APM X-Gene SoC using the mailbox communication interface. > > Signed-off-by: Hoan Tran > --- [ ... ] > + > + dev_info(&pdev->dev, "APM X-Gene SoC HW monitor driv

Re: [PATCH v3 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-21 Thread Guenter Roeck
On Thu, Jul 21, 2016 at 01:55:55PM -0700, Hoan Tran wrote: > This patch adds the APM X-Gene hwmon device tree node documentation. > > Signed-off-by: Hoan Tran > Acked-by: Rob Herring Applied to hwmon-next. Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-doc"

[PATCH v3 3/3] arm64: dts: apm: Add X-Gene SoC hwmon to device tree

2016-07-21 Thread Hoan Tran
This patch adds DT node to enable hwmon driver for APM X-Gene SoC. Signed-off-by: Hoan Tran --- arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 5 + arch/arm64/boot/dts/apm/apm-storm.dtsi | 5 + 2 files changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-shadowcat.dtsi

[PATCH v3 1/3] Documentation: dtb: xgene: Add hwmon dts binding documentation

2016-07-21 Thread Hoan Tran
This patch adds the APM X-Gene hwmon device tree node documentation. Signed-off-by: Hoan Tran Acked-by: Rob Herring --- .../devicetree/bindings/hwmon/apm-xgene-hwmon.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/ap

[PATCH v3 2/3] hwmon: xgene: Add hwmon driver

2016-07-21 Thread Hoan Tran
This patch adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. Signed-off-by: Hoan Tran --- Documentation/hwmon/xgene-hwmon | 30 ++ drivers/hwmon/Kconfig | 7 + drivers/hwmon/Makefile | 1 + drivers/hwmon/xgen

[PATCH v3 0/3] hwmon: xgene: Add support for X-Gene hwmon driver

2016-07-21 Thread Hoan Tran
This patch set adds hardware temperature and power reading support for APM X-Gene SoC using the mailbox communication interface. For device tree, it is the standard DT mailbox. For ACPI, it is the PCC mailbox. For ACPI, this patch is built on top and depends on patch[1]: [1] http://www.spinics.net

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

2016-07-21 Thread Rob Herring
On Wed, Jul 20, 2016 at 10:06:23AM +0200, Rafał Miłecki wrote: > 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

Re: staging: ks7010: Rename jump labels

2016-07-21 Thread SF Markus Elfring
>> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/scripts/checkpatch.pl?id=92d21ac74a9e3c09b0b01c764e530657e4c85c49#n4326 > > "#goto labels aren't indented, allow a single space however" > > Can't be clearer :-) Should such information from a comment in this script be also

[PATCH 5/5] [media] v4l2-dev: add cross-references and improve markup

2016-07-21 Thread Mauro Carvalho Chehab
Add cross-references for the functions/structs and add the markup tags to improve its display. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-dev.rst | 352 +++- Documentation/media/kapi/v4l2-videobuf.rst | 2 + Documentation/media/kapi/v4

[PATCH 3/5] [media] doc-rst: document v4l2-dev.h

2016-07-21 Thread Mauro Carvalho Chehab
Add documentation for v4l2-dev.h, and put it at v4l2-framework.rst, where struct video_device is currently documented. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-framework.rst | 5 + drivers/media/v4l2-core/v4l2-dev.c | 34 --- include/media/v4l2-dev.h

[PATCH 2/5] [media] mc-core: Fix a cross-reference

2016-07-21 Thread Mauro Carvalho Chehab
The v4l2_subdev reference was using the wrong tag. Fix it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/mc-core.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/kapi/mc-core.rst b/Documentation/media/kapi/mc-core.rst index 4c47f5e3

[PATCH 4/5] [media] doc-rst: move v4l2-dev doc to a separate file

2016-07-21 Thread Mauro Carvalho Chehab
Move the documentation for video device node creation to a separate file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-core.rst | 1 + Documentation/media/kapi/v4l2-dev.rst | 343 +++ Documentation/media/kapi/v4l2-framework.rst | 344

[PATCH 03/12] [media] v4l2-device.rst: add contents from v4l2-framework

2016-07-21 Thread Mauro Carvalho Chehab
Part of the contents of v4l2-framework is related to the kAPI defined by v4l2-device. Move such contents to the v4l2-device.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-device.rst| 140 +++- Documentation/media/kapi/v4l2-framework.rst |

[PATCH 02/12] [media] doc-rst: Split v4l-core into one file per kAPI

2016-07-21 Thread Mauro Carvalho Chehab
Sphinx produce a 1:1 mapping between a rst file and an html file. So, we need to split the kernel-doc tags on multiple documents. A side effect is that we're now having a better name for each section of the kAPI documentation. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v

[PATCH 05/12] [media] v4l2-subdev.rst: add documentation from v4l2-framework.rst

2016-07-21 Thread Mauro Carvalho Chehab
There are lots of documentation about V4L2 subdevices at v4l2-framework.rst. Move them to its specific chapter at v4l2-subdev.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-framework.rst | 257 Documentation/media/kapi/v4l2-subdev.rst

[PATCH 12/12] [media] v4l2-common.h: document the subdev functions

2016-07-21 Thread Mauro Carvalho Chehab
There are some subdev-specific functions at v4l2-common.h that are mentioned at v4l2-subdev.rst. Document them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-subdev.rst | 6 include/media/v4l2-common.h | 49 +++- 2 files ch

[PATCH 01/12] [media] v4l2-device.h: document functions

2016-07-21 Thread Mauro Carvalho Chehab
The functions at v4l2-device.h are not using the proper markups. Add it, and include at the v4l2-core.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-core.rst | 2 + include/media/v4l2-device.h| 194 - 2 files changed, 143

[PATCH 08/12] [media] doc-rst: merge v4l2-async.rst with v4l2-subdev.rst

2016-07-21 Thread Mauro Carvalho Chehab
The Async API is actually part of the v4l2 subdev. Move its declarations to it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-async.rst | 4 Documentation/media/kapi/v4l2-core.rst | 1 - Documentation/media/kapi/v4l2-subdev.rst | 5 + 3 files changed, 5 inser

[PATCH 10/12] [media] v4l2-subdev.rst: add two sections from v4l2-framework.rst

2016-07-21 Thread Mauro Carvalho Chehab
There are two additional subdev-specific sections at the v4l2-framework file. Move them to the subdev chapter, in order to better organize the book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-framework.rst | 165 --- Documentation/media/kapi/v4

[PATCH 07/12] [media] v4l2-subdev.rst: add cross-references

2016-07-21 Thread Mauro Carvalho Chehab
Enrich the subdevice description by linking it to the functions and structs from v4l2-subdev.h. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-subdev.rst | 158 --- 1 file changed, 83 insertions(+), 75 deletions(-) diff --git a/Documentation/m

[PATCH 04/12] [media] v4l2-device.rst: do cross references with kernel-doc

2016-07-21 Thread Mauro Carvalho Chehab
This document describes the main kAPI interfaces for the v4l2-device.h header. Add cross references to the documentation produced via kernel-doc. While here, also use monotonic font for constants. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-device.rst | 130 ++

[PATCH 11/12] [media] v4l2-subdev.rst: add cross references to new sections

2016-07-21 Thread Mauro Carvalho Chehab
The two new sections were missing cross-references, and had some other minor issues with the markups. Add such things. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-subdev.rst | 152 +-- 1 file changed, 82 insertions(+), 70 deletions(-) diff

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

2016-07-21 Thread Jonathan Corbet
On Thu, 21 Jul 2016 16:41:53 +0200 Markus Heiser wrote: > Am 21.07.2016 um 01:28 schrieb Jonathan Corbet : > > > I would hope that most people wouldn't have to worry about it, and would > > be able to just use what their distribution provides - that's the reason > > for the 1.2 compatibility requ

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

2016-07-21 Thread Paul E. McKenney
On Thu, Jul 21, 2016 at 06:15:33PM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > On Thu, Jul 21, 2016 at 10:10:58AM +0900, SeongJae Park wrote: > > > This commit adds Korean version of memory-barriers.txt document. The > > > header is refered to HOWTO Korean version. > > > > >

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

2016-07-21 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Thu, Jul 21, 2016 at 10:10:58AM +0900, SeongJae Park wrote: > > This commit adds Korean version of memory-barriers.txt document. The > > header is refered to HOWTO Korean version. > > > > The translation has started from Feb, 2016 and using a public git > > repos

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

2016-07-21 Thread Jonathan Corbet
On Thu, 21 Jul 2016 07:23:46 -0700 "Paul E. McKenney" wrote: > If Minchan is OK with this version, if Ingo and Jon have no objections, > and given the small change below, I will take it. None here. Acked-by: Jonathan Corbet jon -- To unsubscribe from this list: send the line "unsubscribe linu

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

2016-07-21 Thread Markus Heiser
Am 19.07.2016 um 19:18 schrieb Mauro Carvalho Chehab : >> A bit OT, but I see that you often use tabs / I recommend to use >> spaces for indentation: >> >> http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.html#whitespace > > The Kernel policies are to use tabs instead of spaces,

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

2016-07-21 Thread Markus Heiser
Am 21.07.2016 um 01:28 schrieb 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

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

2016-07-21 Thread Chris Metcalf
On 7/20/2016 10:04 PM, Christoph Lameter wrote: 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 rou

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

2016-07-21 Thread Paul E. McKenney
On Thu, Jul 21, 2016 at 10:10:57AM +0900, SeongJae Park wrote: > An example result for data dependent write has a typo. This commit > fixes the wrong typo. > > Signed-off-by: SeongJae Park Good catch! Queued, thank you! Thanx, Paul > --

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

2016-07-21 Thread Markus Heiser
Am 21.07.2016 um 00:54 schrieb 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 ap

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

2016-07-21 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 17:33:31 +0200 Markus Heiser escreveu: > 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 +02

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

2016-07-21 Thread Mauro Carvalho Chehab
Em Wed, 20 Jul 2016 17:06:41 -0600 Jonathan Corbet escreveu: > 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 >