[PATCH] Documentation: Mention why %p prints ptrval

2018-03-21 Thread Joel Stanley
When debugging recent kernels, people will see '(ptrval)' but there isn't much information as to what that means. Briefly describe why it's there. Signed-off-by: Joel Stanley --- Documentation/core-api/printk-formats.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH] Input: alps - Update documentation for trackstick v3 format

2018-03-21 Thread Pali Rohár
Bits for M, R and L buttons are already processed in alps. Other newly documented bits not yet. Signed-off-by: Pali Rohár --- This is based on information which Masaki Ota provided to us. --- Documentation/input/devices/alps.rst | 7 +-- 1 file changed, 5

[PATCH 02/32] docs/vm: balance: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/balance | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Documentation/vm/balance b/Documentation/vm/balance index 9645954..6a1fadf 100644 --- a/Documentation/vm/balance +++

[PATCH 01/32] docs/vm: active_mm.txt convert to ReST format

2018-03-21 Thread Mike Rapoport
Just add a label for cross-referencing and indent the text to make it ``literal`` Signed-off-by: Mike Rapoport --- Documentation/vm/active_mm.txt | 174 + 1 file changed, 91 insertions(+), 83 deletions(-) diff --git

[PATCH 00/32] docs/vm: convert to ReST format

2018-03-21 Thread Mike Rapoport
Hi, These patches convert files in Documentation/vm to ReST format, add an initial index and link it to the top level documentation. There are no contents changes in the documentation, except few spelling fixes. The relatively large diffstat stems from the indentation and paragraph wrapping

[PATCH 04/32] docs/vm: frontswap.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/frontswap.txt | 59 ++ 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/Documentation/vm/frontswap.txt b/Documentation/vm/frontswap.txt index c71a019..1979f43 100644

[PATCH 03/32] docs/vm: cleancache.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/cleancache.txt | 105 1 file changed, 62 insertions(+), 43 deletions(-) diff --git a/Documentation/vm/cleancache.txt b/Documentation/vm/cleancache.txt index e4b49df..68cba91

[PATCH 07/32] docs/vm: hugetlbpage.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/hugetlbpage.txt | 243 ++- 1 file changed, 139 insertions(+), 104 deletions(-) diff --git a/Documentation/vm/hugetlbpage.txt b/Documentation/vm/hugetlbpage.txt index faf077d..3bb0d99

[PATCH 08/32] docs/vm: hugetlbfs_reserv.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/hugetlbfs_reserv.txt | 212 ++ 1 file changed, 135 insertions(+), 77 deletions(-) diff --git a/Documentation/vm/hugetlbfs_reserv.txt b/Documentation/vm/hugetlbfs_reserv.txt index

[PATCH 09/32] docs/vm: hwpoison.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/hwpoison.txt | 141 +- 1 file changed, 70 insertions(+), 71 deletions(-) diff --git a/Documentation/vm/hwpoison.txt b/Documentation/vm/hwpoison.txt index e912d7e..b1a8c24 100644

[PATCH 12/32] docs/vm: mmu_notifier.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/mmu_notifier.txt | 108 -- 1 file changed, 57 insertions(+), 51 deletions(-) diff --git a/Documentation/vm/mmu_notifier.txt b/Documentation/vm/mmu_notifier.txt index 23b4625..47baa1c

[PATCH 10/32] docs/vm: idle_page_tracking.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/idle_page_tracking.txt | 55 + 1 file changed, 36 insertions(+), 19 deletions(-) diff --git a/Documentation/vm/idle_page_tracking.txt b/Documentation/vm/idle_page_tracking.txt index

[PATCH 13/32] docs/vm: numa_memory_policy.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/numa_memory_policy.txt | 533 +--- 1 file changed, 283 insertions(+), 250 deletions(-) diff --git a/Documentation/vm/numa_memory_policy.txt b/Documentation/vm/numa_memory_policy.txt index

[PATCH 17/32] docs/vm: pagemap.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/pagemap.txt | 164 +++ 1 file changed, 89 insertions(+), 75 deletions(-) diff --git a/Documentation/vm/pagemap.txt b/Documentation/vm/pagemap.txt index eafcefa..bd6d717 100644 ---

[PATCH 16/32] docs/vm: numa: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/numa | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/vm/numa b/Documentation/vm/numa index a31b85b..c81e7c5 100644 --- a/Documentation/vm/numa +++ b/Documentation/vm/numa @@ -1,6 +1,10 @@ +.. _numa:

[PATCH 15/32] docs/vm: page_frags convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/page_frags | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/vm/page_frags b/Documentation/vm/page_frags index a671456..637cc49 100644 --- a/Documentation/vm/page_frags +++

[PATCH 18/32] docs/vm: page_migration: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/page_migration | 149 +--- 1 file changed, 77 insertions(+), 72 deletions(-) diff --git a/Documentation/vm/page_migration b/Documentation/vm/page_migration index 0478ae2..07b67a8

[PATCH 21/32] docs/vm: slub.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/slub.txt | 357 -- 1 file changed, 188 insertions(+), 169 deletions(-) diff --git a/Documentation/vm/slub.txt b/Documentation/vm/slub.txt index 8465241..3a775fd 100644 ---

[PATCH 20/32] docs/vm: remap_file_pages.txt: conert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/remap_file_pages.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git a/Documentation/vm/remap_file_pages.txt b/Documentation/vm/remap_file_pages.txt index f609142..7bef671 100644 ---

[PATCH 23/32] docs/vm: split_page_table_lock: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/split_page_table_lock | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/vm/split_page_table_lock b/Documentation/vm/split_page_table_lock index 62842a8..889b00b 100644 ---

[PATCH 22/32] docs/vm: soft-dirty.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/soft-dirty.txt | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/Documentation/vm/soft-dirty.txt b/Documentation/vm/soft-dirty.txt index 55684d1..cb0cfd6 100644 ---

[PATCH 25/32] docs/vm: transhuge.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/transhuge.txt | 286 - 1 file changed, 166 insertions(+), 120 deletions(-) diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index 4dde03b..569d182

[PATCH 24/32] docs/vm: swap_numa.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/swap_numa.txt | 55 +- 1 file changed, 33 insertions(+), 22 deletions(-) diff --git a/Documentation/vm/swap_numa.txt b/Documentation/vm/swap_numa.txt index d5960c9..e0466f2 100644

[PATCH 30/32] docs/vm: zswap.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/zswap.txt | 71 +++--- 1 file changed, 42 insertions(+), 29 deletions(-) diff --git a/Documentation/vm/zswap.txt b/Documentation/vm/zswap.txt index 0b3a114..1444ecd 100644 ---

[PATCH 27/32] docs/vm: userfaultfd.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/userfaultfd.txt | 66 1 file changed, 39 insertions(+), 27 deletions(-) diff --git a/Documentation/vm/userfaultfd.txt b/Documentation/vm/userfaultfd.txt index bb2f945..5048cf6

[PATCH 28/32] docs/vm: z3fold.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/z3fold.txt | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/vm/z3fold.txt b/Documentation/vm/z3fold.txt index 38e4dac..224e3c6 100644 --- a/Documentation/vm/z3fold.txt +++

[PATCH 26/32] docs/vm: unevictable-lru.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/unevictable-lru.txt | 117 +++ 1 file changed, 49 insertions(+), 68 deletions(-) diff --git a/Documentation/vm/unevictable-lru.txt b/Documentation/vm/unevictable-lru.txt index

[PATCH 29/32] docs/vm: zsmalloc.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/zsmalloc.txt | 60 ++- 1 file changed, 36 insertions(+), 24 deletions(-) diff --git a/Documentation/vm/zsmalloc.txt b/Documentation/vm/zsmalloc.txt index 64ed63c..6e79893 100644

[PATCH 31/32] docs/vm: rename documentation files to .rst

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/ABI/stable/sysfs-devices-node| 2 +- .../ABI/testing/sysfs-kernel-mm-hugepages | 2 +- Documentation/ABI/testing/sysfs-kernel-mm-ksm | 2 +- Documentation/ABI/testing/sysfs-kernel-slab| 4 +-

[PATCH 32/32] docs/vm: add index.rst and link MM documentation to top level index

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/index.rst| 3 ++- Documentation/vm/conf.py | 10 + Documentation/vm/index.rst | 56 ++ 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644

[PATCH 19/32] docs/vm: page_owner: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/page_owner.txt | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/Documentation/vm/page_owner.txt b/Documentation/vm/page_owner.txt index 143..0ed5ab8 100644 ---

[PATCH 14/32] docs/vm: overcommit-accounting: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/overcommit-accounting | 107 ++--- 1 file changed, 57 insertions(+), 50 deletions(-) diff --git a/Documentation/vm/overcommit-accounting b/Documentation/vm/overcommit-accounting index

[PATCH 11/32] docs/vm: ksm.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/ksm.txt | 215 --- 1 file changed, 110 insertions(+), 105 deletions(-) diff --git a/Documentation/vm/ksm.txt b/Documentation/vm/ksm.txt index 6686bd2..87e7eef 100644 ---

[PATCH 05/32] docs/vm: highmem.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/highmem.txt | 87 ++-- 1 file changed, 36 insertions(+), 51 deletions(-) diff --git a/Documentation/vm/highmem.txt b/Documentation/vm/highmem.txt index 4324d24..0f69a9f 100644 ---

[PATCH 06/32] docs/vm: hmm.txt: convert to ReST format

2018-03-21 Thread Mike Rapoport
Signed-off-by: Mike Rapoport --- Documentation/vm/hmm.txt | 66 1 file changed, 28 insertions(+), 38 deletions(-) diff --git a/Documentation/vm/hmm.txt b/Documentation/vm/hmm.txt index 4d3aac9..3fafa33 100644 ---

Re: [PATCH v4 4/6] tty: serial: msm_geni_serial: Add serial driver support for GENI based QUP

2018-03-21 Thread Stephen Boyd
Quoting Karthik Ramasubramanian (2018-03-20 15:53:25) > > > On 3/20/2018 9:37 AM, Stephen Boyd wrote: > > Quoting Karthikeyan Ramasubramanian (2018-03-14 16:58:49) > >> diff --git a/drivers/tty/serial/qcom_geni_serial.c > >> b/drivers/tty/serial/qcom_geni_serial.c > >> new file mode 100644 > >>

Re: [PATCH] xfs: Change URL for the project in xfs.txt

2018-03-21 Thread Darrick J. Wong
On Sat, Mar 03, 2018 at 09:43:10AM +1100, Dave Chinner wrote: > On Fri, Mar 02, 2018 at 04:08:24PM -0600, Eric Sandeen wrote: > > > > > > On 3/2/18 3:57 PM, Dave Chinner wrote: > > > On Fri, Mar 02, 2018 at 09:24:01AM -0800, Darrick J. Wong wrote: > > >> On Fri, Mar 02, 2018 at 10:30:13PM +0900,

[PATCH v6 0/2] cpuset: Enable cpuset controller in default hierarchy

2018-03-21 Thread Waiman Long
v6: - Hide cpuset control knobs in root cgroup. - Rename effective_cpus and effective_mems to cpus.effective and mems.effective respectively. - Remove cpuset.flags and add cpuset.sched_load_balance instead as the behavior of sched_load_balance has changed and so is not a simple flag.

[PATCH v6 2/2] cpuset: Add cpuset.sched_load_balance to v2

2018-03-21 Thread Waiman Long
The sched_load_balance flag is needed to enable CPU isolation similar to what can be done with the "isolcpus" kernel boot parameter. The sched_load_balance flag implies an implicit !cpu_exclusive as it doesn't make sense to have an isolated CPU being load-balanced in another cpuset. For v2, this

[PATCH v6 1/2] cpuset: Enable cpuset controller in default hierarchy

2018-03-21 Thread Waiman Long
Given the fact that thread mode had been merged into 4.14, it is now time to enable cpuset to be used in the default hierarchy (cgroup v2) as it is clearly threaded. The cpuset controller had experienced feature creep since its introduction more than a decade ago. Besides the core cpus and mems

Re: [PATCH v4 6/6] arm64: dts: sdm845: Add I2C controller support

2018-03-21 Thread Sagar Dharia
Hi Doug On 3/20/2018 9:47 PM, Doug Anderson wrote: > Hi, > > On Tue, Mar 20, 2018 at 3:16 PM, Sagar Dharia wrote: >> + pinconf { >> + pins = "gpio55", "gpio56"; >> +

Re: [PATCH] Input: trackpoint: document sysfs interface

2018-03-21 Thread Jonathan Corbet
On Fri, 2 Mar 2018 23:00:19 +0530 Aishwarya Pant wrote: > Descriptions have been collected from git commit logs, code commits and > the TrackPoint System Version 4.0 Engineering Specification. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the

Re: [PATCH] xfs: Change URL for the project in xfs.txt

2018-03-21 Thread Jonathan Corbet
On Fri, 2 Mar 2018 22:30:13 +0900 Masanari Iida wrote: > The oss.sgi.com doesn't exist any more. > Change it to current project URL, https://xfs.wiki.kernel.org/ Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] HID: ntrig: document sysfs interface

2018-03-21 Thread Jonathan Corbet
On Wed, 21 Mar 2018 09:28:05 -0600 Jonathan Corbet wrote: > > Add sysfs documentation for N-Trig touchscreens under Documentation/ABI. > > Descriptions have been collected from code comments. > > Applied to the docs tree, thanks. Oops, I thought I'd checked to see whether

Re: [PATCH] HID: logitech-hidpp: document sysfs interface

2018-03-21 Thread Jonathan Corbet
On Fri, 2 Mar 2018 18:46:53 +0530 Aishwarya Pant wrote: > Descriptions have been collected from git commit logs. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to

Re: [PATCH] HID: ntrig: document sysfs interface

2018-03-21 Thread Jonathan Corbet
On Fri, 2 Mar 2018 11:00:17 +0530 Aishwarya Pant wrote: > Add sysfs documentation for N-Trig touchscreens under Documentation/ABI. > Descriptions have been collected from code comments. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line

Re: [PATCH] char/bsr: add sysfs interface documentation

2018-03-21 Thread Jonathan Corbet
On Thu, 1 Mar 2018 23:55:59 +0530 Aishwarya Pant wrote: > Descriptions have collected from code comments and by reading through > code. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to

Re: [trivial PATCH] Documentation/sparse: fix typo

2018-03-21 Thread Jonathan Corbet
On Tue, 13 Mar 2018 11:10:58 + Eric Engestrom wrote: > If the function enters and exits without the lock held, acquiring and > releasing the lock inside the function in a balanced way, no > -annotation is needed. The tree annotations above are for cases where >

Re: [PATCH v2] Documentation/CodingStyle: Add an example for braces

2018-03-21 Thread Jonathan Corbet
On Thu, 15 Mar 2018 15:04:02 -0500 Gary R Hook wrote: > +Do use braces when a body is more complex than a single simple statement: > + > +.. code-block:: c > + > + if (condition) { > + if (another_condition) > + do_something(); > + }

Re: [PATCH] docs/vm: update 00-INDEX

2018-03-21 Thread Jonathan Corbet
On Wed, 21 Mar 2018 17:05:23 +0200 Mike Rapoport wrote: > Several files were added to Documentation/vm without updates to 00-INDEX. > Fill in the missing documents Applied, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body

Re: [PATCH] kernel-doc: Remove __sched markings

2018-03-21 Thread Jonathan Corbet
On Thu, 15 Mar 2018 05:06:23 -0700 Matthew Wilcox wrote: > I find the __sched annotations unaesthetic in the kernel-doc. Remove > them like we remove __inline, __weak, __init and so on. Makes sense, applied, thanks. jon -- To unsubscribe from this list: send the line

[PATCH] docs/vm: update 00-INDEX

2018-03-21 Thread Mike Rapoport
Several files were added to Documentation/vm without updates to 00-INDEX. Fill in the missing documents Signed-off-by: Mike Rapoport --- Documentation/vm/00-INDEX | 18 ++ 1 file changed, 18 insertions(+) diff --git a/Documentation/vm/00-INDEX

Re: [PATCH] README: Improve documentation descriptions

2018-03-21 Thread Jonathan Corbet
On Fri, 16 Mar 2018 16:57:07 +0100 Martin Kepplinger wrote: > "This file" indeed was moved once, but at some point "this file", the > top-level README, becomes a file in itself. Now that time has come :) > > Let's describe how things are, and suggest reading "this file"

Re: [PATCH 1/5] x86/smpboot: Add the missing description of possible_cpus

2018-03-21 Thread Dou Liyang
At 03/21/2018 05:34 PM, Dou Liyang wrote: Hi Peter, At 03/21/2018 05:08 PM, Peter Zijlstra wrote: On Wed, Mar 21, 2018 at 01:33:24PM +0800, Dou Liyang wrote: How about: possible_cpus=    [s390,x86_64] Set the number of possible CPUs which     are determined by the ACPI tables MADT or

Re: [PATCH 1/5] x86/smpboot: Add the missing description of possible_cpus

2018-03-21 Thread Thomas Gleixner
On Wed, 21 Mar 2018, Peter Zijlstra wrote: > On Wed, Mar 21, 2018 at 01:33:24PM +0800, Dou Liyang wrote: > > How about: > > > > possible_cpus= [s390,x86_64] Set the number of possible CPUs which > > are determined by the ACPI tables MADT or mptables by > > default.

Re: [PATCH 1/5] x86/smpboot: Add the missing description of possible_cpus

2018-03-21 Thread Dou Liyang
Hi Peter, At 03/21/2018 05:08 PM, Peter Zijlstra wrote: On Wed, Mar 21, 2018 at 01:33:24PM +0800, Dou Liyang wrote: How about: possible_cpus= [s390,x86_64] Set the number of possible CPUs which are determined by the ACPI tables MADT or mptables by default.

Re: [PATCH 1/5] x86/smpboot: Add the missing description of possible_cpus

2018-03-21 Thread Peter Zijlstra
On Wed, Mar 21, 2018 at 01:33:24PM +0800, Dou Liyang wrote: > How about: > > possible_cpus=[s390,x86_64] Set the number of possible CPUs which > are determined by the ACPI tables MADT or mptables by > default. possible_cpus=n : n >= 1 enforces the possible >

Re: [PATCH v4 5/6] arm64: dts: sdm845: Add serial console support

2018-03-21 Thread Rajendra Nayak
On 3/21/2018 1:09 AM, Stephen Boyd wrote: Quoting Karthikeyan Ramasubramanian (2018-03-14 16:58:50) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index 979ab49..ea3efc5 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++

Re: [PATCH V2 7/9] hwmon: pwm-fan: add sysfs node to read rpm of fan

2018-03-21 Thread Guenter Roeck
On 03/20/2018 09:40 PM, Rajkumar Rampelli wrote: Add fan device attribute fan1_input in pwm-fan driver to read speed of fan in rotations per minute. Signed-off-by: Rajkumar Rampelli --- V2: Removed generic-pwm-tachometer driver and using pwm-fan driver as per suggestions