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

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

2012-12-18 Thread Andrew Morton
> Cc: Thomas Gleixner , Ingo Molnar , > Linux-kernel , sta...@kernel.org It's sta...@vger.kernel.org. On Tue, 18 Dec 2012 11:52:43 -0600 Robin Holt wrote: > We found a user code which was raising a divide-by-zero trap. That trap > would lead to XPC connections between system-partitions being

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 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 feedback first. I copied

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' :

Re: [PATCH] checkpatch: Warn on #include

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

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

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. > > > >

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 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 Laboratories Si476x series of

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

[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 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

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 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 added to fixes-togreg branch of iio.git > --- > Sorry. Just found I made the same mistake again. > Here is

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

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

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

Re: [PATCH] checkpatch: Warn on #include

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

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

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

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(>autask); > > > + uprobe_restore_context_sstep(>autask, regs); > > > > I am not sure ppc needs this, but note that x86 does a bit more. > > > >

[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 CC: Steven Rostedt CC: Ingo Molnar CC: Peter Zijlstra CC: linux-rt-users --- kernel/sched/core.c |5 kernel/sched/rt.c| 67

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

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

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

[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 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 when it wants

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

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 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: [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 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 >

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: [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 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

Re: [PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get

2012-12-18 Thread Dan Carpenter
On Wed, Dec 19, 2012 at 06:34:02AM +1300, Tony Prisk wrote: > Resend to include mailing lists. > > As per the kernel docs, clk_get() cannot return NULL. > It returns NULL if CONFIG_HAVE_CLK is disabled. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 1/2 v2] menuconfig: Add Save/Load buttons

2012-12-18 Thread Yann E. MORIN
Wang, All, On Tuesday 18 December 2012 Wang YanQing wrote: > If menuconfig have Save/Load button like alternative > .config editors, xconfig, nconfig, etc.We will have > a obvious benefit when use menuconfig just like > when we use others, we can Save/Load our .config quickly > and conveniently.

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

2012-12-18 Thread Vivek Goyal
On Fri, Dec 14, 2012 at 02:41:22PM -0800, Tejun Heo wrote: > With the previous two patches, all cfqg scheduling decisions are based > on vfraction and ready for hierarchy support. The only thing which > keeps the behavior flat is cfqg_flat_parent() which makes vfraction > calculation consider all

Re: [PATCH RESEND 3/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: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 .config. regards, dan carpenter -- To unsubscribe from this

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

2012-12-18 Thread Rik van Riel
On 12/18/2012 11:11 AM, Michal Hocko 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 in troubles with non-preemptible

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 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'); > > Char is fine, the parens make

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 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'); Char is fine, the parens make this more readable when you look at it again after a couple of

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 12:09:45PM -0600, Jacob Shin wrote: > I think I meant to say as in uu_msgs[] above. HWA stands for "Hardware > Assertion" .. Yep, I got it. You mean this: const char * const uu_msgs[] = { "RESV", "RESV", "HWA", "RESV" }; and HWA is bit setting 0x2. You don't need to add

Re: [PATCH] scripts: add checkmaintainers.py

2012-12-18 Thread Borislav Petkov
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 catches file renames when using the normal 'git diff'

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 18:19 +0100, Borislav Petkov wrote: > On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: > > Add MCE decoding logic for AMD Family 16h processors. [] > > + switch (xec) { > > + case 0x04 ... 0x05: > > + pr_cont("Parity error in

vfs trace points?: was: cifs: Do not enable debugging code by default

2012-12-18 Thread Joe Perches
On Tue, 2012-12-18 at 09:33 -0600, Steve French wrote: > On Tue, Dec 18, 2012 at 9:19 AM, Borislav Petkov wrote: > > On Tue, Dec 18, 2012 at 10:07:02AM -0500, Jeff Layton wrote: > >> Yeah, not many do, but presumably they'll set it once and forget about > >> it. Once someone straightens them out,

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

2012-12-18 Thread Jacob Shin
On Tue, Dec 18, 2012 at 11:30:24AM -0600, Jacob Shin wrote: > On Tue, Dec 18, 2012 at 06:19:15PM +0100, Borislav Petkov wrote: > > On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: > > > +/* internal error type */ > > > +const char * const uu_msgs[] = { "RESV", "RESV", "HWA", "RESV" };

Re: [RFC PATCH 01/10] s390/pci: base support

2012-12-18 Thread Sebastian Ott
On Thu, 13 Dec 2012, Bjorn Helgaas wrote: > On Thu, Dec 13, 2012 at 4:51 AM, Jan Glauber wrote: > > On Mon, 2012-12-10 at 14:14 -0700, Bjorn Helgaas wrote: > >> On Wed, Nov 14, 2012 at 2:41 AM, Jan Glauber > >> wrote: > >> > Add PCI support for s390, (only 64 bit mode is supported by

Re: [git pull] Please pull powerpc.git next branch

2012-12-18 Thread Linus Torvalds
On Mon, Dec 17, 2012 at 3:31 PM, Benjamin Herrenschmidt wrote: > On Sat, 2012-12-15 at 07:44 +1100, Benjamin Herrenschmidt wrote: >> Hi Linus ! >> >> Finally managed to get my head away from some other distractions >> to put this pull request together, sorry for the lateness :-) >> >> The main

[PATCH 09/10] can: sja1000: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on sja1000 devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Oliver Hartkopp Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Fabio Baltieri ---

[PATCH 02/10] can: export a safe netdev_priv wrapper for candev

2012-12-18 Thread Fabio Baltieri
From: Kurt Van Dijck In net_device notifier calls, it was impossible to determine if a CAN device is based on candev in a safe way. This patch adds such test in order to access candev storage from within those notifiers. Signed-off-by: Kurt Van Dijck Acked-by: Oliver Hartkopp Signed-off-by:

[PATCH 06/10] can: ti_hecc: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on ti_hecc devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Anant Gole Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Fabio Baltieri ---

[PATCH 08/10] can: mcp251x: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on mcp251x devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Christian Pellegrin Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Fabio Baltieri ---

[PATCH 01/10] can: add tx/rx LED trigger support

2012-12-18 Thread Fabio Baltieri
This patch implements the functions to add two LED triggers, named -tx and -rx, to a canbus device driver. Triggers are called from specific handlers by each CAN device driver and can be disabled altogether with a Kconfig option. The implementation keeps the LED on when the interface is UP and

[PATCH 04/10] can: flexcan: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on flexcan devices by calling appropriate can_led_* functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Oliver Hartkopp Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Fabio Baltieri ---

[PATCH 03/10] can: rename LED trigger name on netdev renames

2012-12-18 Thread Fabio Baltieri
From: Kurt Van Dijck The LED trigger name for CAN devices is based on the initial CAN device name, but does never change. The LED trigger name is not guaranteed to be unique in case of hotplugging CAN devices. This patch tries to address this problem by modifying the LED trigger name according

[PATCH 05/10] can: at91_can: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on at91_can devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Fabio Baltieri --- drivers/net/can/at91_can.c |

[PATCH 10/10] can: usb_8dev: add LED trigger support

2012-12-18 Thread Fabio Baltieri
From: Bernd Krumboeck Add support for canbus activity led indicators on usb_8dev devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Signed-off-by: Bernd Krumboeck Signed-off-by: Fabio Baltieri ---

Re: [PATCH 00/33] leds: cleanup LP5521/5523 LED driver

2012-12-18 Thread Bryan Wu
Hi Kim This patchset looks good, but I need some time to review it more carefully especially during this merge window + holiday time. Thanks, -Bryan On Wed, Dec 12, 2012 at 5:59 AM, Kim, Milo wrote: > LP5521, LP5523 and L55231 have common features as below. > > Register access via the I2C. >

[RFC GIT PULL] tracing: Minor updates and fixes

2012-12-18 Thread Steven Rostedt
Linus, As Ingo is busy working hard on the NUMA patches, it seems that one of my old pull requests have slipped through. https://lkml.org/lkml/2012/11/28/690 as well as a little reminder: https://lkml.org/lkml/2012/12/13/715 The changes are contained to just the files that I maintain, and are

[PATCH] checkpatch: Warn on #include

2012-12-18 Thread Joe Perches
Avoid specifying include paths with uapi/... as userspace should not use that path. Neaten message line wrapping above. Signed-off-by: Joe Perches cc: David Howells --- scripts/checkpatch.pl |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl

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

2012-12-18 Thread Robin Holt
We found a user code which was raising a divide-by-zero trap. That trap would lead to XPC connections between system-partitions being torn down due to the die_chain notifier callouts it received. This also revealed a different issue where multiple callers into xpc_die_deactivate() would all

[PATCH 07/10] can: c_can: add LED trigger support

2012-12-18 Thread Fabio Baltieri
Add support for canbus activity led indicators on c_can devices by calling appropriate can_led functions. These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op otherwise. Cc: Bhupesh Sharma Cc: AnilKumar Ch Cc: Wolfgang Grandegger Cc: Marc Kleine-Budde Signed-off-by: Fabio Baltieri

[PATCH v2 00/10] tx/rx LED trigger support

2012-12-18 Thread Fabio Baltieri
Hi All, this is the v2 of the canbus LED series. Changes from v1: - moved all framework patches before driver ones - added usb_8dev driver patch to the series (based on v9 version) - added by S-o-b to all patches in this series The last usb_8dev patch requires Bernd's patch. A part from this

Re: Why Linux kernel forced to enter X2APIC mode( just because of booting cpu has supported x2apic) without depending on BIOS' setting in MSR->x2apic enablement bit ?

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 1:50 AM, Zhang, Lin-Bao (Linux Kernel R) wrote: > Hi Suresh and other guys , > > In 3.4.4/3.6.6 ,I found a x2apic issue . if I am wrong , sorry first > , and welcome your correction . thanks for your forwarding other maintainers. > I am testing a server , its BIOS

Re: [PATCH] x86,apic: Blacklist x2APIC on some platforms

2012-12-18 Thread Yinghai Lu
On Tue, Dec 18, 2012 at 9:33 AM, H. Peter Anvin wrote: > On 12/18/2012 09:07 AM, Youquan Song wrote: >> Blacklist x2apic when Nivida graphics enabled on Lenovo ThinkPad T420. >> Also set blacklist x2apic for Lenovo ThinkPad W520 and L520. > > I thought we had gotten reports that the Nvidia

Re: [PATCH 3/3] perf tools: Fix a misuse of for_each_set_bit() in session.c

2012-12-18 Thread Akemi Yagi
On Mon, 27 Aug 2012 16:18:15 +0800, Feng Tang wrote: > It's a compile error: > > cc1: warnings being treated as errors util/session.c: In function > ‘perf_session_deliver_event’: util/include/linux/bitops.h:104: error: > dereferencing pointer ‘p’ does break strict-aliasing rules >

Re: [PATCH 1/2] Add kcmp.2 manpage

2012-12-18 Thread Cyrill Gorcunov
On Tue, Dec 18, 2012 at 09:06:24PM +0400, Cyrill Gorcunov wrote: > On Tue, Dec 18, 2012 at 05:54:49PM +0100, Michael Kerrisk (man-pages) wrote: > > Hello Cyrill, > > > > On Mon, Jul 23, 2012 at 12:15 AM, Cyrill Gorcunov > > wrote: > > > NAME > > >kcmp - compare if two processes do share

Re: [PATCH 3/3] perf tests: Add event parsing test for '*:*' tracepoints

2012-12-18 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 17, 2012 at 02:08:38PM +0100, Jiri Olsa escreveu: > Adding event parsing test for '*:*' tracepoints. Checking the > count matches all the tracepoints available plus current > standard tracepoint perf_event_attr check. > > This test exposes warnings from traceevent lib about not being

[PATCH RESEND 6/6] clk: s5p-g2d: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk CC: Kyungmin Park CC: Tomasz Stanislawski CC: linux-me...@vger.kernel.org --- drivers/media/platform/s5p-g2d/g2d.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

[PATCH RESEND 5/6] clk: s5p-fimc: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk CC: Kyungmin Park CC: Tomasz Stanislawski CC: linux-me...@vger.kernel.org --- drivers/media/platform/s5p-fimc/fimc-mdevice.c |2 +- 1 file changed, 1 insertion(+), 1

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

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. In the fail: path of mixer_resources_init() and vp_resources_init() the first clk tested cannot be NULL either, so IS_ERR_OR_NULL is removed from these as well. Other clocks may still be NULL as they haven't

[PATCH RESEND 1/6] clk: omap: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk Acked-by: Tony Lindgren --- arch/arm/plat-omap/dmtimer.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/plat-omap/dmtimer.c

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

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk CC: Inki Dae CC: Joonyoung Shim CC: Seung-Woo Kim CC: Kyungmin Park CC: dri-de...@lists.freedesktop.org --- drivers/gpu/drm/exynos/exynos_hdmi.c | 10 +- 1 file

[PATCH RESEND 4/6] clk: s5p-tv: Fix incorrect usage of IS_ERR_OR_NULL

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. Replace IS_ERR_OR_NULL with IS_ERR on clk_get results. Signed-off-by: Tony Prisk CC: Kyungmin Park CC: Tomasz Stanislawski CC: linux-me...@vger.kernel.org --- drivers/media/platform/s5p-tv/hdmi_drv.c | 10 +-

[PATCH RESEND 0/6] Remove incorrect usage of IS_ERR_OR_NULL on clk_get

2012-12-18 Thread Tony Prisk
Resend to include mailing lists. As per the kernel docs, clk_get() cannot return NULL. * clk_get - lookup and obtain a reference to a clock producer. * @dev: device for clock "consumer" * @id: clock consumer ID * * Returns a struct clk corresponding to the clock producer, or * valid

Re: [PATCH] x86,apic: Blacklist x2APIC on some platforms

2012-12-18 Thread H. Peter Anvin
On 12/18/2012 09:07 AM, Youquan Song wrote: > Blacklist x2apic when Nivida graphics enabled on Lenovo ThinkPad T420. > Also set blacklist x2apic for Lenovo ThinkPad W520 and L520. I thought we had gotten reports that the Nvidia correlation was false? -hpa -- To unsubscribe from this

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

2012-12-18 Thread Jacob Shin
On Tue, Dec 18, 2012 at 06:19:15PM +0100, Borislav Petkov wrote: > On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: > > Add MCE decoding logic for AMD Family 16h processors. > > > > Signed-off-by: Jacob Shin > > --- > > drivers/edac/mce_amd.c | 120 > >

Re: Lockdep failure in 3.7.0 with zcache

2012-12-18 Thread Alex Villací­s Lasso
El 18/12/12 11:04, Alex Villací­s Lasso escribió: I enabled CONFIG_PROVE_LOCKING=y and added slub_debug=FZPU in order to track down https://bugs.freedesktop.org/show_bug.cgi?id=57122 . While running the recompiled kernel with CONFIG_ZCACHE2=y, I got a "INFO: possible irq lock inversion dependency

Re: [PATCH] [RFC] drm/radeon: return 0 on successful gpu reset

2012-12-18 Thread Alex Deucher
On Tue, Dec 18, 2012 at 12:28 PM, Paul Bolle wrote: > On Tue, 2012-12-18 at 10:22 -0500, Alex Deucher wrote: >> On Tue, Dec 18, 2012 at 5:36 AM, Christian König >> wrote: >> > On 17.12.2012 22:31, Paul Bolle wrote: >> >> 1) Sent as an RFC because I do not understand why this laptop (almost >> >>

Re: [PATCH 03/15] workqueue: use new hashtable implementation

2012-12-18 Thread Tejun Heo
On Mon, Dec 17, 2012 at 10:01:23AM -0500, Sasha Levin wrote: > Switch workqueues to use the new hashtable implementation. This reduces the > amount of generic unrelated code in the workqueues. > > This patch depends on d9b482c ("hashtable: introduce a small and naive > hashtable") which was

Re: [PATCH] [RFC] drm/radeon: return 0 on successful gpu reset

2012-12-18 Thread Paul Bolle
On Tue, 2012-12-18 at 10:22 -0500, Alex Deucher wrote: > On Tue, Dec 18, 2012 at 5:36 AM, Christian König > wrote: > > On 17.12.2012 22:31, Paul Bolle wrote: > >> 1) Sent as an RFC because I do not understand why this laptop (almost > >> always) prints the "crtc 1" message on first resume. Note

Re: [PATCH v5 1/2] ARM: davinci: dm365: add support for v4l2 video display

2012-12-18 Thread Prabhakar Lad
Sekhar, Thanks for the review. On Tue, Dec 4, 2012 at 6:44 PM, Sekhar Nori wrote: > On 12/3/2012 1:51 PM, Prabhakar Lad wrote: >> From: Manjunath Hadli >> >> Create platform devices for various video modules like venc,osd, >> vpbe and v4l2 driver for dm365. >> >> Signed-off-by: Manjunath Hadli

Re: epoll with ONESHOT possibly fails to deliver events

2012-12-18 Thread Andreas Voellmy
BTW, I simplified the test program a bit: I removed the loop that epoll_waits on the eventfd fd and reads from it (I also removed the epoll instance in that loop). The bug still occurs with this removed. Now the bug is triggered simply by adding the call to eventfd_write after processing each

[PATCH RESEND] Documentation: kernel-parameters.txt remove capability.disable

2012-12-18 Thread Josh Boyer
Remove the documentation for capability.disable. The code supporting this parameter was removed with: commit 5915eb53861c5776cfec33ca4fcc1fd20d66dd27 Author: Miklos Szeredi Date: Thu Jul 3 20:56:05 2008 +0200 security: remove dummy module Acked-by: Serge

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

2012-12-18 Thread Borislav Petkov
On Mon, Dec 17, 2012 at 01:39:48PM -0600, Jacob Shin wrote: > Add MCE decoding logic for AMD Family 16h processors. > > Signed-off-by: Jacob Shin > --- > drivers/edac/mce_amd.c | 120 > ++-- > drivers/edac/mce_amd.h |6 +++ > 2 files changed,

Re: Strange results of DIV_ROUND_CLOSEST

2012-12-18 Thread Guenter Roeck
On Tue, Dec 18, 2012 at 04:03:41PM +0100, Juergen Beisert wrote: > Hi list, > > 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 results into 4198403.

Re: [PATCH 1/2] Add kcmp.2 manpage

2012-12-18 Thread Cyrill Gorcunov
On Tue, Dec 18, 2012 at 05:54:49PM +0100, Michael Kerrisk (man-pages) wrote: > Hello Cyrill, > > On Mon, Jul 23, 2012 at 12:15 AM, Cyrill Gorcunov wrote: > > NAME > >kcmp - compare if two processes do share a particular kernel resource > > Very late follow up on this page, sorry. You

Re: [PATCH 1/9] mailbox: OMAP: introduce mailbox framework

2012-12-18 Thread Tony Lindgren
* Loic Pallardy [121218 05:15]: > Actually moving it from plat-omap, as this framework/driver code is > supposed to be under drivers/ folder. The framework should work with > the current supported OMAP processors (OMAP1+) that have mailbox and > can be used as a method of interprocessor

Re: [PATCH] megaraid: convert to work_struct

2012-12-18 Thread Tejun Heo
On Thu, Dec 13, 2012 at 04:53:18PM +0800, Xiaotian Feng wrote: > There's no need to use delayed work, convert to use work_struct and > cancel_work_sync(). > > Requested-by: Tejun Heo > Signed-off-by: Xiaotian Feng > Cc: Neela Syam Kolli > Cc: "James E.J. Bottomley" > Cc:

Re: [PATCH 2/4] ARM: tegra: add connection name for uart clock table

2012-12-18 Thread Stephen Warren
On 12/18/2012 12:05 AM, Laxman Dewangan wrote: > On Tuesday 18 December 2012 03:14 AM, Stephen Warren wrote: >> On 12/17/2012 05:08 AM, Laxman Dewangan wrote: >>> Add connection name "uart-clk" for the uart clock information. >> >> Does the UART receive more than one clock, so that it actually

Re: [PATCH 1/2] Add kcmp.2 manpage

2012-12-18 Thread Michael Kerrisk (man-pages)
Hello Cyrill, On Mon, Jul 23, 2012 at 12:15 AM, Cyrill Gorcunov wrote: > NAME >kcmp - compare if two processes do share a particular kernel resource Very late follow up on this page, sorry. You didn't provide a copyright or license for this page. Could you please supply that

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, 08:17 -0800 schrieb H. Peter Anvin: > On 12/18/2012 01:40 AM, stef...@seibold.net wrote: > > From: Stefani Seibold > > > > This patch adds support for 32 bit VDSO. > > > > For 32 bit programs running on a 32 bit kernel, the same mechanism is > > used as for 64 bit

[PATCH 1/1] fat:fix incorrect function comment

2012-12-18 Thread Ravishankar N
fat_search_long() returns 0 on success, -ENOENT/ENOMEM on failure.Change the function comment accordingly. While at it, fix some trivial typos. modified: fs/fat/dir.c modified: fs/fat/inode.c modified: fs/fat/misc.c Signed-off-by: Ravishankar N Signed-off-by:

Re: [boot crash] Re: [GIT PULL[ block drivers bits for 3.8

2012-12-18 Thread Linus Torvalds
On Tue, Dec 18, 2012 at 3:42 AM, Jens Axboe wrote: > > Bah. Does the below fix it up for you? Grr. This is still bullshit. Doing this: alignment = sector << 9; is fundamentally crap, because 'sector_t' may well be 32-bit (non-large-block device case). And we're supposed (surprise

Re: [PATCH V2] serial: tegra: add serial driver

2012-12-18 Thread Stephen Warren
On 12/17/2012 11:59 PM, Laxman Dewangan wrote: > Nvidia's Tegra has multiple uart controller which supports: A few nits: That should be NVIDIA. > .../devicetree/bindings/serial/serial-tegra.txt| 24 + I strongly object to this name; I believe nvidia,tegra20-hsuart.txt is correct. >

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

2012-12-18 Thread Peter Hurley
On Tue, 2012-12-18 at 10:44 -0500, Sasha Levin wrote: > I'm still seeing that warning with the new patch series: > > [ 549.561769] [ cut here ] > [ 549.598755] WARNING: at drivers/tty/n_tty.c:160 n_tty_set_room+0xff/0x130() > [ 549.604058] scheduling buffer work for

Re: [PATCH] memcg: don't register hotcpu notifier from ->css_alloc()

2012-12-18 Thread Tejun Heo
Hey, Michal. On Tue, Dec 18, 2012 at 05:40:22PM +0100, Michal Hocko wrote: > > +/* > > + * The rest of init is performed during ->css_alloc() for root css which > > + * happens before initcalls. hotcpu_notifier() can't be done together as > > + * it would introduce circular locking by adding

Re: [PATCH] memcg: don't register hotcpu notifier from ->css_alloc()

2012-12-18 Thread Michal Hocko
On Tue 18-12-12 07:40:30, Tejun Heo wrote: > 648bb56d07 ("cgroup: lock cgroup_mutex in cgroup_init_subsys()") made > cgroup_init_subsys() grab cgroup_mutex before invoking ->css_alloc() > for the root css. Because memcg registers hotcpu notifier from > ->css_alloc() for the root css, this

Re: [PATCH RESEND 5/6 v10] gpio: Add device tree support to block GPIO API

2012-12-18 Thread Mark Rutland
On Tue, Dec 18, 2012 at 02:30:23PM +, Roland Stigge wrote: > Hi Mark, > > On 12/17/2012 04:51 PM, Mark Rutland wrote: > >> +static int __devinit gpioblock_of_probe(struct platform_device *pdev) > >> +{ > >> + struct device_node *block; > >> + unsigned *gpios; > >> + int ngpio; > >> + int

[ANNOUNCE] Kconfiglib: a flexible Python Kconfig parser and library - now on GitHub

2012-12-18 Thread Ulf Magnusson
Hi, Kconfiglib is a flexible Python Kconfig parser and library, first introduced in https://lkml.org/lkml/2011/2/1/439. I have updated it for Linux 3.7.0 and put it on GitHub at https://github.com/ulfalizer/Kconfiglib, making some improvements in the process: - The installation has been

Re: [PATCH] usb: phy: tegra: Using devm API for memory allocation

2012-12-18 Thread Stephen Warren
On 12/17/2012 11:21 PM, Venu Byravarasu wrote: > Using devm_kzalloc for allocating memory needed for PHY > pointer and hence removing kfree calls to PHY pointer. Since the kfree() here used to be in tegra_usb_phy_close() rather than any remove() function, does it actually make sense to use

Re: [PATCH] [RFC] cpufreq: can't raise max frequency with cpu_thermal

2012-12-18 Thread Doug Anderson
On Tue, Dec 18, 2012 at 12:29 AM, Sonny Rao wrote: > The cpu_thermal generic thermal management code has a bug where once > max cpu frequency has been lowered in sysfs (scaling_max_freq) it is > not possible to raise the max back up later. The bug is that the > notifer gets called by

<    1   2   3   4   5   6   7   8   9   10   >