[PATCH] Documentation: updates for new syscall stub naming convention

2018-04-19 Thread Dominik Brodowski
For v4.17-rc1, the naming of syscall stubs changed. Update stack traces and similar instances in the documentation to avoid sources for confusion. Signed-off-by: Dominik Brodowski diff --git a/Documentation/admin-guide/bug-hunting.rst b/Documentation/admin-guide/bug-hunting.rst index f278b289e2

Re: [PATCH 2/7] i2c: i2c-mux-gpio: move header to platform_data

2018-04-19 Thread Peter Korsgaard
> "WS" == Wolfram Sang writes: WS> This header only contains platform_data. Move it to the proper directory. WS> Signed-off-by: Wolfram Sang Thanks, Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard This message is subject to the following terms and conditions: MAIL DISCLAIMER

[PATCH v5 1/2] perf: riscv: preliminary RISC-V support

2018-04-19 Thread Alan Kao
This patch provide a basic PMU, riscv_base_pmu, which supports two general hardware event, instructions and cycles. Furthermore, this PMU serves as a reference implementation to ease the portings in the future. riscv_base_pmu should be able to run on any RISC-V machine that conforms to the Priv-S

[PATCH v5 2/2] perf: riscv: Add Document for Future Porting Guide

2018-04-19 Thread Alan Kao
Reviewed-by: Alex Solomatnikov Cc: Nick Hu Cc: Greentime Hu Signed-off-by: Alan Kao --- Documentation/riscv/pmu.txt | 249 1 file changed, 249 insertions(+) create mode 100644 Documentation/riscv/pmu.txt diff --git a/Documentation/riscv/pmu.txt b/Document

[PATCH v5 0/2] perf: riscv: Preliminary Perf Event Support on RISC-V

2018-04-19 Thread Alan Kao
This implements the baseline PMU for RISC-V platforms. To ease future PMU portings, a guide is also written, containing perf concepts, arch porting practices and some hints. Changes in v5: - Fix patch errors from checkpatch.pl. Changes in v4: - Fix several compilation errors. Sorry for that.

Re: [PATCH v4 1/2] perf: riscv: preliminary RISC-V support

2018-04-19 Thread Alan Kao
On Thu, Apr 19, 2018 at 12:46:24PM -0700, Atish Patra wrote: > On 4/17/18 7:13 PM, Alan Kao wrote: > >This patch provide a basic PMU, riscv_base_pmu, which supports two > >general hardware event, instructions and cycles. Furthermore, this > >PMU serves as a reference implementation to ease the por

[PATCH] Documentation/i2c: direct users to i2c-tools regarding i2c/smbus.h

2018-04-19 Thread Sam Hansen
The current examples reference i2c/smbus.h, which is the first reference in Documentation/i2c/dev-interface to anything related to the i2c-tools project. This moves the existing reference to i2c-tools up into the C-example, directing the user to the project's git repository. Signed-off-by: Sam Ha

[PATCH 2/7] i2c: i2c-mux-gpio: move header to platform_data

2018-04-19 Thread Wolfram Sang
This header only contains platform_data. Move it to the proper directory. Signed-off-by: Wolfram Sang --- Documentation/i2c/muxes/i2c-mux-gpio | 4 ++-- MAINTAINERS | 2 +- drivers/i2c/busses/i2c-i801.c| 2 +- drivers/i2c/muxes

[PATCH 3/7] i2c: i2c-ocores: move header to platform_data

2018-04-19 Thread Wolfram Sang
This header only contains platform_data. Move it to the proper directory. Signed-off-by: Wolfram Sang --- Documentation/i2c/busses/i2c-ocores| 2 +- drivers/i2c/busses/i2c-ocores.c| 2 +- drivers/mfd/timberdale.c | 2 +- include/linux/{ => platfo

[PATCH 0/7] i2c: clean up include/linux/i2c-*

2018-04-19 Thread Wolfram Sang
Move all plain platform_data includes to the platform_data-dir (except for i2c-pnx which can be moved into the driver itself). My preference is to take these patches via the i2c tree. I can provide an immutable branch if needed. But we can also discuss those going in via arch-trees if dependencies

Re: [PATCH v3 07/10] Documentation: dt-bindings: Add documents for PECI hwmon client drivers

2018-04-19 Thread Jae Hyun Yoo
On 4/18/2018 2:57 PM, Jae Hyun Yoo wrote: On 4/18/2018 2:28 PM, Rob Herring wrote: On Wed, Apr 18, 2018 at 3:28 PM, Jae Hyun Yoo wrote: On 4/18/2018 7:32 AM, Rob Herring wrote: On Tue, Apr 17, 2018 at 3:40 PM, Jae Hyun Yoo wrote: On 4/16/2018 4:51 PM, Jae Hyun Yoo wrote: On 4/16/2018 4

Re: [PATCH v4 1/2] perf: riscv: preliminary RISC-V support

2018-04-19 Thread Atish Patra
On 4/17/18 7:13 PM, Alan Kao wrote: This patch provide a basic PMU, riscv_base_pmu, which supports two general hardware event, instructions and cycles. Furthermore, this PMU serves as a reference implementation to ease the portings in the future. riscv_base_pmu should be able to run on any RISC

[PATCH v2] proc/stat: Separate out individual irq counts into /proc/stat_irqs

2018-04-19 Thread Waiman Long
It was found that reading /proc/stat could be time consuming on systems with a lot of irqs. For example, reading /proc/stat in a certain 2-socket Skylake server took about 4.6ms because it had over 5k irqs. In that particular case, the majority of the CPU cycles for reading /proc/stat was spent in

Re: [PATCH v3 03/10] drivers/peci: Add support for PECI bus driver core

2018-04-19 Thread kbuild test robot
Hi Jae, Thank you for the patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17-rc1 next-20180419] [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

Re: [PATCH 1/2] atomic_ops.rst: Fix wrong example code

2018-04-19 Thread Paul E. McKenney
On Thu, Apr 19, 2018 at 05:42:44PM +0900, SeongJae Park wrote: > Example code snippets for necessary of READ_ONCE() and WRITE_ONCE() has > an unnecessary line of code and wrong condition. This commit fixes > them. > > Signed-off-by: SeongJae Park Good catch!!! I queued and pushed both patches

[PATCH v7 0/5] cpuset: Enable cpuset controller in default hierarchy

2018-04-19 Thread Waiman Long
v7: - Add a root-only cpuset.cpus.isolated control file for CPU isolation. - Enforce that load_balancing can only be turned off on cpusets with CPUs from the isolated list. - Update sched domain generation to allow cpusets with CPUs only from the isolated CPU list to be in separate root do

[PATCH v7 5/5] cpuset: Make generate_sched_domains() recognize isolated_cpus

2018-04-19 Thread Waiman Long
The generate_sched_domains() function and the hotplug code are modified to make them use the newly introduced isolated_cpus mask for schedule domains generation. Signed-off-by: Waiman Long --- kernel/cgroup/cpuset.c | 35 +-- 1 file changed, 33 insertions(+), 2 de

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

2018-04-19 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 v7 1/5] cpuset: Enable cpuset controller in default hierarchy

2018-04-19 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 co

[PATCH v7 3/5] cpuset: Add a root-only cpus.isolated v2 control file

2018-04-19 Thread Waiman Long
In order to better support CPU isolation as well as multiple root domains for deadline scheduling, the ability to carve out a set of CPUs specifically for isolation or for another root domain will be useful. A new root-only "cpuset.cpus.isolated" control file is now added for holding the list of C

[PATCH v7 4/5] cpuset: Restrict load balancing off cpus to subset of cpus.isolated

2018-04-19 Thread Waiman Long
With the addition of "cpuset.cpus.isolated", it makes sense to add the restriction that load balancing can only be turned off if the CPUs in the isolated cpuset are subset of "cpuset.cpus.isolated". Signed-off-by: Waiman Long --- Documentation/cgroup-v2.txt | 7 --- kernel/cgroup/cpuset.c

Re: [PATCH bpf-next v3 8/8] bpf: add documentation for eBPF helpers (58-64)

2018-04-19 Thread Jesper Dangaard Brouer
On Thu, 19 Apr 2018 13:44:41 +0100 Quentin Monnet wrote: > 2018-04-18 17:43 UTC+0200 ~ Jesper Dangaard Brouer > > On Wed, 18 Apr 2018 15:09:41 +0100 > > Quentin Monnet wrote: > > > >> 2018-04-18 15:34 UTC+0200 ~ Jesper Dangaard Brouer > >>> On Tue, 17 Apr 2018 15:34:38 +0100 > >>> Quentin

Re: [PATCH bpf-next v3 5/8] bpf: add documentation for eBPF helpers (33-41)

2018-04-19 Thread Daniel Borkmann
On 04/17/2018 04:34 PM, Quentin Monnet wrote: > Add documentation for eBPF helper functions to bpf.h user header file. > This documentation can be parsed with the Python script provided in > another commit of the patch series, in order to provide a RST document > that can later be converted into a

Re: [PATCH bpf-next v3 6/8] bpf: add documentation for eBPF helpers (42-50)

2018-04-19 Thread Daniel Borkmann
On 04/17/2018 04:34 PM, Quentin Monnet wrote: > Add documentation for eBPF helper functions to bpf.h user header file. > This documentation can be parsed with the Python script provided in > another commit of the patch series, in order to provide a RST document > that can later be converted into a

Re: [PATCH bpf-next v3 7/8] bpf: add documentation for eBPF helpers (51-57)

2018-04-19 Thread Daniel Borkmann
On 04/17/2018 04:34 PM, Quentin Monnet wrote: > Add documentation for eBPF helper functions to bpf.h user header file. > This documentation can be parsed with the Python script provided in > another commit of the patch series, in order to provide a RST document > that can later be converted into a

Re: [PATCH bpf-next v3 8/8] bpf: add documentation for eBPF helpers (58-64)

2018-04-19 Thread Quentin Monnet
2018-04-18 17:43 UTC+0200 ~ Jesper Dangaard Brouer > On Wed, 18 Apr 2018 15:09:41 +0100 > Quentin Monnet wrote: > >> 2018-04-18 15:34 UTC+0200 ~ Jesper Dangaard Brouer >>> On Tue, 17 Apr 2018 15:34:38 +0100 >>> Quentin Monnet wrote: >>> diff --git a/include/uapi/linux/bpf.h b/include/u

Re: [PATCH bpf-next v3 4/8] bpf: add documentation for eBPF helpers (23-32)

2018-04-19 Thread Daniel Borkmann
On 04/17/2018 04:34 PM, Quentin Monnet wrote: > Add documentation for eBPF helper functions to bpf.h user header file. > This documentation can be parsed with the Python script provided in > another commit of the patch series, in order to provide a RST document > that can later be converted into a

Re: [PATCH bpf-next v3 3/8] bpf: add documentation for eBPF helpers (12-22)

2018-04-19 Thread Daniel Borkmann
On 04/17/2018 04:34 PM, Quentin Monnet wrote: > Add documentation for eBPF helper functions to bpf.h user header file. > This documentation can be parsed with the Python script provided in > another commit of the patch series, in order to provide a RST document > that can later be converted into a

[PATCH v2] doc: dev-tools: kselftest.rst: update contributing new tests

2018-04-19 Thread Anders Roxell
Add a description that the kernel headers should be used as far as it is possible and then the system headers. Signed-off-by: Anders Roxell --- Documentation/dev-tools/kselftest.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/de

Re: [PATCH bpf-next v3 2/8] bpf: add documentation for eBPF helpers (01-11)

2018-04-19 Thread Daniel Borkmann
On 04/17/2018 04:34 PM, Quentin Monnet wrote: > Add documentation for eBPF helper functions to bpf.h user header file. > This documentation can be parsed with the Python script provided in > another commit of the patch series, in order to provide a RST document > that can later be converted into a

[PATCH 1/2] atomic_ops.rst: Fix wrong example code

2018-04-19 Thread SeongJae Park
Example code snippets for necessary of READ_ONCE() and WRITE_ONCE() has an unnecessary line of code and wrong condition. This commit fixes them. Signed-off-by: SeongJae Park --- Documentation/core-api/atomic_ops.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documenta

[PATCH 2/2] atomic_ops.rst: Use `warning` rst directive

2018-04-19 Thread SeongJae Park
One warning message in 'atomic_ops.rst' is not using 'warning' rst directive while others does. This commit modifies the message to use 'warning' rst directive. Signed-off-by: SeongJae Park --- Documentation/core-api/atomic_ops.rst | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-