Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Guenter Roeck
On 05/16/2017 09:39 PM, Ye Xiaolong wrote: On 05/17, Chris Packham wrote: On 17/05/17 15:09, Ye Xiaolong wrote: On 05/16, Chris Packham wrote: On 16/05/17 20:23, kbuild test robot wrote: Hi Chris, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.12-rc1 next-20170516

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Ye Xiaolong
On 05/17, Chris Packham wrote: >On 17/05/17 15:09, Ye Xiaolong wrote: >> On 05/16, Chris Packham wrote: >>> On 16/05/17 20:23, kbuild test robot wrote: >>>> Hi Chris, >>>> >>>> [auto build test ERROR on hwmon/hwmon-next] >>>> [als

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Chris Packham
On 17/05/17 15:09, Ye Xiaolong wrote: > On 05/16, Chris Packham wrote: >> On 16/05/17 20:23, kbuild test robot wrote: >>> Hi Chris, >>> >>> [auto build test ERROR on hwmon/hwmon-next] >>> [also build test ERROR on v4.12-rc1 next-20170516] >>> [

Re: [kbuild-all] [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Ye Xiaolong
On 05/16, Chris Packham wrote: >On 16/05/17 20:23, kbuild test robot wrote: >> Hi Chris, >> >> [auto build test ERROR on hwmon/hwmon-next] >> [also build test ERROR on v4.12-rc1 next-20170516] >> [if your patch is applied to the wrong git tree, please drop us a no

Re: [PATCH 4/4] crypto: Documentation: fix none signal safe sample

2017-05-16 Thread Eric Biggers
On Thu, May 11, 2017 at 02:53:45PM +0300, Gilad Ben-Yossef wrote: > The sample code was showing use of wait_for_completion_interruptible() > for waiting for an async. crypto op to finish. However, if a signal > arrived it would free the buffers used even while crypto HW might > still DMA from/into

Re: [PATCH 2/4] crypto: drbg wait for crypto op not signal safe

2017-05-16 Thread Eric Biggers
Hi Gilad, On Thu, May 11, 2017 at 02:53:43PM +0300, Gilad Ben-Yossef wrote: > drbg_kcapi_sym_ctr() was using wait_for_completion_interruptible() to > wait for completion of async crypto op but if a signal occurs it > may return before DMA ops of HW crypto provider finish, thus > corrupting the out

Re: [PATCH] mm: per-cgroup memory reclaim stats

2017-05-16 Thread Balbir Singh
On Sat, May 13, 2017 at 2:42 AM, Johannes Weiner wrote: > On Fri, May 12, 2017 at 12:25:22PM +1000, Balbir Singh wrote: >> On Thu, 2017-05-11 at 20:16 +0100, Roman Gushchin wrote: >> > The meaning of each value is the same as for global counters, >> > available using /proc/vmstat. >> > >> > Also,

Re: [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Guenter Roeck
On Tue, May 16, 2017 at 08:30:52PM +, Chris Packham wrote: > On 16/05/17 20:23, kbuild test robot wrote: > > Hi Chris, > > > > [auto build test ERROR on hwmon/hwmon-next] > > [also build test ERROR on v4.12-rc1 next-20170516] > > [if your patch is applied to t

Re: [PATCH v5 14/32] efi: Add an EFI table address match function

2017-05-16 Thread Tom Lendacky
On 5/15/2017 1:09 PM, Borislav Petkov wrote: On Tue, Apr 18, 2017 at 04:18:48PM -0500, Tom Lendacky wrote: Add a function that will determine if a supplied physical address matches the address of an EFI table. Signed-off-by: Tom Lendacky --- drivers/firmware/efi/efi.c | 33 +

Re: [PATCH v3 0/6] Add kselftest_harness.h

2017-05-16 Thread Mickaël Salaün
On 16/05/2017 22:29, Jonathan Corbet wrote: > On Tue, 16 May 2017 22:12:39 +0200 > Mickaël Salaün wrote: > >>> I will have to defer to Jon Corbet for Documentation related changes >>> and patches. Jon! Could you please review and give me an Ack. >> >> Jonathan, what do you think about this pa

Re: [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread Chris Packham
On 16/05/17 20:23, kbuild test robot wrote: > Hi Chris, > > [auto build test ERROR on hwmon/hwmon-next] > [also build test ERROR on v4.12-rc1 next-20170516] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url:

Re: [PATCH v3 0/6] Add kselftest_harness.h

2017-05-16 Thread Jonathan Corbet
On Tue, 16 May 2017 22:12:39 +0200 Mickaël Salaün wrote: > > I will have to defer to Jon Corbet for Documentation related changes > > and patches. Jon! Could you please review and give me an Ack. > > Jonathan, what do you think about this patches? Sorry, I missed that completely, looking now.

Re: [PATCH v3 0/6] Add kselftest_harness.h

2017-05-16 Thread Mickaël Salaün
On 04/05/2017 15:58, Shuah Khan wrote: > On 05/03/2017 04:26 PM, Mickaël Salaün wrote: >> Hi, >> >> This third patch series make the seccomp/test_harness.h more generally >> available [1] and update the kselftest documentation with the Sphinx format. >> It >> also improve the Makefile of seccomp

Re: [PATCH v5 06/32] x86/mm: Add Secure Memory Encryption (SME) support

2017-05-16 Thread Tom Lendacky
On 5/4/2017 9:36 AM, Borislav Petkov wrote: On Thu, May 04, 2017 at 09:24:11AM -0500, Tom Lendacky wrote: I did this so that an the include order wouldn't cause issues (including asm/mem_encrypt.h followed by later by a linux/mem_encrypt.h include). I can make this a bit clearer by having separa

Re: [PATCH v2 15/53] docs-rst: add sound book to pdf output

2017-05-16 Thread Takashi Iwai
On Tue, 16 May 2017 14:16:07 +0200, Mauro Carvalho Chehab wrote: > > The sound subsystem book was added without the bits required to > generate PDF output. Add them. > > Signed-off-by: Mauro Carvalho Chehab Looks good to me. Reviewed-by: Takashi Iwai thanks, Takashi > --- > Documentatio

Re: [PATCH v2 04/53] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Darren Hart
On Tue, May 16, 2017 at 03:24:18PM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 16 May 2017 10:35:40 -0700 > Darren Hart escreveu: > > > On Tue, May 16, 2017 at 09:15:56AM -0300, Mauro Carvalho Chehab wrote: > > > There are a few issues on some kernel-doc markups that was > > > causing troubles

Re: [PATCH v2 04/53] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Mauro Carvalho Chehab
Em Tue, 16 May 2017 10:35:40 -0700 Darren Hart escreveu: > On Tue, May 16, 2017 at 09:15:56AM -0300, Mauro Carvalho Chehab wrote: > > There are a few issues on some kernel-doc markups that was > > causing troubles with kernel-doc output on ReST format: > > > > ./kernel/futex.c:492: WARNING: Inli

[PATCH 1/1] Documentation: networking: bonding.txt: /etc/modrobe.d/ path typo (modprobe.d)

2017-05-16 Thread Julien Fortin
From: Julien Fortin Signed-off-by: Julien Fortin --- Documentation/networking/bonding.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/bonding.txt b/Documentation/networking/bonding.txt index 57f52cdce32e..9d6404100617 100644 --- a/Documentation/

[PATCH v2 53/53] kernel-doc: describe the ``literal`` syntax

2017-05-16 Thread Mauro Carvalho Chehab
changeset b97f193abf83 ("scripts/kernel-doc: fix parser for apostrophes") added support for ``literal`` inside kernel-doc, in order to allow using the "%" symbol inside a literal block, as this is used at printk() description. Document it. Fixes: b97f193abf83 ("scripts/kernel-doc: fix parser for

[PATCH v2 51/53] usb: fix the comment with regards to DocBook

2017-05-16 Thread Mauro Carvalho Chehab
The USB gadget documentation is not at DocBook anymore. The main file was converted to ReST, and stored at Documentation/driver-api/usb/gadget.rst, but there are still several plain text files related to gadget under Documentation/usb. So, be generic and just mention documentation without specifyi

[PATCH v2 50/53] fs: fix the location of the kernel-api book

2017-05-16 Thread Mauro Carvalho Chehab
The kernel-api book is now part of the core-api. Update its location. Signed-off-by: Mauro Carvalho Chehab --- fs/debugfs/inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index e892ae7d89f8..77440e4aa9d4 100644 --- a/fs/debugfs/i

[PATCH v2 52/53] docs-rst: get rid of Documentation/sphinx/tmplcvt script

2017-05-16 Thread Mauro Carvalho Chehab
As everything was converted to ReST, we don't need this script anymore. Signed-off-by: Mauro Carvalho Chehab --- Documentation/sphinx/tmplcvt | 28 1 file changed, 28 deletions(-) delete mode 100755 Documentation/sphinx/tmplcvt diff --git a/Documentation/sphinx/tmp

Re: [RFC 04/10] kmod: provide wrappers for kmod_concurrent inc/dec

2017-05-16 Thread Luis R. Rodriguez
On Wed, Jan 11, 2017 at 09:08:57PM +0100, Luis R. Rodriguez wrote: > On Tue, Jan 10, 2017 at 07:57:10PM +0100, Luis R. Rodriguez wrote: > > On Fri, Dec 16, 2016 at 09:05:00AM +0100, Luis R. Rodriguez wrote: > > > On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: > > > > On Thu 2016-12-08

Re: [PATCH v5 26/32] x86, drm, fbdev: Do not specify encrypted memory for video mappings

2017-05-16 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:20:56PM -0500, Tom Lendacky wrote: > Since video memory needs to be accessed decrypted, be sure that the > memory encryption mask is not set for the video ranges. > > Signed-off-by: Tom Lendacky > --- > arch/x86/include/asm/vga.h | 13 + > arch/x86/

Re: [PATCH v2 04/53] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Darren Hart
On Tue, May 16, 2017 at 09:15:56AM -0300, Mauro Carvalho Chehab wrote: > There are a few issues on some kernel-doc markups that was > causing troubles with kernel-doc output on ReST format: > > ./kernel/futex.c:492: WARNING: Inline emphasis start-string without > end-string. > ./kernel/futex.c:12

Re: [PATCH v5 23/32] swiotlb: Add warnings for use of bounce buffers with SME

2017-05-16 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:20:19PM -0500, Tom Lendacky wrote: > Add warnings to let the user know when bounce buffers are being used for > DMA when SME is active. Since the bounce buffers are not in encrypted > memory, these notifications are to allow the user to determine some > appropriate actio

Re: [PATCH v5 22/32] x86, swiotlb: DMA support for memory encryption

2017-05-16 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:20:10PM -0500, Tom Lendacky wrote: > Since DMA addresses will effectively look like 48-bit addresses when the > memory encryption mask is set, SWIOTLB is needed if the DMA mask of the > device performing the DMA does not support 48-bits. SWIOTLB will be > initialized to c

Re: [PATCH v5 19/32] x86/mm: Add support to access persistent memory in the clear

2017-05-16 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:19:42PM -0500, Tom Lendacky wrote: > Persistent memory is expected to persist across reboots. The encryption > key used by SME will change across reboots which will result in corrupted > persistent memory. Persistent memory is handed out by block devices > through memory

Re: [PATCH] mm: per-cgroup memory reclaim stats

2017-05-16 Thread Roman Gushchin
Hi Michal! On Tue, May 16, 2017 at 11:29:56AM +0200, Michal Hocko wrote: > On Thu 11-05-17 20:16:23, Roman Gushchin wrote: > > Track the following reclaim counters for every memory cgroup: > > PGREFILL, PGSCAN, PGSTEAL, PGACTIVATE, PGDEACTIVATE, PGLAZYFREE and > > PGLAZYFREED. > > yes, those are

Re: [PATCH v2 39/53] mtd: adjust kernel-docs to avoid Sphinx/kerneldoc warnings

2017-05-16 Thread Boris Brezillon
On Tue, 16 May 2017 09:16:31 -0300 Mauro Carvalho Chehab wrote: > ./drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found > ./include/linux/mtd/nand.h:785: ERROR: Unexpected indentation. > ./drivers/mtd/nand/nand_base.c:449: WARNING: Definition list ends without a > blank line; un

Re: [PATCH v2 38/53] mtdnand.rst: group the "::" with previous line

2017-05-16 Thread Boris Brezillon
On Tue, 16 May 2017 09:16:30 -0300 Mauro Carvalho Chehab wrote: > Group the :: with the previous paragraph, in order to make it > visually better when reading as a text file. > > While here, replace: > ored (with means "Covered or adorned with ore or metal") > by: > OR-ed > > To ref

Re: [PATCH v2 37/53] docs-rst: convert mtdnand book to ReST

2017-05-16 Thread Boris Brezillon
On Tue, 16 May 2017 09:16:29 -0300 Mauro Carvalho Chehab wrote: > Use pandoc to convert documentation to ReST by calling > Documentation/sphinx/tmplcvt script. > > The tables were manually adjusted to fit into 80 columns. > > Signed-off-by: Mauro Carvalho Chehab Acked-by: Boris Brezillon >

Re: [PATCH v2 45/53] ata: update references for libata documentation

2017-05-16 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 16, 2017 09:16:37 AM Mauro Carvalho Chehab wrote: > The libata documentation is now using ReST. Update references > to it to point to the new place. > > Signed-off-by: Mauro Carvalho Chehab For PATA parts: Acked-by: Bartlomiej Zolnierkiewicz Best regards, -- Bartlomiej Zolnier

Re: [PATCH v2 43/53] docs: update old references for DocBook from the documentation

2017-05-16 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 16, 2017 09:16:35 AM Mauro Carvalho Chehab wrote: > DocBook is mentioned several times at the documentation. Update > the obsolete references from it at the DocBook. > > Acked-by: SeongJae Park > Signed-off-by: Mauro Carvalho Chehab For fbdev part: Acked-by: Bartlomiej Zolnierk

Re: [PATCH v2 30/53] net: fix some identation issues at kernel-doc markups

2017-05-16 Thread David Howells
Mauro Carvalho Chehab wrote: > - * calling skb_free_datagram). Returns NULL with *err set to > + * calling skb_free_datagram). Returns NULL with @err set to I think this should be *@err or @*err. err is not itself changed. David -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v2 13/53] docs-rst: add crypto API book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The crypto API book was added without the bits required to generate PDF output. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py| 2 ++ Documentation/crypto/conf.py | 10 ++ 2 files changed, 12 insertions(+) create mode 100644 Documentation/crypto/conf.p

[PATCH v2 40/53] docs-rst: convert sh book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 4 +- Documentation/DocBook/sh.tmpl | 105 - Documentation/conf.py | 2 + Do

[PATCH v2 38/53] mtdnand.rst: group the "::" with previous line

2017-05-16 Thread Mauro Carvalho Chehab
Group the :: with the previous paragraph, in order to make it visually better when reading as a text file. While here, replace: ored (with means "Covered or adorned with ore or metal") by: OR-ed To reflect its true meaning. Signed-off-by: Mauro Carvalho Chehab --- Documentation

[PATCH v2 06/53] locking.rst: add captions to two tables

2017-05-16 Thread Mauro Carvalho Chehab
Those tables have a "caption" at the end, but ReST actually expects it on a different way. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/locking.rst | 66 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/Documentation/kernel

[PATCH v2 26/53] libata: fix identation on a kernel-doc markup

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx got confused with the markup identation: ./drivers/ata/libata-scsi.c:3402: ERROR: Unexpected indentation. No functional changes. Signed-off-by: Mauro Carvalho Chehab --- drivers/ata/libata-scsi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/a

[PATCH v2 35/53] docs-rst: convert rapidio book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 4 +- Documentation/DocBook/rapidio.tmpl | 155 --- Documentation/driver-api/index.rst

[PATCH v2 27/53] docs-rst: convert s390-drivers DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Acked-by: Cornelia Huck Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile| 2 +- Documentation/DocBook/s390-drivers.tmpl | 161 -- Docume

[PATCH v2 22/53] fs: eventfd: fix identation on kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx require explicit tags in order to use a list of possible values, otherwise it produces this error: ./fs/eventfd.c:219: WARNING: Option list ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab --- fs/eventfd.c | 4 ++-- 1 file changed, 2 insertion

[PATCH v2 34/53] docs-rst: convert w1 book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/w1.tmpl | 101 - Documentation/driver-api/index.rst | 1 + Documentation/driver-api/w1.rst| 7

[PATCH v2 33/53] scsi: fix some kernel-doc markups

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx is very pedantic with regards to ident/spacing. Fix some kernel-doc markups in order to solve those errors/warnings: ./drivers/scsi/scsicam.c:121: WARNING: Inline emphasis start-string without end-string. ./drivers/scsi/scsicam.c:121: WARNING: Inline emphasis start-string without end-stri

[PATCH v2 04/53] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Mauro Carvalho Chehab
There are a few issues on some kernel-doc markups that was causing troubles with kernel-doc output on ReST format: ./kernel/futex.c:492: WARNING: Inline emphasis start-string without end-string. ./kernel/futex.c:1264: WARNING: Block quote ends without a blank line; unexpected unindent. ./kernel/f

[PATCH v2 28/53] docs-rst: convert networking book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile| 1 - Documentation/DocBook/networking.tmpl | 111 - Documentation/conf.py | 2 +

[PATCH v2 30/53] net: fix some identation issues at kernel-doc markups

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx is very pedantic with regards to identation and escape sequences: ./include/net/sock.h:1967: ERROR: Unexpected indentation. ./include/net/sock.h:1969: ERROR: Unexpected indentation. ./include/net/sock.h:1970: WARNING: Block quote ends without a blank line; unexpected unindent. ./in

[PATCH v2 29/53] net: skbuff.h: properly escape a macro name on kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
The "%" escape code of kernel-doc only handle letters. It doesn't handle special chars. So, use the ``literal`` notation. That fixes this warning: ./include/linux/skbuff.h:2695: WARNING: Inline literal start-string without end-string. No functional changes. Signed-off-by: Mauro Carvalho Chehab

[PATCH v2 05/53] locking.rst: reformat locking table

2017-05-16 Thread Mauro Carvalho Chehab
Use a different markup for this table, in order to make it smaller when seeing in text mode. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/locking.rst | 37 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/Documentation/kern

[PATCH v2 21/53] fs: add a blank lines on some kernel-doc comments

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx gets confused when it finds identation without a good reason for it and without a preceding blank line: ./fs/mpage.c:347: ERROR: Unexpected indentation. ./fs/namei.c:4303: ERROR: Unexpected indentation. ./fs/fs-writeback.c:2060: ERROR: Unexpected indentation. No fun

[PATCH v2 20/53] docs-rst: don't ignore internal functions for jbd2 docs

2017-05-16 Thread Mauro Carvalho Chehab
Those functions are currently ignored, causing references at the documentation to be lost. Don't ignore it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/filesystems/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/filesystems/index.rst b/Documentation/filesys

[PATCH v2 10/53] conf.py: define a color for important markup on PDF output

2017-05-16 Thread Mauro Carvalho Chehab
As kdbg.rst uses the ".. important::" annotation, let's define a color for PDF output. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/conf.py b/Documentation/conf.py index 0ce8001a50b6..17743

[PATCH v2 16/53] docs-rst: add userspace API book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The userspace API book was added without the bits required to generate PDF output. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/conf.py b/Documentation/conf.py index bca751960dec..2e215477edf5 100644

[PATCH v2 39/53] mtd: adjust kernel-docs to avoid Sphinx/kerneldoc warnings

2017-05-16 Thread Mauro Carvalho Chehab
./drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found ./include/linux/mtd/nand.h:785: ERROR: Unexpected indentation. ./drivers/mtd/nand/nand_base.c:449: WARNING: Definition list ends without a blank line; unexpected unindent. ./drivers/mtd/nand/nand_base.c:1161: ERROR: Unexpected

[PATCH v2 12/53] docs-rst: conf.py: remove kernel-documentation from LaTeX

2017-05-16 Thread Mauro Carvalho Chehab
There's no kernel-documentation.rst file at Documentation/ anymore. So, remove it from the list of LaTeX-generated documents. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/conf.py b/Documentatio

[PATCH v2 11/53] docs-rst: conf.py: sort LaTeX documents in alphabetical order

2017-05-16 Thread Mauro Carvalho Chehab
As we add more documents, it makes more sense to sort the entries there in alphabetical order, as it makes easier to check if something is not there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/D

[PATCH v2 47/53] irq: update genericirq book location

2017-05-16 Thread Mauro Carvalho Chehab
This book got converted from DocBook. Update its references to point to the current location. Signed-off-by: Mauro Carvalho Chehab --- kernel/irq/chip.c| 2 +- kernel/irq/handle.c | 2 +- kernel/irq/irqdesc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/irq/

[PATCH v2 44/53] MAINTAINERS: update old references for DocBook directory

2017-05-16 Thread Mauro Carvalho Chehab
As everything was converted, update the references to point to the new places. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f42daf74f541..8609dba03cbc 100644 --- a/MAINTAINERS +++ b/M

[PATCH v2 46/53] ia64, scsi: update references for the device-io book

2017-05-16 Thread Mauro Carvalho Chehab
The book is now at Documentation/driver-api/device-io.rst. Update such references. Signed-off-by: Mauro Carvalho Chehab --- arch/ia64/include/asm/io.h | 2 +- arch/ia64/sn/kernel/iomv.c | 2 +- drivers/scsi/qla1280.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch

[PATCH v2 48/53] fs: update location of filesystems documentation

2017-05-16 Thread Mauro Carvalho Chehab
The filesystem documentation was moved from DocBook to Documentation/filesystems/. Update it at the sources. Signed-off-by: Mauro Carvalho Chehab --- fs/debugfs/file.c | 2 +- include/linux/debugfs.h | 2 +- lib/Kconfig.debug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

[PATCH v2 02/53] kernel-hacking: update document

2017-05-16 Thread Mauro Carvalho Chehab
This document is fairly updated. Yet, some stuff moved to other kernel headers. So, update to point to the right places. While here, adjust some minor ReST markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/hacking.rst | 179 +-- 1 file ch

[PATCH v2 25/53] libata.rst: add c function and struct cross-references

2017-05-16 Thread Mauro Carvalho Chehab
Instead of just using text for functions and structs, use the C domain tags, in order to allow cross-referencing with the kernel-doc markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/libata.rst | 244 ++-- 1 file changed, 124 insertions(+)

[PATCH v2 43/53] docs: update old references for DocBook from the documentation

2017-05-16 Thread Mauro Carvalho Chehab
DocBook is mentioned several times at the documentation. Update the obsolete references from it at the DocBook. Acked-by: SeongJae Park Signed-off-by: Mauro Carvalho Chehab --- Documentation/PCI/MSI-HOWTO.txt| 2 +- Documentation/admin-guide/README.rst | 6 --- Documentation

[PATCH v2 09/53] kgdb.rst: Adjust ReST markups

2017-05-16 Thread Mauro Carvalho Chehab
The automatic conversion didn't work too well for this file. It added weird html blocks inside it, and did some weird things for literals. Manually fix it, in order to present a nice display at html/pdf outputs. Signed-off-by: Mauro Carvalho Chehab --- Documentation/dev-tools/kgdb.rst | 489

[PATCH v2 41/53] docs-rst: convert lsm from DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
This file is outdated. Still, as it is the only one left at DocBook dir, convert it, and store it, with a .txt extension, under Documentation/lsm.txt. This way, we can get rid of DocBook from the building system, without needing to wait for someone to take care of it. Signed-off-by: Mauro Carvalh

[PATCH v2 01/53] docs-rst: convert kernel-hacking to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. - Manually adjusted to use ..note and ..warning - Minor fixes for it to be parsed without errors - Use **bold** for emphasis. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile

[PATCH v2 32/53] docs-rst: convert scsi DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 1 - Documentation/DocBook/scsi.tmpl| 409 - Documentation/driver-api/index.rst

[PATCH v2 37/53] docs-rst: convert mtdnand book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. The tables were manually adjusted to fit into 80 columns. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile |1 - Documentation/DocBook/mtdnand.tmpl | 1291 -

[PATCH v2 14/53] docs-rst: add dev-tools book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The dev-tools API book was added without the bits required to generate PDF output at the main conf.py. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/conf.py b/Documentation/conf.py index ce62723491d4..

[PATCH v2 31/53] docs-rst: convert z8530book DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Some manual adjustments were required due to some conversion error on some literals. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/z8530b

[PATCH v2 15/53] docs-rst: add sound book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The sound subsystem book was added without the bits required to generate PDF output. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ Documentation/sound/conf.py | 10 ++ 2 files changed, 12 insertions(+) create mode 100644 Documentation/sound/conf

[PATCH v2 36/53] docs-rst: convert librs book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/librs.tmpl | 289 --- Documentation/core-api/index.rst | 1 +

[PATCH v2 49/53] lib: update location of kgdb documentation

2017-05-16 Thread Mauro Carvalho Chehab
The documentation was moved from DocBook directory. Update its location. Signed-off-by: Mauro Carvalho Chehab --- lib/Kconfig.kgdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index 533f912638ed..ab4ff0eea776 100644 --- a/lib/Kconfig.kgd

[PATCH v2 00/53] Get rid of Docbook

2017-05-16 Thread Mauro Carvalho Chehab
This patch series convert the remaining DocBooks to ReST. The first version was originally send as 3 patch series: [PATCH 00/36] Convert DocBook documents to ReST [PATCH 0/5] Convert more books to ReST [PATCH 00/13] Get rid of DocBook The lsm book was added as if it were a text file un

[PATCH v2 42/53] docs: remove DocBook from the building system

2017-05-16 Thread Mauro Carvalho Chehab
Now that we don't have any DocBook anymore, remove it from the building system. Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 4 -- Documentation/DocBook/.gitignore | 17 - Documentation/DocBook/Makefile | 1 - Documentation/DocBook/stylesheet

[PATCH v2 17/53] docs-rst: convert filesystems book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/filesystems.tmpl | 381 - Documentation/conf.py

[PATCH v2 19/53] fs: jbd2: make jbd2_journal_start() kernel-doc parseable

2017-05-16 Thread Mauro Carvalho Chehab
kernel-doc script expects that a function documentation to be just before the function, otherwise it will be ignored. So, move the kernel-doc markup to the right place. Reviewed-by: Jan Kara Signed-off-by: Mauro Carvalho Chehab --- fs/jbd2/transaction.c | 38 +++

[PATCH v2 24/53] docs-rst: convert libata book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile |2 +- Documentation/DocBook/libata.tmpl | 1625 --- Documentation/driver-api/index.rst

[PATCH v2 08/53] docs-rst: convert kgdb DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile| 2 +- Documentation/DocBook/kgdb.tmpl | 918 - Documentation/dev-tools/index.rst | 1

[PATCH v2 18/53] docs-rst: filesystems: use c domain references where needed

2017-05-16 Thread Mauro Carvalho Chehab
Instead of just mention the function names, use cross-references to the kernel-doc tags where pertinent. While not all function documentation is included here, I double-checked that all functions mentioned there still exists. Signed-off-by: Mauro Carvalho Chehab --- Documentation/filesystems/in

[PATCH v2 45/53] ata: update references for libata documentation

2017-05-16 Thread Mauro Carvalho Chehab
The libata documentation is now using ReST. Update references to it to point to the new place. Signed-off-by: Mauro Carvalho Chehab --- drivers/ata/acard-ahci.c| 2 +- drivers/ata/ahci.c | 2 +- drivers/ata/ahci.h | 2 +- drivers/ata/ata_piix.c | 2 +- drivers/ata/liba

[PATCH v2 23/53] fs: jbd2: escape a string with special chars on a kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
kernel-doc will try to interpret a foo() string, except if properly escaped. Reviewed-by: Jan Kara Signed-off-by: Mauro Carvalho Chehab --- fs/jbd2/transaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index fe7f4a373

[PATCH v2 07/53] locking.rst: Update some ReST markups

2017-05-16 Thread Mauro Carvalho Chehab
Correct a few minor issues with ReST notation used on this file (produced by an automatic tool). Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/locking.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/kernel-hacking/loc

Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Mauro Carvalho Chehab
Em Tue, 16 May 2017 13:16:56 +0200 Peter Zijlstra escreveu: > On Mon, May 15, 2017 at 02:22:39PM -0300, Mauro Carvalho Chehab wrote: > > Yet, on the other hand, nobody wants lots of warnings/errors > > produced when building the Kernel or the documentation, as it can ride > > important things th

Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Peter Zijlstra
On Mon, May 15, 2017 at 02:22:39PM -0300, Mauro Carvalho Chehab wrote: > Yet, on the other hand, nobody wants lots of warnings/errors > produced when building the Kernel or the documentation, as it can ride > important things that would require fixes. So would that actually generate a warn/error?

Re: [PATCH 10/13] sound: fix the comments that refers to kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
Em Tue, 16 May 2017 12:50:55 +0200 Takashi Iwai escreveu: > On Tue, 16 May 2017 12:46:53 +0200, > Mauro Carvalho Chehab wrote: > > > > Em Mon, 15 May 2017 11:04:26 +0200 > > Takashi Iwai escreveu: > > > > > On Sun, 14 May 2017 17:38:44 +0200, > > > Mauro Carvalho Chehab wrote: > > > > > >

Re: [PATCH 10/13] sound: fix the comments that refers to kernel-doc

2017-05-16 Thread Takashi Iwai
On Tue, 16 May 2017 12:46:53 +0200, Mauro Carvalho Chehab wrote: > > Em Mon, 15 May 2017 11:04:26 +0200 > Takashi Iwai escreveu: > > > On Sun, 14 May 2017 17:38:44 +0200, > > Mauro Carvalho Chehab wrote: > > > > > > The markup inside the #if 0 comment actually refers to a > > > kernel-doc marku

Re: [PATCH 10/13] sound: fix the comments that refers to kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
Em Mon, 15 May 2017 11:04:26 +0200 Takashi Iwai escreveu: > On Sun, 14 May 2017 17:38:44 +0200, > Mauro Carvalho Chehab wrote: > > > > The markup inside the #if 0 comment actually refers to a > > kernel-doc markup. As we're getting rid of DocBook update it. > > > > Signed-off-by: Mauro Carvalho

Re: [PATCH 0/5] Convert more books to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Em Mon, 15 May 2017 14:09:12 +0200 Boris Brezillon escreveu: > On Sat, 13 May 2017 08:10:53 -0300 > Mauro Carvalho Chehab wrote: > > > This patch series convert the following books to ReST: > > - librs > > - mtdnand > > - sh > > > > And it is based on my previous series of conversi

Re: [PATCH 04/36] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Mauro Carvalho Chehab
Em Mon, 15 May 2017 09:40:44 -0700 Darren Hart escreveu: > On Mon, May 15, 2017 at 01:49:19PM +0200, Peter Zijlstra wrote: > > On Mon, May 15, 2017 at 01:29:58PM +0300, Jani Nikula wrote: > > > On Mon, 15 May 2017, Peter Zijlstra wrote: > > > > The intention is to aid readability. Making com

Re: [PATCH] mm: per-cgroup memory reclaim stats

2017-05-16 Thread Michal Hocko
On Thu 11-05-17 20:16:23, Roman Gushchin wrote: > Track the following reclaim counters for every memory cgroup: > PGREFILL, PGSCAN, PGSTEAL, PGACTIVATE, PGDEACTIVATE, PGLAZYFREE and > PGLAZYFREED. yes, those are definitely useful. I have an old patch to add them as well but never managed to clean

Re: [PATCH 28/36] docs-rst: convert s390-drivers DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Em Mon, 15 May 2017 10:09:40 +0200 Cornelia Huck escreveu: > On Fri, 12 May 2017 11:00:11 -0300 > Mauro Carvalho Chehab wrote: > > > Use pandoc to convert documentation to ReST by calling > > Documentation/sphinx/tmplcvt script. > > > > Signed-off-by: Mauro Carvalho Chehab > > --- > > Docume

Re: [PATCH] mm, docs: update memory.stat description with workingset* entries

2017-05-16 Thread Michal Hocko
On Thu 11-05-17 20:18:13, Roman Gushchin wrote: > Commit 4b4cea91691d ("mm: vmscan: fix IO/refault regression in > cache workingset transition") introduced three new entries in memory > stat file: > - workingset_refault, > - workingset_activate, > - workingset_nodereclaim. > > This

Re: [PATCH v5 18/32] x86, mpparse: Use memremap to map the mpf and mpc data

2017-05-16 Thread Borislav Petkov
On Tue, Apr 18, 2017 at 04:19:30PM -0500, Tom Lendacky wrote: > The SMP MP-table is built by UEFI and placed in memory in a decrypted > state. These tables are accessed using a mix of early_memremap(), > early_memunmap(), phys_to_virt() and virt_to_phys(). Change all accesses > to use early_memrema

Re: [PATCH v4 2/3] hwmon: (adt7475) temperature smoothing

2017-05-16 Thread kbuild test robot
Hi Chris, [auto build test ERROR on hwmon/hwmon-next] [also build test ERROR on v4.12-rc1 next-20170516] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Chris-Packham/hwmon-adt7475-fan-stall

Re: [PATCH 0/5] Convert more books to ReST

2017-05-16 Thread Boris Brezillon
Hi Jonathan, On Mon, 15 May 2017 11:15:19 -0600 Jonathan Corbet wrote: > On Mon, 15 May 2017 14:09:12 +0200 > Boris Brezillon wrote: > > > > mtd: adjust kernel-docs to avoid Sphinx/kerneldoc warnings > > > > Not sure how you plan to merge these changes, but if it goes through > > a sing