Re: [PATCH v2 5/5] psi: introduce psi monitor

2019-01-17 Thread Peter Zijlstra
On Wed, Jan 16, 2019 at 02:17:28PM -0500, Johannes Weiner wrote: > > > Also, you probably want to use atomic_t for g->polling, because we > > > (sadly) have architectures where regular stores and atomic ops don't > > > work 'right'. > > > > Oh, I see. Will do. Thanks! > > Yikes, that's news to m

[PATCH] Documentation: gpio: driver: fix wire name for I2C

2019-01-17 Thread Wolfram Sang
Typo: the data line is called "SDA" not "SCA". Signed-off-by: Wolfram Sang --- Documentation/driver-api/gpio/driver.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/driver-api/gpio/driver.rst b/Documentation/driver-api/gpio/driver.rst index a92d8837b62b..304

Re: [PATCH] Documentation: gpio: driver: fix wire name for I2C

2019-01-17 Thread Geert Uytterhoeven
On Thu, Jan 17, 2019 at 11:14 AM Wolfram Sang wrote: > Typo: the data line is called "SDA" not "SCA". > > Signed-off-by: Wolfram Sang Reviewed-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m6

Re: [PATCH] Documentation: driver-api: PM: Add cpuidle document

2019-01-17 Thread Ulf Hansson
On Wed, 16 Jan 2019 at 23:10, Rafael J. Wysocki wrote: > > On Wed, Jan 9, 2019 at 11:54 AM Rafael J. Wysocki wrote: > > > > From: Rafael J. Wysocki > > > > Replace the remaining documents under Documentation/cpuidle/ > > with one more complete governor and driver API document for cpuidle > > und

Re: [PATCH] Documentation: driver-api: PM: Add cpuidle document

2019-01-17 Thread Rafael J. Wysocki
On Thu, Jan 17, 2019 at 11:56 AM Ulf Hansson wrote: > > On Wed, 16 Jan 2019 at 23:10, Rafael J. Wysocki wrote: > > > > On Wed, Jan 9, 2019 at 11:54 AM Rafael J. Wysocki > > wrote: > > > > > > From: Rafael J. Wysocki > > > > > > Replace the remaining documents under Documentation/cpuidle/ > > >

Re: [PATCH] Documentation: gpio: driver: fix wire name for I2C

2019-01-17 Thread Bartosz Golaszewski
czw., 17 sty 2019 o 11:24 Geert Uytterhoeven napisał(a): > > On Thu, Jan 17, 2019 at 11:14 AM Wolfram Sang > wrote: > > Typo: the data line is called "SDA" not "SCA". > > > > Signed-off-by: Wolfram Sang > > Reviewed-by: Geert Uytterhoeven > Applied to for-next, thanks! Bart

Re: [PATCH v4 2/3] locking: Implement an algorithm choice for Wound-Wait mutexes

2019-01-17 Thread Rob Clark
On Wed, Jan 16, 2019 at 11:49 AM Thomas Hellstrom wrote: > > Hi, > > On Wed, 2019-01-16 at 09:24 -0500, Rob Clark wrote: > > So, I guess this is to do w/ the magic of merge commits, but it looks > > like the hunk changing the crtc_ww_class got lost: > > So what happened here is that this commit ch

Re: [PATCH v2] fbdev: fbmem: convert CONFIG_FB_LOGO_CENTER into a cmd, line option

2019-01-17 Thread Peter Rosin
On 2019-01-16 17:45, Bartlomiej Zolnierkiewicz wrote: > On 01/07/2019 11:35 AM, Peter Rosin wrote: >> Right. So, here's an update... >> >> Again, it would probably be best if this went in before 5.0 is released. >> >> Changes since v1: >> - rename from fbcon=center-logo option to fbcon=logo-pos:cen

Re: [PATCH v2] fbdev: fbmem: convert CONFIG_FB_LOGO_CENTER into a cmd, line option

2019-01-17 Thread Bartlomiej Zolnierkiewicz
On 01/17/2019 02:40 PM, Peter Rosin wrote: > On 2019-01-16 17:45, Bartlomiej Zolnierkiewicz wrote: >> On 01/07/2019 11:35 AM, Peter Rosin wrote: >>> Right. So, here's an update... >>> >>> Again, it would probably be best if this went in before 5.0 is released. >>> >>> Changes since v1: >>> - rena

Re: [PATCH 1/2] PM / EM: Document the Energy Model framework

2019-01-17 Thread Juri Lelli
Hi, On 10/01/19 11:05, Quentin Perret wrote: > Introduce a documentation file summarizing the key design points and > APIs of the newly introduced Energy Model framework. > > Signed-off-by: Quentin Perret Looks good to me. Reviewed-by: Juri Lelli Best, - Juri

Re: [PATCH 1/2] PM / EM: Document the Energy Model framework

2019-01-17 Thread Quentin Perret
On Thursday 17 Jan 2019 at 15:47:44 (+0100), Juri Lelli wrote: > Hi, > > On 10/01/19 11:05, Quentin Perret wrote: > > Introduce a documentation file summarizing the key design points and > > APIs of the newly introduced Energy Model framework. > > > > Signed-off-by: Quentin Perret > > Looks goo

Re: [PATCH 2/2] sched: Document Energy Aware Scheduling

2019-01-17 Thread Juri Lelli
Hi, On 10/01/19 11:05, Quentin Perret wrote: > Add some documentation detailing the main design points of EAS, as well > as a list of its dependencies. > > Parts of this documentation are taken from Morten Rasmussen's original > EAS posting: https://lkml.org/lkml/2015/7/7/754 > > Reviewed-by: Qa

Re: [PATCH v8 1/3] watchdog: introduce watchdog.open_timeout commandline parameter

2019-01-17 Thread Guenter Roeck
On Wed, Jan 16, 2019 at 12:14:42PM +, Rasmus Villemoes wrote: > The watchdog framework takes care of feeding a hardware watchdog until > userspace opens /dev/watchdogN. If that never happens for some reason > (buggy init script, corrupt root filesystem or whatnot) but the kernel > itself is fin

doc: stable-api-nonsense missing link

2019-01-17 Thread Federico Vaga
Hi, in this document Documentation/process/stable-api-nonsense.rst there is this note: Is it possible to get it fixed with the proper link? I searched for it without success. If that comment is impossible to find I will send a patch to remove that note, but first I wanted to ask you if you

Re: doc: stable-api-nonsense missing link

2019-01-17 Thread Jonathan Corbet
On Thu, 17 Jan 2019 23:14:08 +0100 Federico Vaga wrote: > in this document > > Documentation/process/stable-api-nonsense.rst > > there is this note: > > > > Is it possible to get it fixed with the proper link? I searched for it > without > success. If that comment is impossible to find I w

Re: [RFC][PATCH] hwmon: (ina2xx) Improve current and power reading precision

2019-01-17 Thread Nicolin Chen
On Fri, Jan 04, 2019 at 05:26:42PM -0800, Nicolin Chen wrote: > Hi Stefan, > > Sorry for a super late reply. I took a long vacation. > > On Wed, Nov 21, 2018 at 10:16:09PM +, Brüns, Stefan wrote: > > > > Another concern may be voltage drop over the shunt, but for this case > > > > you > > >

Re: [RFC][PATCH] hwmon: (ina2xx) Improve current and power reading precision

2019-01-17 Thread Guenter Roeck
On Thu, Jan 17, 2019 at 02:38:28PM -0800, Nicolin Chen wrote: > On Fri, Jan 04, 2019 at 05:26:42PM -0800, Nicolin Chen wrote: > > Hi Stefan, > > > > Sorry for a super late reply. I took a long vacation. > > > > On Wed, Nov 21, 2018 at 10:16:09PM +, Brüns, Stefan wrote: > > > > > Another conce

Re: [RFC][PATCH] hwmon: (ina2xx) Improve current and power reading precision

2019-01-17 Thread Nicolin Chen
Hi Guenter, On Thu, Jan 17, 2019 at 03:13:23PM -0800, Guenter Roeck wrote: > I have one claim stating that your change won't make a difference, > and your claim that it would. That leaves me with no choice but to > spend a large amount of time with the datasheet, and possibly with > my evaluation

Re: [RFC v5 1/4] pstore/blk: new support logger for block devices

2019-01-17 Thread Kees Cook
On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong wrote: > > pstore_blk is similar to pstore_ram, but dump log to block devices > rather than persistent ram. > > Why should we need pstore_blk? > 1. Most embedded intelligent equipment have no persistent ram, which > increases costs. We perfer to cheaper

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-17 Thread Kees Cook
On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong wrote: > > It is a sample for pstore_blk, using general ram rather than block device. > According to pstore_blk, the data will be saved to ram buffer if not > register device path and apis for panic. So, it can only used to dump > Oops and some things wi

Re: [RFC v5 3/4] pstore/blk: support pmsg for pstore block

2019-01-17 Thread Kees Cook
On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong wrote: > > To enable pmsg, just set pmsg_size when block device register blkzone. At first pass, this looks like a reasonable extension of blkzone. Is it possible to add console, ftrace, etc, too? -Kees > > Signed-off-by: liaoweixiong > --- > fs/pst

Re: [RFC v5 4/4] Documentation: pstore/blk: create document for pstore_blk

2019-01-17 Thread Kees Cook
On Mon, Jan 7, 2019 at 4:02 AM liaoweixiong wrote: > > The documemt, at Documentation/admin-guide/pstore-block.rst, typo: documemt -> document > tells user how to use pstore_blk and the attentions about panic > read/write Yay! I love seeing documentation. :) -Kees > > Signed-off-by: liaoweixi

Re: [RFC v5 2/4] pstore/blk: add sample for pstore_blk

2019-01-17 Thread Kees Cook
On Thu, Jan 17, 2019 at 4:15 PM Kees Cook wrote: > > On Mon, Jan 7, 2019 at 4:01 AM liaoweixiong > wrote: > > > > It is a sample for pstore_blk, using general ram rather than block device. > > According to pstore_blk, the data will be saved to ram buffer if not > > register device path and apis f

Re: [PATCH v4 9/9] hwmon (occ): Add sysfs attributes for additional OCC data

2019-01-17 Thread Thomas Gleixner
Eddie, On Wed, 11 Jul 2018, Eddie James wrote: > --- /dev/null > +++ b/drivers/hwmon/occ/sysfs.c > @@ -0,0 +1,188 @@ > +// SPDX-License-Identifier: GPL-2.0 > +/* > + * OCC hwmon driver sysfs interface > + * > + * Copyright (C) IBM Corporation 2018 > + * > + * This program is free software; you ca

Re: [PATCH v4 9/9] hwmon (occ): Add sysfs attributes for additional OCC data

2019-01-17 Thread Joel Stanley
On Fri, 18 Jan 2019 at 11:44, Thomas Gleixner wrote: > > Eddie, > > On Wed, 11 Jul 2018, Eddie James wrote: > > > --- /dev/null > > +++ b/drivers/hwmon/occ/sysfs.c > > @@ -0,0 +1,188 @@ > > +// SPDX-License-Identifier: GPL-2.0 > > +/* > > + * OCC hwmon driver sysfs interface > > + * > > + * Copyri

Re: doc: stable-api-nonsense missing link

2019-01-17 Thread Greg KH
On Thu, Jan 17, 2019 at 03:19:53PM -0700, Jonathan Corbet wrote: > On Thu, 17 Jan 2019 23:14:08 +0100 > Federico Vaga wrote: > > > in this document > > > > Documentation/process/stable-api-nonsense.rst > > > > there is this note: > > > > > > > > Is it possible to get it fixed with the proper

Re: doc: stable-api-nonsense missing link

2019-01-17 Thread Greg KH
On Fri, Jan 18, 2019 at 08:20:31AM +0100, Greg KH wrote: > On Thu, Jan 17, 2019 at 03:19:53PM -0700, Jonathan Corbet wrote: > > On Thu, 17 Jan 2019 23:14:08 +0100 > > Federico Vaga wrote: > > > > > in this document > > > > > > Documentation/process/stable-api-nonsense.rst > > > > > > there is t