Re: [PATCH 1/4] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-03 Thread Jani Nikula
On Thu, 02 Jun 2016, Daniel Vetter wrote: > On Thu, Jun 2, 2016 at 11:39 AM, Daniel Vetter wrote: >> On Thu, Jun 2, 2016 at 9:16 AM, Jani Nikula >> wrote: >>> On Thu, 02 Jun 2016, Daniel Vetter wrote: Further up in the state machinery we switch from STATE_NAME to STATE_DOCBLOCK when

Re: [PATCH 2/4] scripts/kernel-doc: Also give functions symbolic names

2016-06-03 Thread Jani Nikula
On Thu, 02 Jun 2016, Daniel Vetter wrote: > state3 = prototype parsing, so name them accordingly. > > Cc: Jani Nikula > Cc: linux-doc@vger.kernel.org > Cc: Jonathan Corbet > Signed-off-by: Daniel Vetter Pushed to my sphinx-for-docs-next branch. BR, Jani. > --- > scripts/kernel-doc | 8

Re: [PATCH 1/3] doc/sphinx: Stop touching state_machine internals

2016-06-03 Thread Jani Nikula
On Thu, 02 Jun 2016, Daniel Vetter wrote: > Instead of just forcefully inserting our kernel-doc input and letting > the state machine stumble over it the recommended way is to create > ViewList, parse that and then return the list of parsed nodes. > > Suggested by Jani. > > Cc: Jani Nikula > Cc:

Re: [RESEND PATCH v4 1/5] thermal: Add support for hardware-tracked trip points

2016-06-03 Thread Caesar Wang
Javi, Thanks your comments. On 2016年06月03日 01:30, Javi Merino wrote: Hi Caesar, On Fri, May 27, 2016 at 04:36:44PM +0800, Caesar Wang wrote: From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrar

Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding details

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 07:37 AM, Rob Herring wrote: On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote: + +enable-power-monitor: Boolean, Enable power monitoring of the device. + +enable-continuous-mode:Boolean. Device support oneshot and continuous +

[PATCH 2/2] doc/sphinx: Track line-number of starting blocks

2016-06-03 Thread Daniel Vetter
Design is pretty simple: kernel-doc inserts breadcrumbs with line numbers, and sphinx picks them up. At first I went with a sphinx comment, but inserting those at random places seriously upsets the parser, and must be filtered. Hence why this version now uses "#define LINEO " since one of these eve

[PATCH 1/2] scripts/kernel-doc: Add option to inject line numbers

2016-06-03 Thread Daniel Vetter
Opt-in since this wreaks the rst output and must be removed by consumers again. This is useful to adjust the linenumbers for included kernel-doc snippets in shinx. With that sphinx error message will be accurate when there's issues with the rst-ness of the kernel-doc comments. Especially when tran

Re: [PATCH 1/2] scripts/kernel-doc: Add option to inject line numbers

2016-06-03 Thread Jani Nikula
On Fri, 03 Jun 2016, Daniel Vetter wrote: > Opt-in since this wreaks the rst output and must be removed > by consumers again. This is useful to adjust the linenumbers > for included kernel-doc snippets in shinx. With that sphinx > error message will be accurate when there's issues with the > rst-n

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Jonathan Cameron
On 01/06/16 13:34, Laxman Dewangan wrote: > The INA3221 is a three-channel, high-side current and bus voltage monitor > with an I2C interface from Texas Instruments. The INA3221 monitors both > shunt voltage drops and bus supply voltages in addition to having > programmable conversion times and ave

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Jonathan Cameron
On 03/06/16 11:06, Jonathan Cameron wrote: > On 01/06/16 13:34, Laxman Dewangan wrote: >> The INA3221 is a three-channel, high-side current and bus voltage monitor >> with an I2C interface from Texas Instruments. The INA3221 monitors both >> shunt voltage drops and bus supply voltages in addition t

Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding details

2016-06-03 Thread Jonathan Cameron
On 03/06/16 03:07, Rob Herring wrote: > On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote: >> The INA3221 is a three-channel, high-side current and bus voltage monitor >> with an I2C interface from Texas Instruments. The INA3221 monitors both >> shunt voltage drops and bus supply volt

Re: [PATCH 3/3] iio: adc: ina3221: Add sysfs details for TI INA3221

2016-06-03 Thread Jonathan Cameron
On 01/06/16 13:34, Laxman Dewangan wrote: > The INA3221 is a three-channel, high-side current and bus voltage monitor > with an I2C interface from Texas Instruments. The INA3221 monitors both > shunt voltage drops and bus supply voltages in addition to having > programmable conversion times and ave

Re: [PATCHv10 1/3] rdmacg: Added rdma cgroup controller

2016-06-03 Thread Parav Pandit
Hi Christoph, Reopening thread for discussion so that I can proceed to generate next patch. Recap: rdma cgroup controller in the patch defines the framework so that RDMA subsystem can define the resources. This is similar to at least two functionality provided by core kernel. (a) Block elevator

Re: [PATCH v6 00/21] ILP32 for ARM64

2016-06-03 Thread Szabolcs Nagy
On 02/06/16 20:03, Yury Norov wrote: > On Tue, May 24, 2016 at 03:04:29AM +0300, Yury Norov wrote: >> ILP32 glibc branch is available here: >> https://github.com/norov/glibc/tree/ilp32-2.23 >> > > So for AARCH64/ILP32 we turn next types to 64-bit in glibc: > #define __INO_T_TYPE__UQUAD

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote: On 01/06/16 13:34, Laxman Dewangan wrote: Add support for INA3221 SW driver via IIO ADC interface. The device is register as iio-device and provides interface for voltage/current and power monitor. Also provide interface for setting onesh

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote: On 03/06/16 11:06, Jonathan Cameron wrote: Code looks good, bu these more fundamental bits need sorting. Another minor point - why do the power calculations in driver? no hardware support for it, so why not just leave it to userspace?

Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding details

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 03:49 PM, Jonathan Cameron wrote: On 03/06/16 03:07, Rob Herring wrote: On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote: + +Optional properties: +-- +one-shot-average-sample: Integer, Number of sample to average before +

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Jonathan Cameron
On 03/06/16 12:31, Laxman Dewangan wrote: > > On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote: >> On 03/06/16 11:06, Jonathan Cameron wrote: >>> >>> Code looks good, bu these more fundamental bits need sorting. >> Another minor point - why do the power calculations in driver? >> no hardwar

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Jonathan Cameron
On 03/06/16 12:26, Laxman Dewangan wrote: > > On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote: >> On 01/06/16 13:34, Laxman Dewangan wrote: >>> Add support for INA3221 SW driver via IIO ADC interface. The device is >>> register as iio-device and provides interface for voltage/current and p

Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding details

2016-06-03 Thread Jonathan Cameron
On 03/06/16 12:48, Laxman Dewangan wrote: > > On Friday 03 June 2016 03:49 PM, Jonathan Cameron wrote: >> On 03/06/16 03:07, Rob Herring wrote: >>> On Wed, Jun 01, 2016 at 06:04:12PM +0530, Laxman Dewangan wrote: + +Optional properties: +-- +one-shot-average-sam

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 05:34 PM, Jonathan Cameron wrote: On 03/06/16 12:31, Laxman Dewangan wrote: On Friday 03 June 2016 03:46 PM, Jonathan Cameron wrote: On 03/06/16 11:06, Jonathan Cameron wrote: Code looks good, bu these more fundamental bits need sorting. Another minor point - why do th

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 05:39 PM, Jonathan Cameron wrote: On 03/06/16 12:26, Laxman Dewangan wrote: On Friday 03 June 2016 03:36 PM, Jonathan Cameron wrote: I thought that all ADC or monitors are going to be part of IIO device framework. I saw the ina2xx which is same (single channel) which was

Re: [PATCH 1/3] iio: adc: ina3221: Add DT binding details

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 05:41 PM, Jonathan Cameron wrote: On 03/06/16 12:48, Laxman Dewangan wrote: On Friday 03 June 2016 03:49 PM, Jonathan Cameron wrote: + +enable-power-monitor:Boolean, Enable power monitoring of the device. Is this the power good stuff? description should be more

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Guenter Roeck
On 06/03/2016 03:06 AM, Jonathan Cameron wrote: On 01/06/16 13:34, Laxman Dewangan wrote: The INA3221 is a three-channel, high-side current and bus voltage monitor with an I2C interface from Texas Instruments. The INA3221 monitors both shunt voltage drops and bus supply voltages in addition to h

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Laxman Dewangan
On Friday 03 June 2016 06:59 PM, Guenter Roeck wrote: On 06/03/2016 03:06 AM, Jonathan Cameron wrote: On 01/06/16 13:34, Laxman Dewangan wrote: The INA3221 is a three-channel, high-side current and bus voltage monitor with an I2C interface from Texas Instruments. The INA3221 monitors both shu

Re: [PATCH 2/3] iio: adc: ina3221: Add support for IIO ADC driver for TI INA3221

2016-06-03 Thread Andrew F. Davis
On 06/03/2016 09:14 AM, Laxman Dewangan wrote: > > On Friday 03 June 2016 06:59 PM, Guenter Roeck wrote: >> On 06/03/2016 03:06 AM, Jonathan Cameron wrote: >>> On 01/06/16 13:34, Laxman Dewangan wrote: The INA3221 is a three-channel, high-side current and bus voltage monitor with an

Re: [PATCH 5/5] ARM: dts: Move Arria10 SDRAM as child of ECC Manager

2016-06-03 Thread Dinh Nguyen
On Wed, 25 May 2016, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Changes to support ECC Manager as SDRAM IRQ parent by > 1) updating IRQ property values to correct child IRQs > 2) moving node under ECC Manager. > > Signed-off-by: Thor Thayer > --- > arch/arm/boot/dts/socfpga_

Re: [PATCH 4/5] ARM: dts: Arria10 ECC Manager IRQ controller changes

2016-06-03 Thread Dinh Nguyen
On Wed, 25 May 2016, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Changes to support IRQ controller implementation including adding > new property irq-controller to eccmgr and adding IRQ property > to children. > > Signed-off-by: Thor Thayer > --- > arch/arm/boot/dts/socfpga_a

Re: [PATCH] Documentation: Fix some grammar mistakes in sync_file.txt

2016-06-03 Thread Jonathan Corbet
On Sat, 14 May 2016 02:28:36 -0400 Javier Martinez Canillas wrote: > There are two sentences in the Sync File documentation where the > english is a little off. This patch is an attempt to fix these. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH v9 04/13] task_isolation: add initial support

2016-06-03 Thread Chris Metcalf
On 5/25/2016 9:07 PM, Frederic Weisbecker wrote: I don't remember how much I answered this email, but I need to finish that :-) Sorry for the slow response - it's been a busy week. On Fri, Apr 08, 2016 at 12:34:48PM -0400, Chris Metcalf wrote: On 4/8/2016 9:56 AM, Frederic Weisbecker wrote:

Re: [PATCH] mpssd: fix buffer overflow warning

2016-06-03 Thread Jonathan Corbet
On Thu, 19 May 2016 21:54:51 -0700 Mike Danese wrote: > The compilation emits a warning in function ‘snprintf’, > inlined from ‘set_cmdline’ at > ../Documentation/mic/mpssd/mpssd.c:1541:9: > /usr/include/x86_64-linux-gnu/bits/stdio2.h:64:10: > warning: call to __builtin___snprintf_chk

Re: [PATCH] Documentation/zh_CN: update Chinese version CodingStyle

2016-06-03 Thread Jonathan Corbet
On Sun, 29 May 2016 23:45:10 +0800 Andy Deng wrote: > Chinese version CodingStyle is a little outdate, it should be updated. > > This patch sync with the latest CodingStyle of all changes, > new chapters (chapter 19 and chapter 20) have been translated. Applied to the docs tree, thanks. jon --

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-03 Thread Jonathan Corbet
[So I'm finally trying to get into this for real, hopefully I won't be interrupted too many times...expect a few mails as I catch up.] On Fri, 20 May 2016 16:39:31 +0300 Jani Nikula wrote: > There are a few tradeoffs, of course. First, this requires that the > EXPORT_SYMBOL markers are placed im

[PATCH 1/2] scripts/kernel-doc: Add option to inject line numbers

2016-06-03 Thread Daniel Vetter
Opt-in since this wreaks the rst output and must be removed by consumers again. This is useful to adjust the linenumbers for included kernel-doc snippets in shinx. With that sphinx error message will be accurate when there's issues with the rst-ness of the kernel-doc comments. Especially when tran

[PATCH 2/2] doc/sphinx: Track line-number of starting blocks

2016-06-03 Thread Daniel Vetter
Design is pretty simple: kernel-doc inserts breadcrumbs with line numbers, and sphinx picks them up. At first I went with a sphinx comment, but inserting those at random places seriously upsets the parser, and must be filtered. Hence why this version now uses "#define LINEO " since one of these eve

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-03 Thread Daniel Vetter
On Fri, Jun 3, 2016 at 10:16 PM, Jonathan Corbet wrote: > >> Second, we lose support for the !C docproc directive to check >> that all kernel-doc comments in a file are used. This is probably >> something we'd like to have back in the future, but at this time I think >> it's an acceptable tradeoff

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-03 Thread Jonathan Corbet
On Fri, 3 Jun 2016 22:24:03 +0200 Daniel Vetter wrote: > > This is maybe a job for a separate tool. A related issue is the (fairly > > frequent) "oh look, none of the comments in $FILE are being used" > > realization that seems to happen fairly often. It would be nice to check > > for that, but

Re: [PATCH 05/10] Documentation/sphinx: add Sphinx kernel-doc directive extension

2016-06-03 Thread Jonathan Corbet
On Fri, 20 May 2016 16:39:36 +0300 Jani Nikula wrote: > Add an extension to handle kernel-doc directives, to call kernel-doc > according to the arguments and parameters given to the reStructuredText > directive. > > The syntax for the kernel-doc directive is: > > .. kernel-doc:: FILENAME >:

Re: rst2pdf (was [PATCH 00/10] Documentation/Sphinx)

2016-06-03 Thread Jonathan Corbet
On Mon, 30 May 2016 23:05:34 +0300 Jani Nikula wrote: > > I can't recommend to use rst2pdf (it is less maintained), use default > > sphinx LaTeX toolchain. > > I think we'll use whatever works, rst2pdf seemed to work for now, but we > can change if needed. I really like the idea of using rst2

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-03 Thread Jonathan Corbet
On Mon, 30 May 2016 23:05:34 +0300 Jani Nikula wrote: > To be clear, the "sphinx-for-docs-next" branch of [1], [2] is what I > propose to merge at this time. There's the Sphinx configuration, kernel > build integration, Sphinx kernel-doc extension, tons of kernel-doc > updates, etc. OK, I do be

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-03 Thread Daniel Vetter
On Fri, Jun 3, 2016 at 11:04 PM, Jonathan Corbet wrote: > On Mon, 30 May 2016 23:05:34 +0300 > Jani Nikula wrote: > >> To be clear, the "sphinx-for-docs-next" branch of [1], [2] is what I >> propose to merge at this time. There's the Sphinx configuration, kernel >> build integration, Sphinx kerne

Re: [PATCH 1/1 v6] hwmon: add support for Sensirion SHT3x sensors

2016-06-03 Thread Guenter Roeck
On 06/02/2016 12:59 AM, Pascal Sachs wrote: From: David Frey This driver implements support for the Sensirion SHT3x-DIS chip, a humidity and temperature sensor. Temperature is measured in degrees celsius, relative humidity is expressed as a percentage. In the sysfs interface, all values are sca

Re: [PATCH] hwmon: (tmp401) Add support for TI TMP461

2016-06-03 Thread Guenter Roeck
On 05/31/2016 09:27 AM, Andrew F. Davis wrote: Signed-off-by: Andrew F. Davis --- Documentation/hwmon/tmp401 | 18 +-- drivers/hwmon/Kconfig | 2 +- drivers/hwmon/tmp401.c | 81 ++ 3 files changed, 92 insertions(+), 9 deletions(-

Re: [PATCH 05/10] Documentation/sphinx: add Sphinx kernel-doc directive extension

2016-06-03 Thread Markus Heiser
Am 03.06.2016 um 22:35 schrieb Jonathan Corbet : > On Fri, 20 May 2016 16:39:36 +0300 > Jani Nikula wrote: > >> Add an extension to handle kernel-doc directives, to call kernel-doc >> according to the arguments and parameters given to the reStructuredText >> directive. >> >> The syntax for the