[PATCH] Fix a hard coding style when determining if a device is a container.

2012-10-11 Thread Tang Chen
"ACPI0004","PNP0A05" and "PNP0A06" are all defined in array container_device_ids[], so use it, but not the hard coding style. Signed-off-by: Tang Chen --- drivers/acpi/container.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/container.c b/drivers

[PATCH] openrisc: avoid using function parameter regs in reset vector

2012-10-11 Thread Stefan Kristiansson
The kernel might be invoked through the reset vector, so to preserve parameters passed to it, temp regs that are not in the function parameter range needs to be used. Signed-off-by: Stefan Kristiansson --- arch/openrisc/kernel/head.S |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

[PATCH 3/3] sysctl: introduce a new interface to control kdump-vmcs-clear behaviour

2012-10-11 Thread Zhang Yanfei
This patch exports the variable clear_loaded_vmcs_enabled to userspace. Signed-off-by: zhangyanfei --- Documentation/sysctl/kernel.txt |8 kernel/sysctl.c | 10 ++ 2 files changed, 18 insertions(+), 0 deletions(-) diff --git a/Documentation/sysctl/kernel.t

[PATCH 2/3] KVM: make crash_clear_loaded_vmcss valid when kvm_intel is loaded

2012-10-11 Thread Zhang Yanfei
Signed-off-by: zhangyanfei --- arch/x86/kvm/vmx.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 4ff0ab9..f6a16b2 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c @@ -41,6 +41,7 @@ #include #include #incl

[PATCH 1/3] x86/kexec: clear vmcss on all cpus if necessary

2012-10-11 Thread Zhang Yanfei
This patch provides an alternative way to clear vmcss related to guests on all cpus when doing kdump. Signed-off-by: zhangyanfei --- arch/x86/include/asm/kexec.h |3 +++ arch/x86/kernel/crash.c | 23 +++ 2 files changed, 26 insertions(+), 0 deletions(-) diff --git

Re: Linux 2.6.32.60

2012-10-11 Thread Greg KH
On Fri, Oct 12, 2012 at 08:38:48AM +0200, Willy Tarreau wrote: > On Fri, Oct 12, 2012 at 07:11:12AM +0800, H. Peter Anvin wrote: > > On 10/11/2012 07:31 PM, Willy Tarreau wrote: > > > On Thu, Oct 11, 2012 at 07:58:04PM +0900, Greg KH wrote: > > >> On Thu, Oct 11, 2012 at 08:29:16AM +0200, Willy Tar

[PATCH 0/3] x86: clear vmcss on all cpus when doing kdump if necessary

2012-10-11 Thread Zhang Yanfei
Currently, kdump just makes all the logical processors leave VMX operation by executing VMXOFF instruction, so any VMCSs active on the logical processors may be corrupted. But, sometimes, we need the VMCSs to debug guest images contained in the host vmcore. To prevent the corruption, we should VMCL

Re: Linux 2.6.32.60

2012-10-11 Thread Willy Tarreau
On Fri, Oct 12, 2012 at 07:11:12AM +0800, H. Peter Anvin wrote: > On 10/11/2012 07:31 PM, Willy Tarreau wrote: > > On Thu, Oct 11, 2012 at 07:58:04PM +0900, Greg KH wrote: > >> On Thu, Oct 11, 2012 at 08:29:16AM +0200, Willy Tarreau wrote: > >>> If you think these patches constitute a regression, I

Re: [Patch v3 7/7] Onkey: DA9055 Onkey driver

2012-10-11 Thread Ashish Jangam
On Thu, 2012-10-11 at 09:28 -0700, Dmitry Torokhov wrote: > Hi Ashish, > > On Thu, Oct 11, 2012 at 04:15:16PM +0530, Ashish Jangam wrote: > > This is the ONKEY driver of the Dialog DA9055 PMIC and depends on the > > DA9055 MFD > > core driver. > > > > This patch is functionally tested on SMDK641

Re: [PATCH v2] regmap: silence GCC warning

2012-10-11 Thread Mark Brown
On Mon, Oct 08, 2012 at 10:06:30PM +0200, Paul Bolle wrote: > Long story short: Jakub Jelinek pointed out that there is a type > mismatch between 'num' in regmap_volatile_range() and 'val_count' in > regmap_raw_read(). And indeed, converting 'num' to the type of > 'val_count' (ie, size_t) makes th

Re: [PATCH] regmap : make lock/unlock functions customizable.

2012-10-11 Thread Mark Brown
On Mon, Oct 01, 2012 at 11:31:04PM +0200, cimina...@gnudd.com wrote: > From: Davide Ciminaghi > > It is sometimes convenient for a regmap user to override the standard > regmap lock/unlock functions with custom functions. This looks good overall but... > -static void regmap_lock_mutex(struct re

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2012-10-11 Thread Christian Gmeiner
2012/10/1 Greg KH : > On Mon, Oct 01, 2012 at 02:50:40PM +0200, Christian Gmeiner wrote: >> During the development of this driver an in-house register >> documentation was used. The last weeks some integration tests >> were done and this problem was found. It turned out that >> the released registe

Re: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-11 Thread Borislav Petkov
On Fri, Oct 12, 2012 at 03:37:50AM +, Ma, Ling wrote: > > > Load and write operation occupy about 35% and 10% respectively for > > > most industry benchmarks. Fetched 16-aligned bytes code include about > > > 4 instructions, implying 1.34(0.35 * 4) load, 0.4 write. > > > Modern CPU support 2 lo

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread Borislav Petkov
On Thu, Oct 11, 2012 at 10:42:26PM -0400, Steven Rostedt wrote: > On Thu, 2012-10-11 at 19:31 -0700, David Sharp wrote: > > On Thu, Oct 11, 2012 at 6:56 PM, Steven Rostedt wrote: > > > Sorry, I know this is late, but it was pushed down in my todo list > > > (never off, but something I probably wou

Using ps to display process information never exit, and can't be killed

2012-10-11 Thread Cyberman Wu
Sorry to use that big mail list account since I don't know any specific mail list account should be used for that problem. We're running Linux box on Gx platform from Tilera. The kernel use some vendor specific patches, but most of them are the same as standard kernel. We encounter a problem occa

Re: [PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-11 Thread viresh kumar
On Fri, Oct 12, 2012 at 11:14 AM, Viresh Kumar wrote: > dw_dmac driver already supports device tree but it used to have its platform > data passed the non-DT way. > > This patch does following changes: > - pass platform data via DT, non-DT way still takes precedence if both are > used. > - create

[PATCH 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-10-11 Thread Viresh Kumar
dw_dmac driver already supports device tree but it used to have its platform data passed the non-DT way. This patch does following changes: - pass platform data via DT, non-DT way still takes precedence if both are used. - create generic filter routine - Earlier slave information was made availabl

[PATCH 3/3] ARM: SPEAr13xx: Pass DW DMAC platform data from DT

2012-10-11 Thread Viresh Kumar
This patch adds dw_dmac's platform data to DT node. It also creates slave info node for SPEAr13xx, for the devices which were using dw_dmac. Signed-off-by: Viresh Kumar --- arch/arm/boot/dts/spear1340.dtsi | 19 ++ arch/arm/boot/dts/spear13xx.dtsi | 38 +++

[PATCH 1/3] dmaengine: dw_dmac: Update documentation style comments for dw_dma_platform_data

2012-10-11 Thread Viresh Kumar
Documentation style comments were missing for few fields in struct dw_dma_platform_data. Add these. Signed-off-by: Viresh Kumar --- include/linux/dw_dmac.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/linux/dw_dmac.h b/include/linux/dw_dmac.h index e1c8c9e..62a6190 100644 --- a/

Re: [git pull] signal.git, pile 2 (was Re: [RFC][CFT][CFReview] execve and kernel_thread unification work)

2012-10-11 Thread Paul Mackerras
On Fri, Oct 12, 2012 at 02:09:58AM +0100, Al Viro wrote: > > How granular are you planning to make that? I mean, we are talking about > 3 objects here - init/main.o, kernel/kthread.o and kernel/kmod.o. Do they > get TOC separate from that of arch/powerpc/kernel/entry_64.o? Potentially, yes, it

Re: [RFC PATCH 2/2] sched:Pick the apt busy sched group during load balancing

2012-10-11 Thread preeti
Hi everyone, The figures SCHED_GRP1:3200 and SCHED_GRP2:1156 shown below in the changelog is the probable figure as calculated with the per-entity- load-tracking metric for the runqueue load. > If a sched group has passed the test for sufficient load in > update_sg_lb_stats,to qualify for load ba

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-11 Thread Michael Kerrisk (man-pages)
Rusty, On Fri, Oct 12, 2012 at 12:16 AM, Rusty Russell wrote: > "H. Peter Anvin" writes: > >> On 10/10/2012 06:03 AM, Michael Kerrisk (man-pages) wrote: >>> Good point. A "whole hog" openat()-style interface is worth thinking about >>> too. >> >> *Although* you could argue that you can always s

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-11 Thread Mark Brown
On Thu, Oct 11, 2012 at 03:56:22AM +, Christopher Heiny wrote: Fix your mailer to word wrap within paragraphs. > If this feature is a deal-breaker, we can take it out. In the absence > of a generic GPIO implementation for CS, though, I'd much rather leave > it in. Once generic GPIO CS arriv

linux-next: build warnings after merge of the tip tree

2012-10-11 Thread Stephen Rothwell
Hi all, After merging the tip tree, today's linux-next build (powerpc allnoconfig) produced these warnings: kernel/sched/fair.c:801:22: warning: 'task_h_load' declared 'static' but never defined [-Wunused-function] kernel/sched/fair.c:1013:13: warning: 'account_offnode_enqueue' defined but not

linux-next: build warning after merge of the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, After merging the vfs tree, today's linux-next build (powerpc allnoconfig) produced this warning: fs/namespace.c: In function 'do_mount': fs/namespace.c:2219:8: warning: passing argument 3 of 'security_sb_mount' discards 'const' qualifier from pointer target type [enabled by default] incl

Re: [PATCH v6 1/6] tracing,x86: Add a TSC trace_clock

2012-10-11 Thread Geert Uytterhoeven
On Fri, Oct 12, 2012 at 1:27 AM, David Sharp wrote: > +#include Please use the Kbuild infrastructure ("generic-y += ..." in arch/*/include/asm/Kbuild) instead of adding wrappers around the asm-generic version. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's l

Re: [PATCH] efivarfs: Implement exclusive access for {get,set}_variable

2012-10-11 Thread Jeremy Kerr
Hi Greg, Should this be backported to the stable kernels? No, the efivarfs code that this touches was only recently committed; it won't be in any of the stable series. Cheers, Jeremy -- To unsubscribe from this list: send the line "unsubscribe linux-efi" in the body of a message to major

Re: [PATCH v3 07/10] thp: implement splitting pmd for huge zero page

2012-10-11 Thread Ni zhan Chen
On 10/12/2012 12:13 PM, Kirill A. Shutemov wrote: On Fri, Oct 12, 2012 at 11:23:37AM +0800, Ni zhan Chen wrote: On 10/02/2012 11:19 PM, Kirill A. Shutemov wrote: From: "Kirill A. Shutemov" We can't split huge zero page itself, but we can split the pmd which points to it. On splitting the pmd

[RFC PATCH 2/2] sched:Pick the apt busy sched group during load balancing

2012-10-11 Thread Preeti U Murthy
If a sched group has passed the test for sufficient load in update_sg_lb_stats,to qualify for load balancing,then PJT's metrics has to be used to qualify the right sched group as the busiest group. The scenario which led to this patch is shown below: Consider Task1 and Task2 to be a long running t

[RFC PATCH 1/2] sched:Prevent movement of short running tasks during load balancing

2012-10-11 Thread Preeti U Murthy
Prevent sched groups with low load as tracked by PJT's metrics from being candidates of the load balance routine.This metric is chosen to be 1024+15%*1024.But using PJT's metrics it has been observed that even when three 10% tasks are running,the load sometimes does not exceed this threshold.The ca

[RFC PATCH 0/2] sched: Load Balancing using Per-entity-Load-tracking

2012-10-11 Thread Preeti U Murthy
Hi everyone, This patchset uses the per-entity-load-tracking patchset which will soon be available in the kernel.It is based on the tip/master tree and the first 8 latest patches of sched:per-entity-load-tracking alone have been imported to the tree to avoid the complexities of task groups and to

Re: [PATCH] uprobe: fix misleading log entry

2012-10-11 Thread Srikar Dronamraju
> On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju > wrote: > > * Jovi Zhang [2012-07-18 11:08:42]: > > > >> From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 > >> From: Jovi Zhang > >> Date: Wed, 18 Jul 2012 17:51:26 +0800 > >> Subject: [PATCH] uprobe: fix misleading log

Re: [PATCH] efivarfs: Implement exclusive access for {get,set}_variable

2012-10-11 Thread Greg KH
On Thu, Oct 11, 2012 at 02:42:36PM +0100, Matt Fleming wrote: > On Thu, 2012-10-11 at 21:19 +0800, Jeremy Kerr wrote: > > Currently, efivarfs does not enforce exclusion over the get_variable and > > set_variable operations. Section 7.1 of UEFI requires us to only allow a > > single processor to ent

Re: [PATCH] backlight: lm3639: Return proper error in lm3639_bled_mode_store error paths

2012-10-11 Thread gshark
2012년 10월 11일 14:11, Axel Lin 쓴 글: Signed-off-by: Axel Lin --- drivers/video/backlight/lm3639_bl.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/backlight/lm3639_bl.c b/drivers/video/backlight/lm3639_bl.c index c6915c6..585949b 100644 --- a/drivers/

Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-11 Thread Inderpal Singh
Hello, On 5 October 2012 06:17, Inderpal Singh wrote: > The first 2 patches of this series fix memory leaks because the memory > allocated for peripheral channels and DMA descriptors were not getting > freed. > > The last 2 patches balance the module's remove function. > > This series depends on

Re: [PATCH v2] acpi : acpi_bus_trim() stops removing devices when failing to remove the device

2012-10-11 Thread Yasuaki Ishimatsu
Hi Toshi, 2012/10/11 22:58, Toshi Kani wrote: On Thu, 2012-10-11 at 19:12 +0900, Yasuaki Ishimatsu wrote: acpi_bus_trim() stops removing devices, when acpi_bus_remove() return error number. But acpi_bus_remove() cannot return error number correctly. acpi_bus_remove() only return -EINVAL, when d

Re: [PATCH v3 07/10] thp: implement splitting pmd for huge zero page

2012-10-11 Thread Kirill A. Shutemov
On Fri, Oct 12, 2012 at 11:23:37AM +0800, Ni zhan Chen wrote: > On 10/02/2012 11:19 PM, Kirill A. Shutemov wrote: > >From: "Kirill A. Shutemov" > > > >We can't split huge zero page itself, but we can split the pmd which > >points to it. > > > >On splitting the pmd we create a table with all ptes s

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/powerpc/kernel/sys_ppc32.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit be6abfa769fa ("powerpc: switch to generic sys_execve()/ kernel_execve()") from

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/powerpc/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit be6abfa769fa ("powerpc: switch to generic sys_execve ()/kernel_execve()") from th

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/mn10300/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit 8f1597e959a3 ("mn10300: switch to generic sys_execve()") from the signal tree. T

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/m68k/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit d878d6dacee2 ("m68k: switch to generic sys_execve()/kernel_execve()") from the signa

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/frv/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit 460dabab73f2 ("frv: switch to generic sys_execve()") from the signal tree. The latte

linux-next: manual merge of the signal tree with the vfs tree

2012-10-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/c6x/kernel/process.c between commit 2a5e5beb88c5 ("vfs: define struct filename and have getname() return it") from the vfs tree and commit 680a14535c33 ("c6x: switch to generic sys_execve") from the signal tree. The latter

Re: linux-next: build failure after merge of the l2-mtd tree

2012-10-11 Thread Dinh Nguyen
ERROR: "denali_remove" [drivers/mtd/nand/denali_pci.ko] undefined! > > Probably caused by commit 305b1ee29c8e ("mtd: denali: split the generic > driver and PCI layer"). > > I have used the l2-mtd tree from next-20121011 for today. Sorry about that. I just sent a p

RE: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-11 Thread Ma, Ling
> > Load and write operation occupy about 35% and 10% respectively for > > most industry benchmarks. Fetched 16-aligned bytes code include about > > 4 instructions, implying 1.34(0.35 * 4) load, 0.4 write. > > Modern CPU support 2 load and 1 write per cycle, so throughput from > > write is bottlene

[PATCH] genirq: for edge interrupt IRQS_ONESHOT support with irq thread

2012-10-11 Thread Chuansheng Liu
In our system, there is one edge interrupt, and we want it to be irq thread with IRQS_ONESHOT, and found in handle_edge_irq(), even with IRQS_ONESHOT, the irq is still unmasked without care of flag IRQS_ONESHOT. It causes IRQS_ONESHOT can not work well for edge interrupt, but also after the irq t

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

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in drivers/mtd/nand/atmel_nand.c between commit 28446acb1f82 ("mtd: atmel nand: fix gpio missing request") from Linus' tree and commit 08695153170c ("MTD: atmel nand: fix gpio missing request") from the pinctrl tree. I fixed it

Re: [PATCH v3 07/10] thp: implement splitting pmd for huge zero page

2012-10-11 Thread Ni zhan Chen
On 10/02/2012 11:19 PM, Kirill A. Shutemov wrote: From: "Kirill A. Shutemov" We can't split huge zero page itself, but we can split the pmd which points to it. On splitting the pmd we create a table with all ptes set to normal zero page. Signed-off-by: Kirill A. Shutemov Reviewed-by: Andrea

RE: [PATCH RFC 2/2] [x86] Optimize copy_page by re-arranging instruction sequence and saving register

2012-10-11 Thread Ma, Ling
> > Load and write operation occupy about 35% and 10% respectively for > > most industry benchmarks. Fetched 16-aligned bytes code include about > > 4 instructions, implying 1.34(0.35 * 4) load, 0.4 write. > > Modern CPU support 2 load and 1 write per cycle, so throughput from > > write is bottlene

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

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9x5.c between commits af2a5f09fb6d ("Replace clk_lookup.con_id with clk_lookup.dev_id entries for twi clk") and f7d19b906556 ("ARM: at91: add clocks for I2C DT entries") from Linus' tree and commi

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

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9n12.c between commit f7d19b906556 ("ARM: at91: add clocks for I2C DT entries") from the tree and commit 5c70cd3c7c69 ("arm: at91: dt: at91sam9 add pinctrl support") from the pinctrl tree. I fixed

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

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/mach-at91/at91sam9263.c between commit f7d19b906556 ("ARM: at91: add clocks for I2C DT entries") from Linus' tree and commit 5c70cd3c7c69 ("arm: at91: dt: at91sam9 add pinctrl support") from the pinctrl tree. I fixe

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

2012-10-11 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the pinctrl tree got a conflict in arch/arm/boot/dts/at91sam9g25ek.dts between commit fbc1871511ed ("ARM: dts: add twi nodes for atmel boards") from Linus' tree and commit 77ccddbdc0c9 ("arm: at91: dt: at91sam9 add serial pinctrl support") from the pinctrl tre

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread Steven Rostedt
On Thu, 2012-10-11 at 19:31 -0700, David Sharp wrote: > On Thu, Oct 11, 2012 at 6:56 PM, Steven Rostedt wrote: > > Sorry, I know this is late, but it was pushed down in my todo list > > (never off, but something I probably wouldn't have seen for a few more > > months). > > > > On Thu, 2012-06-07 a

Re: [PATCH v6 6/6] tracing: Fix maybe-uninitialized warning in ftrace_function_set_regexp

2012-10-11 Thread David Sharp
On Thu, Oct 11, 2012 at 6:36 PM, Steven Rostedt wrote: > On Thu, 2012-10-11 at 16:27 -0700, David Sharp wrote: >> Compiler warning: >> >> kernel/trace/trace_events_filter.c: In function >> 'ftrace_function_set_filter_cb': >> kernel/trace/trace_events_filter.c:2074:8: error: 'ret' may be used >>

[PATCH] binfmt_script: do not leave interp on stack

2012-10-11 Thread Kees Cook
When binfmt_script's load_script ran, it would manipulate bprm->buf and leave bprm->interp pointing to the local stack. If a series of scripts are executed, the final one will have leaked kernel stack contents into the cmdline. For a proof of concept, see DoTest.sh from: http://www.halfdog.net/Secu

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread David Sharp
On Thu, Oct 11, 2012 at 6:56 PM, Steven Rostedt wrote: > Sorry, I know this is late, but it was pushed down in my todo list > (never off, but something I probably wouldn't have seen for a few more > months). > > On Thu, 2012-06-07 at 16:46 -0700, Vaibhav Nagarnaik wrote: >> From: David Sharp > >

Re: [Request for review] Revised delete_module(2) manual page

2012-10-11 Thread Rusty Russell
Lucas De Marchi writes: > What do you think? Mark as deprecated now and remove when kernel > removes it? Or remove now? Complain now, and I'll queue the removal in two merge windows. Thats gives us a chance just in case someone actually uses this; if so I want to talk to them about what it is th

Re: [PATCH v2 8/8] x86/lguest: Use __pa_symbol instead of __pa on C visible symbols

2012-10-11 Thread Rusty Russell
Alexander Duyck writes: > The function lguest_write_cr3 is using __pa to convert swapper_pg_dir and > initial_page_table from virtual addresses to physical. The correct function > to use for these values is __pa_symbol since they are C visible symbols. > > Cc: Rusty Russell > Signed-off-by: Ale

Re: [PATCH 0/3] virtio-net: inline header support

2012-10-11 Thread Rusty Russell
"Michael S. Tsirkin" writes: > On Thu, Oct 11, 2012 at 10:33:31AM +1030, Rusty Russell wrote: >> OK. Well, Anthony wants qemu to be robust in this regard, so I am >> tempted to rework all the qemu drivers to handle arbitrary layouts. >> They could use a good audit anyway. > > I agree here. Still

Re: [PATCH] [SCSI] virtio-scsi: Add real 2-clause BSD license to header

2012-10-11 Thread Rusty Russell
Paolo Bonzini writes: > Il 11/10/2012 08:41, Bryan Venteicher ha scritto: >> This is analogous to commit a1b383870a made by Rusty Russell to all >> the VirtIO headers at the time. This eases the use of the header as >> is by other OSes. >> >> Signed-off-by: Bryan Venteicher > > Acked-by: Paolo

Re: [PATCH 1/4] module: add syscall to load module from fd

2012-10-11 Thread Rusty Russell
"H. Peter Anvin" writes: > On 10/10/2012 06:03 AM, Michael Kerrisk (man-pages) wrote: >> Good point. A "whole hog" openat()-style interface is worth thinking about >> too. > > *Although* you could argue that you can always simply open the module > file first, and that finit_module() is really wh

linux-next: manual merge of the kvm-ppc tree with the kvm tree

2012-10-11 Thread Stephen Rothwell
Hi Alexander, Today's linux-next merge of the kvm-ppc tree got a conflict in arch/powerpc/kvm/44x_emulate.c between commits from the kvm tree and the same patches plus another commit from the kvm-ppc tree. I just used the kvm-ppc tree version. This happened because 1) you rebased/rewrote

Re: [PATCH 1/2] tracing: trivial cleanup

2012-10-11 Thread Steven Rostedt
Sorry, I know this is late, but it was pushed down in my todo list (never off, but something I probably wouldn't have seen for a few more months). On Thu, 2012-06-07 at 16:46 -0700, Vaibhav Nagarnaik wrote: > From: David Sharp If this is from David it needs his SOB. -- Steve > > Remove ftrace

Re: udev breakages - was: Re: Need of an ".async_probe()" type of callback at driver's core - Was: Re: [PATCH] [media] drxk: change it to use request_firmware_nowait()

2012-10-11 Thread Ming Lei
On Fri, Oct 12, 2012 at 2:33 AM, Shea Levy wrote: > > FWIW (and probably that's not much), the NixOS[0] distro doesn't currently > use /lib/firmware. There is no /lib directory by default on NixOS, instead > we create a new symlink tree representing the current system on each system > change and

Re: [PATCH 00/33] AutoNUMA27

2012-10-11 Thread Andrea Arcangeli
Hi Mel, On Thu, Oct 11, 2012 at 10:34:32PM +0100, Mel Gorman wrote: > So after getting through the full review of it, there wasn't anything > I could not stand. I think it's *very* heavy on some of the paths like > the idle balancer which I was not keen on and the fault paths are also > quite heav

Re: [Patch 3/7] smpboot: Provide infrastructure for percpu hotplug threads

2012-10-11 Thread Sasha Levin
On Wed, Sep 19, 2012 at 5:47 PM, Sasha Levin wrote: > Hi Thomas, > > On 07/16/2012 12:42 PM, Thomas Gleixner wrote: >> Provide a generic interface for setting up and tearing down percpu >> threads. >> >> On registration the threads for already online cpus are created and >> started. On deregistrat

Re: [PATCH v6 6/6] tracing: Fix maybe-uninitialized warning in ftrace_function_set_regexp

2012-10-11 Thread Steven Rostedt
On Thu, 2012-10-11 at 16:27 -0700, David Sharp wrote: > Compiler warning: > > kernel/trace/trace_events_filter.c: In function > 'ftrace_function_set_filter_cb': > kernel/trace/trace_events_filter.c:2074:8: error: 'ret' may be used > uninitialized in this function [-Werror=maybe-uninitialized] >

[RFC][PATCH] perf: Add a few generic stalled-cycles events

2012-10-11 Thread Sukadev Bhattiprolu
>From 89cb6a25b9f714e55a379467a832ee015014ed11 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Date: Tue, 18 Sep 2012 10:59:01 -0700 Subject: [PATCH] perf: Add a few generic stalled-cycles events The existing generic event 'stalled-cycles-backend' corresponds to PM_CMPLU_STALL event in Power7

Re: [PATCH 2.6.32.y, 2.6.34.y] ALSA: hda - ALSA HD Audio patch for Intel Panther Point DeviceIDs

2012-10-11 Thread Ben Hutchings
On Tue, 2012-10-09 at 10:56 -0400, Paul Gortmaker wrote: > On 12-10-08 09:55 PM, Ben Hutchings wrote: > > On Mon, 2012-10-08 at 18:07 -0700, Jonathan Nieder wrote: > >> From: Seth Heasley > >> Date: Wed, 20 Apr 2011 10:59:57 -0700 > >> > >> commit d2edeb7c6f1dada8ca7d5c23e42d604e92ae0c76 upstream.

[PATCH RT 1/8] random: Make it work on rt

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner Delegate the random insertion to the forced threaded interrupt handler. Store the return IP of the hard interrupt handler in the irq descriptor and feed it into the random generator as a source of entropy. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed

[PATCH RT 6/8] sched: Better debug output for might sleep

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner might sleep can tell us where interrupts have been disabled, but we have no idea what disabled preemption. Add some debug infrastructure. Cc: stable...@vger.kernel.org Signed-off-by: Thomas Gleixner Signed-off-by: Steven Rostedt --- include/linux/sched.h |4 ker

[PATCH RT 8/8] Linux 3.2.31-rt47-rc1

2012-10-11 Thread Steven Rostedt
From: Steven Rostedt --- localversion-rt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/localversion-rt b/localversion-rt index 2721581..8a02d38 100644 --- a/localversion-rt +++ b/localversion-rt @@ -1 +1 @@ --rt46 +-rt47-rc1 -- 1.7.10.4 -- To unsubscribe from this lis

[PATCH RT 4/8] mm: page_alloc: Use local_lock_on() instead of plain spinlock

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner The plain spinlock while sufficient does not update the local_lock internals. Use a proper local_lock function instead to ease debugging. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- include/linux/locallock.h | 11 +

[PATCH RT 5/8] rt: rwsem/rwlock: lockdep annotations

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner rwlocks and rwsems on RT do not allow multiple readers. Annotate the lockdep acquire functions accordingly. Signed-off-by: Thomas Gleixner Cc: stable...@vger.kernel.org Signed-off-by: Steven Rostedt --- kernel/rt.c | 46 +- 1

[PATCH RT 2/8] softirq: Init softirq local lock after per cpu section is set up

2012-10-11 Thread Steven Rostedt
From: Steven Rostedt I discovered this bug when booting 3.4-rt on my powerpc box. It crashed with the following report: [ cut here ] kernel BUG at /work/rt/stable-rt.git/kernel/rtmutex_common.h:75! Oops: Exception in kernel mode, sig: 5 [#1] PREEMPT SMP NR_CPUS=64 NUMA PA

[PATCH RT 7/8] stomp_machine: Use mutex_trylock when called from inactive cpu

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner If the stop machinery is called from inactive CPU we cannot use mutex_lock, because some other stomp machine invokation might be in progress and the mutex can be contended. We cannot schedule from this context, so trylock and loop. Signed-off-by: Thomas Gleixner Cc: stable

[PATCH RT 3/8] mm: slab: Fix potential deadlock

2012-10-11 Thread Steven Rostedt
From: Thomas Gleixner = [ INFO: possible recursive locking detected ] 3.6.0-rt1+ #49 Not tainted - swapper/0/1 is trying to acquire lock: lock_slab_on+0x72/0x77 but task is already holding lock: __loca

[PATCH RT 0/8] [ANNOUNCE] 3.2.31-rt47-rc1 stable review

2012-10-11 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 3.2.31-rt47-rc1. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release cand

[git pull] vfs.git, pile 2

2012-10-11 Thread Al Viro
Stuff in this one - assorted fixes, lglock tidy-up, death to lock_super(). There'll be a VFS pile tomorrow (with patches from Jeff Layton, sanitizing getname() and related parts of audit and preparing for ESTALE fixes), but I'd rather push the stuff in this one ASAP - some of the bugs clos

[git pull] signal.git, pile 2 (was Re: [RFC][CFT][CFReview] execve and kernel_thread unification work)

2012-10-11 Thread Al Viro
On Fri, Oct 12, 2012 at 11:16:33AM +1100, Paul Mackerras wrote: > On Thu, Oct 11, 2012 at 01:53:06PM +0100, Al Viro wrote: > > > Umm... Maybe, but let's do that as subsequent cleanup. Again, > > we almost certainly don't need to mess with TOC at all - the callbacks > > are in the main kernel

Re: [PATCH 07/33] autonuma: mm_autonuma and task_autonuma data structures

2012-10-11 Thread Andrea Arcangeli
Hi Christoph, On Fri, Oct 12, 2012 at 12:23:17AM +, Christoph Lameter wrote: > On Thu, 11 Oct 2012, Rik van Riel wrote: > > > These statistics are updated at page fault time, I > > believe while holding the page table lock. > > > > In other words, they are in code paths where updating > > the

Re: [PATCH 00/33] AutoNUMA27

2012-10-11 Thread Andrea Arcangeli
On Thu, Oct 11, 2012 at 04:35:03PM +0100, Mel Gorman wrote: > If System CPU time really does go down as this converges then that > should be obvious from monitoring vmstat over time for a test. Early on > - high usage with that dropping as it converges. If that doesn't happen > then the tasks are

Re: [PATCH 10/33] autonuma: CPU follows memory algorithm

2012-10-11 Thread Andrea Arcangeli
On Thu, Oct 11, 2012 at 03:58:05PM +0100, Mel Gorman wrote: > On Thu, Oct 04, 2012 at 01:50:52AM +0200, Andrea Arcangeli wrote: > > This algorithm takes as input the statistical information filled by the > > knuma_scand (mm->mm_autonuma) and by the NUMA hinting page faults > > (p->task_autonuma), e

Re: uprobe: checking probe event include directory

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 7:45 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 19:38:27]: > >> On Wed, Jul 18, 2012 at 7:07 PM, Srikar Dronamraju >> wrote: >> > The patch looks good, >> > >> > Can you modify the description a bit. However you are free to ignore >> > these comments. After k

Re: [RFC][CFT][CFReview] execve and kernel_thread unification work

2012-10-11 Thread Paul Mackerras
On Thu, Oct 11, 2012 at 01:53:06PM +0100, Al Viro wrote: > Umm... Maybe, but let's do that as subsequent cleanup. Again, > we almost certainly don't need to mess with TOC at all - the callbacks > are in the main kernel, there are very few of them and they really are > low-level details of

linux-next: build failure after merge of the l2-mtd tree

2012-10-11 Thread Stephen Rothwell
05b1ee29c8e ("mtd: denali: split the generic driver and PCI layer"). I have used the l2-mtd tree from next-20121011 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpy1SbpHtmy4.pgp Description: PGP signature

Re: [PATCH 2/2]suppress "Device nodeX does not have a release() function" warning

2012-10-11 Thread Yasuaki Ishimatsu
2012/10/12 5:31, David Rientjes wrote: On Thu, 11 Oct 2012, Yasuaki Ishimatsu wrote: When calling unregister_node(), the function shows following message at device_release(). "Device 'node2' does not have a release() function, it is broken and must be fixed." The reason is node's device struc

Re: [GIT] TPM bugfixes

2012-10-11 Thread Randy Dunlap
On 10/11/2012 04:00 PM, Andrew Morton wrote: > On Thu, 11 Oct 2012 15:49:36 -0700 > Andrew Morton wrote: > >> On Fri, 12 Oct 2012 00:45:06 +0200 >> richard -rw- weinberger wrote: >> >>> On Fri, Oct 12, 2012 at 12:19 AM, Andrew Morton >>> wrote: On Thu, 11 Oct 2012 21:54:18 +1100 (EST) >>>

Re: [PATCH] uprobe: fix misleading log entry

2012-10-11 Thread Jovi Zhang
On Wed, Jul 18, 2012 at 5:22 PM, Srikar Dronamraju wrote: > * Jovi Zhang [2012-07-18 11:08:42]: > >> From 68232ef2decae95b807f2f3763e8ea99c1a3b2ae Mon Sep 17 00:00:00 2001 >> From: Jovi Zhang >> Date: Wed, 18 Jul 2012 17:51:26 +0800 >> Subject: [PATCH] uprobe: fix misleading log entry >> >> Ther

[PATCH] kvm/ftrace: change the diplaying format of vector in trace_msi_set_irq

2012-10-11 Thread Sanagi, Koki
This patch changes the way to diplay the vector in trace_msi_set_irq from %x to %u. Currently, it mismatches another output of ftrace such as kvm_msi_set_irq and kvm_inj_virq which uses %u. Signed-off-by: Koki Sanagi --- include/trace/events/kvm.h |2 +- 1 files changed, 1 insertions(+), 1

[PATCH] gen_init_cpio: avoid stack overflow when expanding

2012-10-11 Thread Kees Cook
Fix possible overflow of the buffer used for expanding environment variables when building file list. $ cat usr/crash.list file foo ${BIG}${BIG}${BIG}${BIG}${BIG}${BIG} 0755 0 0 $ BIG=$(perl -e 'print "A" x 4096;') ./usr/gen_init_cpio usr/crash.list *** buffer overflow detected ***: ./usr/gen_init

[PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v4

2012-10-11 Thread Andi Kleen
From: Andi Kleen There was some desire in large applications using MAP_HUGETLB/SHM_HUGETLB to use 1GB huge pages on some mappings, and stay with 2MB on others. This is useful together with NUMA policy: use 2MB interleaving on some mappings, but 1GB on local mappings. This patch extends the IPC/S

Re: [PATCH] MM: Support more pagesizes for MAP_HUGETLB/SHM_HUGETLB v3

2012-10-11 Thread Andi Kleen
> Alas, include/asm-generic/mman.h doesn't exist now. git resolved it automagically > > Does this change touch all the hugetlb-capable architectures? I took a look at this again. So not every hugetlb capable architecture needs it, only architectures with multiple hugetlb page sizes. This is on

Re: amd64, v3.6.0: Kernel panic + BUG at net/netfilter/nf_conntrack_core.c:220!

2012-10-11 Thread Pablo Neira Ayuso
On Thu, Oct 11, 2012 at 11:27:33PM +0200, Borislav Petkov wrote: > On Thu, Oct 11, 2012 at 12:13:33PM -0700, Ian Applegate wrote: > > On machines serving mainly http traffic we are seeing the following > > panic, which is not yet reproducible. > > Must be this BUG_ON: > > if (!nf_ct_is_conf

Re: [PATCH v5 1/3] tracing,x86: Add a TSC trace_clock

2012-10-11 Thread David Sharp
On Mon, Oct 8, 2012 at 7:08 PM, Yoshihiro YUNOMAE wrote: > Hi David, > > This is a nice patch set. > > I just have found something should be fixed, which related to > your work. I'll send it following this mail. > > Would you mind adding these patches as your patch series? Thanks for noticing the

[PATCH v6 3/6] tracing: Format non-nanosec times from tsc clock without a decimal point.

2012-10-11 Thread David Sharp
With the addition of the "tsc" clock, formatting timestamps to look like fractional seconds is misleading. Mark clocks as either in nanoseconds or not, and format non-nanosecond timestamps as decimal integers. Tested: $ cd /sys/kernel/debug/tracing/ $ cat trace_clock [local] global tsc $ echo sche

[PATCH v6 1/6] tracing,x86: Add a TSC trace_clock

2012-10-11 Thread David Sharp
In order to promote interoperability between userspace tracers and ftrace, add a trace_clock that reports raw TSC values which will then be recorded in the ring buffer. Userspace tracers that also record TSCs are then on exactly the same time base as the kernel and events can be unambiguously inter

[PATCH v6 6/6] tracing: Fix maybe-uninitialized warning in ftrace_function_set_regexp

2012-10-11 Thread David Sharp
Compiler warning: kernel/trace/trace_events_filter.c: In function 'ftrace_function_set_filter_cb': kernel/trace/trace_events_filter.c:2074:8: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized] Signed-off-by: David Sharp Cc: Steven Rostedt --- kernel/trace/tr

[PATCH v6 5/6] ftrace: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clock

2012-10-11 Thread David Sharp
From: Yoshihiro YUNOMAE Show raw time stamp values for stats per cpu if you choose counter or tsc mode for trace_clock. Although a unit of tracing time stamp is nsec in local or global mode, the units in counter and TSC mode are tracing counter and cycles respectively. Signed-off-by: Yoshihiro

  1   2   3   4   5   6   >