Re: [PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 08:52 AM, Stefani Seibold wrote: Pardon, i never disregarded nor i have agreed that this is going to be a part of the VDSO. I currently have also no idea how to do this and i see no need at the moment to do this revamp. The 64 bit VDSO lives since more than 6 years with this

Re: [RFC PATCH 1/5] ARM: remove useless guard in smp.c

2012-12-18 Thread Stephen Boyd
On 12/18/12 04:06, Mark Rutland wrote: Currently we only provide an implementation of smp_timer_broadcast in smp.c if GENERIC_CLOCKEVENTS_BROADCAST is selected. As smp_timer_broadcast is only used in smp.c, smp.c depends on SMP, and GENERIC_CLOCKEVENTS_BROADCAST is selected by SMP, this is

Re: [PATCH RESEND 2/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Dan Carpenter
On Wed, Dec 19, 2012 at 06:34:04AM +1300, Tony Prisk wrote: Resend to include mailing lists. These kind of comments should go under the Signed of by line under a --- line. They will be removed by git-am instead of being preserved in the git log. Signed-off-by bla bla blah --- Commments...

Re: [PATCH RESEND 3/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
On Tue, 2012-12-18 at 21:39 +0300, Dan Carpenter wrote: On Wed, Dec 19, 2012 at 06:34:05AM +1300, Tony Prisk wrote: Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. The original code is correct. clk_get() can return NULL depending on the

Re: [RFC v4 0/3] Support volatile for anonymous range

2012-12-18 Thread Arun Sharma
On 12/17/12 10:47 PM, Minchan Kim wrote: I hope more inputs from user-space allocator people and test patch with their allocator because it might need design change of arena management for getting real vaule. jemalloc knows how to handle MADV_FREE on platforms that support it. This looks

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 8:10 AM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: So, I would propose the following changes. - Move the acpi_hot_add_bind() call back to the original place after the device_attach() call. - Rename the name of

Re: [PATCH RESEND 3/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Dan Carpenter
I don't care either way, but being different from the documentation is less bad than crashing which is what your patch does. Please be more careful in the future. regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH] workqueue: consider work function when searching for busy work items

2012-12-18 Thread Tejun Heo
From a2c1c57be8d9fd5b716113c8991d3d702eeacf77 Mon Sep 17 00:00:00 2001 From: Tejun Heo t...@kernel.org Date: Tue, 18 Dec 2012 10:35:02 -0800 To avoid executing the same work item concurrenlty, workqueue hashes currently busy workers according to their current work items and looks up the the table

Re: [PATCH 09/12] cfq-iosched: enable full blkcg hierarchy support

2012-12-18 Thread Tejun Heo
Hey, Vivek. On Tue, Dec 18, 2012 at 01:40:23PM -0500, Vivek Goyal wrote: Can we update Documentation/blkio-controller.txt file to explain all this. Also it would be nice to also explain the case of a group having both tasks and groups as child and then how shares will be calculated. There we

Re: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics

2012-12-18 Thread Vivek Goyal
On Fri, Dec 14, 2012 at 02:41:25PM -0800, Tejun Heo wrote: Unfortunately, at this point, there's no way to make the existing statistics hierarchical without creating nasty surprises for the existing users. Just create recursive counterpart of the existing stats. Hi Tejun, All these stats

Re: [PATCH RESEND 3/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
On Tue, 2012-12-18 at 22:03 +0300, Dan Carpenter wrote: I don't care either way, but being different from the documentation is less bad than crashing which is what your patch does. Please be more careful in the future. regards, dan carpenter Critism accepted. Given that the driver

[PATCH] sched/rt: Move cpu rq properties from struct rt_rq to struct rq

2012-12-18 Thread Kirill Tkhai
The members rt_nr_total, rt_nr_migratory, overloaded and pushable_tasks are properties of cpu runqueue, not group rt_rq. Signed-off-by: Kirill V Tkhai tk...@yandex.ru CC: Steven Rostedt rost...@goodmis.org CC: Ingo Molnar mi...@kernel.org CC: Peter Zijlstra pet...@infradead.org CC: linux-rt-users

Re: [PATCH v2 4/4] uprobes/powerpc: Make use of generic routines to enable single step

2012-12-18 Thread Oleg Nesterov
On 12/18, Ananth N Mavinakayanahalli wrote: On Fri, Dec 14, 2012 at 09:02:41PM +0100, Oleg Nesterov wrote: - uprobe_restore_context_sstep(utask-autask); + uprobe_restore_context_sstep(utask-autask, regs); I am not sure ppc needs this, but note that x86 does a bit more. Not only

Re: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics

2012-12-18 Thread Tejun Heo
Hello, Vivek. On Tue, Dec 18, 2012 at 02:11:17PM -0500, Vivek Goyal wrote: All these stats needs to be mentioned in blkio-controller.txt file to keep that file uptodate. I think it also needs another word about nature of hierarchical stats. That is they represent current view of the system

Re: [PATCH 09/12] cfq-iosched: enable full blkcg hierarchy support

2012-12-18 Thread Vivek Goyal
On Tue, Dec 18, 2012 at 11:10:55AM -0800, Tejun Heo wrote: Hey, Vivek. On Tue, Dec 18, 2012 at 01:40:23PM -0500, Vivek Goyal wrote: Can we update Documentation/blkio-controller.txt file to explain all this. Also it would be nice to also explain the case of a group having both tasks and

Re: [PATCH] checkpatch: Warn on #include uapi/...

2012-12-18 Thread David Howells
Joe Perches j...@perches.com wrote: + if ($path =~ ^uapi/) { + ERROR(UAPI_INCLUDE, + #include should not start with uapi/\n . $herecurr); } But does this limit the check only to headers

Re: [PATCH 09/12] cfq-iosched: enable full blkcg hierarchy support

2012-12-18 Thread Tejun Heo
Hey, On Tue, Dec 18, 2012 at 02:16:45PM -0500, Vivek Goyal wrote: Yeah, sure thing. Other than documentation / field names, do things look okay to you? If so, I'll post updated round once -rc1 happens. Yes, in general things look good to me with this patch. Cool. /me is wondering how

Re: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics

2012-12-18 Thread Vivek Goyal
On Tue, Dec 18, 2012 at 11:14:25AM -0800, Tejun Heo wrote: Hello, Vivek. On Tue, Dec 18, 2012 at 02:11:17PM -0500, Vivek Goyal wrote: All these stats needs to be mentioned in blkio-controller.txt file to keep that file uptodate. I think it also needs another word about nature of

Re: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics

2012-12-18 Thread Tejun Heo
On Tue, Dec 18, 2012 at 02:18:54PM -0500, Vivek Goyal wrote: Yeah, hmmm, maybe we should add another set of counters to carry stats from dead ones? Avoiding hierarchical accounting overhead in hot path while remembering by-gones shouldn't be that hard. Will work on that. So are you

Re: [PATCH v2] iio: dac: ad5446: Don't set error code to voltage_uv

2012-12-18 Thread Jonathan Cameron
On 12/18/2012 03:33 AM, Axel Lin wrote: regulator_get_voltage() may return negative error code. Add error checking to avoid setting error code to voltage_uv. Signed-off-by: Axel Lin axel@ingics.com added to fixes-togreg branch of iio.git --- Sorry. Just found I made the same mistake

Re: [PATCH 00/26] AIO performance improvements/cleanups, v2

2012-12-18 Thread Kent Overstreet
On Sat, Dec 15, 2012 at 02:16:48PM +0100, Jens Axboe wrote: On 2012-12-15 11:36, Kent Overstreet wrote: Knock yourself out - I already took a quick look at it, and conversion should be pretty simple. It's the mtip32xx driver, it's in the kernel. I would suggest getting rid of the

Re: [PATCH 12/12] cfq-iosched: add hierarchical cfq_group statistics

2012-12-18 Thread Vivek Goyal
On Tue, Dec 18, 2012 at 11:21:55AM -0800, Tejun Heo wrote: On Tue, Dec 18, 2012 at 02:18:54PM -0500, Vivek Goyal wrote: Yeah, hmmm, maybe we should add another set of counters to carry stats from dead ones? Avoiding hierarchical accounting overhead in hot path while remembering by-gones

[PATCH] HID: add ThingM blink(1) USB LED support

2012-12-18 Thread Vivien Didelot
The ThingM blink(1) is an open source hardware USB RGB LED. It contains an internal EEPROM, allowing to configure up to 12 light patterns. A light pattern is a RGB color plus a fading time. This driver registers a LED class instance with additional sysfs attributes to support basic functions such

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 19:28 +0100, Borislav Petkov wrote: On Mon, Dec 17, 2012 at 11:09:43AM -0800, Joe Perches wrote: This needs a new test here to avoid chirping on files that aren't added, deleted or renamed. next if ($realfile eq $modifiedfile); Hmm, I don't think that

Re: [PATCH RESEND 3/6] clk: exynos: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
On Wed, 2012-12-19 at 08:11 +1300, Tony Prisk wrote: On Tue, 2012-12-18 at 22:03 +0300, Dan Carpenter wrote: I don't care either way, but being different from the documentation is less bad than crashing which is what your patch does. Please be more careful in the future. regards,

Re: [PATCH v2 1/6] Add header files and Kbuild plumbing for SI476x MFD core

2012-12-18 Thread Mauro Carvalho Chehab
Em Mon, 8 Oct 2012 11:38:01 -0700 Andrey Smirnov andrey.smir...@convergeddevices.net escreveu: On 10/08/2012 01:43 AM, Hans Verkuil wrote: On Sat October 6 2012 03:54:57 Andrey Smirnov wrote: This patch adds all necessary header files and Kbuild plumbing for the core driver for Silicon

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-18 Thread Oleg Nesterov
On 12/18, Srivatsa S. Bhat wrote: So now that we can't avoid disabling and enabling interrupts, Still I think it would be better to not use local_irq_save/restore directly. And, I was wondering if we could exploit this to avoid the smp_mb().. Maybe this is a stupid question, but I'll shoot

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Mauro Carvalho Chehab
Em 18-12-2012 16:37, Joe Perches escreveu: On Tue, 2012-12-18 at 19:33 +0100, Borislav Petkov wrote: On Tue, Dec 18, 2012 at 10:24:29AM -0800, Joe Perches wrote: or without all the unnecessary parens and using char: pr_cont(%cBUFF parity error\n, xec == 4 ? 'I' : 'O');

Re: [PATCH] checkpatch: Warn on #include uapi/...

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 19:17 +, David Howells wrote: Joe Perches j...@perches.com wrote: + if ($path =~ ^uapi/) { + ERROR(UAPI_INCLUDE, + #include should not start with uapi/\n . $herecurr);

Re: [v3.7 Regression] [SCSI] sd: Implement support for WRITE SAME

2012-12-18 Thread Joseph Salisbury
On 12/14/2012 05:35 PM, Martin K. Petersen wrote: Joseph == Joseph Salisbury joseph.salisb...@canonical.com writes: Joseph I see that you are the author of this patch, so I wanted to run Joseph this by you. I was thinking of requesting a revert for v3.7, Joseph but I wanted to get your

Re: [Patch][resend] SGI-XP: Handle non-fatal traps.

2012-12-18 Thread Andrew Morton
Cc: Thomas Gleixner t...@linutronix.de, Ingo Molnar mi...@elte.hu, Linux-kernel linux-kernel@vger.kernel.org, sta...@kernel.org It's sta...@vger.kernel.org. On Tue, 18 Dec 2012 11:52:43 -0600 Robin Holt h...@sgi.com wrote: We found a user code which was raising a divide-by-zero trap. That

Re: + core_pattern-set-core-helpers-root-and-namespace-to-crashing-process .patch added to -mm tree

2012-12-18 Thread Oleg Nesterov
On 12/17, Neil Horman wrote: On Mon, Dec 17, 2012 at 05:04:08PM +0100, Oleg Nesterov wrote: Is there a way to switch all namespaces, except for the pid namespace? Which exactly namespaces you want to change? Ideally, I want the pipe reader process to execute in the same namespaces

Re: [RFC PATCH v4 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-18 Thread Srivatsa S. Bhat
On 12/19/2012 01:13 AM, Oleg Nesterov wrote: On 12/18, Srivatsa S. Bhat wrote: So now that we can't avoid disabling and enabling interrupts, Still I think it would be better to not use local_irq_save/restore directly. Sure, we can use this_cpu_add() itself. I explicitly used

[RFC 1/2] virtio_balloon: move locking to the balloon thread

2012-12-18 Thread Luiz Capitulino
Today, the balloon_lock mutex is taken and released by fill_balloon() and leak_balloon() when both functions are entered and when they return. This commit moves the locking to the caller instead, which is the balloon() thread. The balloon thread is the sole caller of those functions today. The

[RFC 0/2] auto-ballooning prototype (guest part)

2012-12-18 Thread Luiz Capitulino
Hi, This series implements an early protoype of a new feature called automatic ballooning. This is based on ideas by Rik van Riel and I also got some help from Rafael Aquini (misconceptions and bugs are all mine, though). The auto-ballooning feature automatically performs balloon inflate and

[RFC 2/2] virtio_balloon: add auto-ballooning support

2012-12-18 Thread Luiz Capitulino
The auto-ballooning feature automatically performs balloon inflate or deflate based on host and guest memory pressure. This can help to avoid swapping or worse in both, host and guest. Auto-ballooning has a host and a guest part. The host performs automatic inflate by requesting the guest to

Re: + core_pattern-set-core-helpers-root-and-namespace-to-crashing-process .patch added to -mm tree

2012-12-18 Thread Neil Horman
On Tue, Dec 18, 2012 at 09:06:04PM +0100, Oleg Nesterov wrote: On 12/17, Neil Horman wrote: On Mon, Dec 17, 2012 at 05:04:08PM +0100, Oleg Nesterov wrote: Is there a way to switch all namespaces, except for the pid namespace? Which exactly namespaces you want to change?

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 11:34:41AM -0800, Joe Perches wrote: If no patch is attached, you should get ERROR: Does not appear to be a unified-diff format patch Well, it needs to handle the case where a patch simply and only renames a file. Then, even if a patch follows: diff --git a/README

Re: [PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread Stefani Seibold
Am Dienstag, den 18.12.2012, 10:44 -0800 schrieb H. Peter Anvin: On 12/18/2012 08:52 AM, Stefani Seibold wrote: Pardon, i never disregarded nor i have agreed that this is going to be a part of the VDSO. I currently have also no idea how to do this and i see no need at the moment to do

Re: [RFC PATCH v8 0/5] IPC: checkpoint/restore in userspace enhancements

2012-12-18 Thread Andrew Morton
On Wed, 24 Oct 2012 19:34:51 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: This respin of the patch set was significantly reworked. Most part of new API was replaced by sysctls (by one per messages, semaphores and shared memory), allowing to preset desired id for next new IPC

Re: [PATCH] checkpatch: Warn on #include uapi/...

2012-12-18 Thread David Howells
Joe Perches j...@perches.com wrote: No. I'm confused, I believe your example was: arch/powerpc/include/asm/kvm_para.h ... -#include linux/types.h +#include uapi/asm/kvm_para.h No, that is a correct alteration. The example I gave was: - #include asm/epapr_hcalls.h

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 21:31 +0100, Borislav Petkov wrote: On Tue, Dec 18, 2012 at 11:34:41AM -0800, Joe Perches wrote: If no patch is attached, you should get ERROR: Does not appear to be a unified-diff format patch Well, it needs to handle the case where a patch simply and only renames

Re: [PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread Andy Lutomirski
On Tue, Dec 18, 2012 at 12:32 PM, Stefani Seibold stef...@seibold.net wrote: Am Dienstag, den 18.12.2012, 10:44 -0800 schrieb H. Peter Anvin: On 12/18/2012 08:52 AM, Stefani Seibold wrote: Pardon, i never disregarded nor i have agreed that this is going to be a part of the VDSO. I

Re: [GIT PULL] power tools for Linux-3.8

2012-12-18 Thread Linus Torvalds
On Mon, Dec 17, 2012 at 11:17 AM, Len Brown l...@kernel.org wrote: There will be a logical conflict with the uapi changes which breaks the turbostat build. It can be fixed this way: I *think* you meant to point me at the 'release' branch, so that's what I pulled. What you actually pointed me

Re: [PATCH v7 06/27] x86, 64bit: early #PF handler set page table

2012-12-18 Thread Yinghai Lu
On Mon, Dec 17, 2012 at 11:15 PM, Yinghai Lu ying...@kernel.org wrote: -v8: we need to keep that handler alive until init_mem_mapping and don't let early_trap_init to trash that early #PF handler. So split early_trap_pf_init out and move it down. - Yinghai Peter, looks like moving

Re: [PATCH v2 00/11] tty: Fix buffer work access-after-free

2012-12-18 Thread Ilya Zykov
Stress test for tty. :) You can use this program for debug new tty changes. Use with caution. In any case(with/without Peter's patches) I have BUG(): BUG: unable to handle kernel NULL pointer dereference at 004c IP: [81116650] devpts_pty_kill+0x17/0x81 PGD 48696067 PUD

Re: + core_pattern-set-core-helpers-root-and-namespace-to-crashing-process .patch added to -mm tree

2012-12-18 Thread Eric W. Biederman
Neil Horman nhor...@tuxdriver.com writes: On Tue, Dec 18, 2012 at 09:06:04PM +0100, Oleg Nesterov wrote: On 12/17, Neil Horman wrote: On Mon, Dec 17, 2012 at 05:04:08PM +0100, Oleg Nesterov wrote: Is there a way to switch all namespaces, except for the pid namespace? Which

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 12:36:37PM -0800, Joe Perches wrote: You renamed README which is one of the filenames used when checkpatch verifies the top-level dir kernel tree. Don't do that, README is a required filename. $ git mv scripts/checkpatch{,-2}.pl $ git diff --cached HEAD -- |

Re: [PATCH v7 06/27] x86, 64bit: early #PF handler set page table

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 12:43 PM, Yinghai Lu wrote: On Mon, Dec 17, 2012 at 11:15 PM, Yinghai Lu ying...@kernel.org wrote: -v8: we need to keep that handler alive until init_mem_mapping and don't let early_trap_init to trash that early #PF handler. So split early_trap_pf_init out and move it

Re: [PATCH v7 06/27] x86, 64bit: early #PF handler set page table

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 12:49 PM, H. Peter Anvin h...@zytor.com wrote: On 12/18/2012 12:43 PM, Yinghai Lu wrote: That is putting the cart before the horse. What is the specific requirement with kgdb here (I didn't see any email on that, please don't have private back conversations)? Either

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Toshi Kani
On Tue, 2012-12-18 at 10:59 -0800, Yinghai Lu wrote: On Tue, Dec 18, 2012 at 8:10 AM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: So, I would propose the following changes. - Move the acpi_hot_add_bind() call back to the original

[GIT PULL] tile updates for 3.8

2012-12-18 Thread Chris Metcalf
Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/cmetcalf/linux-tile.git master These are a smattering of minor changes from Tilera and other folks, mostly in the ptrace area. Chris Metcalf (3): tilegx: remove __init from pci fixup hook arch/tile: provide

[PATCH v2] firmware: make sure paths remain relative

2012-12-18 Thread Kees Cook
Some devices have configurable firmware locations. If these configuration mechanisms are exposed to unprivileged userspace, it may be possible to load firmware from an unexpected location. To minimize the risk of this, make sure the string ../ does not appear in the firmware name. This means that

[PATCH 1/2] MCE, AMD: Make MC2 decoding part of amd_decoder_ops as well

2012-12-18 Thread Jacob Shin
Currently only AMD Family 15h processors have special handling for MC2 errors, since upcoming Family 16h will also need unique handling, let's make MC2 handling part of amd_decoder_ops. Signed-off-by: Jacob Shin jacob.s...@amd.com --- drivers/edac/mce_amd.c | 56

[PATCH V2 0/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Jacob Shin
The following patchset enables MCE decoding support for AMD Family 16h processors. Changes in V2: * Changed if/else style and pr_cont usage per feedback from: https://lkml.org/lkml/2012/12/17/365 * Merged f14h and f16h mc0 and mc2 decoding into common function per feedback from:

[PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Jacob Shin
Add MCE decoding logic for AMD Family 16h processors. Signed-off-by: Jacob Shin jacob.s...@amd.com --- drivers/edac/mce_amd.c | 83 +--- drivers/edac/mce_amd.h |3 ++ 2 files changed, 75 insertions(+), 11 deletions(-) diff --git

Re: Strange results of DIV_ROUND_CLOSEST

2012-12-18 Thread Juergen Beisert
Hi Guenter, Guenter Roeck wrote: On Tue, Dec 18, 2012 at 04:03:41PM +0100, Juergen Beisert wrote: commit 263a523d18bca306016d75f5c8d5c57c37fe52fb changes the code of DIV_ROUND_CLOSEST in include/linux/kernel.h to fix a compile time warning. But now feeding in a zero into this macro

Re: [PATCH v7 06/27] x86, 64bit: early #PF handler set page table

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 12:55 PM, Yinghai Lu wrote: On Tue, Dec 18, 2012 at 12:49 PM, H. Peter Anvin h...@zytor.com wrote: On 12/18/2012 12:43 PM, Yinghai Lu wrote: That is putting the cart before the horse. What is the specific requirement with kgdb here (I didn't see any email on that, please

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 12:48 PM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2012-12-18 at 10:59 -0800, Yinghai Lu wrote: On Tue, Dec 18, 2012 at 8:10 AM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: So, I would propose the following

Re: zram: fix invalid memory references during disk write

2012-12-18 Thread Nitin Gupta
On Tue, Dec 11, 2012 at 10:27 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Nov 29, 2012 at 10:45:09PM -0800, Nitin Gupta wrote: Fixes a bug introduced by commit c8f2f0db1 (zram: Fix handling of incompressible pages) which caused invalid memory references during disk write. Invalid

Re: [PATCH] vfs: update atimes over one day in the past or future

2012-12-18 Thread Dave Chinner
On Tue, Dec 18, 2012 at 05:14:57AM -0700, Andreas Dilger wrote: On 2012-12-15, at 19:15, Dave Chinner da...@fromorbit.com wrote: On Sat, Dec 15, 2012 at 11:25:23PM +0800, ys wrote: From 3d56c131b58a21c05bcd677b9d2ba915abcbf195 Mon Sep 17 00:00:00 2001 From: yangsheng sick...@gmail.com

Re: [PATCH] atkbd: Fix multi-char scancode handling on reconnect.

2012-12-18 Thread Jesper Juhl
On Fri, 14 Dec 2012, Shawn Nematbakhsh wrote: On resume from suspend there is a possibility for multi-byte scancodes to be handled incorrectly. atkbd_reconnect disables the processing of scancodes in software by calling atkbd_disable, but the keyboard may still be active because no disconnect

[BUG v3.7.0] soft lockup - CPU#0 stuck for 23s

2012-12-18 Thread Knut Petersen
Someone might be interested ... A kernel build in parallel to a dvb-s recording resulted in the following log entry: [117284.040009] BUG: soft lockup - CPU#0 stuck for 23s! [cc1:2657] [117284.040009] Modules linked in: ipt_MASQUERADE xt_pkttype xt_TCPMSS xt_tcpudp xt_LOG xt_limit iptable_nat

Re: Are there u32 atomic bitops? (or dealing w/ i_flags)

2012-12-18 Thread Dave Chinner
On Mon, Dec 17, 2012 at 06:42:44PM -0800, Andy Lutomirski wrote: On Mon, Dec 17, 2012 at 5:57 PM, Al Viro v...@zeniv.linux.org.uk wrote: On Mon, Dec 17, 2012 at 05:10:21PM -0800, Andy Lutomirski wrote: I want to change inode-i_flags access to be atomic -- there are some locking oddities

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 21:47 +0100, Borislav Petkov wrote: Oh well, enough games for today. Maybe try this tomorrow? scripts/checkpatch.pl | 40 ++-- 1 files changed, 38 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl

[PATCH] usr/gen_init_cpio.c: remove unnecessary if

2012-12-18 Thread Cong Ding
usr/gen_init_cpio.c: remove unnecessary if if it goes to fail, dname isn't allocated; otherwise, it is allocated successfully. so we just free memory when it doesn't fail. this patch also fix a trival trailing space warning by checkpatch Signed-off-by: Cong Ding ding...@gmail.com ---

Re: [PATCH] acpi: glue: Update DBG macro to include KERN_DEBUG

2012-12-18 Thread Rafael J. Wysocki
On Monday, December 17, 2012 10:31:30 PM Joe Perches wrote: Currently these DBG statements are emitted at KERN_DEFAULT. Change the macro to emit at KERN_DEBUG. This can help avoid unexpected message interleaving. Applied to linux-pm.git/linux-next as v3.8 material. Thanks, Rafael

Re: [PATCH] x86,idle: pr_debug information need separated

2012-12-18 Thread Rafael J. Wysocki
On Tuesday, December 18, 2012 12:26:02 PM Youquan Song wrote: When debug kernel, the the below information is found: intel_idle: unaware of model 0x1a MWAIT 4 please contact lenb@kernel.orgACPI: Device input0 - No ACPI support so this patch separates it. Applied to linux-pm.git/linux-next

[PATCH 1/3] seccomp: Add SECCOMP_RET_INFO return value

2012-12-18 Thread Corey Bryant
Adds a new return value to seccomp filters that causes an informational kernel message to be printed. The message includes the system call number. This can be used to learn the system calls that a process is using. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com ---

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Rafael J. Wysocki
On Tuesday, December 18, 2012 09:10:41 AM Toshi Kani wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: On Monday, December 17, 2012 05:08:17 PM Toshi Kani wrote: On Thu, 2012-12-13 at 23:17 +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki

Re: + core_pattern-set-core-helpers-root-and-namespace-to-crashing-process .patch added to -mm tree

2012-12-18 Thread Neil Horman
On Tue, Dec 18, 2012 at 12:45:18PM -0800, Eric W. Biederman wrote: Neil Horman nhor...@tuxdriver.com writes: On Tue, Dec 18, 2012 at 09:06:04PM +0100, Oleg Nesterov wrote: On 12/17, Neil Horman wrote: On Mon, Dec 17, 2012 at 05:04:08PM +0100, Oleg Nesterov wrote: Is there a

[PATCH] net: mvneta: remove unneeded version.h include

2012-12-18 Thread Jesper Juhl
The file uses nothing from the version.h header, so there is no reason to include it. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/net/ethernet/marvell/mvneta.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/marvell/mvneta.c

[PATCH 2/3] Documentation: SECCOMP_RET_INFO return value

2012-12-18 Thread Corey Bryant
Adds documentation describing the SECCOMP_RET_INFO return value. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com --- Documentation/prctl/seccomp_filter.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/prctl/seccomp_filter.txt

[PATCH 3/3] samples: Add sample using SECCOMP_RET_INFO

2012-12-18 Thread Corey Bryant
Adds a sample that demonstrates use of the SECCOMP_RET_INFO return value. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com --- samples/seccomp/Makefile | 8 ++- samples/seccomp/bpf-logger.c | 52 2 files changed, 59 insertions(+), 1

[PATCH 1/3] wlan-ng/prism2mgmt.c: added parenthesis to macro

2012-12-18 Thread Sebastian Ehrenfels
From: Sebastian Wankerl sisew...@faui49man10.informatik.uni-erlangen.de Here the hopefully fixed version. Signed-off-by: Sebastian Wankerl sisew...@cip.cs.fau.de Signed-off-by: Sebastian Ehrenfels qi50d...@cip.cs.fau.de --- drivers/staging/wlan-ng/prism2mgmt.c | 25

Re: [PATCH v2] firmware: make sure paths remain relative

2012-12-18 Thread Alan Cox
On Tue, 18 Dec 2012 13:04:49 -0800 Kees Cook keesc...@chromium.org wrote: Some devices have configurable firmware locations. If these configuration mechanisms are exposed to unprivileged userspace, it may be possible to load firmware from an unexpected location. To minimize the risk of this,

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Rafael J. Wysocki
On Tuesday, December 18, 2012 10:59:46 AM Yinghai Lu wrote: On Tue, Dec 18, 2012 at 8:10 AM, Toshi Kani toshi.k...@hp.com wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: So, I would propose the following changes. - Move the acpi_hot_add_bind() call back to the

Re: [PATCH] mm: cond_resched in tlb_flush_mmu to fix soft lockups on !CONFIG_PREEMPT

2012-12-18 Thread Andrew Morton
On Tue, 18 Dec 2012 17:11:28 +0100 Michal Hocko mho...@suse.cz wrote: Since e303297 (mm: extended batches for generic mmu_gather) we are batching pages to be freed until either tlb_next_batch cannot allocate a new batch or we are done. This works just fine most of the time but we can get

Re: [PATCH] usr/gen_init_cpio.c: remove unnecessary if

2012-12-18 Thread Kees Cook
[resend, busted mailer] On Tue, Dec 18, 2012 at 1:26 PM, Cong Ding ding...@gmail.com wrote: usr/gen_init_cpio.c: remove unnecessary if if it goes to fail, dname isn't allocated; otherwise, it is allocated successfully. so we just free memory when it doesn't fail. this patch also fix a

[PATCH] bq2415x_charger: Remove unneeded version.h include

2012-12-18 Thread Jesper Juhl
The file uses nothing from the header, so including it is pointless. Signed-off-by: Jesper Juhl j...@chaosbits.net --- drivers/power/bq2415x_charger.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/drivers/power/bq2415x_charger.c b/drivers/power/bq2415x_charger.c index

Re: [PATCH 1/3] powerpc/book3e: load critical/machine/debug exception stack

2012-12-18 Thread Tabi Timur-B04825
On Thu, Oct 25, 2012 at 1:43 AM, Tiejun Chen tiejun.c...@windriver.com wrote: We always alloc critical/machine/debug check exceptions. This is different from the normal exception. So we should load these exception stack properly like we did for booke. Tiejun, I'm a little confused by these

Re: [PATCH v2] firmware: make sure paths remain relative

2012-12-18 Thread Kees Cook
On Tue, Dec 18, 2012 at 2:02 PM, Alan Cox a...@lxorguk.ukuu.org.uk wrote: On Tue, 18 Dec 2012 13:04:49 -0800 Kees Cook keesc...@chromium.org wrote: Some devices have configurable firmware locations. If these configuration mechanisms are exposed to unprivileged userspace, it may be possible to

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 15:06 -0600, Jacob Shin wrote: Add MCE decoding logic for AMD Family 16h processors. More trivia: diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c [] @@ -64,6 +64,10 @@ EXPORT_SYMBOL_GPL(to_msgs); const char * const ii_msgs[] = { MEM, RESV, IO, GEN };

[PATCH] ipv6: addrconf.c: remove unnecessary if

2012-12-18 Thread Cong Ding
the value of err is always negative if it goes to errout, so we don't need to check the value of err. Signed-off-by: Cong Ding ding...@gmail.com --- net/ipv6/addrconf.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index

Re: [PATCH] checkpatch: Warn on #include uapi/...

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 20:35 +, David Howells wrote: Joe Perches j...@perches.com wrote: [] arch/powerpc/include/asm/kvm_para.h ... -#include linux/types.h +#include uapi/asm/kvm_para.h No, that is a correct alteration. The example I gave was: - #include

Re: [RFC PATCH 2/5] clockevents: Add generic timer broadcast receiver

2012-12-18 Thread Stephen Boyd
On 12/18/12 04:06, Mark Rutland wrote: diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index f113755..c2dd022 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -125,6 +125,21 @@ int tick_device_uses_broadcast(struct clock_event_device

Re: [RFC PATCH 4/5] clockevents: Add generic timer broadcast function

2012-12-18 Thread Stephen Boyd
Minor nit On 12/18/12 04:06, Mark Rutland wrote: diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index c2dd022..ec22a80 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -86,6 +87,12 @@ int tick_is_broadcast_device(struct

Re: [PATCH v2 0/5] Multiqueue virtio-scsi, and API for piecewise buffer submission

2012-12-18 Thread Rolf Eike Beer
Paolo Bonzini wrote: Hi all, this series adds multiqueue support to the virtio-scsi driver, based on Jason Wang's work on virtio-net. It uses a simple queue steering algorithm that expects one queue per CPU. LUNs in the same target always use the same queue (so that commands are not

Re: Are there u32 atomic bitops? (or dealing w/ i_flags)

2012-12-18 Thread Andy Lutomirski
On Tue, Dec 18, 2012 at 1:30 PM, Dave Chinner da...@fromorbit.com wrote: On Mon, Dec 17, 2012 at 06:42:44PM -0800, Andy Lutomirski wrote: On Mon, Dec 17, 2012 at 5:57 PM, Al Viro v...@zeniv.linux.org.uk wrote: On Mon, Dec 17, 2012 at 05:10:21PM -0800, Andy Lutomirski wrote: I want to change

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Toshi Kani
On Tue, 2012-12-18 at 22:57 +0100, Rafael J. Wysocki wrote: On Tuesday, December 18, 2012 09:10:41 AM Toshi Kani wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: : We need to decide which module is responsible for calling .bind(). I think it should be the ACPI scan

Re: [PATCH 6/6] Add 32 bit VDSO support for 32 and 64 bit kernels

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 12:37 PM, Andy Lutomirski wrote: There is no introduce of new fix address. There are still there for x86_64. If this will currently not a major problem on this architecture than it will not for x86_32 too. Not necessarily true. On x86-64 (non-compat) the fixmap address is in

Re: [PATCH 1/3] seccomp: Add SECCOMP_RET_INFO return value

2012-12-18 Thread Will Drewry
Thanks for the patch! On Tue, Dec 18, 2012 at 3:50 PM, Corey Bryant cor...@linux.vnet.ibm.com wrote: Adds a new return value to seccomp filters that causes an informational kernel message to be printed. The message includes the system call number. I don't have strong opinions about this

Re: [PATCH] checkpatch: Warn on #include uapi/...

2012-12-18 Thread David Howells
Joe Perches j...@perches.com wrote: Just to verify, any file in any path [.../]include/uapi/... should not itself have a line like '#include uapi/...' ? That is correct. David -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH] usr/gen_init_cpio.c: remove unnecessary if

2012-12-18 Thread Cong Ding
On Tue, Dec 18, 2012 at 02:03:08PM -0800, Kees Cook wrote: [resend, busted mailer] On Tue, Dec 18, 2012 at 1:26 PM, Cong Ding ding...@gmail.com wrote: usr/gen_init_cpio.c: remove unnecessary if if it goes to fail, dname isn't allocated; otherwise, it is allocated successfully. so we

Re: [PATCH v7 00/27] x86, boot, 64bit: Add support for loading ramdisk and bzImage above 4G

2012-12-18 Thread Borislav Petkov
On Mon, Dec 17, 2012 at 11:15:32PM -0800, Yinghai Lu wrote: Now we have limit kdump reseved under 896M, because kexec has the limitation. and also bzImage need to stay under 4g. To make kexec/kdump could use range above 4g, we need to make bzImage and ramdisk could be loaded above 4g.

[PATCH][resend] MMC, vub300: Resolve mem leak in vub300_probe() and simplify the code a bit

2012-12-18 Thread Jesper Juhl
In drivers/mmc/host/vub300.c::vub300_probe() we need both 'command_out_urb' and 'command_res_urb'. Currently we fail to free the former if allocating the latter fails. Fix that and simplify the code a bit at the same time by just doing both allocations and if either fails then free both -

Re: [PATCH] usr/gen_init_cpio.c: remove unnecessary if

2012-12-18 Thread Cong Ding
On Tue, Dec 18, 2012 at 11:41:53PM +0100, Cong Ding wrote: On Tue, Dec 18, 2012 at 02:03:08PM -0800, Kees Cook wrote: [resend, busted mailer] On Tue, Dec 18, 2012 at 1:26 PM, Cong Ding ding...@gmail.com wrote: usr/gen_init_cpio.c: remove unnecessary if if it goes to fail, dname

Re: [PATCH 1/1] Change IBS PMU to use perf_hw_context

2012-12-18 Thread Suravee Suthikulpanit
Ingo, Robert I am including a set of output from perf report to help validating IBS in per-process mode. In this experiment I ran a couple test cases: case 1. perf record -e cycles (baseline per-process mode w/ regular counter) case 2. perf record -a -e cycles:p (baseline system-wide

Re: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers

2012-12-18 Thread Rafael J. Wysocki
On Tuesday, December 18, 2012 03:15:12 PM Toshi Kani wrote: On Tue, 2012-12-18 at 22:57 +0100, Rafael J. Wysocki wrote: On Tuesday, December 18, 2012 09:10:41 AM Toshi Kani wrote: On Tue, 2012-12-18 at 02:48 +0100, Rafael J. Wysocki wrote: : We need to decide which module is responsible

Re: [PATCH 2/2] MCE, AMD: MCE decoding support for AMD Family 16h

2012-12-18 Thread Borislav Petkov
On Tue, Dec 18, 2012 at 02:10:59PM -0800, Joe Perches wrote: On Tue, 2012-12-18 at 15:06 -0600, Jacob Shin wrote: Add MCE decoding logic for AMD Family 16h processors. More trivia: diff --git a/drivers/edac/mce_amd.c b/drivers/edac/mce_amd.c [] @@ -64,6 +64,10 @@

<    3   4   5   6   7   8   9   10   >