Re: [PATCH] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-02 Thread Srivatsa S. Bhat
On 06/03/2014 10:46 AM, Gautham R Shenoy wrote: > On Mon, Jun 02, 2014 at 01:45:38PM +0530, Srivatsa S. Bhat wrote: >> On 06/02/2014 01:03 PM, Gautham R Shenoy wrote: >>> Hi, >>> >>> On Tue, May 27, 2014 at 02:23:38AM +0530, Srivatsa S. Bhat wrote: >>> >>> [..snip..] Experimental

[GIT PULL] USB driver patches for 3.16-rc1

2014-06-02 Thread Greg KH
The following changes since commit d6d211db37e75de2ddc3a4f979038c40df7cc79c: Linux 3.15-rc5 (2014-05-09 13:10:52 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.16-rc1 for you to fetch changes up to

[GIT PULL] TTY/Serial patches for 3.16-rc1

2014-06-02 Thread Greg KH
The following changes since commit d1db0eea852497762cab43b905b879dfcd3b8987: Linux 3.15-rc3 (2014-04-27 19:29:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-3.16-rc1 for you to fetch changes up to

Re: [GIT PULL] Driver core / sysfs patches for 3.16-rc1

2014-06-02 Thread Greg KH
On Mon, Jun 02, 2014 at 10:45:12PM -0700, Greg KH wrote: > The following changes since commit 4b660a7f5c8099d88d1a43d8ae138965112592c7: > > Linux 3.15-rc6 (2014-05-22 06:42:02 +0900) > > are available in the git repository at: > >

[GIT PULL] Driver core / sysfs patches for 3.16-rc1

2014-06-02 Thread Greg KH
The following changes since commit 4b660a7f5c8099d88d1a43d8ae138965112592c7: Linux 3.15-rc6 (2014-05-22 06:42:02 +0900) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.git/ tags/driver-core-3.16-rc1 for you to fetch changes up to

[GIT PULL] char/misc driver patches for 3.16-rc1

2014-06-02 Thread Greg KH
The following changes since commit d1db0eea852497762cab43b905b879dfcd3b8987: Linux 3.15-rc3 (2014-04-27 19:29:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.16-rc1 for you to fetch changes up to

[PATCH] ARM: EXYNOS: Fix the sequence of secondary CPU boot for Exynos3250

2014-06-02 Thread Chanwoo Choi
This patch set AUTOWAKEUP_EN bit to ARM_CORE_CONFIGURATION register because Exynos3250 removes WFE in secure mode so that turn on automatically after setting CORE_LOCAL_PWR_EN. Also, This patch use dbs_sev() macro to guarantee the data synchronization of command instead of IPI_WAKEUP because

Re: [PATCH v3] hwmon: add support for Sensirion SHTC1 sensor

2014-06-02 Thread Guenter Roeck
On Mon, Jun 02, 2014 at 03:13:40PM -0700, Tomas Pop wrote: > Hi Guenter, > Hi Tomas, comments inline. Mostly nitpicks plus one real bug. > here is a third version of the driver for Sensirion SHTC1 humidity and > temperature sensor. We included suggested corrections, the most important > changes

Re: [RFC][PATCH 1/2] Add a super operation for writeback

2014-06-02 Thread Christian Stroetmann
On the 3rd of June 2014 05:39, Dave Chinner wrote: On Mon, Jun 02, 2014 at 10:30:07AM +0200, Christian Stroetmann wrote: When I followed the advice of Dave Chinner: "We're not going to merge that page forking stuff (like you were told at LSF 2013 more than a year ago:

[PATCH v2] delete unnecessary bootmem struct page array

2014-06-02 Thread Real Name
From: Honggang Li The patch based on linux-next-2014-06-02. The old init_maps function does two things: 1) allocates and initializes one struct page array for bootmem 2) count the number of total pages After removed the source code related to the unnecessary array, the name 'init_maps' is

[PATCH] delete unnecessary bootmem struct page array

2014-06-02 Thread Real Name
From: Honggang Li 1) uml kernel bootmem managed through bootmem_data->node_bootmem_map, not the struct page array, so the array is unnecessary. 2) the bootmem struct page array has been pointed by a *local* pointer, struct page *map, in init_maps function. The array can be accessed only in

[PATCH v5 2/3] mfd: intel_soc_pmic: Crystal Cove support

2014-06-02 Thread Zhu, Lejun
This patch provides chip-specific support for Crystal Cove. Crystal Cove is the PMIC in Baytrail-T platform. Also adds Intel SoC PMIC support to the build files. Signed-off-by: Yang, Bin Signed-off-by: Zhu, Lejun --- v2: - Add regmap_config for Crystal Cove. v3: - Convert IRQ config to

[PATCH v5 0/3] mfd: Intel SoC Power Management IC

2014-06-02 Thread Zhu, Lejun
Devices based on Intel SoC products such as Baytrail have a Power Management IC. In the PMIC there are subsystems for voltage regulation, A/D conversion, GPIO and PWMs. The PMIC in Baytrail-T platform is called Crystal Cove. This series contains common code for these PMICs, and device specific

[PATCH v5 1/3] mfd: intel_soc_pmic: Core driver

2014-06-02 Thread Zhu, Lejun
This patch provides the common I2C driver code for Intel SoC PMICs. Signed-off-by: Yang, Bin Signed-off-by: Zhu, Lejun --- v2: - Use regmap instead of creating our own I2C read/write callbacks. - Add one missing EXPORT_SYMBOL. - Remove duplicate code and put them into pmic_regmap_load_from_hw.

[PATCH v5 3/3] gpio: Add support for Intel Crystal Cove PMIC

2014-06-02 Thread Zhu, Lejun
Devices based on Intel SoC products such as Baytrail have a Power Management IC. In the PMIC there are subsystems for voltage regulation, A/D conversion, GPIO and PWMs. The PMIC in Baytrail-T platform is called Crystal Cove. This patch adds support for the GPIO function in Crystal Cove.

Re: [PATCH RFC 2/2] rcu: Add Josh Triplett as designated reviewer

2014-06-02 Thread Joe Perches
On Mon, 2014-06-02 at 22:10 -0700, Josh Triplett wrote: > On Mon, Jun 02, 2014 at 08:11:36PM -0700, Joe Perches wrote: [] > "the appropriate mailing lists" often just mean LKML, > for many patches I've sent; almost nobody sees a patch only sent to > LKML, unless they specifically go looking for

Re: [PATCH] cpufreq: governor: Be friendly towards latency-sensitive bursty workloads

2014-06-02 Thread Gautham R Shenoy
On Mon, Jun 02, 2014 at 01:45:38PM +0530, Srivatsa S. Bhat wrote: > On 06/02/2014 01:03 PM, Gautham R Shenoy wrote: > > Hi, > > > > On Tue, May 27, 2014 at 02:23:38AM +0530, Srivatsa S. Bhat wrote: > > > > [..snip..] > >> > >> Experimental results: > >> > >> > >> I ran a

Re: [PATCH RFC 2/2] rcu: Add Josh Triplett as designated reviewer

2014-06-02 Thread Josh Triplett
On Mon, Jun 02, 2014 at 08:11:36PM -0700, Joe Perches wrote: > On Mon, 2014-06-02 at 18:51 -0700, Josh Triplett wrote: > > git send-email can invoke 'scripts/get_maintainer.pl --no-rolestats' > > directly via --to-cmd or -cc-cmd; that works fine as long as you don't > > have a cover letter. > > >

[PATCH v3 1/2] xen: vnuma for pv guests

2014-06-02 Thread Elena Ufimtseva
Issues Xen hypercall subop XENMEM_get_vnumainfo and sets the NUMA topology, otherwise sets dummy NUMA node and prevents numa_init from calling other numa initializators as they dont work with pv guests. Signed-off-by: Elena Ufimtseva --- arch/x86/include/asm/xen/vnuma.h | 10

[PATCH v3 0/2] xen: vnuma for PV guests

2014-06-02 Thread Elena Ufimtseva
The patchset introduces vnuma to paravirtualized Xen guests runnning as domU. Xen subop hypercall is used to retreive vnuma topology information. Bases on the retreived topology from Xen, NUMA number of nodes, memory ranges, distance table and cpumask is being set. If initialization is incorrect,

[PATCH V2] scripts/checkpatch.pl: device_initcall is not the only __initcall substitute

2014-06-02 Thread Fabian Frederick
This patch adds a link to init.h to find accurate initcall function to replace obsolete __initcall Cc: Andy Whitcroft Cc: Joe Perches Cc: Andrew Morton Signed-off-by: Fabian Frederick --- V2: s/accurate/appropriate scripts/checkpatch.pl | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [PATCH] blk-mq: fix sparse warning on missed __percpu annotation

2014-06-02 Thread Jens Axboe
On 2014-06-02 21:24, Ming Lei wrote: 'struct blk_mq_ctx' is __percpu, so add the annotation and fix the sparse warning reported from Fengguang: [block:for-linus 2/3] block/blk-mq.h:75:16: sparse: incorrect type in initializer (different address spaces) Thanks, applied. --

Re: [PATCH] RFT: pinctrl: spear: switch plgpio to irqchip helpers

2014-06-02 Thread Viresh Kumar
On Thu, May 29, 2014 at 2:55 PM, Linus Walleij wrote: > This switches the SPEAr PLGPIO driver over to using the irqchip > helpers. > > As part of this effort, also get rid of the strange irq_base > calculation and failure to use d->hwirq for obtaining a local > irqchip offset. > > Cc: Viresh

Re: [PATCH] driver core: platform: add device binding path 'driver_override'

2014-06-02 Thread Greg KH
On Mon, Jun 02, 2014 at 07:42:58PM -0500, Kim Phillips wrote: > Needed by platform device drivers, such as the upcoming > vfio-platform driver, in order to bypass the existing OF, ACPI, > id_table and name string matches, and successfully be able to be > bound to any device, like so: > > echo

[PATCH ftrace/core 0/2] ftrace: Introduce the new file "saved_cmdlines_size"

2014-06-02 Thread Yoshihiro YUNOMAE
Hi Steven, This patch set introduces the new file "saved_cmdlines_size" for increasing the number of saved cmdlines. Current saved_cmdlines can store just 128 command names and PIDs, but process names are often lost like <...> when we read trace data. If the process exists, we can get the name

[PATCH ftrace/core 1/2] [BUGFIX] ftrace: Avoid panic when allocation of max_buffer is failed

2014-06-02 Thread Yoshihiro YUNOMAE
When allocation of max_buffer is failed, the kernel frees tr->trace_buffer.data per CPU and return -ENOMEM in allocate_trace_buffers(). However, tracer_alloc_buffers() calling allocate_trace_buffers() also frees the data per CPU for -ENOMEM by allocate_trace_buffers(). Therefore, the allocation

[PATCH ftrace/core 2/2] ftrace: Introduce saved_cmdlines_size file

2014-06-02 Thread Yoshihiro YUNOMAE
Introduce saved_cmdlines_size file for changing the number of pid-comm list. saved_cmdlines can store 128 command names using SAVED_CMDLINES now, but 'no-existing processes' names are often lost in saved_cmdlines when we read trace data. So, by introducing saved_cmdlines_size file, the rule

Re: [PATCH] ARM: Remove ARCH_HAS_CPUFREQ config option

2014-06-02 Thread Viresh Kumar
On Tue, Jun 3, 2014 at 3:37 AM, Stephen Boyd wrote: > This config exists entirely to hide the cpufreq menu from the > kernel configuration unless a platform has selected it. Nothing > is actually built if this config is 'Y' and it just leads to > more patches that add a select under a platform

Re: 3.15 regression: wrong cgroup magic

2014-06-02 Thread Greg Kroah-Hartman
On Mon, Jun 02, 2014 at 06:30:20PM -0700, Linus Torvalds wrote: > On Mon, Jun 2, 2014 at 6:22 PM, Tejun Heo wrote: > > > > Linus, can you please cherry-pick the commit? > > I'd much rather see it go through the proper channels than go ahead > and cherry-pick from some branch that hasn't even

3.15-rc8 mm/filemap.c:202 BUG

2014-06-02 Thread Dave Jones
I'm still seeing this one from time to time, though it takes me quite a while to hit it, despite my attempts at trying to narrow down the set of syscalls that cause it. kernel BUG at mm/filemap.c:202! invalid opcode: [#1] PREEMPT SMP DEBUG_PAGEALLOC CPU: 3 PID: 3013 Comm: trinity-c361 Not

Re: [PATCH] sysctl: Fix division by zero in percpu_pagelist_fraction handler

2014-06-02 Thread Oleg Drokin
Hello! On Jun 2, 2014, at 11:57 PM, David Rientjes wrote: > I'm pretty sure we want to allow users to restore the kernel default > behavior if they've already written to this file and now want to change it > back. > > What do you think about doing it like this instead? > --- >

Re: [PATCH RFC - TAKE TWO - 00/12] New version of the BFQ I/O Scheduler

2014-06-02 Thread Mike Galbraith
On Mon, 2014-06-02 at 13:33 -0400, Tejun Heo wrote: > Hello, Pavel. > > On Mon, Jun 02, 2014 at 01:14:33PM +0200, Pavel Machek wrote: > > Now.. I see it is more work for storage maintainers, because there'll > > be more code to maintain in the interim. But perhaps user advantages > > are worth

[PATCH 3/3] cgroup: set visible flag only after we've mounted the default root

2014-06-02 Thread Li Zefan
This fixes the failure path, so we won't set the visible flag though the mount is failed. Signed-off-by: Li Zefan --- kernel/cgroup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index dabc486..0b6b44e 100644 --- a/kernel/cgroup.c +++

[PATCH 2/3] cgroup: make the default root invisible when it's umounted

2014-06-02 Thread Li Zefan
Before this patch (in a fresh system): # cat /proc/$$/cgroup # mount -t cgroup -o __DEVEL__sane_behavior xxx /cgroup # umount /cgroup # cat /proc/$$/cgroup 0:cpuset,cpu,cpuacct,memory,devices,freezer,net_cls,blkio,perf_event,net_prio,hugetlb:/ After this patch (in a fresh

[PATCH 1/3] cgroup: don't destroy the default root

2014-06-02 Thread Li Zefan
The default root is allocated and initialized at boot, so we shouldn't destroy the default root when it's umounted, otherwise it will lead to disaster. Signed-off-by: Li Zefan --- kernel/cgroup.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/kernel/cgroup.c

[GIT PULL] hwmon changes for 3.16

2014-06-02 Thread Guenter Roeck
Hi Linus, Please pull hwmon changes for Linux 3.16 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit 4b660a7f5c8099d88d1a43d8ae138965112592c7: Linux 3.15-rc6 (2014-05-22

Re: [PATCH] sysctl: Fix division by zero in percpu_pagelist_fraction handler

2014-06-02 Thread David Rientjes
On Mon, 2 Jun 2014, Oleg Drokin wrote: > It's needed because at the very beginning of proc_dointvec_minmax it checks > if the length is 0 and if it is, immediately returns success because there's > nothing to be done > from it's perspective. > And since percpu_pagelist_fraction is 0 from the

Re: [RFC][PATCH 1/2] Add a super operation for writeback

2014-06-02 Thread Dave Chinner
On Mon, Jun 02, 2014 at 10:30:07AM +0200, Christian Stroetmann wrote: > When I followed the advice of Dave Chinner: > "We're not going to merge that page forking stuff (like you were > told at LSF 2013 more than a year ago: > http://lwn.net/Articles/548091/) without rigorous design review and > a

Re: [RFC][PATCH 1/2] Add a super operation for writeback

2014-06-02 Thread Dave Chinner
[ please line wrap at something sane like 68 columns ] On Mon, Jun 02, 2014 at 01:02:29PM -0700, Daniel Phillips wrote: > On 06/01/2014 08:15 PM, Dave Chinner wrote: > > On Sun, Jun 01, 2014 at 02:41:02PM -0700, I wrote: > >> + > >> +/* > >> + * Add inode to writeback dirty list with current

[PATCH] blk-mq: fix sparse warning on missed __percpu annotation

2014-06-02 Thread Ming Lei
'struct blk_mq_ctx' is __percpu, so add the annotation and fix the sparse warning reported from Fengguang: [block:for-linus 2/3] block/blk-mq.h:75:16: sparse: incorrect type in initializer (different address spaces) Reported-by: kbuild test robot Signed-off-by: Ming Lei ---

[PATCH v2 4/4] tools lib traceevent: Added support for __get_bitmask() macro

2014-06-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Coming in v3.16, trace events will be able to save bitmasks in raw format in the ring buffer and output it with the __get_bitmask() macro. In order for userspace tools to parse this, it must be able to handle the __get_bitmask() call and be able to convert the

[PATCH v2 1/4] tools lib traceevent: Add flag to not load event plugins

2014-06-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add a flag to pevent that will let the callers be able to set it and keep the system, and perhaps even normal plugins from being loaded. This is useful when plugins might hide certain information and seeing the raw events shows what may be going on.

[PATCH v2 3/4] tools lib traceevent: Add options to function plugin

2014-06-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Add the options "parent" and "indent" to the function plugin. When parent is set, the output looks like this: function: fsnotify_modify <-- vfs_write function: zone_statistics <-- get_page_from_freelist function:

[PATCH v2 0/4] tools lib traceevent: bitmask handling and plugin updates

2014-06-02 Thread Steven Rostedt
This is v2 of the patch series that added __get_bitmask() as well as added some plugin code. This version addresses what Namhyung suggested. The diff from v1 is posted below. Steven Rostedt (Red Hat) (4): tools lib traceevent: Add flag to not load event plugins tools lib traceevent:

[PATCH v2 2/4] tools lib traceevent: Add options to plugins

2014-06-02 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" The traceevent plugins allows developers to have their events print out information that is more advanced than what can be achieved by the trace event format files. As these plugins are used on the userspace side of the tracing tools, it is only logical that the

Re: [PATCH] perf record: Fix poll return value propagation

2014-06-02 Thread Namhyung Kim
On Mon, 2 Jun 2014 20:02:06 +0200, Jiri Olsa wrote: > If the perf record command is interrupted in record__mmap_read_all > function, the 'done' is set and err has the latest poll return > value, which is most likely positive number (= number of pollfds > ready to read). > > This 'positive err' is

RE: [PATCH] watchdog: imx2_wdt: adds big endianness support.

2014-06-02 Thread li.xi...@freescale.com
> > @@ -201,6 +204,10 @@ static int __init imx2_wdt_probe(struct platform_device > *pdev) > > if (!wdev) > > return -ENOMEM; > > > > + big_endian = of_property_read_bool(np, "big-endian"); > > + if (big_endian) > > + imx2_wdt_regmap_config.val_format_endian =

Re: nfs4_do_reclaim lockdep pop in v3.15.0-rc1

2014-06-02 Thread John Stultz
On Mon, Jun 2, 2014 at 5:59 PM, Trond Myklebust wrote: > On Mon, Jun 2, 2014 at 6:49 PM, John Stultz wrote: >> On Mon, Jun 2, 2014 at 3:42 PM, Trond Myklebust >> wrote: >>> The so_reclaim_seqcount only exists in order to tell the other threads >>> that they may need to replay file open or file

Re: [PATCH] tools: perf: builtin-trace.c: Cleaning up memory leak

2014-06-02 Thread Namhyung Kim
On Sun, 1 Jun 2014 13:38:26 +0200, Rickard Strandqvist wrote: > There is a risk for memory leak in when something unexpected happens > and the function returns. > > This was largely found by using a static code analysis program called > cppcheck. Acked-by: Namhyung Kim Thanks, Namhyung -- To

Re: [PATCH 2/4] tools lib traceevent: Add options to plugins

2014-06-02 Thread Steven Rostedt
On Mon, 19 May 2014 23:29:35 +0900 Namhyung Kim wrote: > > - * struct plugin_option PEVENT_PLUGIN_OPTIONS[] = { > > + * struct pevent_plugin_option PEVENT_PLUGIN_OPTIONS[] = { > > * { > > * .name = "option-name", > > * .plugin_alias = "overide-file-name", (optional) > >

Re: [PATCH] tools: lib: traceevent: parse-filter.c: Cleaning up memory leak

2014-06-02 Thread Namhyung Kim
Hi Rickard, On Sun, 1 Jun 2014 13:36:56 +0200, Rickard Strandqvist wrote: > There is a risk for memory leak in when something unexpected happens > and the function returns. > > This was largely found by using a static code analysis program called > cppcheck. Nice work! Acked-by: Namhyung Kim

Re: [PATCH RFC 2/2] rcu: Add Josh Triplett as designated reviewer

2014-06-02 Thread Joe Perches
On Mon, 2014-06-02 at 18:51 -0700, Josh Triplett wrote: > git send-email can invoke 'scripts/get_maintainer.pl --no-rolestats' > directly via --to-cmd or -cc-cmd; that works fine as long as you don't > have a cover letter. > > Depending on the system I'm running on, and whether it's more

Re: [PATCH] perf: fix 'make help' message error

2014-06-02 Thread Jianyu Zhan
Hi, Namhyung, On Tue, Jun 3, 2014 at 10:51 AM, Namhyung Kim wrote: > > s/condiered/considered/ ? > > Oops, sorry for the typo. >>> has an empty value, so "prefix" is honored. However, "prefix" is >>> unconditionally >>> assigned to $HOME, regardless of what it is set to from command line. So

Re: [PATCH] perf script: pass more arguments to the python event handler

2014-06-02 Thread Namhyung Kim
Hi Sebastian, On Fri, 30 May 2014 18:25:23 +0200, Sebastian Andrzej Siewior wrote: > This patch extends the current argument list in case of events by > - IP / addr of the event. Currently only the function name is passed. > - seconds and ns as the timestamp. Split into two value to stay close to

Re: [PATCH] toosl/perf: convert "==" into "="

2014-06-02 Thread Namhyung Kim
Hi Arnaldo, On Fri, 30 May 2014 12:47:09 -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, May 30, 2014 at 05:37:29PM +0200, Jiri Olsa escreveu: >> On Fri, May 30, 2014 at 12:20:11PM -0300, Arnaldo Carvalho de Melo wrote: >> > Em Fri, May 30, 2014 at 02:44:46PM +0200, Jean Delvare escreveu: >> > >

Re: [PATCH] perf: fix 'make help' message error

2014-06-02 Thread Namhyung Kim
Hi Jianyu, On Tue, 3 Jun 2014 00:53:16 +0800, Jianyu Zhan wrote: > On Tue, Jun 3, 2014 at 12:44 AM, Jianyu Zhan wrote: >> Hi, Namhyung, >> >>>I don't know what's the correct way to do this. But it seems like the >>>prefix was overwritten when given from user, so below patch will work >>>also.

Re: [PATCH 4/4] tools lib traceevent: Added support for __get_bitmask() macro

2014-06-02 Thread Steven Rostedt
On Tue, 03 Jun 2014 11:43:26 +0900 Namhyung Kim wrote: > Hi Steve, > > On Fri, 16 May 2014 10:02:19 -0400, Steven Rostedt wrote: > > @@ -3691,6 +3784,23 @@ static void print_str_arg(struct trace_seq *s, void > > *data, int size, > > case PRINT_BSTRING: > > print_str_to_seq(s,

Re: [PATCH 4/4] tools lib traceevent: Added support for __get_bitmask() macro

2014-06-02 Thread Namhyung Kim
Hi Steve, On Fri, 16 May 2014 10:02:19 -0400, Steven Rostedt wrote: > @@ -3691,6 +3784,23 @@ static void print_str_arg(struct trace_seq *s, void > *data, int size, > case PRINT_BSTRING: > print_str_to_seq(s, format, len_arg, arg->string.string); > break; > +

linux-next: manual merge of the net-next tree with the net tree

2014-06-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/ipv6/output_core.c between commit 39c36094d78c ("net: fix inet_getid() and ipv6_select_ident() bugs") from the net tree and commit 73f156a6e8c1 ("inetpeer: get rid of ip_id_count") from the net-next tree. I fixed it up

linux-next: manual merge of the net-next tree with the net tree

2014-06-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in include/net/inetpeer.h between commit 39c36094d78c ("net: fix inet_getid() and ipv6_select_ident() bugs") from the tree and commit 73f156a6e8c1 ("inetpeer: get rid of ip_id_count") from the net-next tree. I fixed it up (the

Re: [PATCH] tools: lib: traceevent: parse-filter.c: Cleaning up memory leak

2014-06-02 Thread Steven Rostedt
On Sun, 1 Jun 2014 13:36:56 +0200 Rickard Strandqvist wrote: > There is a risk for memory leak in when something unexpected happens > and the function returns. > > This was largely found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist

Re: [PATCH] sysctl: Fix division by zero in percpu_pagelist_fraction handler

2014-06-02 Thread Oleg Drokin
Hello! On Jun 2, 2014, at 9:40 PM, David Rientjes wrote: >> diff --git a/mm/page_alloc.c b/mm/page_alloc.c >> index 5dba293..91d0265 100644 >> --- a/mm/page_alloc.c >> +++ b/mm/page_alloc.c >> @@ -5854,7 +5854,7 @@ int percpu_pagelist_fraction_sysctl_handler(ctl_table >> *table, int write, >>

[PATCH V3] regulator: DA9211 : new regulator driver

2014-06-02 Thread James Ban
This is the driver for the Dialog DA9211 Multi-phase 12A DC-DC Buck Converter regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20140530. Changes in V3: - Removed voltage selection in the

[git pull] m68knommu arch fixes for 3.16

2014-06-02 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. Nothing too big, just a handfull of small changes. A couple of dragonball fixes, coldfire qspi cleanup and fixes, and some coldfire gpio cleanup, fixes and extensions. Regards Greg The following changes since commit

Re: mm,console: circular dependency between console_sem and zone lock

2014-06-02 Thread Steven Rostedt
On Sun, 01 Jun 2014 10:08:21 -0400 Sasha Levin wrote: > On 05/12/2014 12:28 PM, Jan Kara wrote: > > On Wed 07-05-14 22:03:08, Sasha Levin wrote: > >> > Hi all, > >> > > >> > While fuzzing with trinity inside a KVM tools guest running the latest > >> > -next > >> > kernel I've stumbled on the

Re: [PATCH RFC 2/2] rcu: Add Josh Triplett as designated reviewer

2014-06-02 Thread Josh Triplett
On Mon, Jun 02, 2014 at 06:07:18PM -0700, Randy Dunlap wrote: > On 06/02/2014 05:02 PM, j...@joshtriplett.org wrote: > > On Mon, Jun 02, 2014 at 01:38:56PM -0700, Randy Dunlap wrote: > >> On 06/02/2014 01:36 PM, Joe Perches wrote: > >>> On Mon, 2014-06-02 at 13:35 -0700, Andrew Morton wrote: >

Legal Notice

2014-06-02 Thread Osbornes Solicitors LLP
My late client made his last will and testament in your favour, i sent letters to you but got no response, i advise you contact me immediately. Barr Mark Freedman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH] sysctl: Fix division by zero in percpu_pagelist_fraction handler

2014-06-02 Thread David Rientjes
On Sat, 3 May 2014, Oleg Drokin wrote: > percpu_pagelist_fraction_sysctl_handler calls proc_dointvec_minmax > and blindly assumes that return value of 0 means success. > In fact the other valid case is when it got a zero length input. > > After that it proceeds to a division by

Re: [PATCH 2/4] perf tools: allow user to specify hardware breakpoint bp_len

2014-06-02 Thread Namhyung Kim
Hi Jiri, On Fri, 30 May 2014 15:39:06 +0200, Jiri Olsa wrote: > On Thu, May 29, 2014 at 05:26:51PM +0200, Frederic Weisbecker wrote: >> From: Jacob Shin >> >> Currently bp_len is given a default value of 4. Allow user to override it: >> >> $ perf stat -e mem:0x1000/8 >>

Re: [PATCH -mm] slab: delete cache from list after __kmem_cache_shutdown succeeds

2014-06-02 Thread David Rientjes
On Thu, 15 May 2014, Vladimir Davydov wrote: > Currently, on kmem_cache_destroy we delete the cache from the slab_list > before __kmem_cache_shutdown, inserting it back to the list on failure. > Initially, this was done, because we could release the slab_mutex in > __kmem_cache_shutdown to delete

kredīta piedāvājums

2014-06-02 Thread DIAMONDSWISS LOANSCOMPANY
Laba diena, Mēs esam DIAMOND ŠVEICES aizdevumu uzņēmumam sniedzot aizdevumus ar pasta reklāma. Mēs piedāvājam dažāda veida aizdevumu (īstermiņa un ilgtermiņa aizdevumi, individuālie aizņēmumi, aizdevumi uzņēmumiem uc), par 3% procentu likmi. Mēs izsniegt aizdevumus cilvēkiem,

Re: 3.15 regression: wrong cgroup magic

2014-06-02 Thread Linus Torvalds
On Mon, Jun 2, 2014 at 6:22 PM, Tejun Heo wrote: > > Linus, can you please cherry-pick the commit? I'd much rather see it go through the proper channels than go ahead and cherry-pick from some branch that hasn't even been sent to me yet. The whole "you have to send things to me for me to take

Re: [PATCH RFC 1/2] MAINTAINERS: Add "R:" designated-reviewers tag

2014-06-02 Thread Steven Rostedt
On Tue, 3 Jun 2014 11:11:25 +1000 Dave Chinner wrote: > You've ignored the (c).(2) "free of known issues" criteria there. > You cannot say a patch is free of issues if you haven't applied, > compiled and tested it. > > > We should not, for instance, prevent someone from providing a > >

Re: [RESEND PATCH] kexec : add sparse memory related values to vmcore

2014-06-02 Thread Liu hua
On 2014/5/29 8:13, Simon Horman 写道: > On Wed, May 28, 2014 at 09:49:56PM +0800, Liu Hua wrote: >> This patch deales with sparse memory model. >> >> For ARM32 platforms, different vendors may define different >> SECTION_SIZE_BITS, which we did not write to vmcore. >> >> For example: >> >> 1

Re: 3.15 regression: wrong cgroup magic

2014-06-02 Thread Tejun Heo
On Tue, Jun 03, 2014 at 09:18:25AM +0800, Li Zefan wrote: > > commit 2bd59d48ebfb3df41ee56938946ca0dd30887312 > > Author: Tejun Heo > > Date: Tue Feb 11 11:52:49 2014 -0500 > > > > cgroup: convert to kernfs > > > > In particular, this piece: > > > > - sb->s_magic =

Re: 3.15 regression: wrong cgroup magic

2014-06-02 Thread Li Zefan
Cc: Greg Cc: Jianyu Zhan On 2014/6/3 8:56, Andy Lutomirski wrote: > Sorry I didn't notice this earlier. Linux 3.15 breaks my production But 3.15 hasn't been released. :) > system :( The cause appears to be: > > commit 2bd59d48ebfb3df41ee56938946ca0dd30887312 > Author: Tejun Heo > Date:

Re: [PATCH v5 6/6] seccomp: add SECCOMP_EXT_ACT_TSYNC and SECCOMP_FILTER_TSYNC

2014-06-02 Thread Andy Lutomirski
On Mon, Jun 2, 2014 at 6:09 PM, Kees Cook wrote: > On Mon, Jun 2, 2014 at 5:29 PM, Andy Lutomirski wrote: >> On Mon, Jun 2, 2014 at 5:14 PM, Kees Cook wrote: >>> On Mon, Jun 2, 2014 at 1:53 PM, Andy Lutomirski wrote: On Tue, May 27, 2014 at 12:55 PM, Kees Cook wrote: > On Tue, May

Re: 3.15 regression: wrong cgroup magic

2014-06-02 Thread Linus Torvalds
On Mon, Jun 2, 2014 at 5:56 PM, Andy Lutomirski wrote: > > In particular, this piece: > > - sb->s_magic = CGROUP_SUPER_MAGIC; > > The result is that cgroup shows up with the wrong magic number, so my > code goes "oh crap, cgroupfs isn't mounted" and fails. > > I can change my code to hack

Re: [patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-02 Thread Johannes Weiner
On Mon, Jun 02, 2014 at 05:51:25PM -0700, David Rientjes wrote: > From: Hugh Dickins > > mem_cgroup_force_empty_list() can iterate a large number of pages on an lru > and > mem_cgroup_move_parent() doesn't return an errno unless certain criteria, > none > of which indicate that the iteration

[GIT] Networking

2014-06-02 Thread David Miller
1) Unbreak zebra and other netlink apps, from Eric W. Biederman. 2) Some new qmi_wwan device IDs, from Aleksander Morgado. 3) Fix info leak in DCB netlink handler of qlcnic driver, from Dan Carpenter. 4) inet_getid() and ipv6_select_ident() do not generate monotnically increasing ID

Re: [PATCH RFC 1/2] MAINTAINERS: Add "R:" designated-reviewers tag

2014-06-02 Thread Dave Chinner
On Mon, Jun 02, 2014 at 04:59:15PM -0700, j...@joshtriplett.org wrote: > On Tue, Jun 03, 2014 at 09:19:49AM +1000, Dave Chinner wrote: > > On Mon, Jun 02, 2014 at 12:17:46PM -0700, Joe Perches wrote: > > > What it needs is testing, not reviewing. > > > > > > I tested it for all of 10 seconds. > >

[RFC PATCH 1/3] CMA: generalize CMA reserved area management functionality

2014-06-02 Thread Joonsoo Kim
Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the kvm on powerpc. They have their own code to manage CMA reserved area even if they looks really similar. >From my guess, it is caused by some needs on bitmap management. Kvm side wants to maintain

Re: [PATCH v5 6/6] seccomp: add SECCOMP_EXT_ACT_TSYNC and SECCOMP_FILTER_TSYNC

2014-06-02 Thread Kees Cook
On Mon, Jun 2, 2014 at 5:29 PM, Andy Lutomirski wrote: > On Mon, Jun 2, 2014 at 5:14 PM, Kees Cook wrote: >> On Mon, Jun 2, 2014 at 1:53 PM, Andy Lutomirski wrote: >>> On Tue, May 27, 2014 at 12:55 PM, Kees Cook wrote: On Tue, May 27, 2014 at 12:27 PM, Andy Lutomirski wrote: >

[RFC PATCH 2/3] DMA, CMA: use general CMA reserved area management framework

2014-06-02 Thread Joonsoo Kim
Now, we have general CMA reserved area management framework, so use it for future maintainabilty. There is no functional change. Signed-off-by: Joonsoo Kim diff --git a/drivers/base/Kconfig b/drivers/base/Kconfig index b3fe1cc..4eac559 100644 --- a/drivers/base/Kconfig +++

[RFC PATCH 3/3] PPC, KVM, CMA: use general CMA reserved area management framework

2014-06-02 Thread Joonsoo Kim
Now, we have general CMA reserved area management framework, so use it for future maintainabilty. There is no functional change. Signed-off-by: Joonsoo Kim diff --git a/arch/powerpc/kvm/book3s_hv_builtin.c b/arch/powerpc/kvm/book3s_hv_builtin.c index 8cd0dae..43c3f81 100644 ---

[RFC PATCH 0/3] CMA: generalize CMA reserved area management code

2014-06-02 Thread Joonsoo Kim
Currently, there are two users on CMA functionality, one is the DMA subsystem and the other is the kvm on powerpc. They have their own code to manage CMA reserved area even if they looks really similar. >From my guess, it is caused by some needs on bitmap management. Kvm side wants to maintain

Re: [PATCH RFC 2/2] rcu: Add Josh Triplett as designated reviewer

2014-06-02 Thread Randy Dunlap
On 06/02/2014 05:02 PM, j...@joshtriplett.org wrote: > On Mon, Jun 02, 2014 at 01:38:56PM -0700, Randy Dunlap wrote: >> On 06/02/2014 01:36 PM, Joe Perches wrote: >>> On Mon, 2014-06-02 at 13:35 -0700, Andrew Morton wrote: On Mon, 2 Jun 2014 10:00:20 -0700 "Paul E. McKenney" wrote:

Re: nfs4_do_reclaim lockdep pop in v3.15.0-rc1

2014-06-02 Thread Trond Myklebust
On Mon, Jun 2, 2014 at 6:49 PM, John Stultz wrote: > On Mon, Jun 2, 2014 at 3:42 PM, Trond Myklebust > wrote: >> On Mon, Jun 2, 2014 at 6:12 PM, John Stultz wrote: >>> On Mon, Jun 2, 2014 at 9:02 AM, Trond Myklebust >>> wrote: On Mon, Jun 2, 2014 at 10:49 AM, Jeff Layton wrote:

3.15 regression: wrong cgroup magic

2014-06-02 Thread Andy Lutomirski
Sorry I didn't notice this earlier. Linux 3.15 breaks my production system :( The cause appears to be: commit 2bd59d48ebfb3df41ee56938946ca0dd30887312 Author: Tejun Heo Date: Tue Feb 11 11:52:49 2014 -0500 cgroup: convert to kernfs In particular, this piece: - sb->s_magic =

[patch v2] mm, memcg: periodically schedule when emptying page list

2014-06-02 Thread David Rientjes
From: Hugh Dickins mem_cgroup_force_empty_list() can iterate a large number of pages on an lru and mem_cgroup_move_parent() doesn't return an errno unless certain criteria, none of which indicate that the iteration may be taking too long, is met. We have encountered the following stack trace

linux-next: manual merge of the mips tree with Linus' tree

2014-06-02 Thread Stephen Rothwell
Hi Ralf, Today's linux-next merge of the mips tree got a conflict in arch/mips/mti-malta/malta-memory.c between commit 2ff89d64f23e ("MIPS: malta: memory.c: Initialize the 'memsize' variable") from Linus' tree and commit acd8bc1a70ff ("MIPS: malta: Remove 'maybe_unused' attribute from ememsize{,

Re: [PATCH] net: filter: fix possible memory leak in __sk_prepare_filter()

2014-06-02 Thread David Miller
From: Leon Yu Date: Sun, 1 Jun 2014 05:37:25 + > __sk_prepare_filter() was reworked in commit bd4cf0ed3 (net: filter: > rework/optimize internal BPF interpreter's instruction set) so that it should > have uncharged memory once things went wrong. However that work isn't > complete. > Error

[PATCH] driver core: platform: add device binding path 'driver_override'

2014-06-02 Thread Kim Phillips
Needed by platform device drivers, such as the upcoming vfio-platform driver, in order to bypass the existing OF, ACPI, id_table and name string matches, and successfully be able to be bound to any device, like so: echo vfio-platform > /sys/bus/platform/devices/fff51000.ethernet/driver_override

Re: [Patch V3 03/37] x86, mpparse: use pr_lvl() helper utilities to replace printk(KERN_LVL)

2014-06-02 Thread David Rientjes
On Tue, 27 May 2014, Jiang Liu wrote: > Use pr_lvl() helper utilities to replace printk(KERN_LVL) for readability, > no function changes. > > Signed-off-by: Jiang Liu Acked-by: David Rientjes Eek, lots of newlines in single printks without pr_cont() that are existing, probably to make them

Re: [RFC 11/32] xfs: convert to struct inode_time

2014-06-02 Thread Dave Chinner
On Mon, Jun 02, 2014 at 01:43:44PM +0200, Arnd Bergmann wrote: > On Monday 02 June 2014 10:28:22 Dave Chinner wrote: > > On Sun, Jun 01, 2014 at 10:24:37AM +1000, Dave Chinner wrote: > > > On Sat, May 31, 2014 at 05:37:52PM +0200, Arnd Bergmann wrote: > > > > In my list at

Re: [PATCH RFC 1/2] MAINTAINERS: Add "R:" designated-reviewers tag

2014-06-02 Thread Steven Rostedt
On Mon, 2 Jun 2014 16:24:24 -0700 Andrew Morton wrote: > On Tue, 3 Jun 2014 09:19:49 +1000 Dave Chinner wrote: > > > Anyone using Reviewed-by without having actually applied and tested > > the patch is mis-using the tag > > I think you just described 94.7% of Reviewed-by:s. 94.8% /me me

Re: [PATCH v5 6/6] seccomp: add SECCOMP_EXT_ACT_TSYNC and SECCOMP_FILTER_TSYNC

2014-06-02 Thread Andy Lutomirski
On Mon, Jun 2, 2014 at 5:14 PM, Kees Cook wrote: > On Mon, Jun 2, 2014 at 1:53 PM, Andy Lutomirski wrote: >> On Tue, May 27, 2014 at 12:55 PM, Kees Cook wrote: >>> On Tue, May 27, 2014 at 12:27 PM, Andy Lutomirski >>> wrote: On Tue, May 27, 2014 at 12:23 PM, Kees Cook wrote: > On

Re: [PATCH v2] introduce atomic_pointer to fix a race condition in cancelable mcs spinlocks

2014-06-02 Thread Paul E. McKenney
On Mon, Jun 02, 2014 at 04:53:44PM -0700, Eric Dumazet wrote: > On Mon, 2014-06-02 at 16:17 -0700, Paul E. McKenney wrote: > > > But given that I already have preemption disabled and given that > > __srcu_read_lock() is not to be used by irq handlers, I should be able to > > use __this_cpu_inc(),

Re: [PATCH V2 0/5] Huge pages for short descriptors on ARM

2014-06-02 Thread Grazvydas Ignotas
On Thu, Apr 24, 2014 at 2:03 PM, Russell King - ARM Linux wrote: > On Thu, Apr 24, 2014 at 11:55:56AM +0100, Steve Capper wrote: >> On 24 April 2014 11:42, Russell King - ARM Linux >> wrote: >> > On Thu, Apr 24, 2014 at 11:36:39AM +0100, Will Deacon wrote: >> >> I guess I'm after some

Re: [GIT PULL] extcon next-v2 for v3.16

2014-06-02 Thread Chanwoo Choi
On 06/03/2014 09:12 AM, Greg KH wrote: > On Tue, Jun 03, 2014 at 08:53:42AM +0900, Chanwoo Choi wrote: >> Dear Greg, >> >> On 06/03/2014 07:55 AM, Greg KH wrote: >>> On Mon, Jun 02, 2014 at 02:09:16PM +0900, Chanwoo Choi wrote: Dear Greg, This is extcon-next-v2 full request for

  1   2   3   4   5   6   7   8   9   10   >