[3.10 regression] mei endless recursion

2013-08-05 Thread Stanislaw Gruszka
Hi We have a bug report when system fail to boot on 3.10 . It happens due to problem in mei which do endless calls: mei_reset -> mei_hbm_start_req -> mei_reset -> mei_hbm_start_req -> ... It did not happen on 3.9. Report is here: https://bugzilla.redhat.com/show_bug.cgi?id=991571 Stanislaw --

Re: [PATCH 22/23] cgroup: make cgroup_taskset deal with cgroup_subsys_state instead of cgroup

2013-08-05 Thread Daniel Wagner
Hi Tejun, On 08/01/2013 11:50 PM, Tejun Heo wrote: cgroup is in the process of converting to css (cgroup_subsys_state) from cgroup as the principal subsystem interface handle. This is mostly to prepare for the unified hierarchy support where css's will be created and destroyed dynamically but a

Re: [PATCH 12/23] cgroup: pass around cgroup_subsys_state instead of cgroup in file methods

2013-08-05 Thread Daniel Wagner
Hi Tejun, On 08/01/2013 11:49 PM, Tejun Heo wrote: cgroup is currently in the process of transitioning to using struct cgroup_subsys_state * as the primary handle instead of struct cgroup. Please see the previous commit which converts the subsystem methods for rationale. This patch converts all

[RFC PATCH 3/4] mm: add zbud flag to page flags

2013-08-05 Thread Krzysztof Kozlowski
Add PageZbud flag to page flags to distinguish pages allocated in zbud. Currently these pages do not have any flags set. Signed-off-by: Krzysztof Kozlowski --- include/linux/page-flags.h | 12 mm/page_alloc.c|3 +++ mm/zbud.c |4 3 files c

[RFC PATCH 4/4] mm: reclaim zbud pages on migration and compaction

2013-08-05 Thread Krzysztof Kozlowski
Reclaim zbud pages during migration and compaction by unusing stored data. This allows adding__GFP_RECLAIMABLE flag when allocating zbud pages and effectively CMA pool can be used for zswap. zbud pages are not movable and are not stored under any LRU (except zbud's LRU). PageZbud flag is used in i

[RFC PATCH 0/4] mm: reclaim zbud pages on migration and compaction

2013-08-05 Thread Krzysztof Kozlowski
Hi, Currently zbud pages are not movable and they cannot be allocated from CMA region. These patches try to address the problem by: 1. Adding a new form of reclaim of zbud pages. 2. Reclaiming zbud pages during migration and compaction. 3. Allocating zbud pages with __GFP_RECLAIMABLE flag. This r

[RFC PATCH 2/4] mm: split code for unusing swap entries from try_to_unuse

2013-08-05 Thread Krzysztof Kozlowski
Move out the code for unusing swap entries from loop in try_to_unuse() to separate function: try_to_unuse_swp_entry(). Export this new function in swapfile.h just like try_to_unuse() is exported. Signed-off-by: Krzysztof Kozlowski --- include/linux/swapfile.h |2 + mm/swapfile.c|

[RFC PATCH 1/4] zbud: use page ref counter for zbud pages

2013-08-05 Thread Krzysztof Kozlowski
Use page reference counter for zbud pages. The ref counter replaces zbud_header.under_reclaim flag and ensures that zbud page won't be freed when zbud_free() is called during reclaim. It allows implementation of additional reclaim paths. The page count is incremented when: - a handle is created a

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-05 Thread Andi Kleen
On Mon, Aug 05, 2013 at 10:59:49PM -0700, Andrew Morton wrote: > On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > > > From: Andi Kleen > > > > Use standard gcc __attribute__((alias(foo))) to define > > the syscall aliases instead of custom assembler macros. > > > > This is far cleaner, a

linux-next: Tree for Aug 6

2013-08-05 Thread Stephen Rothwell
Hi all, Changes since 20130805: The ext4 tree still has its build failure so I used the version from next-20130726. The akpm tree gained a conflict against the drm-intel tree. I have created today's linux-next

Re: [patch 1/7] arch: mm: remove obsolete init OOM protection

2013-08-05 Thread Vineet Gupta
Hi Johannes, Thk for the cleanup. On 08/03/2013 10:29 PM, Johannes Weiner wrote: > Back before smart OOM killing, when faulting tasks where killed > directly on allocation failures, the arch-specific fault handlers > needed special protection for the init process. > > Now that all fault handlers

Re: [PATCH v14 0/6] LSM: Multiple concurrent LSMs

2013-08-05 Thread Kees Cook
On Thu, Jul 25, 2013 at 11:52 PM, Casey Schaufler wrote: > The /proc/*/attr interfaces are given to one LSM. This can be > done by setting CONFIG_SECURITY_PRESENT. Additional interfaces > have been created in /proc/*/attr so that each LSM has its own > named interfaces. The name of the presenting

[PATCH] UBI: Fastmap: Fix memory leak

2013-08-05 Thread Richard Weinberger
From: Thomas Weber Tested with linux-v3.10-rc3 on Devkit8000. The discussion about this patch can be found: https://lkml.org/lkml/2013/5/2/118 This patches fixes the following bug for me: When CONFIG_DEBUG_VM is active and making ubiattach ... ; ubidetach...; ubiattach ... the second ubiattach

Re: [PATCH v2 1/5] ia64: add early_memremap() alias for early_ioremap()

2013-08-05 Thread Matt Fleming
On Mon, 05 Aug, at 09:10:19AM, Tony Luck wrote: > Acked-by: Tony Luck > > [Cut & paste this ack to other parts of the series that touch ia64] Will do, thanks Tony! -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] RFC: perf, tools: Move gtk browser into separate perfgtk executable

2013-08-05 Thread Christoph Hellwig
On Mon, Aug 05, 2013 at 11:08:57AM +0200, Ingo Molnar wrote: > You never replied to the original counter-arguments, such as this one from > Linus: > > http://article.gmane.org/gmane.linux.kernel/849965 The only thing Linus sais is that it's trivial to generate a subpackage, and that opofile is

Re: [PATCH] ipvs: fixed style errors in ip_vs_dh

2013-08-05 Thread Simon Horman
On Thu, Jul 11, 2013 at 10:15:44PM +0300, Dragos Foianu wrote: > found with the help of checkpatch.pl Thanks for your contribution and sorry for taking so long to look at it. While in principle I have no problem with these changes. I would like them to be be accompanied by more descriptive change

Re: [PATCH] ipvs: fixed spacing at for statements

2013-08-05 Thread Simon Horman
On Thu, Jul 11, 2013 at 09:45:42AM +0300, Dragos Foianu wrote: > found using checkpatch.pl This seems reasonable to me. I will queue it up in the ipvs-next tree. > > Signed-off-by: Dragos Foianu > --- > net/netfilter/ipvs/ip_vs_lblcr.c |8 > 1 file changed, 4 insertions(+), 4 dele

Re: [PATCH RESEND] ARM: dts: Add USBPHY nodes to Exynos4x12

2013-08-05 Thread Sachin Kamat
Hi Dongjin, On 5 August 2013 23:48, Dongjin Kim wrote: > This patch adds device nodes for USBPHY to Exynos4x12. > > CC: Sachin Kamat > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4x12.dtsi | 18 ++ > 1 file changed, 18 insertions(+) > > diff --git a/arch/arm/bo

Re: [PATCH] Use gcc alias instead of assembler aliases for syscalls

2013-08-05 Thread Andrew Morton
On Mon, 5 Aug 2013 15:09:35 -0700 Andi Kleen wrote: > From: Andi Kleen > > Use standard gcc __attribute__((alias(foo))) to define > the syscall aliases instead of custom assembler macros. > > This is far cleaner, and also fixes my LTO kernel build. I wonder what gcc version this was added in

Re: [PATCH 4/4] perf tools: Run dynamic loaded GTK browser

2013-08-05 Thread Pekka Enberg
On Tue, Aug 6, 2013 at 8:14 AM, Namhyung Kim wrote: > Run GTK hist and annotation browser using libdl. > > Cc: Andi Kleen > Cc: Pekka Enberg > Signed-off-by: Namhyung Kim Reviewed-by: Pekka Enberg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: [PATCH 3/4] perf tools: Setup GTK browser dynamically

2013-08-05 Thread Pekka Enberg
On Tue, Aug 6, 2013 at 8:14 AM, Namhyung Kim wrote: > Call setup/exit GTK browser function using libdl. > > Cc: Andi Kleen > Cc: Pekka Enberg > Signed-off-by: Namhyung Kim Reviewed-by: Pekka Enberg -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

Re: [PATCH 2/4] perf tools: Separate out GTK codes to libperf-gtk.so

2013-08-05 Thread Pekka Enberg
On Tue, Aug 6, 2013 at 8:14 AM, Namhyung Kim wrote: > Separate out GTK codes to a shared object called libperf-gtk.so. This > time only GTK codes are built with -fPIC and libperf remains as is. > > Cc: Andi Kleen > Cc: Pekka Enberg > Signed-off-by: Namhyung Kim Reviewed-by: Pekka Enberg -- T

Re: [PATCH 1/4] perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop

2013-08-05 Thread Pekka Enberg
On Tue, Aug 6, 2013 at 8:14 AM, Namhyung Kim wrote: > From: Namhyung Kim > > The commit 2b8bfa6bb8a7 ("perf tools: Centralize default columns init > in perf_hpp__init") moves initialization of common overhead column to > perf_hpp__init() but forgot about the gtk code. > > So the gtk code added th

linux-next: manual merge of the akpm tree with the drm-intel tree

2013-08-05 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/gpu/drm/i915/i915_gem.c between commit a70a3148b0c6 ("drm/i915: Make proper functions for VMs") from the drm-intel tree and commit e6950216e0af ("drivers: convert shrinkers to new count/scan API") from the akpm tree. I

Re: [PATCH 0/5] perf kvm live - latest round take 4

2013-08-05 Thread Xiao Guangrong
On 08/06/2013 09:41 AM, David Ahern wrote: > Hi Arnaldo: > > This round addresses all of Xiao's comments. It also includes a small > change in the live mode introduction to improve ordered samples > processing. For that a change in perf-session functions is needed. Reviewed-by: Xiao Guangrong D

[PATCH 7/8] partitions/efi: delete annoying emacs style comments

2013-08-05 Thread Davidlohr Bueso
I love emacs, but these settings for coding style are annoying when trying to open the efi.h file. More important, we already have checkpatch for that. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.h | 19 --- 1 file changed, 19 deletions(-) diff --git a/block/partitio

Re: 3.11.0-rc4 (Linus GIT) -- WARNING: CPU: 1 PID: 1 at kernel/time/tick-sched.c:185 can_stop_full_tick+0x7e/0x89()

2013-08-05 Thread yun wang
Hi, Miles On 08/06/2013 12:30 PM, Miles Lane wrote: I am not seeing any problems in the behavior of the computer, but wonder if this indicates something that needs fixing. [1.969109] WARNING: CPU: 1 PID: 1 at kernel/time/tick-sched.c:185 can_stop_full_tick+0x7e/0x89() According to the com

[PATCH 8/8] partitions/efi: some style cleanups

2013-08-05 Thread Davidlohr Bueso
Trivial coding style cleanups - still plenty left. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/block/partitions/efi.c b/block/partitions/efi.c index 9a81c3b..8e6d77e 100644 --- a/block/partitio

[PATCH 4/8] partitions/efi: detect hybrid MBRs

2013-08-05 Thread Davidlohr Bueso
One of the biggest problems with GPT is compatibility with older, non-GPT systems. The problem is addressed by creating hybrid mbrs, an extension, or variant, of the traditional protective mbr. This contains, apart from the 0xEE partition, up three additional primary partitions that point to the sa

[PATCH 1/8] partitions/efi: use lba-aware partition records

2013-08-05 Thread Davidlohr Bueso
The kernel's GPT implementation currently uses the generic 'struct partition' type for dealing with legacy MBR partition records. While this is is useful for disklabels that we designed for CHS addressing, such as msdos, it doesn't adapt well to newer standards that use LBA instead, such as GUID pa

[PATCH 3/8] partitions/efi: do not require gpt partition to begin at sector 1

2013-08-05 Thread Davidlohr Bueso
When detecting a valid protective MBR, the Linux kernel isn't picky about the partition (1-4) the 0xEE is at, but, unlike other operating systems, it does require it to begin at the second sector (sector 1). This check, apart from it not being enforced by UEFI, and causing Linux to potentially fail

[PATCH 0/8] partitions/efi: detect hybrid mbrs

2013-08-05 Thread Davidlohr Bueso
This patchset teaches the kernel about hybrid master boot records (MBRs), one of the most common issues with GUID partition tables, as a workaround to layout disk partitions to be compatible with both EFI and legacy MBR based systems. Except for adding more pmbr checks, to better comply with the UE

[PATCH 2/8] partitions/efi: check pmbr record's starting lba

2013-08-05 Thread Davidlohr Bueso
Per the UEFI Specs 2.4, June 2013, the starting lba of the partition that has the EFI GPT (0xEE) must be set to 0x0001 - this is obviously the LBA of the GPT Partition Header. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.c | 15 --- 1 file changed, 12 insertions(+), 3

[PATCH 5/8] partitions/efi: account for pmbr size in lba

2013-08-05 Thread Davidlohr Bueso
The partition that has the 0xEE (GPT protective), must have the size in lba field set to the lesser of the size of the disk minus one or 0x for larger disks. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletion

[PATCH 6/8] partitions/efi: compare first and last usable LBAs

2013-08-05 Thread Davidlohr Bueso
When verifying GPT header integrity, make sure that first usable LBA is smaller than last usable LBA. Signed-off-by: Davidlohr Bueso --- block/partitions/efi.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/block/partitions/efi.c b/block/partitions/efi.c index ab6cd08.

RE: [PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Lu Jingchang-B35083
> -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Tuesday, August 06, 2013 12:25 PM > To: Lu Jingchang-B35083 > Cc: d...@fb.com; shawn@linaro.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Wang Huan-B18965; Li Xiaochun- > B41219

[PATCH 2/4] perf tools: Separate out GTK codes to libperf-gtk.so

2013-08-05 Thread Namhyung Kim
Separate out GTK codes to a shared object called libperf-gtk.so. This time only GTK codes are built with -fPIC and libperf remains as is. Cc: Andi Kleen Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/Makefile| 39 --- tools/perf/config/

[PATCH 4/4] perf tools: Run dynamic loaded GTK browser

2013-08-05 Thread Namhyung Kim
Run GTK hist and annotation browser using libdl. Cc: Andi Kleen Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 26 +++--- tools/perf/builtin-report.c | 16 ++-- tools/perf/config/Makefile| 2 +- tools/perf/ui/gtk/annotate

[PATCH/RFC 0/4] perf ui/gtk: Separate out GTK code to a shared object (v2)

2013-08-05 Thread Namhyung Kim
Hi, This is v2 of gtk code separation patchset to reduce library dependencies of the perf executable. I only built libperf-gtk.so with -fPIC, and it's not linked to libperf at build time. All unresolved symbols used for perf should be resolved at runtime via perf executable (so libperf.a) - I di

[PATCH 3/4] perf tools: Setup GTK browser dynamically

2013-08-05 Thread Namhyung Kim
Call setup/exit GTK browser function using libdl. Cc: Andi Kleen Cc: Pekka Enberg Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/gtk.h | 3 +++ tools/perf/ui/setup.c | 51 +++-- tools/perf/ui/ui.h | 12 +--- 3 files changed, 53 ins

[PATCH 1/4] perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop

2013-08-05 Thread Namhyung Kim
From: Namhyung Kim The commit 2b8bfa6bb8a7 ("perf tools: Centralize default columns init in perf_hpp__init") moves initialization of common overhead column to perf_hpp__init() but forgot about the gtk code. So the gtk code added the same column to the list twice causing infinite loop when iterat

Re: [PATCH] cpumask: fix cpumask leak in partition_sched_domains

2013-08-05 Thread Xiaotian Feng
On Tue, Aug 6, 2013 at 12:37 PM, Rusty Russell wrote: > Xiaotian Feng writes: >> On Sat, Jul 27, 2013 at 3:26 PM, Xiaotian Feng wrote: >>> If doms_new is NULL, partition_sched_domains() will reset ndoms_cur >>> to 0, and free old sched domains with free_sched_domains(doms_cur, >>> ndoms_cur). >

Re: [PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Vinod Koul
On Tue, Aug 06, 2013 at 01:24:31AM +, Lu Jingchang-B35083 wrote: > > -Original Message- > > From: Vinod Koul [mailto:vinod.k...@intel.com] > > Sent: Tuesday, August 06, 2013 12:35 AM > > To: Lu Jingchang-B35083 > > Cc: d...@fb.com; shawn@linaro.org; linux-kernel@vger.kernel.org; > >

Why name length of an array can hit case of "Inconsistent kallsyms data" fail

2013-08-05 Thread vincent Ho
While I'm porting a new mach for ARM. I hit a case to produce "Inconsistent kallsyms data". I try to find out the solution and then get an interesting case is about "array name length" Kernel is 3.4.56 and gcc version 4.3.5 (Buildroot 2010.11) While register serial8250 platform device, the code a

[PATCH 2/2] xen/trace: replace old code with __print_symbolic

2013-08-05 Thread kpark3469
From: Sahara The advantage of using __print_symbolic() is that it allows both perf and trace-cmd to read this event properly. Their parsers are not full C parsers, and when you open code the the processing, they both will fail to parse how to read the output, and will just default to printing the

[PATCH 1/2] PM / QoS: use __print_symbolic with more convenient way

2013-08-05 Thread kpark3469
From: Sahara This patch is to prevent the same __print_symbolic functions from being used repeatedly. Signed-off-by: Sahara --- include/trace/events/power.h | 43 + 1 files changed, 22 insertions(+), 21 deletions(-) diff --git a/include/trace/events/p

Re: [PATCH 9/8] hugetlb: add pmd_huge_support() to migrate only pmd-based hugepage

2013-08-05 Thread Naoya Horiguchi
On Tue, Aug 06, 2013 at 07:26:10AM +0530, Aneesh Kumar K.V wrote: > Naoya Horiguchi writes: > > > This patch is motivated by the discussion with Aneesh about "extend > > hugepage migration" patchset. > > http://thread.gmane.org/gmane.linux.kernel.mm/103933/focus=104391 > > I'll append this to t

Re: [PATCH] OPP: Export opp_add()

2013-08-05 Thread Viresh Kumar
On 5 August 2013 18:17, Rafael J. Wysocki wrote: > On Monday, August 05, 2013 07:29:09 AM Nishanth Menon wrote: >> minor nitpick. >> $subject: PM / OPP: Stupid mistake. > Those are things I can easily fix up when I'm applying the patch. Thanks :) -- To unsubscribe from this list: send the line

Re: [PATCH] cpumask: fix cpumask leak in partition_sched_domains

2013-08-05 Thread Rusty Russell
Xiaotian Feng writes: > On Sat, Jul 27, 2013 at 3:26 PM, Xiaotian Feng wrote: >> If doms_new is NULL, partition_sched_domains() will reset ndoms_cur >> to 0, and free old sched domains with free_sched_domains(doms_cur, >> ndoms_cur). >> As ndoms_cur is 0, the cpumask will not be freed. >> >> Sig

3.11.0-rc4 (Linus GIT) -- WARNING: CPU: 1 PID: 1 at kernel/time/tick-sched.c:185 can_stop_full_tick+0x7e/0x89()

2013-08-05 Thread Miles Lane
I am not seeing any problems in the behavior of the computer, but wonder if this indicates something that needs fixing. [1.969109] WARNING: CPU: 1 PID: 1 at kernel/time/tick-sched.c:185 can_stop_full_tick+0x7e/0x89() [1.969121] NO_HZ FULL will not work with unstable sched clock [1.9691

Re: [PATCH 8/8] prepare to remove /proc/sys/vm/hugepages_treat_as_movable

2013-08-05 Thread Naoya Horiguchi
On Tue, Aug 06, 2013 at 07:22:02AM +0530, Aneesh Kumar K.V wrote: > Naoya Horiguchi writes: > >> > >> Considering that we have architectures that won't support migrating > >> explicit hugepages with this patch series, is it ok to use > >> GFP_HIGHUSER_MOVABLE for hugepage allocation ? > > > > Ori

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread H. Peter Anvin
On 08/05/2013 09:14 PM, Mathieu Desnoyers wrote: >> >> For unconditional jmp that should be pretty safe barring any fundamental >> changes to the instruction set, in which case we can enable it as >> needed, but for extra robustness it probably should skip prefix bytes. > > On x86-32, some prefixe

Re: [PATCH 1/3] clk: s2mps11: Add support for s2mps11

2013-08-05 Thread Yadwinder Singh Brar
Hi Mike, On Tue, Aug 6, 2013 at 4:53 AM, Mike Turquette wrote: > Quoting Yadwinder Singh Brar (2013-07-07 04:44:20) >> This patch adds support to register three(AP/CP/BT) buffered 32.768 KHz >> outputs of mfd-s2mps11 with common clock framework. >> >> Signed-off-by: Yadwinder Singh Brar > > Yadw

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Mathieu Desnoyers
* H. Peter Anvin (h...@linux.intel.com) wrote: > On 08/05/2013 02:28 PM, Mathieu Desnoyers wrote: > > * Linus Torvalds (torva...@linux-foundation.org) wrote: > >> On Mon, Aug 5, 2013 at 12:54 PM, Mathieu Desnoyers > >> wrote: > >>> > >>> I remember that choosing between 2 and 5 bytes nop in the as

[PATCH] mm/mempolicy: return NULL if node is NUMA_NO_NODE in get_task_policy

2013-08-05 Thread Jianguo Wu
If node == NUMA_NO_NODE, pol is NULL, we should return NULL instead of do "if (!pol->mode)" check. Signed-off-by: Jianguo Wu --- mm/mempolicy.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mm/mempolicy.c b/mm/mempolicy.c index 4baf12e..e0e3398 100644 --- a/mm/mempolicy.c +++ b/mm/mempol

Re: [PATCH 3/5] Intel MIC Host Driver Changes for Virtio Devices.

2013-08-05 Thread Rusty Russell
Sudeep Dutt writes: > On Mon, 2013-07-29 at 10:05 +0300, Michael S. Tsirkin wrote: >> On Wed, Jul 24, 2013 at 08:31:34PM -0700, Sudeep Dutt wrote: >> > From: Ashutosh Dixit >> > >> > This patch introduces the host "Virtio over PCIe" interface for >> > Intel MIC. It allows creating user space ba

Re: [PATCH] [SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a signal

2013-08-05 Thread Peter Chang
2013/8/5 Roland Dreier : > From: Roland Dreier > > There is a nasty bug in the SCSI SG_IO ioctl that in some circumstances > leads to one process writing data into the address space of some other > random unrelated process if the ioctl is interrupted by a signal. > What happens is the following: >

[PATCH] warning-elimination: android: binder

2013-08-05 Thread Andy Green
From: Andy Green warning-elimination: android: binder This commit in mainline (now) causes a couple of warnings commit 975a1ac9a9fe65d66ee1726c0db6dc58e53d232a Author: Arve Hjønnevåg Date: Tue Oct 16 15:29:53 2012 -0700 Staging: android: binder: Add some tracepoints This patch fixes th

Re: [PATCH 6/7] Add EFI stub for ARM

2013-08-05 Thread Roy Franz
>> diff --git a/arch/arm/boot/compressed/head.S >> b/arch/arm/boot/compressed/head.S >> index 75189f1..4c70b9e 100644 >> --- a/arch/arm/boot/compressed/head.S >> +++ b/arch/arm/boot/compressed/head.S >> @@ -122,19 +122,106 @@ >> .arm@ Always enter in ARM s

Re: [PATCH] printk: Fix return of braille_register_console()

2013-08-05 Thread Joe Perches
On Mon, 2013-08-05 at 22:55 -0400, Steven Rostedt wrote: > Some of my configs I test with have CONFIG_A11Y_BRAILLE_CONSOLE set. > When I started testing against v3.11-rc4 my console went bonkers. Using > ktest to bisect the issue, it came down to: > > commit bbeddf52a "printk: move braille console

Re: [PATCH v14 0/6] LSM: Multiple concurrent LSMs

2013-08-05 Thread Balbir Singh
On Thu, Aug 1, 2013 at 10:51 PM, Casey Schaufler wrote: > On 7/31/2013 7:48 PM, Balbir Singh wrote: >> On Thu, Jul 25, 2013 at 11:52 PM, Casey Schaufler >> wrote: >>> Subject: [PATCH v14 0/6] LSM: Multiple concurrent LSMs >>> >>> Version 14 of this patchset is based on v3.10. >>> It required sign

Re: [PATCH 3/5] cgroup, memcg: move cgroup_event implementation to memcg

2013-08-05 Thread Balbir Singh
On Sun, Aug 4, 2013 at 9:37 PM, Tejun Heo wrote: > cgroup_event is way over-designed and tries to build a generic > flexible event mechanism into cgroup - fully customizable event > specification for each user of the interface. This is utterly > unnecessary and overboard especially in the light o

Re: [PATCH RFC 51/51] ARM: 7805/1: mm: change max*pfn to include the physical offset of memory

2013-08-05 Thread Rob Herring
On Thu, Aug 1, 2013 at 5:25 PM, Santosh Shilimkar wrote: > Most of the kernel code assumes that max*pfn is maximum pfns because > the physical start of memory is expected to be PFN0. Since this > assumption is not true on ARM architectures, the meaning of max*pfn > is number of memory pages. This

[PATCH v7 2/4] spinlock: Enable x86 architecture to do lockless refcount update

2013-08-05 Thread Waiman Long
This patch enables the x86 architecture to do lockless reference count update using the generic lockref implementation with default parameters. Only the x86/Kconfig file needs to be changed. Signed-off-by: Waiman Long --- arch/x86/Kconfig |3 +++ 1 files changed, 3 insertions(+), 0 deletions

[PATCH v7 4/4] dcache: Enable lockless update of dentry's refcount

2013-08-05 Thread Waiman Long
The current code takes the dentry's d_lock lock whenever the refcnt is being updated. In reality, nothing big really happens until refcnt goes to 0 in dput(). So it is not necessary to take the lock if the reference count won't go to 0. On the other hand, there are cases where refcnt should not be

[PATCH v7 3/4] dcache: replace d_lock/d_count by d_lockcnt

2013-08-05 Thread Waiman Long
This patch replaces the d_lock and d_count fields of the dentry data structure by the combined d_lockcnt structure. A d_lock macro is defined to remap the old d_lock name to the new d_lockcnt.lock name. This is needed as a lot of files use the d_lock spinlock. Read accesses to d_count are replaced

[PATCH v7 0/4] Lockless update of reference count protected by spinlock

2013-08-05 Thread Waiman Long
v6->v7: - Substantially reduce the number of patches from 14 to 4 because a lot of the minor filesystem related changes had been merged to v3.11-rc1. - Remove architecture specific customization (LOCKREF_WAIT_SHIFT & LOCKREF_RETRY_COUNT). - Tune single-thread performance of lockref_put/

[PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-08-05 Thread Waiman Long
This patch introduces a new set of spinlock_refcount.h header files to be included by kernel codes that want to do a faster lockless update of reference count protected by a spinlock. The new lockref structure consists of just the spinlock and the reference count data. Helper functions are defined

acpi_bus_trim does not detach devices in post order

2013-08-05 Thread Yasuaki Ishimatsu
I acked the following commit but I hit a problem by the commit. So I report it. commit cecdb193c8d91a42d9489d00618cc3dfff92e55a Author: Rafael J. Wysocki Date: Tue Jan 15 13:24:02 2013 +0100 ACPI / scan: Change the implementation of acpi_bus_trim() Before applying the commit, acpi_bus_tr

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Steven Rostedt
On Mon, 2013-08-05 at 22:26 -0400, Jason Baron wrote: > I think if the 'cold' attribute on the default disabled static_key > branch moved the text completely out-of-line, it would satisfy your > requirement here? > > If you like this approach, perhaps we can make something like this work > wit

[PATCH] printk: Fix return of braille_register_console()

2013-08-05 Thread Steven Rostedt
Some of my configs I test with have CONFIG_A11Y_BRAILLE_CONSOLE set. When I started testing against v3.11-rc4 my console went bonkers. Using ktest to bisect the issue, it came down to: commit bbeddf52a "printk: move braille console support into separate braille.[ch] files" Looking into the patch

[PATCH v2 RESEND 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-05 Thread Tang Chen
At early time, memblock will reserve some memory for the kernel, such as the kernel code and data segments, initrd file, and so on, which means the kernel resides in these memory regions. Even if these memory regions are hotpluggable, we should not mark them as hotpluggable. Otherwise the kernel w

Re: [PATCH RFC V11 0/18] Paravirtualized ticket spinlocks

2013-08-05 Thread Raghavendra K T
On 08/06/2013 04:20 AM, H. Peter Anvin wrote: So, having read through the entire thread I *think* this is what the status of this patchset is: 1. Patches 1-17 are noncontroversial, Raghavendra is going to send an update split into two patchsets; Yes. Only one patch would be common to both

Re: [PATCH] cpumask: fix cpumask leak in partition_sched_domains

2013-08-05 Thread Xiaotian Feng
On Sat, Jul 27, 2013 at 3:26 PM, Xiaotian Feng wrote: > If doms_new is NULL, partition_sched_domains() will reset ndoms_cur > to 0, and free old sched domains with free_sched_domains(doms_cur, ndoms_cur). > As ndoms_cur is 0, the cpumask will not be freed. > > Signed-off-by: Xiaotian Feng > Cc: I

Re: [PATCH v2 RESEND 13/18] x86, numa, mem_hotplug: Skip all the regions the kernel resides in.

2013-08-05 Thread Tang Chen
On 08/05/2013 10:52 PM, Tejun Heo wrote: On Mon, Aug 05, 2013 at 02:22:47PM +0800, Tang Chen wrote: I have resent the v2 patch-set. Would you please give some more comments about the memblock and x86 booting code modification ? Patch 13 still seems corrupt. Is it a problem on my side maybe? N

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-05 Thread Jason Baron
On 08/05/2013 04:35 PM, Richard Henderson wrote: On 08/05/2013 09:57 AM, Jason Baron wrote: On 08/05/2013 03:40 PM, Marek Polacek wrote: On Mon, Aug 05, 2013 at 11:34:55AM -0700, Linus Torvalds wrote: On Mon, Aug 5, 2013 at 11:24 AM, Linus Torvalds wrote: Ugh. I can see the attraction of you

Re: [PATCH v2 3/5] cgroup, memcg: move cgroup_event implementation to memcg

2013-08-05 Thread Li Zefan
On 2013/8/6 10:02, Li Zefan wrote: >> static struct cftype mem_cgroup_files[] = { >> { >> .name = "usage_in_bytes", >> @@ -5973,6 +6192,12 @@ static struct cftype mem_cgroup_files[] = { >> .read_u64 = mem_cgroup_hierarchy_read, >> }, >> { >> +.n

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-05 Thread Myklebust, Trond
On Mon, 2013-08-05 at 14:33 -0400, Jeff Layton wrote: > On Mon, 5 Aug 2013 18:18:03 + > "Myklebust, Trond" wrote: > > > On Mon, 2013-08-05 at 13:37 -0400, Jeff Layton wrote: > > > On Mon, 5 Aug 2013 16:15:01 + > > > "Myklebust, Trond" wrote: > > > > > > > From 3c50ba80105464a28d456d9a1e

Re: Cannot hot remove a memory device (patch, updated)

2013-08-05 Thread Yasuaki Ishimatsu
(2013/08/06 9:15), Rafael J. Wysocki wrote: On Monday, August 05, 2013 05:19:56 PM Toshi Kani wrote: On Mon, 2013-08-05 at 15:14 +0200, Rafael J. Wysocki wrote: : Can you please test the appended patch? I tested it somewhat, but since the greatest number of physical nodes per ACPI device ob

Re: [PATCH v2 3/5] cgroup, memcg: move cgroup_event implementation to memcg

2013-08-05 Thread Li Zefan
> static struct cftype mem_cgroup_files[] = { > { > .name = "usage_in_bytes", > @@ -5973,6 +6192,12 @@ static struct cftype mem_cgroup_files[] = { > .read_u64 = mem_cgroup_hierarchy_read, > }, > { > + .name = "cgroup.event_control", > +

Re: [PATCH 9/8] hugetlb: add pmd_huge_support() to migrate only pmd-based hugepage

2013-08-05 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: > This patch is motivated by the discussion with Aneesh about "extend > hugepage migration" patchset. > http://thread.gmane.org/gmane.linux.kernel.mm/103933/focus=104391 > I'll append this to the patchset in the next post, but before that > I want this patch to be review

Re: [PATCH 8/8] prepare to remove /proc/sys/vm/hugepages_treat_as_movable

2013-08-05 Thread Aneesh Kumar K.V
Naoya Horiguchi writes: >> >> Considering that we have architectures that won't support migrating >> explicit hugepages with this patch series, is it ok to use >> GFP_HIGHUSER_MOVABLE for hugepage allocation ? > > Originally this parameter was introduced to make hugepage pool on > ZONE_MOVABLE

Re: [PATCH] MAINTAINERS: drivers/power: add entry for SmartReflex AVS drivers

2013-08-05 Thread Anton Vorontsov
On Mon, Aug 05, 2013 at 09:29:37AM -0700, Kevin Hilman wrote: > The SmartReflex AVS driver evolved out of the OMAP kernel and now > lives under drivers/power/avs. > > I've historically been maintainer of this but Nishanth Menon is doing > most of the heavy lifting now. Add us both as co-maintaine

[PATCH trivial] UAPI: Kbuild: add/modify comments for "uapi/Kbuild" and "uapi/linux/Kbuild"

2013-08-05 Thread Chen Gang
"include/uapi/" is the whole Linux kernel API, it is important enough to get more global explanations by comments. In "include/uapi/Kbuild", "Makefile..." and "non-arch..." comments are meaningless for current 'Kbuild', so delete them. And add more explanations for "include/uapi/" in "include/uap

[PATCH 1/5] perf session: Export queue_event function

2013-08-05 Thread David Ahern
Taking a lesson from perf-trace and bringing in control of event processing to perf-kvm-stat-live: parse the sample to get access the time leaving just the need to queue it to the ordered samples list. For that the queue_event function needs to be exported. Unexport perf_session__process_event. S

[PATCH 5/5] perf kvm stat report: Add option to analyze specific VM

2013-08-05 Thread David Ahern
Add an option to analyze a specific VM within a data file. This allows the collection of kvm events for all VMs and then analyze data for each VM (or set of VMs) individually. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc

[PATCH 3/5] perf kvm: add min and max stats to display - v2

2013-08-05 Thread David Ahern
Add max and min times for exit events. v2: address Xia's comment to use get_event function for pulling max and min from stats struct similar to mean and count Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Jiri Olsa

[PATCH 4/5] perf kvm: option to print events that exceed a threshold

2013-08-05 Thread David Ahern
This is useful to spot high latency blips. It is normal for HLT reasons to have long exit times, so strip those from the threshold check. Signed-off-by: David Ahern Cc: Arnaldo Carvalho de Melo Cc: Ingo Molnar Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Jiri Olsa Cc: Namhyung Kim Cc: Xia

[PATCH 2/5] perf kvm: add live mode - v4

2013-08-05 Thread David Ahern
perf kvm stat currently requires back to back record and report commands to see stats. e.g,. perf kvm stat record -p $pid -- sleep 1 perf kvm stat report This is inconvenvient for on box monitoring of a VM. This patch introduces a 'live' mode that in effect combines the record plus report int

[PATCH 0/5] perf kvm live - latest round take 4

2013-08-05 Thread David Ahern
Hi Arnaldo: This round addresses all of Xiao's comments. It also includes a small change in the live mode introduction to improve ordered samples processing. For that a change in perf-session functions is needed. David Ahern (5): perf session: Export queue_event function perf kvm: add live mo

Re: Enable arm_global_timer for Zynq brakes boot

2013-08-05 Thread Sören Brinkmann
Hi Daniel, On Thu, Aug 01, 2013 at 07:48:04PM +0200, Daniel Lezcano wrote: > On 08/01/2013 07:43 PM, Sören Brinkmann wrote: > > On Thu, Aug 01, 2013 at 07:29:12PM +0200, Daniel Lezcano wrote: > >> On 08/01/2013 01:38 AM, Sören Brinkmann wrote: > >>> On Thu, Aug 01, 2013 at 01:01:27AM +0200, Daniel

RE: [PATCH v2 3/3] dma: Add Freescale eDMA engine driver support

2013-08-05 Thread Lu Jingchang-B35083
> -Original Message- > From: Vinod Koul [mailto:vinod.k...@intel.com] > Sent: Tuesday, August 06, 2013 12:35 AM > To: Lu Jingchang-B35083 > Cc: d...@fb.com; shawn@linaro.org; linux-kernel@vger.kernel.org; > linux-arm-ker...@lists.infradead.org; Wang Huan-B18965; Li Xiaochun- > B41219 >

Re: [PATCH RESEND] ARM: dts: Add USB host node for Exynos4

2013-08-05 Thread Jingoo Han
On Tuesday, August 06, 2013 3:09 AM, Dongjin Kim wrote: > > This patch adds EHCI and OHCI host device nodes for Exynos4. > > CC: Jingoo Han Acked-by: Jingoo Han > Signed-off-by: Dongjin Kim > --- > arch/arm/boot/dts/exynos4.dtsi | 18 ++ > 1 file changed, 18 insertions(+)

Re: [PATCH 1/1] checkpatch: fix some whitespace issues caused by --fix

2013-08-05 Thread Joe Perches
On Mon, 2013-08-05 at 14:08 +0300, Phil Carmody wrote: > Lines with incorrect spacing around an operator, such as: > bystander, correct,incorrect > would get "fixed" to > bystander,correct, incorrect > as the correct argument as well as the incorrectly-spaced operator > were both being trimmed.

[PATCH v2] [SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a signal

2013-08-05 Thread Roland Dreier
From: Roland Dreier There is a nasty bug in the SCSI SG_IO ioctl that in some circumstances leads to one process writing data into the address space of some other random unrelated process if the ioctl is interrupted by a signal. What happens is the following: - A process issues an SG_IO ioctl w

Re: [PATCH] trivial: adjust code alignment

2013-08-05 Thread Joe Perches
On Mon, 2013-08-05 at 19:30 +0300, Dan Carpenter wrote: > On Mon, Aug 05, 2013 at 09:17:07AM -0700, Joe Perches wrote: > > ov7670_read via i2c_transfer can return a positive # too. > > Perhaps all of these should be individually tested for "< 0". > You're misreading something. ov7670_read_i2c() on

Re: [PATCH] bridge: don't try to update timers in case of broken MLD queries

2013-08-05 Thread Linus Lüssing
On Mon, Aug 05, 2013 at 03:42:22PM -0700, Stephen Hemminger wrote: > On Tue, 6 Aug 2013 00:32:05 +0200 > Linus Lüssing wrote: > > > Currently we are reading an uninitialized value for the max_delay > > variable when snooping an MLD query message of invalid length and would > > update our timers

[PATCH 5/5] ACPI: Clean up error code path in acpi_unbind_one()

2013-08-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The error code path in acpi_unbind_one() is unnecessarily complicated (in particular, the err label is not really necessary) and the error message printed by it is inaccurate (there's nothing called 'acpi_handle' in that function), so clean up those things. Signed-off-by:

[PATCH 3/5] ACPI: acpi_bind_one()/acpi_unbind_one() whitespace cleanups

2013-08-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Clean up some inconsistent use of whitespace in acpi_bind_one() and acpi_unbind_one(). Signed-off-by: Rafael J. Wysocki --- drivers/acpi/glue.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) Index: linux-pm/drivers/acpi/glue.c =

[PATCH 2/5] ACPI: Create symlinks in acpi_bind_one() under physical_node_lock

2013-08-05 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Put the creation of symlinks in acpi_bind_one() under the physical_node_lock mutex of the given ACPI device objects, because that is part of the binding operation logically (those links are already removed under that mutex too). Signed-off-by: Rafael J. Wysocki --- driv

  1   2   3   4   5   6   7   8   >