Re: [PATCH v2] Documentation: sunxi: Update Allwinner SoC documentation

2016-08-15 Thread Chen-Yu Tsai
On Sat, Aug 13, 2016 at 6:01 PM, Icenowy Zheng wrote: > Now, the A83T and A64 SoC user manuals are available. > Update the documentation to add the links. > > An updated version of A83T datasheet is also included now. > > Signed-off-by: Icenowy Zheng Acked-by: Chen-Yu Tsai -- To unsubscribe fro

Re: [PATCH v2] Documentation: clk: update file names containing referenced structures

2016-08-15 Thread Andi Shyti
Hi Geert, > Commit 'b09d6d991' removes include/linux/clk-private.h and > re-arranges the clock related structures contained in it in > different files. The documentation has not been updated > accordingly, thus it wasn't anymore consistent. > > Place the structures referenced by Documentation/clk

Re: [PATCH v2 3/3] usb: gadget: add f_uac1 variant based on new u_audio api

2016-08-15 Thread Peter Chen
On Sun, Aug 14, 2016 at 01:21:24AM +0300, Ruslan Bilovol wrote: > This patch adds new function f_uac1_newapi that > uses recently created u_audio api. This makes > f_uac1_newapi implementation much simpler by > reusing existing u_audio core utilities. > > This also drops previous f_uac1 approach (

[PATCH RFC] [media] pixfmt-packed-rgb.rst: rotate a big table

2016-08-15 Thread Mauro Carvalho Chehab
Rotates the big RGB packed table to landscape. This is actually an example patch that depends on the past RFCv2 9 patches series I sent before. It uses LaTex adjustbox extension to rotate the packed RGB big table, and rotate it to landscape. This way, the table appears on the entire page. It sho

Re: [PATCH 2/2] power: reset: syscon-reboot-mode: Use managed resource API

2016-08-15 Thread Sebastian Reichel
Hi, On Wed, Aug 03, 2016 at 10:04:06PM -0700, Bjorn Andersson wrote: > Use the managed resource version of reboot_mode_register(). > > [...] > > drivers/power/reset/syscon-reboot-mode.c | 12 +--- > 1 file changed, 1 insertion(+), 11 deletions(-) Thanks, queued. -- Sebastian signatur

Re: [PATCH 1/2] power: reset: reboot-mode: Add managed resource API

2016-08-15 Thread Sebastian Reichel
Hi, On Wed, Aug 03, 2016 at 10:04:05PM -0700, Bjorn Andersson wrote: > Provide managed resource version of reboot_mode_register() and > reboot_mode_unregister() to simplify implementations. Thanks, queued. -- Sebastian signature.asc Description: PGP signature

Re: [RFC PATCH 0/3] Documentation: switch to pdflatex and fix pdf build

2016-08-15 Thread Mauro Carvalho Chehab
Hi Jon, Em Mon, 15 Aug 2016 09:17:52 -0300 Mauro Carvalho Chehab escreveu: > Em Mon, 15 Aug 2016 12:40:21 +0300 > Jani Nikula escreveu: > > > On Sat, 13 Aug 2016, Jonathan Corbet wrote: > > > On Wed, 10 Aug 2016 18:54:06 +0300 > > > Jani Nikula wrote: > > > > > >> With these you should

Re: rst htmldocs on kernel.org

2016-08-15 Thread Jonathan Corbet
On Thu, 11 Aug 2016 21:13:29 +0200 Lukas Wunner wrote: > not sure if this is already on your radar or if you're at all the > right person to contact, but I just noticed that the gpu htmldocs > are gone from https://www.kernel.org/doc/htmldocs/gpu/ > > Actually all the rst-formatted docs are miss

Re: [PATCH 0/7] doc-rst: sphinx sub-folders & parseheaders directive

2016-08-15 Thread Jonathan Corbet
On Mon, 15 Aug 2016 10:21:07 +0200 Markus Heiser wrote: > Jonathan, we had this already, I gave you the links to "python community > norms" and tools, please read/use them. > > * https://www.python.org/dev/peps/pep-0008/ > * https://www.pylint.org/ > > Some of these norms might be unusual for C

[PATCH RFC v2 8/9] [media] docs-rst: better use the .. note:: tag

2016-08-15 Thread Mauro Carvalho Chehab
Change multi-line note tags to be more symetric, e. g. not starting the text together witht the tag. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/cec/cec-func-close.rst | 4 +++- Documentation/media/uapi/cec/cec-func-ioctl.rst | 4 +++- Documentation/medi

[PATCH RFC v2 2/9] docs-rst: improve output for .. notes:: on LaTeX

2016-08-15 Thread Mauro Carvalho Chehab
The output for those notes are bad in pdf, as they're not in a box with a different color. Also, it causes the output to not build if the note is inside a table. Change its implementation to avoid the above troubles. The logic there came from: https://stackoverflow.com/questions/606746/h

[PATCH RFC v2 4/9] [media] pixfmt-007.rst: use Sphinx math:: expressions

2016-08-15 Thread Mauro Carvalho Chehab
Enrich math formulas by using the Sphinx math. That will allow using those formulas on pdf documents as well. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 9 +- Documentation/media/uapi/v4l/pixfmt-007.rst | 175 ++-- 2 files cha

[PATCH RFC v2 5/9] [media] pixfmt-nv12mt.rst: use PNG instead of GIF

2016-08-15 Thread Mauro Carvalho Chehab
pdflatex doesn't like gif images: None:None: WARNING: no matching candidate for image URI u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt.*' None:None: WARNING: no matching candidate for image URI u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt_example.*' But it works fine with png. So,

[PATCH RFC v2 3/9] docs-rst: Don't mangle with UTF-8 chars on LaTeX/PDF output

2016-08-15 Thread Mauro Carvalho Chehab
pdflatex doesn't accept using some UTF-8 chars, like "equal or less than" or "equal or greater than" chars. However, the media documents use them. So, we need to use XeLaTeX for conversion, and a font that accepts such characters. Signed-off-by: Mauro Carvalho Chehab --- Documentation/Makefile.s

[PATCH RFC v2 9/9] HACK: make pdfdocs build with media books

2016-08-15 Thread Mauro Carvalho Chehab
- PLEASE DO NOT APPLY THIS UPSTREAM - This hack addresses two issues with pdf generation from media books: 1) Sphinx doesn't do the right thing if a block of code is inside a table. This sounds a Sphinx bug. Perhaps it can be f

[PATCH 1/9] docs-rst: allow generating some LaTeX pages in landscape

2016-08-15 Thread Mauro Carvalho Chehab
Portrait is too small for some tables used at the media docs. So, allow documents to tell Sphinx to generate some pages in landscape by using: .. raw:: latex \begin{landscape} .. raw:: latex \end{landscape} Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 13 +++

[PATCH RFC v2 7/9] [media] vidioc-enumstd.rst: remove bullets from sound carrier

2016-08-15 Thread Mauro Carvalho Chehab
The items at the sound carrier had a bullet. Those are not needed. So, get rid of them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-enumstd.rst | 25 - 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/Documentation/media/ua

[PATCH RFC v2 6/9] [media] vidioc-enumstd.rst: fix a broken reference

2016-08-15 Thread Mauro Carvalho Chehab
Somehow, the conversion broke a reference here. Re-add it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-enumstd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst b/Documentation/media/uapi/v4l/

Re: [PATCH 20/21] vgaarbiter: rst-ifiy and polish kerneldoc

2016-08-15 Thread Sean Paul
On Fri, Aug 12, 2016 at 4:48 PM, Daniel Vetter wrote: > Move the documentation into Documentation/gpu, link it up and pull in > the kernel doc. > > No actual text changes except that I did polish the kerneldoc a bit, > especially for vga_client_register(). > > v2: Remove some rst from vga-switcher

Re: [PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-15 Thread Robert Foss
On 2016-08-15 09:57 AM, Robert Foss wrote: On 2016-08-13 10:39 AM, Jann Horn wrote: On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote: diff --git a/fs/proc/internal.h b/fs/proc/internal.h index aa27810..c55e1fe 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h

Re: [PATCH 2/5] net: add bind/listen ranges to net cgroup

2016-08-15 Thread Mahesh Bandewar
On Fri, Aug 12, 2016 at 9:29 PM, Alexei Starovoitov wrote: [...] >> +static bool range_in_ranges(struct net_range *r, struct net_ranges *rs) >> +{ >> + int ri; >> + >> + for (ri = 0; ri < rs->num_entries; ri++) >> + if (r->min_value >= rs->range[ri].min_value && >> +

Re: [PATCH 3/5] net: add udp limit to net cgroup

2016-08-15 Thread Mahesh Bandewar
On Fri, Aug 12, 2016 at 9:35 PM, Alexei Starovoitov wrote: [...] >> * 'net.udp_usage': Reading this file gives the number of udp ports used by >> processes in this cgroup and all its descendants. >> * 'net.udp_limit': Writing this file sets the total number of udp ports >> that can be used by proc

[RFC PATCH 08/16] DM: Tag a magicmarker at the end of each compressed segment.

2016-08-15 Thread Ram Pai
We store the size of the compressed segment, on the sector boundary. And later use that location to determine the size of the compressed segment. However if that location is corrupted for any reason we would'nt know. Hence add a magicmarker to catch for such corruptions. Signed-off-by: Ram Pai --

[RFC PATCH 04/16] DM: Ensure that the read request is within the device range.

2016-08-15 Thread Ram Pai
If a read request is not within the device range return error. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 10 +- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index 17221a1..bf18028

[RFC PATCH 10/16] DM: Try to use the bio buffer for decompression instead of allocating one.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer to hold decompressed data, which is than copied into the caller's bio buffer. Instead of allocating a temporary buffer to hold the decompressed data, decompress the data in the caller's bio buffer. This can be done only if the destination in the bio-buffe

[RFC PATCH 05/16] DM: allocation/free helper routines.

2016-08-15 Thread Ram Pai
Helper functions to allocate/reallocate and free memory. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index bf18028..c11567

[RFC PATCH 06/16] DM: separate out compression and decompression routines.

2016-08-15 Thread Ram Pai
Simplify the code by separating out the compression and decompression routines. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 127 +- 1 files changed, 71 insertions(+), 56 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/m

[RFC PATCH 01/16] DM: dm-inplace-compress: an inplace compressed DM target

2016-08-15 Thread Ram Pai
From: Shaohua Li This is a simple DM target supporting inplace compression. Its best suited for SSD. The underlying disk must support 512B sector size, the target only supports 4k sector size. Disk layout: |super|...meta...|..data...| Store unit is 4k (a block). Super is 1 block, which stores m

[RFC PATCH 07/16] DM: Optimize memory allocated to hold compressed buffer.

2016-08-15 Thread Ram Pai
On an average the compressed size is less than 50% of the original buffer. Use this knowledge to optimize the amount of space allocated to hold the compressed buffer. If the allocated size is determined to be insufficient than reallocate the required size. Signed-off-by: Ram Pai --- drivers/md/

[RFC PATCH 03/16] DM: Error if enough space is not available.

2016-08-15 Thread Ram Pai
if enough space is not available to create a block of the specified size error out. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index

[RFC PATCH 09/16] DM: Delay allocation of decompression buffer during read.

2016-08-15 Thread Ram Pai
The read path allocates a temporary buffer each to hold compressed data and decompressed data. The buffer to hold the decompressed data is not needed till the compressed data is read from the device and is uncompressed. Hence delay the allocation of decompress buffer till it is really needed. Sig

[RFC PATCH 16/16] DM: add documentation for dm-inplace-compress.

2016-08-15 Thread Ram Pai
Signed-off-by: Ram Pai --- .../device-mapper/dm-inplace-compress.text | 138 1 files changed, 138 insertions(+), 0 deletions(-) create mode 100644 Documentation/device-mapper/dm-inplace-compress.text diff --git a/Documentation/device-mapper/dm-inplace-compress.text

[RFC PATCH 12/16] DM: release unneeded buffer as soon as possible.

2016-08-15 Thread Ram Pai
Done to conserve as much free space as possible. Waiting to release till the bio is done will unneccesarily hog up memory. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/drivers/md/dm-inplace-com

[RFC PATCH 13/16] DM: macros to set and get the state of the request.

2016-08-15 Thread Ram Pai
Consolidate code to set and get the state of a request. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 31 +-- 1 files changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index b

[RFC PATCH 15/16] DM: Add sysfs parameters to track total memory saved and allocated.

2016-08-15 Thread Ram Pai
Add parameters to monitor the memory efficiency of the module. dm_icomp_total_alloc_size: total memory currently in use. dm_icomp_total_bio_save: total memory allocation saved by the optimizations. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c | 36 +++

[RFC PATCH 11/16] DM: Try to avoid temporary buffer allocation to hold compressed data.

2016-08-15 Thread Ram Pai
The read path a) allocates a temporary buffer to hold the compressed data. b) reads the compressed data into the temporary buffer. c) decompresses the compressed data into the caller's bio-buffer. We know that the caller's bio-buffer will be atleast as large as the compressed data. So we could sa

[RFC PATCH 14/16] DM: Wasted bio copy.

2016-08-15 Thread Ram Pai
No point doing it. Signed-off-by: Ram Pai --- drivers/md/dm-inplace-compress.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/md/dm-inplace-compress.c b/drivers/md/dm-inplace-compress.c index 55a515b..31b144b 100644 --- a/drivers/md/dm-inplace-compress.c +++ b/d

[RFC PATCH 00/16] dm-inplace-compression block device

2016-08-15 Thread Ram Pai
This patch series provides a generic device-mapper inplace compression device. Originally written by Shaohua Li. https://www.redhat.com/archives/dm-devel/2013-December/msg00143.html I have optimized the code and used it as a compressed swap device supporting exterme levels of swap traffic using a

[RFC PATCH 02/16] DM: Ability to choose the compressor.

2016-08-15 Thread Ram Pai
Ability to create a block device with a compression algorithm of the users choice. Currently lzo and nx842 compressors are supported. If the compressor algorithm is not specified the default setting in /sys/modules/dm-inplace-compress/parameters/compress is used. Signed-off-by: Ram Pai --- driv

[PATCH RFC 2/5] [media] pixfmt-nv12mt.rst: use PNG instead of GIF

2016-08-15 Thread Mauro Carvalho Chehab
pdflatex doesn't like gif images: None:None: WARNING: no matching candidate for image URI u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt.*' None:None: WARNING: no matching candidate for image URI u'media/uapi/v4l/pixfmt-nv12mt_files/nv12mt_example.*' But it works fine with png. So,

[PATCH RFC 4/5] [media] vidioc-enumstd.rst: fix a broken reference

2016-08-15 Thread Mauro Carvalho Chehab
Somehow, the conversion broke a reference here. Re-add it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/v4l/vidioc-enumstd.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/media/uapi/v4l/vidioc-enumstd.rst b/Documentation/media/uapi/v4l/

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-15 Thread Robert Foss
On 2016-08-15 09:42 AM, Michal Hocko wrote: On Mon 15-08-16 09:00:04, Robert Foss wrote: On 2016-08-14 05:04 AM, Michal Hocko wrote: On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote: From: Robert Foss This series implements /proc/PID/totmaps, a tool for retrieving summarized inf

[PATCH RFC 1/5] [media] pixfmt-007.rst: use Sphinx math:: expressions

2016-08-15 Thread Mauro Carvalho Chehab
Enrich math formulas by using the Sphinx math. That will allow using those formulas on pdf documents as well. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 9 +- Documentation/media/uapi/v4l/pixfmt-007.rst | 175 ++-- 2 files cha

[PATCH RFC 5/5] HACK!!!!

2016-08-15 Thread Mauro Carvalho Chehab
Please, never apply this! This hack comments out some stuff, in order to fix a few table outputs when using Sphinx LaTeX output and pdflatex. Please notice that this *won't* fix all bugs. A lot more similar hacks is needed, as it seems that Sphinx LaTeX is broken for non-trivial tables. Signed-of

[PATCH RFC 3/5] [media] docs-rst: get rid of extra less or equal symbols

2016-08-15 Thread Mauro Carvalho Chehab
The LaTeX output format doesn't support less or equal UTF-8 symbols. So, we need to get rid of them or to convert to math expressions. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/cec/cec-ioc-adap-g-log-addrs.rst | 2 +- Documentation/media/uapi/v4l/dev-overlay.rst

Re: [PATCH] Documentation: kprobes: Document jprobes stack copying limitations

2016-08-15 Thread Catalin Marinas
On Mon, Aug 15, 2016 at 09:32:43AM -0600, Jonathan Corbet wrote: > On Mon, 15 Aug 2016 10:49:36 -0400 > David Long wrote: > > > On 08/15/2016 10:25 AM, Jonathan Corbet wrote: > > > On Fri, 12 Aug 2016 16:24:44 -0400 > > > David Long wrote: > > > > > >> Some architectures (i.e.: sparc64 and arm

Re: [PATCH] Documentation: kprobes: Document jprobes stack copying limitations

2016-08-15 Thread David Long
On 08/15/2016 11:32 AM, Jonathan Corbet wrote: On Mon, 15 Aug 2016 10:49:36 -0400 David Long wrote: On 08/15/2016 10:25 AM, Jonathan Corbet wrote: On Fri, 12 Aug 2016 16:24:44 -0400 David Long wrote: Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack duplication for

Re: CodingStyle: Clarify and complete chapter 7

2016-08-15 Thread SF Markus Elfring
>>> A common type of bug to be aware of is "one err bugs" which look like this: >>> >>> -err: >>> + err: >>> kfree(foo->bar); >>> kfree(foo); >>> return ret; >>> >>> The bug in this code is that on some exit paths "foo" is NULL. Normally >>> the >> >> ...except

Re: [PATCH] Documentation: kprobes: Document jprobes stack copying limitations

2016-08-15 Thread Jonathan Corbet
On Mon, 15 Aug 2016 10:49:36 -0400 David Long wrote: > On 08/15/2016 10:25 AM, Jonathan Corbet wrote: > > On Fri, 12 Aug 2016 16:24:44 -0400 > > David Long wrote: > > > >> Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack > >> duplication for jprobes problematic. Docum

[PATCH] doc-rst: add index to sub-folders

2016-08-15 Thread Markus Heiser
From: Markus Heiser Add a index if only a sub-folder is build e.g.:: make SPHINXDIRS=media cleandocs htmldocs BTW: removed dead search link in the top-index file Signed-off-by: Markus Heiser --- Documentation/gpu/conf.py | 2 ++ Documentation/gpu/index.rst | 7 +++ Documentation/

Re: clocksource_watchdog causing scheduling of timers every second (was [v13] support "task_isolation" mode)

2016-08-15 Thread Chris Metcalf
On 8/11/2016 7:58 AM, Frederic Weisbecker wrote: Arguably we should issue a boot time warning if NOHZ_FULL is configured >and the TSC watchdog is running. That's a very good idea! We do that when tsc is unstable but indeed we can't seriously run NOHZ_FULL on a non-reliable tsc. I'll take care o

Re: [PATCH v14 04/14] task_isolation: add initial support

2016-08-15 Thread Chris Metcalf
On 8/11/2016 2:50 PM, Christoph Lameter wrote: On Thu, 11 Aug 2016, Frederic Weisbecker wrote: Do we need to quiesce vmstat everytime before entering userspace? I thought that vmstat only need to be offlined once and for all? Once is sufficient after disabling the tick. It's true that task_i

Re: [PATCH] Documentation: kprobes: Document jprobes stack copying limitations

2016-08-15 Thread David Long
On 08/15/2016 10:25 AM, Jonathan Corbet wrote: On Fri, 12 Aug 2016 16:24:44 -0400 David Long wrote: Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack duplication for jprobes problematic. Document this. Applied to the docs tree, thanks. jon Was kind of hoping to s

Re: [PATCH 01/19] compat ABI: use non-compat openat and open_by_handle_at variants

2016-08-15 Thread Yury Norov
On Mon, Jun 27, 2016 at 09:47:38AM +0200, Andreas Schwab wrote: > Yury Norov writes: > > > The only difference is that non-compat version forces O_LARGEFILE, > > and it should be the default behaviour for all architectures, as > > we don't support 32-bit off_t. The only exception is tile32, that

Re: [PATCH] Documentation: kprobes: Document jprobes stack copying limitations

2016-08-15 Thread Jonathan Corbet
On Fri, 12 Aug 2016 16:24:44 -0400 David Long wrote: > Some architectures (i.e.: sparc64 and arm64) make reasonable partial stack > duplication for jprobes problematic. Document this. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" i

Re: [PACTH v2 1/3] mm, proc: Implement /proc//totmaps

2016-08-15 Thread Robert Foss
On 2016-08-13 10:39 AM, Jann Horn wrote: On Fri, Aug 12, 2016 at 06:04:20PM -0400, robert.f...@collabora.com wrote: diff --git a/fs/proc/internal.h b/fs/proc/internal.h index aa27810..c55e1fe 100644 --- a/fs/proc/internal.h +++ b/fs/proc/internal.h @@ -281,6 +281,7 @@ struct proc_maps_private

[PATCH 3/5] doc-rst: moved *duplicate* warnings to nitpicky mode

2016-08-15 Thread Markus Heiser
From: Markus Heiser Moved the *duplicate C object description* warnings for function declarations in the nitpicky mode. In nitpick mode, you can suppress those warnings (e.g. ioctl) with:: nitpicky = True nitpick_ignore = [ ("c:func", "ioctl"), ] See Sphinx documentation for the con

[PATCH 2/5] doc-rst:c-domain: ref-name of a function declaration

2016-08-15 Thread Markus Heiser
From: Markus Heiser Add option 'name' to the "c:function:" directive. With option 'name' the ref-name of a function can be modified. E.g.:: .. c:function:: int ioctl( int fd, int request ) :name: VIDIOC_LOG_STATUS The func-name (e.g. ioctl) remains in the output but the ref-name cha

[PATCH 5/5] doc-rst: migrate ioctl CEC_DQEVENT to c-domain

2016-08-15 Thread Markus Heiser
From: Markus Heiser This is only one example, demonstrating the benefits of the patch series. The CEC_DQEVENT ioctl is migrated to the sphinx c-domain and referred by ":name: CEC_DQEVENT". With this change the indirection using ":ref:`CEC_DQEVENT` is no longer needed, we can refer the ioctl dir

[RFC PATCH 0/5] doc-rst: improvements Sphinx's C-domain

2016-08-15 Thread Markus Heiser
From: Markus Heiser Hi, this is my approach to eliminate some distortions we have with the c/cpp Sphinx domains. The C domain is simple: it assumes that all functions, enums, etc are global, e. g. there should be just one function called "ioctl", or "open". With the 'name' option e.g.: .. c

[PATCH 4/5] doc-rst: Revert "kernel-doc: fix handling of address_space tags"

2016-08-15 Thread Markus Heiser
From: Markus Heiser This reverts commit a88b1672d4ddf9895eb53e6980926d5e960dea8e. >From the origin comit log:: The RST cpp:function handler is very pedantic: it doesn't allow any macros like __user on it Since the kernel-doc parser does NOT make use of the cpp:domain, there is no need to c

[PATCH 1/5] doc-rst: add boilerplate to customize c-domain

2016-08-15 Thread Markus Heiser
From: Markus Heiser Add a sphinx-extension to customize the sphinx c-domain. No functional changes right yet, just the boilerplate code. Signed-off-by: Markus Heiser --- Documentation/conf.py | 2 +- Documentation/sphinx/cdomain.py | 44 + 2

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-15 Thread Michal Hocko
On Mon 15-08-16 09:00:04, Robert Foss wrote: > > > On 2016-08-14 05:04 AM, Michal Hocko wrote: > > On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote: > > > From: Robert Foss > > > > > > This series implements /proc/PID/totmaps, a tool for retrieving summarized > > > information about th

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-15 Thread Robert Foss
On 2016-08-14 05:04 AM, Michal Hocko wrote: On Fri 12-08-16 18:04:19, robert.f...@collabora.com wrote: From: Robert Foss This series implements /proc/PID/totmaps, a tool for retrieving summarized information about the mappings of a process. The changelog is absolutely missing the usecase.

Re: [PATCH] doc-rst: kernel-doc: fix handling of address_space tags

2016-08-15 Thread Markus Heiser
Am 22.07.2016 um 16:46 schrieb Mauro Carvalho Chehab : > The RST cpp:function handler is very pedantic: it doesn't allow any > macros like __user on it: > > Documentation/media/kapi/dtv-core.rst:28: WARNING: Error when parsing > function declaration. > If the function has no return

Re: [RFC PATCH 0/3] Documentation: switch to pdflatex and fix pdf build

2016-08-15 Thread Mauro Carvalho Chehab
Em Mon, 15 Aug 2016 12:40:21 +0300 Jani Nikula escreveu: > On Sat, 13 Aug 2016, Jonathan Corbet wrote: > > On Wed, 10 Aug 2016 18:54:06 +0300 > > Jani Nikula wrote: > > > >> With these you should be able to get started with pdf generation. It's a > >> quick transition to pdflatex, the patches

Re: [RFC PATCH 0/3] Documentation: switch to pdflatex and fix pdf build

2016-08-15 Thread Jani Nikula
On Sat, 13 Aug 2016, Jonathan Corbet wrote: > On Wed, 10 Aug 2016 18:54:06 +0300 > Jani Nikula wrote: > >> With these you should be able to get started with pdf generation. It's a >> quick transition to pdflatex, the patches are not very pretty, but the >> pdf output is. Patch 3/3 works as an exa

Re: [PATCH 05/19] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2016-08-15 Thread Catalin Marinas
On Sat, Aug 13, 2016 at 06:17:03PM +0300, Yury Norov wrote: > On Fri, Aug 12, 2016 at 03:36:12PM +0100, Catalin Marinas wrote: > > On Thu, Aug 11, 2016 at 10:29:03PM +0200, Arnd Bergmann wrote: > > > On Thursday, August 11, 2016 5:30:03 PM CEST Catalin Marinas wrote: > > > > > > > and you can have

Re: [PATCH 0/7] doc-rst: sphinx sub-folders & parseheaders directive

2016-08-15 Thread Markus Heiser
Am 14.08.2016 um 20:09 schrieb Jonathan Corbet : > On Sat, 13 Aug 2016 16:12:41 +0200 > Markus Heiser wrote: > >> this series is a consolidation on Jon's docs-next branch. It merges the >> "sphinx >> sub-folders" patch [1] and the "parseheaders directive" patch [2] on top of >> Jon's docs-next