Re: [Resend][PATCH 2/3] PM / core / docs: Convert sleep states API document to reST

2017-01-10 Thread Rafael J. Wysocki
On Tue, Jan 10, 2017 at 2:41 AM, Lukas Wunner wrote: > Hi Rafael, > > I've perused devices.rst up until section "Entering System Suspend" > so far, about half of the document. Here are my comments, I'll read > the remainder of the document later. > > > On Fri, Jan 06, 2017 at 02:41:38AM +0100, Ra

Re: [PATCH v4] ceph: set io_pages bdi hint

2017-01-10 Thread Yan, Zheng
> On 10 Jan 2017, at 21:17, Andreas Gerstmayr > wrote: > > This patch sets the io_pages bdi hint based on the rsize mount option. > Without this patch large buffered reads (request size > max readahead) > are processed sequentially in chunks of the readahead size (i.e. read > requests are sent

Re: [PATCH] Documentation/livepatch: remove the limitation for schedule() patching

2017-01-10 Thread Jiri Kosina
On Fri, 6 Jan 2017, Miroslav Benes wrote: > The Limitations section of the documentation describes the impossibility > to livepatch anything that is inlined to __schedule() function. This had > been true till 4.9 kernel came. Thanks to commit 0100301bfdf5 > ("sched/x86: Rewrite the switch_to() cod

[PATCH] docs: Make CodingStyle and SubmittingPatches symlinks

2017-01-10 Thread Joe Perches
Make these files symlinks to the .rst equivalents Signed-off-by: Joe Perches --- Documentation/CodingStyle | 2 +- Documentation/SubmittingPatches | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 12 Documentation/CodingStyle mode change 100644 => 12

Re: [PATCH] doc: add note on usleep_range range

2017-01-10 Thread Pavel Machek
Hi! > > "to have zero jitter" at least. I believe it is "does not". > > > > I don't see how atomic vs. non-atomic context makes difference. There > > are sources of jitter that affect atomic context... > > The relevance is that while there is jitter in atomic context it can > be quite small (dep

Re: [PATCH v7 05/12] mux: support simplified bindings for single-user gpio mux

2017-01-10 Thread Jonathan Cameron
On 08/01/17 21:56, Peter Rosin wrote: > On 2017-01-08 11:28, Jonathan Cameron wrote: >> On 05/01/17 16:21, Peter Rosin wrote: >>> On 2017-01-04 13:16, Peter Rosin wrote: Signed-off-by: Peter Rosin --- drivers/mux/mux-core.c | 81 +++

Re: kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-10 Thread Luis R. Rodriguez
On Wed, Dec 21, 2016 at 09:07:21PM -0800, Jessica Yu wrote: > +++ Luis R. Rodriguez [08/12/16 11:48 -0800]: > > diff --git a/kernel/kmod.c b/kernel/kmod.c > > index cb6f7ca7b8a5..049d7eabda38 100644 > > --- a/kernel/kmod.c > > +++ b/kernel/kmod.c > > @@ -108,6 +111,20 @@ static int call_modprobe(ch

Re: [RFC 06/10] kmod: provide sanity check on kmod_concurrent access

2017-01-10 Thread Luis R. Rodriguez
On Thu, Dec 15, 2016 at 01:57:48PM +0100, Petr Mladek wrote: > On Thu 2016-12-08 11:48:50, Luis R. Rodriguez wrote: > > Only decrement *iff* we're possitive. Warn if we've hit > > a situation where the counter is already 0 after we're done > > with a modprobe call, this would tell us we have an una

Re: [PATCH 2/5] clk: sunxi-ng: add support for V3s CCU

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:26PM +0800, Icenowy Zheng wrote: > V3s has a similar but cut-down CCU to H3. > > Add support for it. > > Signed-off-by: Icenowy Zheng It looks like there's nothing different but the clocks that you register with the H3, please just use the H3 driver. Thanks! Maxim

Re: [RFC 03/10] kmod: add dynamic max concurrent thread count

2017-01-10 Thread Luis R. Rodriguez
On Fri, Dec 16, 2016 at 09:39:56AM +0100, Luis R. Rodriguez wrote: > On Wed, Dec 14, 2016 at 04:38:27PM +0100, Petr Mladek wrote: > > On Thu 2016-12-08 11:48:14, Luis R. Rodriguez wrote: > > > diff --git a/init/Kconfig b/init/Kconfig > > > index 271692a352f1..da2c25746937 100644 > > > --- a/init/Kc

Re: [PATCH 3/5] pinctrl: sunxi: add driver for V3s SoC

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:27PM +0800, Icenowy Zheng wrote: > V3s SoC features only a pin controller (for the lack of CPUs part). > > Add a driver for this controller. > > Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard Thanks, Maxime -- Maxime Ripard, Free Electrons Embedded Linux

Re: [RFC 04/10] kmod: provide wrappers for kmod_concurrent inc/dec

2017-01-10 Thread Luis R. Rodriguez
On Fri, Dec 16, 2016 at 09:05:00AM +0100, Luis R. Rodriguez wrote: > On Thu, Dec 15, 2016 at 01:46:25PM +0100, Petr Mladek wrote: > > On Thu 2016-12-08 22:08:59, Luis R. Rodriguez wrote: > > > On Thu, Dec 08, 2016 at 12:29:42PM -0800, Kees Cook wrote: > > > > On Thu, Dec 8, 2016 at 11:48 AM, Luis R

Re: [PATCHv14 0/3] rdmacg: IB/core: rdma controller support

2017-01-10 Thread Leon Romanovsky
On Tue, Jan 10, 2017 at 11:15:05AM -0500, Tejun Heo wrote: > On Tue, Jan 10, 2017 at 12:02:12AM +, Parav Pandit wrote: > > Patchset is compiled and tested against below Tejun's cgroup tree > > using cgroup v1 and v2 mode. > > URL: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > >

Re: [PATCH 4/5] ARM: dts: sunxi: add dtsi file for V3s SoC

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:28PM +0800, Icenowy Zheng wrote: > + uart0_pins_a: uart0@0 { > + pins = "PB8", "PB9"; > + function = "uart0"; > + bias-pull-up; Why do you need a pullup here? Look

[PATCH] Doc: clarify that GPL is GPL v2, not v2+

2017-01-10 Thread Sanjeev
... and a minor missing priod at EOL Signed-off-by: Sanjeev Gupta --- Documentation/admin-guide/README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/admin-guide/README.rst b/Documentation/admin-guide/README.rst index 1b6dfb2..697a00c 100644 --- a/Docu

Re: [PATCH 1/5] arm: sunxi: add support for V3s SoC

2017-01-10 Thread Maxime Ripard
On Tue, Jan 03, 2017 at 11:16:25PM +0800, Icenowy Zheng wrote: > Allwinner V3s is a low-end single-core Cortex-A7 SoC, with 64MB > integrated DRAM, and several peripherals. > > Signed-off-by: Icenowy Zheng > --- > Documentation/arm/sunxi/README | 4 > arch/arm/mach-sunxi/sunxi.c| 1 + >

Re: [PATCH v4 2/3] watchdog: introduce watchdog.open_timeout commandline parameter

2017-01-10 Thread Guenter Roeck
On Mon, Jan 09, 2017 at 04:02:32PM +0100, 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

Re: [PATCH v3 04/10] Documentation: perf: hisi: Documentation for HiP05/06/07 PMU event counting.

2017-01-10 Thread Mark Rutland
On Mon, Jan 02, 2017 at 01:49:37AM -0500, Anurup M wrote: > +The Hisilicon SoC HiP05/06/07 chips consist of various independent system > +device PMU's such as L3 cache(L3C) and Miscellaneous Nodes(MN). > +These PMU devices are independent and have hardware logic to gather > +statistics and performa

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-10 Thread Guenter Roeck
On Tue, Jan 10, 2017 at 11:41:44AM -0600, Benjamin Herrenschmidt wrote: > On Sat, 2017-01-07 at 09:15 -0800, Guenter Roeck wrote: > > > Instead of the "online" attribute, what do you think about using the > > > "bind"/"unbind" API to probe the device from user space once the system > > > is powered

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-10 Thread Benjamin Herrenschmidt
On Mon, 2017-01-09 at 10:22 +1030, Andrew Jeffery wrote: > Alternatively, in the style of your first para, we could push the > host > CPU state management into the kernel and expose a boot/reboot/power- > off  > API to userspace. That would give us a place to hook calls for > configuring and cleani

Re: [PATCH linux 2/6] hwmon: occ: Add sysfs interface

2017-01-10 Thread Benjamin Herrenschmidt
On Sat, 2017-01-07 at 09:15 -0800, Guenter Roeck wrote: > > Instead of the "online" attribute, what do you think about using the > > "bind"/"unbind" API to probe the device from user space once the system > > is powered on? All the hwmon registration would take place in the probe > > function, it w

Re: [PATCH v4] ceph: set io_pages bdi hint

2017-01-10 Thread Jeff Layton
On Tue, 2017-01-10 at 14:17 +0100, Andreas Gerstmayr wrote: > This patch sets the io_pages bdi hint based on the rsize mount option. > Without this patch large buffered reads (request size > max readahead) > are processed sequentially in chunks of the readahead size (i.e. read > requests are sent o

Re: [PATCHv14 0/3] rdmacg: IB/core: rdma controller support

2017-01-10 Thread Parav Pandit
On Tue, Jan 10, 2017 at 10:15 AM, Tejun Heo wrote: > On Tue, Jan 10, 2017 at 12:02:12AM +, Parav Pandit wrote: >> Patchset is compiled and tested against below Tejun's cgroup tree >> using cgroup v1 and v2 mode. >> URL: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git >> Branch: for

Re: [PATCHv14 0/3] rdmacg: IB/core: rdma controller support

2017-01-10 Thread Tejun Heo
On Tue, Jan 10, 2017 at 12:02:12AM +, Parav Pandit wrote: > Patchset is compiled and tested against below Tejun's cgroup tree > using cgroup v1 and v2 mode. > URL: git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git > Branch: for-4.11 Applied 1-3 to cgroup/for-4.11-rdmacg. Thanks. --

[PATCH v4] ceph: set io_pages bdi hint

2017-01-10 Thread Andreas Gerstmayr
This patch sets the io_pages bdi hint based on the rsize mount option. Without this patch large buffered reads (request size > max readahead) are processed sequentially in chunks of the readahead size (i.e. read requests are sent out up to the readahead size, then the do_generic_file_read() functio

Re: [PATCH] Documentation/livepatch: remove the limitation for schedule() patching

2017-01-10 Thread Miroslav Benes
On Mon, 9 Jan 2017, Josh Poimboeuf wrote: > On Mon, Jan 09, 2017 at 01:50:19PM +0100, Miroslav Benes wrote: > > There is still one thing which I don't understand. Why __schedule() > > (patched or the original) is not on the stack. The actual "sleep" > > should happen in __switch_to_asm() which i

Re: [PATCH] kernel-doc: properly document array arguments of function

2017-01-10 Thread Jani Nikula
On Mon, 09 Jan 2017, Gabriel Krisman Bertazi wrote: > Documentation for array parameters passed in a function, like the first > argument in the function below, weren't getting exported in the rst > format, although they work fine for html and pdf formats: > > void drm_clflush_pages(struct page *