Re: [PATCH 7/9] docs: Remove unknown 'hint' directive

2019-03-08 Thread Markus Heiser
Am 08.03.19 um 04:51 schrieb Randy Dunlap: On 3/7/19 1:11 PM, Tobin C. Harding wrote: Current RST file contains an unknown directive causing Sphinx to emit ERROR: Unexpected indentation. Use normal language construct instead. Signed-off-by: Tobin C. Harding This is a good idea.

Re: [PATCH 0/9] docs: Fix various build warnings/errors

2019-03-08 Thread Markus Heiser
Am 07.03.19 um 22:11 schrieb Tobin C. Harding: Hi, I had a few hours to spare so I thought I'd clear some Sphinx build warnings/errors. There isn't anything too controversial here. The only interesting thing I hit was in patch 7 (docs: Remove unknown 'hint' directive), I couldn't work out if

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Geert Uytterhoeven
Hi Joel, On Thu, Mar 7, 2019 at 4:03 PM Joel Fernandes wrote: > On Thu, Mar 07, 2019 at 09:58:24AM +0100, Geert Uytterhoeven wrote: > > On Fri, Mar 1, 2019 at 5:10 PM Joel Fernandes (Google) > > wrote: > > > Introduce in-kernel headers and other artifacts which are made available > > > as an arc

Re: undefined label

2019-03-08 Thread Markus Heiser
Hi Tobin, Am 07.03.19 um 21:30 schrieb Tobin C. Harding: On Thu, Mar 07, 2019 at 10:58:07AM +0100, Markus Heiser wrote: [...] If there is any interest in, I can implement a RFC for this. Cool! I think this would be super useful, I for one like using SPHINXDIRS when developing docs increment

Re: [PATCH v10 04/27] clocksource: Add a new timer-ingenic driver

2019-03-08 Thread Thierry Reding
On Mon, Mar 04, 2019 at 07:13:05PM +0100, Paul Cercueil wrote: > Hi Thierry, > > On Mon, Mar 4, 2019 at 1:22 PM, Thierry Reding > wrote: > > On Sat, Mar 02, 2019 at 08:33:50PM -0300, Paul Cercueil wrote: > > [...] > > > diff --git a/drivers/clocksource/ingenic-timer.c > > > b/drivers/clocksource

[PATCH] doc: add boot protocol 2.13 description to Documentation/x86/boot.txt

2019-03-08 Thread Juergen Gross
Documentation/x86/boot.txt is missing protocol 2.13 description. Signed-off-by: Juergen Gross --- Documentation/x86/boot.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/x86/boot.txt b/Documentation/x86/boot.txt index f4c2a97bfdbd..223e484a1304 100644 --- a/Documentation

Re: [PATCH] doc: add boot protocol 2.13 description to Documentation/x86/boot.txt

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 12:43:10PM +0100, Juergen Gross wrote: > Documentation/x86/boot.txt is missing protocol 2.13 description. > > Signed-off-by: Juergen Gross Reviewed-by: Daniel Kiper Daniel

Re: undefined label

2019-03-08 Thread Jani Nikula
On Fri, 08 Mar 2019, Markus Heiser wrote: > Hi Tobin, > > Am 07.03.19 um 21:30 schrieb Tobin C. Harding: >> On Thu, Mar 07, 2019 at 10:58:07AM +0100, Markus Heiser wrote: > [...] >>> If there is any interest in, I can implement a RFC for this. >> >> Cool! I think this would be super useful, I fo

Re: [PATCH] doc: add boot protocol 2.13 description to Documentation/x86/boot.txt

2019-03-08 Thread Konrad Rzeszutek Wilk
On March 8, 2019 6:43:10 AM EST, Juergen Gross wrote: >Documentation/x86/boot.txt is missing protocol 2.13 description. > >Signed-off-by: Juergen Gross You forgot Reported-by: Ross Philipson ... And pls feel free to add Reviewed-by from me as well. >--- > Documentation/x86/boot.txt | 4

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Joel Fernandes
HI Geert, On Fri, Mar 8, 2019, 3:53 AM Geert Uytterhoeven wrote: > > It is just so much easier to use tar + xz at build time, and leave the > > decompression task to the user. After decompression, the files will live on > > the disk and the page-cache mechanism will free memory when/if the files

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Enrico Weigelt, metux IT consult
On 08.03.19 14:42, Joel Fernandes wrote: Hi folks, > That sounds like it could be useful. I don't see any reason off the > top why that would not be possible to add to the list of archived > files in the future. The patch allows populating the list of files > from Kbuild using ikh_file_list varia

Re: [PATCH 7/9] docs: Remove unknown 'hint' directive

2019-03-08 Thread Randy Dunlap
On 3/8/19 12:27 AM, Markus Heiser wrote: > > Am 08.03.19 um 04:51 schrieb Randy Dunlap: >> On 3/7/19 1:11 PM, Tobin C. Harding wrote: >>> Current RST file contains an unknown directive causing Sphinx to emit >>> >>> ERROR: Unexpected indentation. >>> >>> Use normal language construct instead.

Re: [PATCH 7/9] docs: Remove unknown 'hint' directive

2019-03-08 Thread Randy Dunlap
On 3/8/19 8:04 AM, Randy Dunlap wrote: > On 3/8/19 12:27 AM, Markus Heiser wrote: >> >> Am 08.03.19 um 04:51 schrieb Randy Dunlap: >>> On 3/7/19 1:11 PM, Tobin C. Harding wrote: Current RST file contains an unknown directive causing Sphinx to emit ERROR: Unexpected indentation. >

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Greg KH
On Fri, Mar 08, 2019 at 05:42:32AM -0800, Joel Fernandes wrote: > HI Geert, > > On Fri, Mar 8, 2019, 3:53 AM Geert Uytterhoeven wrote: > > > It is just so much easier to use tar + xz at build time, and leave the > > > decompression task to the user. After decompression, the files will live > > >

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Greg KH
On Fri, Mar 08, 2019 at 02:57:24PM +0100, Enrico Weigelt, metux IT consult wrote: > On 08.03.19 14:42, Joel Fernandes wrote: > > Hi folks, > > > That sounds like it could be useful. I don't see any reason off the > > top why that would not be possible to add to the list of archived > > files in

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Joel Fernandes
On Fri, Mar 08, 2019 at 03:02:51PM +0100, Greg KH wrote: > On Fri, Mar 08, 2019 at 05:42:32AM -0800, Joel Fernandes wrote: > > HI Geert, > > > > On Fri, Mar 8, 2019, 3:53 AM Geert Uytterhoeven > > wrote: > > > > It is just so much easier to use tar + xz at build time, and leave the > > > > decom

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Geert Uytterhoeven
Hi Greg, On Fri, Mar 8, 2019 at 6:05 PM Greg KH wrote: > On Fri, Mar 08, 2019 at 05:42:32AM -0800, Joel Fernandes wrote: > > On Fri, Mar 8, 2019, 3:53 AM Geert Uytterhoeven > > wrote: > > > > It is just so much easier to use tar + xz at build time, and leave the > > > > decompression task to th

[PATCH v5 1/7] psi: introduce state_mask to represent stalled psi states

2019-03-08 Thread Suren Baghdasaryan
The psi monitoring patches will need to determine the same states as record_times(). To avoid calculating them twice, maintain a state mask that can be consulted cheaply. Do this in a separate patch to keep the churn in the main feature patch at a minimum. This adds 4-byte state_mask member into

[PATCH v5 3/7] psi: rename psi fields in preparation for psi trigger addition

2019-03-08 Thread Suren Baghdasaryan
Renaming psi_group structure member fields used for calculating psi totals and averages for clear distinction between them and trigger-related fields that will be added next. Signed-off-by: Suren Baghdasaryan --- include/linux/psi_types.h | 14 ++--- kernel/sched/psi.c| 41 ++

[PATCH v5 7/7] psi: introduce psi monitor

2019-03-08 Thread Suren Baghdasaryan
Psi monitor aims to provide a low-latency short-term pressure detection mechanism configurable by users. It allows users to monitor psi metrics growth and trigger events whenever a metric raises above user-defined threshold within user-defined time window. Time window and threshold are both expres

[PATCH v5 2/7] psi: make psi_enable static

2019-03-08 Thread Suren Baghdasaryan
psi_enable is not used outside of psi.c, make it static. Suggested-by: Andrew Morton Signed-off-by: Suren Baghdasaryan --- kernel/sched/psi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/psi.c b/kernel/sched/psi.c index 22c1505ad290..281702de9772 100644 -

[PATCH v5 5/7] psi: track changed states

2019-03-08 Thread Suren Baghdasaryan
Introduce changed_states parameter into collect_percpu_times to track the states changed since the last update. Signed-off-by: Suren Baghdasaryan --- kernel/sched/psi.c | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/kernel/sched/psi.c b/kernel/sched

[PATCH v5 4/7] psi: split update_stats into parts

2019-03-08 Thread Suren Baghdasaryan
Split update_stats into collect_percpu_times and update_averages for collect_percpu_times to be reused later inside psi monitor. Signed-off-by: Suren Baghdasaryan --- kernel/sched/psi.c | 55 +++--- 1 file changed, 32 insertions(+), 23 deletions(-) diff -

[PATCH v5 6/7] refactor header includes to allow kthread.h inclusion in psi_types.h

2019-03-08 Thread Suren Baghdasaryan
kthread.h can't be included in psi_types.h because it creates a circular inclusion with kthread.h eventually including psi_types.h and complaining on kthread structures not being defined because they are defined further in the kthread.h. Resolve this by removing psi_types.h inclusion from the heade

[PATCH v5 0/7] psi: pressure stall monitors v5

2019-03-08 Thread Suren Baghdasaryan
This is respin of: https://lwn.net/ml/linux-kernel/20190206023446.177362-1-surenb%40google.com/ Android is adopting psi to detect and remedy memory pressure that results in stuttering and decreased responsiveness on mobile devices. Psi gives us the stall information, but because we're dealing w

Re: [PATCH 0/9] docs: Fix various build warnings/errors

2019-03-08 Thread Tobin C. Harding
On Fri, Mar 08, 2019 at 09:40:03AM +0100, Markus Heiser wrote: > > Am 07.03.19 um 22:11 schrieb Tobin C. Harding: > > Hi, > > > > I had a few hours to spare so I thought I'd clear some Sphinx build > > warnings/errors. There isn't anything too controversial here. The only > > interesting thing

Re: [PATCH v3 3/6] clk: change rates via list iteration

2019-03-08 Thread dbasehore .
On Mon, Mar 4, 2019 at 8:49 PM Derek Basehore wrote: > > This changes the clk_set_rate code to use lists instead of recursion. > While making this change, also add error handling for clk_set_rate. > This means that errors in the set_rate/set_parent/set_rate_and_parent > functions will not longer b

Re: [PATCH v4 1/2] Provide in-kernel headers for making it easy to extend the kernel

2019-03-08 Thread Greg KH
On Fri, Mar 08, 2019 at 06:59:23PM +0100, Geert Uytterhoeven wrote: > Hi Greg, > > On Fri, Mar 8, 2019 at 6:05 PM Greg KH wrote: > > On Fri, Mar 08, 2019 at 05:42:32AM -0800, Joel Fernandes wrote: > > > On Fri, Mar 8, 2019, 3:53 AM Geert Uytterhoeven > > > wrote: > > > > > It is just so much ea