Re: [RFC PATCH v2 1/7] x86/paravirt: Add pv_idle_ops to paravirt ops

2017-08-30 Thread Juergen Gross
On 29/08/17 15:55, Konrad Rzeszutek Wilk wrote: > On Tue, Aug 29, 2017 at 11:46:35AM +, Yang Zhang wrote: >> So far, pv_idle_ops.poll is the only ops for pv_idle. .poll is called in >> idle path which will polling for a while before we enter the real idle >> state. >> >> In virtualization, idle

Re: [v6 2/4] mm, oom: cgroup-aware OOM killer

2017-08-30 Thread Roman Gushchin
On Fri, Aug 25, 2017 at 10:14:03AM +0200, Michal Hocko wrote: > On Thu 24-08-17 15:58:01, Roman Gushchin wrote: > > On Thu, Aug 24, 2017 at 04:13:37PM +0200, Michal Hocko wrote: > > > On Thu 24-08-17 14:58:42, Roman Gushchin wrote: > [...] > > > > Both ways are not ideal, and sum of the processes i

[PATCH 0/2] hwmon: (ucd9000) Add sysfs interface to clear logged faults

2017-08-30 Thread Christopher Bostic
This set covers changes required to allow user space to clear logged faults on ucd9000 type devices via sysfs. A write to this new file with any value will perform the clear operation. Patch 1: Document new sysfs file. Patch 2: Implementation of new file and clear process. Christopher Bostic (2

[PATCH 2/2] hwmon: (ucd9000) Add sysfs attribute to clear logged faults

2017-08-30 Thread Christopher Bostic
Add ability to clear logged faults via sysfs. Signed-off-by: Christopher Bostic --- drivers/hwmon/pmbus/ucd9000.c | 45 ++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/drivers/hwmon/pmbus/ucd9000.c b/drivers/hwmon/pmbus/ucd9000.c index b7

[PATCH 1/2] hwmon: (ucd9000) Add support for clearing logged faults via sysfs

2017-08-30 Thread Christopher Bostic
Create an attribute to allow clearing of logged faults. Signed-off-by: Christopher Bostic --- Documentation/hwmon/ucd9000 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/hwmon/ucd9000 b/Documentation/hwmon/ucd9000 index 262e713..de7f7f23 100644 --- a/Documentation/hwmon/ucd90

Re: [PATCH] Documentation: small fixes for LEDs, hide notes about vibration

2017-08-30 Thread Jacek Anaszewski
Hi, On 08/29/2017 10:38 PM, Pavel Machek wrote: > Hi! > >>> -As a specific example of this use-case, let's look at vibrate feature on >>> -phones. Vibrate function on phones is implemented using PWM pins on SoC or >>> -PMIC. There is a need to activate one shot timer to control the vibrate >>> -f

Re: [v6 2/4] mm, oom: cgroup-aware OOM killer

2017-08-30 Thread David Rientjes
On Wed, 30 Aug 2017, Roman Gushchin wrote: > I've spent some time to implement such a version. > > It really became shorter and more existing code were reused, > howewer I've met a couple of serious issues: > > 1) Simple summing of per-task oom_score doesn't make sense. >First, we calculate

Re: [PATCH] Documentation:input: fix typo

2017-08-30 Thread Jonathan Corbet
On Tue, 29 Aug 2017 18:48:54 -0700 John de la Garza wrote: > -``keyboard`` is in-kernel input handler ad is a part of VT code. It > +``keyboard`` is in-kernel input handler and is a part of VT code. It > consumes keyboard keystrokes and handles user input for VT consoles. Applied, thanks. jon

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Jonathan Corbet
On Mon, 28 Aug 2017 16:10:09 -0700 Randy Dunlap wrote: > kernel-doc parsing uses as ASCII codec, so let people know that > kernel-doc comments should be in ASCII characters only. > > WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno > ../drivers/media/dvb-core/demux.h' processing f

Re: [PATCH 2/2] media: dvb-core: fix demux.h non-ASCII characters

2017-08-30 Thread Jonathan Corbet
On Mon, 28 Aug 2017 16:10:16 -0700 Randy Dunlap wrote: > Fix non-ASCII charactes in kernel-doc comment to prevent the kernel-doc > build warning below. > > WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno > ../drivers/media/dvb-core/demux.h' processing failed with: 'ascii' codec

Re: [PATCH] docs: process: drop git snapshots from applying-patches.rst

2017-08-30 Thread Jonathan Corbet
On Mon, 28 Aug 2017 17:40:39 -0700 Randy Dunlap wrote: > Drop all references to git daily snapshots of Linux mainline git tree > since they are no longer generated. > > Drop the "Last update" info since 'git log' is a better source of that > info and since the Last update date is not being updat

Re: [PATCH v2] docs: ReSTify table of contents in core.rst

2017-08-30 Thread Jonathan Corbet
On Wed, 23 Aug 2017 21:42:32 +0100 Josh Holland wrote: > Sphinx will now generate the table of contents automatically, which > avoids having the ToC getting out of sync with the rest of the document. I've (finally) applied this, thanks. jon -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 14:23, Jonathan Corbet wrote: > On Mon, 28 Aug 2017 16:10:09 -0700 > Randy Dunlap wrote: > >> kernel-doc parsing uses as ASCII codec, so let people know that >> kernel-doc comments should be in ASCII characters only. >> >> WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno

Re: [PATCH] docs: fix minimal sphinx version in conf.py

2017-08-30 Thread Jonathan Corbet
On Mon, 28 Aug 2017 09:32:01 +0200 Markus Heiser wrote: > I assume you missed this patch, so please can you take a > look at / Thanks! That one has been in docs-next for a bit. It looks like I didn't send a note when I applied it, apologies for that. jon -- To unsubscribe from this list: send

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Mauro Carvalho Chehab
Em Wed, 30 Aug 2017 15:02:59 -0700 Randy Dunlap escreveu: > On 08/30/17 14:23, Jonathan Corbet wrote: > > On Mon, 28 Aug 2017 16:10:09 -0700 > > Randy Dunlap wrote: > > > >> kernel-doc parsing uses as ASCII codec, so let people know that > >> kernel-doc comments should be in ASCII characters

Re: [PATCH 2/2] media: dvb-core: fix demux.h non-ASCII characters

2017-08-30 Thread Mauro Carvalho Chehab
Em Wed, 30 Aug 2017 15:24:30 -0600 Jonathan Corbet escreveu: > On Mon, 28 Aug 2017 16:10:16 -0700 > Randy Dunlap wrote: > > > Fix non-ASCII charactes in kernel-doc comment to prevent the kernel-doc > > build warning below. > > > > WARNING: kernel-doc '../scripts/kernel-doc -rst -enable-lineno

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-30 Thread Khalid Aziz
Hi Anthony, Thanks for taking the time to provide feedback. My comments inline below. On 08/25/2017 04:31 PM, Anthony Yznaga wrote: On Aug 9, 2017, at 2:26 PM, Khalid Aziz wrote: ..deleted.. +provided by the hypervisor to the kernel. Kernel returns the value of +ADI block size to us

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Jonathan Corbet
On Wed, 30 Aug 2017 19:15:53 -0300 Mauro Carvalho Chehab wrote: > I suspect that the problem is not related to the version, but to > what you might have set on LANG. > > Maybe if we add something like: > LANG=C.utf-8 > > to the Documentation/Makefile That's worth a try; Randy, can you g

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-30 Thread David Miller
From: Khalid Aziz Date: Wed, 30 Aug 2017 16:27:54 -0600 >>> +#define arch_calc_vm_prot_bits(prot, pkey) >>> sparc_calc_vm_prot_bits(prot) >>> +static inline unsigned long sparc_calc_vm_prot_bits(unsigned long >>> prot) >>> +{ >>> + if (prot & PROT_ADI) { >>> + struct pt_regs *regs; >>

Re: [PATCH] kernel-doc parser mishandles declarations split into lines

2017-08-30 Thread Jonathan Corbet
On Fri, 16 Jun 2017 21:27:48 +0200 Markus Heiser wrote: > Reported by Johannes Berg [1]. Problem here: function > process_proto_type() concatenates the striped lines of declaration > without any whitespace. A one-liner of:: > > struct something { >struct foo >bar; >}; >

Re: [PATCH] assoc_array: fix path to assoc_array documentation

2017-08-30 Thread Jonathan Corbet
On Wed, 23 Aug 2017 00:39:13 +0600 Alexander Kuleshov wrote: > Signed-off-by: Alexander Kuleshov > --- > lib/assoc_array.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/lib/assoc_array.c b/lib/assoc_array.c > index 59fd7c0b119c..155c55d8db5f 100644 > --- a/lib/assoc_

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 15:31, Jonathan Corbet wrote: > On Wed, 30 Aug 2017 19:15:53 -0300 > Mauro Carvalho Chehab wrote: > >> I suspect that the problem is not related to the version, but to >> what you might have set on LANG. >> >> Maybe if we add something like: >> LANG=C.utf-8 >> >> to the Documenta

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 16:01, Randy Dunlap wrote: > On 08/30/17 15:31, Jonathan Corbet wrote: >> On Wed, 30 Aug 2017 19:15:53 -0300 >> Mauro Carvalho Chehab wrote: >> >>> I suspect that the problem is not related to the version, but to >>> what you might have set on LANG. >>> >>> Maybe if we add something li

Re: [PATCH 1/2] docs: kernel-doc comments are ASCII

2017-08-30 Thread Randy Dunlap
On 08/30/17 16:04, Randy Dunlap wrote: > On 08/30/17 16:01, Randy Dunlap wrote: >> On 08/30/17 15:31, Jonathan Corbet wrote: >>> On Wed, 30 Aug 2017 19:15:53 -0300 >>> Mauro Carvalho Chehab wrote: >>> I suspect that the problem is not related to the version, but to what you might have se

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-30 Thread Khalid Aziz
On 08/30/2017 04:38 PM, David Miller wrote: From: Khalid Aziz Date: Wed, 30 Aug 2017 16:27:54 -0600 +#define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot) +static inline unsigned long sparc_calc_vm_prot_bits(unsigned long prot) +{ + if (prot & PROT_ADI) { +

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-30 Thread David Miller
From: Khalid Aziz Date: Wed, 30 Aug 2017 17:23:37 -0600 > That is an interesting idea. This would enable TSTATE_MCDE on all > threads of a process as soon as one thread enables it. If we consider > the case where the parent creates a shared memory area and spawns a > bunch of threads. These threa

[lwn:docs-next 37/37] htmldocs: include/linux/genalloc.h:52: warning: No description found for parameter 'genpool_algo_t'

2017-08-30 Thread kbuild test robot
tree: git://git.lwn.net/linux-2.6 docs-next head: 7ee8adcf271acd3baa5ab12cb804ab36fda16b3f commit: 7ee8adcf271acd3baa5ab12cb804ab36fda16b3f [37/37] doc: Add documentation for the genalloc subsystem reproduce: make htmldocs All warnings (new ones prefixed by >>): WARNING: convert(1) not fo

Re: [PATCH 2/2] hwmon: (ucd9000) Add sysfs attribute to clear logged faults

2017-08-30 Thread Guenter Roeck
On Wed, Aug 30, 2017 at 01:55:36PM -0500, Christopher Bostic wrote: > Add ability to clear logged faults via sysfs. > I am not in favor of such chip specific commands, in this case for several reasons (besides it being a non-standard attribute). The logged faults are not read or used by the drive