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

2016-09-08 Thread Arnd Bergmann
On Wednesday, September 7, 2016 3:37:05 PM CEST Guenter Roeck wrote: > On Wed, Sep 07, 2016 at 11:41:44PM +0200, Arnd Bergmann wrote: > > On Thursday, July 21, 2016 1:55:56 PM CEST Hoan Tran wrote: > > > + ctx->comm_base_addr = cppc_ss->base_address; > > > + if (ctx->com

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

2016-09-08 Thread Arnd Bergmann
On Wednesday, September 7, 2016 3:27:54 PM CEST Guenter Roeck wrote: > On Wed, Sep 07, 2016 at 11:41:44PM +0200, Arnd Bergmann wrote: > > On Thursday, July 21, 2016 1:55:56 PM CEST Hoan Tran wrote: > > > + ctx->comm_base_addr = cppc_ss->base_address; > > > + if (ctx->com

Re: Source and Make files under Documentation directory

2016-09-08 Thread Jonathan Corbet
On Wed, 7 Sep 2016 18:11:59 -0600 Shuah Khan wrote: > I noticed there are several source files and Makefiles under the > Documentation directory. Some of them look very much like tests. > > If they are indeed tests, maybe it is worth while to move them to > selftests? If you think this topic nee

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

2016-09-08 Thread Parav Pandit
On Thu, Sep 8, 2016 at 11:42 AM, Leon Romanovsky wrote: > On Wed, Sep 07, 2016 at 08:37:23PM +0530, Parav Pandit wrote: >> Did you get a chance to review the series? > > We need to decide on fundamental question before reviewing it, which is > "how to fit rdmacg to new ABI model". >From last disc

[PATCH] cpufreq-stats: Minor documentation fix

2016-09-08 Thread Jean Delvare
The cpufreq-stats code can no longer be built as a module, so it now appears with square brackets in menuconfig. Signed-off-by: Jean Delvare Fixes: 1aefc75b2449 ("cpufreq: stats: Make the stats code non-modular") Cc: Rafael J. Wysocki Cc: Viresh Kumar --- Documentation/cpu-freq/cpufreq-stats.t

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

2016-09-08 Thread James Morse
Hi, On 08/09/16 09:14, Arnd Bergmann wrote: > On Wednesday, September 7, 2016 3:37:05 PM CEST Guenter Roeck wrote: >> On Wed, Sep 07, 2016 at 11:41:44PM +0200, Arnd Bergmann wrote: >>> On Thursday, July 21, 2016 1:55:56 PM CEST Hoan Tran wrote: + ctx->comm_base_addr = cppc_ss->b

Re: [PATCH] cpufreq-stats: Minor documentation fix

2016-09-08 Thread Viresh Kumar
On 08-09-16, 12:39, Jean Delvare wrote: > The cpufreq-stats code can no longer be built as a module, so it now > appears with square brackets in menuconfig. > > Signed-off-by: Jean Delvare > Fixes: 1aefc75b2449 ("cpufreq: stats: Make the stats code non-modular") > Cc: Rafael J. Wysocki > Cc: Vir

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-09-08 Thread Mauro Carvalho Chehab
Hi Jon/Markus, Em Mon, 29 Aug 2016 16:12:39 +0200 Markus Heiser escreveu: > Am 29.08.2016 um 15:13 schrieb Mauro Carvalho Chehab > : > > > A macro definition is mapped via .. c:function:: at the > > ReST markup when using the following kernel-doc tag: > > > > /** > > * DMX_FE_ENTRY -

[PATCH 13/47] [media] rc-map.h: document structs/enums on it

2016-09-08 Thread Mauro Carvalho Chehab
There are some structs/enums that aren't documented via kernel-doc markup. Add documentation for them. Fix those warnings: ./include/media/rc-map.h:103: WARNING: c:type reference target not found: rc_map_list ./include/media/rc-map.h:110: WARNING: c:type reference target not found: rc_map_list .

[PATCH 40/47] [media] libv4l-introdution.rst: fix function definitions

2016-09-08 Thread Mauro Carvalho Chehab
c:type is not the right tag for function definitions. Replace them by .. c:function:: Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/v4l/libv4l-introduction.rst | 62 -- 1 file changed, 35 insertions(+), 27 deletions(-) diff --git a/Documentation/media/uapi/

[PATCH 45/47] [media] media-ioc-g-topology.rst: fix a c domain reference

2016-09-08 Thread Mauro Carvalho Chehab
One reference there is still using :ref:. Fix it, to solve this warning: Documentation/media/uapi/mediactl/media-ioc-g-topology.rst:236: WARNING: undefined label: media-v2-intf-devnode (if the link has no caption the label must precede a section header) Signed-off-by: Mauro Carvalho Chehab --

[PATCH 42/47] [media] hist-v4l2.rst: don't do refs to old structures

2016-09-08 Thread Mauro Carvalho Chehab
Several structs were renamed or removed during V4L2 development. Don't try to cross-reference the legacy ones. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/hist-v4l2.rst | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Docume

[PATCH 10/47] [media] demux.h: fix a documentation warning

2016-09-08 Thread Mauro Carvalho Chehab
The kernel-doc parser didn't handle well the private: tag. Rewrite it. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/demux.h | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb-core/demux.h b/drivers/media/dvb-core/demux.h index 0d9c535

[PATCH 17/47] [media] v4l2-ctrls.h: fix doc reference for prepare_ext_ctrls()

2016-09-08 Thread Mauro Carvalho Chehab
The prepare_ext_ctrls() function is actually internal to the v4l2-ctrls.c implementation, so it doesn't have a declaration for the kAPI header to reference it. Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-ctrls.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/

[PATCH 46/47] [media] docs-rst: fix two wrong :name: tags

2016-09-08 Thread Mauro Carvalho Chehab
There's a typo there, causing 4 warnings: Documentation/media/uapi/rc/lirc-read.rst:26: WARNING: c:type reference target not found: name Documentation/media/uapi/rc/lirc-read.rst:26: WARNING: c:type reference target not found: lirc Documentation/media/uapi/v4l/func-poll.rst:25: WARNING: c:

[PATCH 26/47] [media] v4l2-subdev.h: fix a doc nitpick warning

2016-09-08 Thread Mauro Carvalho Chehab
One markup tag is wrong here. Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-subdev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h index 6e1d044e3ee8..2c1e328ccb1d 100644 --- a/include/media/v4l2-subdev

[PATCH 31/47] [media] ca-get-slot-info.rst: document struct ca_slot_info

2016-09-08 Thread Mauro Carvalho Chehab
Add documentation for struct ca_slot_info and for the two sets of define used by it, according with what's there at the ca.h header. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-slot-info.rst | 84 ++- 1 file changed, 83 insertions(+), 1 deleti

[PATCH 33/47] [media] docs-rst: fix the remaining broken links for DVB CA API

2016-09-08 Thread Mauro Carvalho Chehab
Several links are broken, as they were using the typedef name, instead of using the corresponding structs. Fix them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-cap.rst| 4 ++-- Documentation/media/uapi/dvb/ca-get-descr-info.rst | 2 +- Documentation/medi

[PATCH 34/47] [media] fix broken references on dvb/video*rst

2016-09-08 Thread Mauro Carvalho Chehab
Trivially fix those broken references, by copying the structs fron the header, just like other API documentation at the DVB side. This doesn't have the level of quality used at the V4L2 side of the API, but, as this documents a deprecated API, used only by av7110 driver, it doesn't make much sense

[PATCH 08/47] [media] demux.h: Fix a few documentation issues

2016-09-08 Thread Mauro Carvalho Chehab
demux.h was lacking documentation for the DMX_FE_ENTRY macro: ./drivers/media/dvb-core/demux.h:511: WARNING: c:func reference target not found: DMX_FE_ENTRY While here, get rid of unused parameters and fix a few minor issues at the header file. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 09/47] [media] mc-core.rst: Fix cross-references to the source

2016-09-08 Thread Mauro Carvalho Chehab
The cross-reference to "struct media_pad" was pointing to a place that doesn't exist. Fix it, and adjust the second reference on the same paragraph to use the same text. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/mc-core.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 de

[PATCH 19/47] [media] v4l2-ctrls.h: Fix some c:type references

2016-09-08 Thread Mauro Carvalho Chehab
Now that the uAPI is using c:type, let's use it here too. Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-ctrls.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/media/v4l2-ctrls.h b/include/media/v4l2-ctrls.h index ff2847705dac..86702037cf5d 10064

[PATCH 11/47] [media] docs-rst: improve the kAPI documentation for the mediactl

2016-09-08 Thread Mauro Carvalho Chehab
There are several issues on the documentation: - the media.h header were not properly referenced; - verbatim expressions were not properly marked as such; - struct member references were wrong; - some notes were not using the right markup; - a comment that were moved to the kernel-doc mar

[PATCH 12/47] [media] conf_nitpick.py: ignore external functions used on mediactl

2016-09-08 Thread Mauro Carvalho Chehab
There are some functions/macros used by the mediactl documentation that are alien to the media subsystem. Ignore them. After this patch, the media core will only complain about this static function: Documentation/media/kapi/mc-core.rst:97: WARNING: c:func reference target not found: media

[PATCH 05/47] [media] dvb_ringbuffer.h: Document all functions

2016-09-08 Thread Mauro Carvalho Chehab
There are several functions there there weren't properly documented. Add documentation for them. While here, make checkpatch.pl happier. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvb_ringbuffer.h | 179 1 file changed, 134 insertions(+), 45

[PATCH 36/47] [media] docs-rst: fix cec bad cross-references

2016-09-08 Thread Mauro Carvalho Chehab
Fix some CEC cross references that are broken. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/cec.h.rst.exceptions | 6 -- Documentation/media/uapi/cec/cec-ioc-adap-g-log-addrs.rst | 10 +- Documentation/media/uapi/cec/cec-ioc-receive.rst | 9

[PATCH 47/47] [media] rc-map.h: fix a Sphinx warning

2016-09-08 Thread Mauro Carvalho Chehab
./include/media/rc-map.h:121: WARNING: Inline emphasis start-string without end-string. Signed-off-by: Mauro Carvalho Chehab --- include/media/rc-map.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/media/rc-map.h b/include/media/rc-map.h index 173ad58fb61b.

[PATCH 22/47] [media] v4l2-dev.rst: fix a broken c domain reference

2016-09-08 Thread Mauro Carvalho Chehab
The "struct" were inside the reference, causing it to break. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/v4l2-dev.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/kapi/v4l2-dev.rst b/Documentation/media/kapi/v4l2-dev.rst index 578

[PATCH 41/47] [media] libv4l-introduction.rst: improve crossr-references

2016-09-08 Thread Mauro Carvalho Chehab
Use C cross-references to mention the V4L2 API calls on all places it occurs inside this file. While here, also mark constants as such. Signed-off-by: Mauro Carvalho Chehab --- .../media/uapi/v4l/libv4l-introduction.rst | 33 +- 1 file changed, 20 insertions(+), 13 d

[PATCH 30/47] [media] ca-get-msg.rst: add a boilerplate for struct ca_msg

2016-09-08 Thread Mauro Carvalho Chehab
There are no descriptions at ca.h header for this struct. Yet, as we want to get rid of the warnings, let's add a boilerplate, with just the struct types and fields. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-msg.rst | 33 - 1 file ch

[PATCH 14/47] [media] v4l2-ctrls: document some extra data structures

2016-09-08 Thread Mauro Carvalho Chehab
The typedefs and a macro are not defined. While here, improve a few bits on the documentation. Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-ctrls.h | 51 +++--- 1 file changed, 44 insertions(+), 7 deletions(-) diff --git a/include/media/v4l

[PATCH 04/47] [media] conf_nitpick.py: add external vars to ignore list

2016-09-08 Thread Mauro Carvalho Chehab
There a some other types and functions that aren't declared inside the media document but are elsewhere. Add them to the ignore list. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/conf_nitpick.py | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Doc

[PATCH 18/47] [media] docs-rst: use C domain for enum references on uapi

2016-09-08 Thread Mauro Carvalho Chehab
Change the parse-headers.pl and the corresponding files to use the C domain for enum references. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/hist-v4l2.rst | 2 +- Documentation/media/uapi/v4l/subdev-formats.rst | 2 +- Documentation/media/uapi/v4l/v4l2.

[PATCH 23/47] [media] v4l2-device.h: fix some doc tags

2016-09-08 Thread Mauro Carvalho Chehab
Fix some minor issues at the documentation tags on this file, adding cross-references where needed, and fixing some broken ones. Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-device.h | 54 ++--- 1 file changed, 27 insertions(+), 27 deletions

[PATCH 21/47] [media] v4l2-ioctl.h: document the remaining functions

2016-09-08 Thread Mauro Carvalho Chehab
There are several undocumented functions here; document them. While here, make checkpatch.pl happy. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/conf_nitpick.py | 1 + include/media/v4l2-ioctl.h | 502 +--- 2 files changed, 301 insertio

[PATCH 01/47] kernel-doc: ignore arguments on macro definitions

2016-09-08 Thread Mauro Carvalho Chehab
A macro definition is mapped via .. c:function:: at the ReST markup when using the following kernel-doc tag: /** * DMX_FE_ENTRY - Casts elements in the list of registered * front-ends from the generic type struct list_head * to the typ

[PATCH 29/47] [media] ca-get-descr-info.rst: add doc for for struct ca_descr_info

2016-09-08 Thread Mauro Carvalho Chehab
The documentation follows what's there at the ca.h header. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-descr-info.rst | 23 +- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/dvb/ca-get-descr-info.rst b/

[PATCH 28/47] [media] ca-get-cap.rst: add a table for struct ca_caps

2016-09-08 Thread Mauro Carvalho Chehab
Add a flat-table describing struct ca_caps, as found at the source file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-get-cap.rst | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/dvb/ca-get-cap.

[PATCH 24/47] [media] v4l2-dv-timings.h: let kernel-doc parte the typedef argument

2016-09-08 Thread Mauro Carvalho Chehab
Now that scripts/kernel-doc was fixed to parse the typedef argument used here, let it produce documentation. Signed-off-by: Mauro Carvalho Chehab --- include/media/v4l2-dv-timings.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/media/v4l2-dv-timings.h b/include/

[PATCH 44/47] [media] dev-sliced-vbi.rst: fix reference for v4l2_mpeg_vbi_ITV0

2016-09-08 Thread Mauro Carvalho Chehab
The struct v4l2_mpeg_vbi_ITV0 is identical to struct v4l2_mpeg_vbi_itv0, except by its size, and it is documented at the same place at the book. Fix cross reference for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/dev-sliced-vbi.rst | 6 -- 1 file changed, 4 ins

[PATCH 02/47] docs-rst: parse-headers.pl: make debug a command line option

2016-09-08 Thread Mauro Carvalho Chehab
Add a parser for the --debug option, in order to allow seeing what the parser is doing. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/parse-headers.pl | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Documentation/sphinx/parse-headers.pl b/Docu

[PATCH 16/47] [media] diff-v4l.rst: Fix V4L version 1 references

2016-09-08 Thread Mauro Carvalho Chehab
The V4L version 1 structures had long gone from the Linux Kernel. It doesn't make sense to use cross-references for them, as they won't be found. So, get rid of them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/diff-v4l.rst | 38 +++ 1 file

[PATCH 37/47] [media] docs-rst: simplify c:type: cross references

2016-09-08 Thread Mauro Carvalho Chehab
Instead of using c:type:`struct foo `, use: struct c:type:`foo` This patch was generated via this shell script: for i in `find Documentation/media -type f`; do perl -ne 'if (m/\:c\:type\:\`struct\s+(\S+)\s*\<(\S+)\>\`/) { $s=$1; $r=$2; if ($s eq $r) { s/\:c\:type\:\`struct\s+(\S

[PATCH 39/47] [media] fix clock_gettime cross-references

2016-09-08 Thread Mauro Carvalho Chehab
Fix those warnings: Documentation/media/uapi/cec/cec-ioc-dqevent.rst:124: WARNING: c:func reference target not found: clock_gettime(2) By replacing it with the right function name, using this shell script: for i in `find Documentation/media -type f`; do sed 's,clock_gettime(2),

[PATCH 07/47] [media] dvb_ringbuffer.h: document the define macros

2016-09-08 Thread Mauro Carvalho Chehab
There are a few define macros not documented, because the ReST output was causing more warnings. Now that this got fixed, document them. While here, fix the remaining coding style issues. Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb-core/dvb_ringbuffer.h | 27 +++--

[PATCH 06/47] [media] dtv-core.rst: move DTV ringbuffer notes to kAPI doc

2016-09-08 Thread Mauro Carvalho Chehab
Instead of keeping those notes at the file on a non-structured way, move them to dtv-core.rst, using the proper ReST tags. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/kapi/dtv-core.rst | 38 +++-- drivers/media/dvb-core/dvb_ringbuffer.h | 28 ---

[PATCH 32/47] [media] ca-set-pid.rst: document struct ca_pid

2016-09-08 Thread Mauro Carvalho Chehab
Add a table describing the fields on this struct, based on ca.h header. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-set-pid.rst | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Documentation/media/uapi/dvb/ca-set-pid.rst b/Docu

[PATCH 43/47] [media] docs-rst: fix cross-references for videodev2.h

2016-09-08 Thread Mauro Carvalho Chehab
There are several broken references there, due to the conversion to C domain. Fix them using this shell script and manually adjust what's broken: # funcs is a file with the broken functions/references for i in $(cat funcs|sort|uniq|perl -ne 'print "$1\n" if (m/(\S+)$/)'); do

[PATCH 20/47] [media] cec-ioc-dqevent.rst: fix some undefined references

2016-09-08 Thread Mauro Carvalho Chehab
Documentation/output/cec.h.rst:6: WARNING: c:type reference target not found: cec_event_state_change Documentation/output/cec.h.rst:6: WARNING: c:type reference target not found: cec_event_state_change Documentation/output/cec.h.rst:6: WARNING: c:type reference target not found: cec_event_lost_m

[PATCH 35/47] [media] docs-rst: fix dmx bad cross-references

2016-09-08 Thread Mauro Carvalho Chehab
Some structs are pointed via the typedef. As we replaced those references, fix them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dmx-get-caps.rst | 5 ++--- Documentation/media/uapi/dvb/dmx-set-source.rst | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff

[PATCH 27/47] [media] docs-rst exceptions: use C domain references for DVB headers

2016-09-08 Thread Mauro Carvalho Chehab
Now that we moved away from the :ref: type of references, we need to update the exceptions lists. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/audio.h.rst.exceptions | 6 +- Documentation/media/ca.h.rst.exceptions| 32 Documentation/media/dmx.h.rst.e

[PATCH 03/47] docs-rst: parse-headers.pl: use the C domain for cross-references

2016-09-08 Thread Mauro Carvalho Chehab
Instead of keep using the normal reference, move to the C domain ones. Using C domains everywhere will allow cross-references between kAPI and uAPI docs. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/parse-headers.pl | 113 ++ 1 file changed, 59 in

[PATCH 25/47] [media] v4l2-subdev.rst: get rid of legacy functions

2016-09-08 Thread Mauro Carvalho Chehab
There are two warnings that are due to functions that has long gone: Documentation/media/kapi/v4l2-subdev.rst:417: WARNING: c:func reference target not found: v4l2_i2c_new_subdev_cfg Documentation/media/kapi/v4l2-subdev.rst:436: WARNING: c:func reference target not found: v4l2_i2

[PATCH 00/47] Fix most of Sphinx warnings in nitpick mode

2016-09-08 Thread Mauro Carvalho Chehab
Before this patch series, there is ~400 warnings when building docs in nitpick mode. That means ~400 broken links. This patch series move the C references to use Sphinx C domain, instead of using :ref:, add more documentation to some V4L2 headers and fix several broken links. After this series,

[PATCH 38/47] [media] docs-rst: fix some broken struct references

2016-09-08 Thread Mauro Carvalho Chehab
The :c:type: references point to the structure name, and not to struct foo. Fixed via this shell script: for i in `find Documentation/media -type f`; do perl -ne 'if (s/\:c\:type\:\`struct\s*(\S+)\`/struct :c:type:`$1`/) { s/struct\s+struct/struct/; s/(struct\s+\:c\:type\:\`\S+\`)\s+st

Re: [PATCH 00/47] Fix most of Sphinx warnings in nitpick mode

2016-09-08 Thread Jonathan Corbet
On Thu, 8 Sep 2016 09:03:22 -0300 Mauro Carvalho Chehab wrote: > Please notice that patches 2 and 3 touches at > Documentation/sphinx/parse-headers.pl. > > If it is ok for you, I intend to merge those patches (except for patch 1) > on my tree, including the two patches that touch at the parse-

Re: [PATCH 22/47] [media] v4l2-dev.rst: fix a broken c domain reference

2016-09-08 Thread Laurent Pinchart
Hi Mauro, Thank you for the patch. On Thursday 08 Sep 2016 09:03:44 Mauro Carvalho Chehab wrote: > The "struct" were inside the reference, causing it to break. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Laurent Pinchart > --- > Documentation/media/kapi/v4l2-dev.rst | 2 +- > 1 file

Re: [PATCH v6 2/4] drm: Add API for capturing frame CRCs

2016-09-08 Thread Emil Velikov
Hi Tomeu, A couple of small nitpicks and a rather nasty looking bug, related to your earlier question. On 7 September 2016 at 11:27, Tomeu Vizoso wrote: > +static ssize_t crc_control_write(struct file *file, const char __user *ubuf, > +size_t len, loff_t *offp) >

Re: [RFC PATCH v2 07/20] x86: Provide general kernel support for memory encryption

2016-09-08 Thread Tom Lendacky
On 09/07/2016 10:55 AM, Borislav Petkov wrote: > On Wed, Sep 07, 2016 at 09:30:54AM -0500, Tom Lendacky wrote: >> _PAGE_ENC is #defined as sme_me_mask and sme_me_mask has already been >> set (or not set) at this point - so it will be the mask if SME is >> active or 0 if SME is not active. > > Yeah

Re: [Intel-gfx] [PATCH v6 0/4] New debugfs API for capturing CRC of frames

2016-09-08 Thread Emil Velikov
On 7 September 2016 at 11:27, Tomeu Vizoso wrote: > Hi, > > this series basically takes the facility for continuously capturing CRCs > of frames from the i915 driver and into the DRM core. > > The idea is that test suites such as IGT use this information to check > that frames that are exected to

Re: [RFC PATCH v2 07/20] x86: Provide general kernel support for memory encryption

2016-09-08 Thread Borislav Petkov
On Thu, Sep 08, 2016 at 08:26:27AM -0500, Tom Lendacky wrote: > When does this value get initialized? Since _PAGE_ENC is #defined to > sme_me_mask, which is not set until the boot process begins, I'm afraid > we'd end up using the initial value of sme_me_mask, which is zero. Do > I have that righ

Re: [PATCH v3] docs-rst: ignore arguments on macro definitions

2016-09-08 Thread Markus Heiser
Am 08.09.2016 um 13:40 schrieb Mauro Carvalho Chehab : > Hi Jon/Markus, > > Em Mon, 29 Aug 2016 16:12:39 +0200 > Markus Heiser escreveu: > >> Am 29.08.2016 um 15:13 schrieb Mauro Carvalho Chehab >> : >> >>> A macro definition is mapped via .. c:function:: at the >>> ReST markup when using th

[PATCH v7 0/4] New debugfs API for capturing CRC of frames

2016-09-08 Thread Tomeu Vizoso
Hi, this series basically takes the facility for continuously capturing CRCs of frames from the i915 driver and into the DRM core. The idea is that test suites such as IGT use this information to check that frames that are exected to be identical, also have identical CRC values. Other drivers fo

Re: [PATCH v6 2/4] drm: Add API for capturing frame CRCs

2016-09-08 Thread Tomeu Vizoso
On 8 September 2016 at 15:24, Emil Velikov wrote: > Hi Tomeu, > > A couple of small nitpicks and a rather nasty looking bug, related to > your earlier question. > > On 7 September 2016 at 11:27, Tomeu Vizoso wrote: > >> +static ssize_t crc_control_write(struct file *file, const char __user *ubuf,

Re: [PATCH 03/47] docs-rst: parse-headers.pl: use the C domain for cross-references

2016-09-08 Thread Markus Heiser
Hi BTW: porting parse-headers to python / get rid of media/Makefile * https://www.mail-archive.com/linux-media@vger.kernel.org/msg101261.html I think last relevant comment was from you Mauro: * https://www.mail-archive.com/linux-media@vger.kernel.org/msg101426.html should we continue this tas

[PATCH v7 2/4] drm: Add API for capturing frame CRCs

2016-09-08 Thread Tomeu Vizoso
Adds files and directories to debugfs for controlling and reading frame CRCs, per CRTC: dri/0/crtc-0/crc dri/0/crtc-0/crc/control dri/0/crtc-0/crc/data Drivers can implement the set_crc_source callback() in drm_crtc_funcs to start and stop generating frame CRCs and can add entries to the output b

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

2016-09-08 Thread Guenter Roeck
On 09/08/2016 01:15 AM, Arnd Bergmann wrote: On Wednesday, September 7, 2016 3:27:54 PM CEST Guenter Roeck wrote: On Wed, Sep 07, 2016 at 11:41:44PM +0200, Arnd Bergmann wrote: On Thursday, July 21, 2016 1:55:56 PM CEST Hoan Tran wrote: + ctx->comm_base_addr = cppc_ss->base_addre

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

2016-09-08 Thread Arnd Bergmann
On Thursday, September 8, 2016 7:55:44 AM CEST Guenter Roeck wrote: > Maybe, but now I get > > Building arm:allmodconfig ... failed > -- > Error log: > crypto/crypto_engine.c: In function 'crypto_transfer_hash_request': > crypto/crypto_engine.c:234:3: error: implicit declaration of fun

Re: [PATCH v6 2/4] drm: Add API for capturing frame CRCs

2016-09-08 Thread Emil Velikov
On 8 September 2016 at 15:49, Tomeu Vizoso wrote: > On 8 September 2016 at 15:24, Emil Velikov wrote: >> Hi Tomeu, >> >> A couple of small nitpicks and a rather nasty looking bug, related to >> your earlier question. >> >> On 7 September 2016 at 11:27, Tomeu Vizoso >> wrote: >> >>> +static ssiz

[PATCH V5] leds: trigger: Introduce a USB port trigger

2016-09-08 Thread Rafał Miłecki
From: Rafał Miłecki This commit adds a new trigger responsible for turning on LED when USB device gets connected to the selected USB port. This can can useful for various home routers that have USB port(s) and a proper LED telling user a device is connected. The trigger gets its documentation fi

Re: Ping: [PATCH v15 00/13] support "task_isolation" mode

2016-09-08 Thread Francis Giraldeau
On 2016-09-07 05:11 PM, Francis Giraldeau wrote: > The syscall test fails on x86: > $ sudo ./isolation > [...] > test_syscall: FAIL (0x100) > test_syscall (SIGUSR1): FAIL (0x100) The fix is indeed very simple: diff --git a/arch/x86/include/asm/thread_info.h b/arch/x86/include/asm

Re: Source and Make files under Documentation directory

2016-09-08 Thread Shuah Khan
On 09/08/2016 02:17 AM, Jonathan Corbet wrote: > On Wed, 7 Sep 2016 18:11:59 -0600 > Shuah Khan wrote: > >> I noticed there are several source files and Makefiles under the >> Documentation directory. Some of them look very much like tests. >> >> If they are indeed tests, maybe it is worth while

[PATCH 06/15] [media] conf_nitpick.py: ignore an opaque struct from v4l2-mem2mem.h

2016-09-08 Thread Mauro Carvalho Chehab
The v4l2_m2m_dev is opaque: its meaning is only known by v4l2-mem2mem.c. Ignore it on nitpick mode. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/conf_nitpick.py | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/media/conf_nitpick.py b/Documentation/media/conf

[PATCH 10/15] [media] conf_nitpick.py: ignore C domain data used on vb2

2016-09-08 Thread Mauro Carvalho Chehab
Ignore external C domain structs and functions used by VB2 header. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/conf_nitpick.py | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/media/conf_nitpick.py b/Documentation/media/conf_nitpick.py index f71bb947eb15..4

Re: [PATCH] cpufreq-stats: Minor documentation fix

2016-09-08 Thread Rafael J. Wysocki
On 9/8/2016 1:20 PM, Viresh Kumar wrote: On 08-09-16, 12:39, Jean Delvare wrote: The cpufreq-stats code can no longer be built as a module, so it now appears with square brackets in menuconfig. Signed-off-by: Jean Delvare Fixes: 1aefc75b2449 ("cpufreq: stats: Make the stats code non-modular")

[PATCH v1] Documentation/filesystems: Fixed typo

2016-09-08 Thread robert . foss
From: Robert Foss Fixed a -> an typo. Signed-off-by: Robert Foss Acked-by: Kees Cook --- Documentation/filesystems/proc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 68080ad..fcc1ac0 1006

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

2016-09-08 Thread AKASHI Takahiro
On Thu, Sep 08, 2016 at 11:47:59AM +0100, James Morse wrote: > Hi, > > On 08/09/16 09:14, Arnd Bergmann wrote: > > On Wednesday, September 7, 2016 3:37:05 PM CEST Guenter Roeck wrote: > >> On Wed, Sep 07, 2016 at 11:41:44PM +0200, Arnd Bergmann wrote: > >>> On Thursday, July 21, 2016 1:55:56 PM CE