Re: [ASoC] Fix: Revert 'ASoC: imx-ssi: Remove mono support'.

2012-09-05 Thread Mark Brown
On Tue, Sep 04, 2012 at 11:09:20AM +0200, javier Martin wrote: > could you pick up the fixed patch sent by Gaëtan? It's mangled, can someone resend please (ideally with an appropriate subject line and so on). -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Greg Kroah-Hartman
On Wed, Sep 05, 2012 at 05:14:48PM -0700, Greg Kroah-Hartman wrote: > On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote: > > The following patch has been included in linux-next > > (fe89def79c48e2149abdd1e816523e69a9067191) but has not yet landed in > > mainline > > nor been queued for

Re: [PATCH v2] checkpatch: Suggest using min_t or max_t

2012-09-05 Thread Philippe De Muyter
On Wed, Sep 5, 2012 at 7:07 PM, Joe Perches wrote: > On Wed, 2012-09-05 at 13:21 +0200, Philippe De Muyter wrote: >> > v2: Make $match_balanced_parentheses work in perl 5.8 >> >> Has this been applied ? >> >> v3.3 version of checkpatch.pl works for me, but v3.4, v3.5 & v3.6rc2 say: >> Nested

Re: [PATCH V2 0/3] staging: ramster: move to new zcache2 code base

2012-09-05 Thread Greg KH
On Wed, Sep 05, 2012 at 01:44:58PM -0700, Dan Magenheimer wrote: > [V2: rebased to apply to 20120905 staging-next, no other changes] > > Hi Greg -- > > Please apply for staging-next for the 3.7 window to move ramster forward. > Since AFAICT there have been no patches or contrib

Re: [PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Greg Kroah-Hartman
On Wed, Sep 05, 2012 at 05:04:07PM -0700, Darren Hart wrote: > The following patch has been included in linux-next > (fe89def79c48e2149abdd1e816523e69a9067191) but has not yet landed in mainline > nor been queued for stable so far as I can determine. This patch addresses a > deadlock in mainline

Re: [PATCH -next] soc: fix wm0010.c printk format warning

2012-09-05 Thread Randy Dunlap
On 09/05/2012 05:06 PM, Mark Brown wrote: > On Wed, Sep 05, 2012 at 04:24:57PM -0700, Randy Dunlap wrote: >> From: Randy Dunlap >> >> Fix printk format warning: > > Somone already sent this. As ever please try to use subject lines > appropriate for the subsystem. Please also consider who

[PATCH] perf: clean should remove libtraceevent.a too

2012-09-05 Thread David Ahern
It's built as part of perf, so it should be cleaned too. Signed-off-by: David Ahern Cc: Steven Rostedt Cc: Namhyung Kim --- tools/perf/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/Makefile b/tools/perf/Makefile index 90d8e09..5f0259e 100644 ---

Re: [PATCH 2/3] staging: ramster: move to new zcache2 codebase

2012-09-05 Thread Greg KH
On Wed, Sep 05, 2012 at 01:45:00PM -0700, Dan Magenheimer wrote: > [V2: rebased to apply to 20120905 staging-next, no other changes] You do realize this patch introduces build warnings, right? Hopefully you will fix that up soon (i.e. really soon...) greg k-h -- To unsubscribe from this l

Re: [PATCH RFC] irq: Set CPU affinity as soon as the irq thread is created

2012-09-05 Thread Steven Rostedt
On Wed, 2012-09-05 at 18:07 -0500, Sankara Muthukrishnan wrote: > Hi there, This also affects mainline. Please Cc LKML (as I did). > > As irq_thread_check_affinity is called inside the while loop in the > IRQ thread, the core affinity is set only when an interrupt happens. > It does not seem to

Re: [PATCH -next] soc: fix wm0010.c printk format warning

2012-09-05 Thread Mark Brown
On Wed, Sep 05, 2012 at 04:24:57PM -0700, Randy Dunlap wrote: > From: Randy Dunlap > > Fix printk format warning: Somone already sent this. As ever please try to use subject lines appropriate for the subsystem. Please also consider who you're CCing - there's no need to copy -next on things

Re: Re: [PATCH -next] extcon: extcon-arizona depends on INPUT

2012-09-05 Thread Greg KH
On Wed, Sep 05, 2012 at 11:47:31PM +, MyungJoo Ham wrote: > > On Wed, Sep 05, 2012 at 11:28:03AM +0800, Mark Brown wrote: > > > On Tue, Sep 04, 2012 at 04:51:00PM -0700, Randy Dunlap wrote: > > > > > > > This build error still happens in linux-next of 20120904. > > > > > > > Can we get the

[PATCH] pch_uart: Add eg20t_port lock field, avoid recursive spinlocks

2012-09-05 Thread Darren Hart
The following patch has been included in linux-next (fe89def79c48e2149abdd1e816523e69a9067191) but has not yet landed in mainline nor been queued for stable so far as I can determine. This patch addresses a deadlock in mainline and is a prerequisite for an additional fix required by the PREEMPT_RT

Re: Re: [PATCH -next] extcon: extcon-arizona depends on INPUT

2012-09-05 Thread Mark Brown
On Wed, Sep 05, 2012 at 11:47:31PM +, MyungJoo Ham wrote: > > On Wed, Sep 05, 2012 at 11:28:03AM +0800, Mark Brown wrote: > > Yeah, can someone forward this to me so I can apply it? I can't seem to > > find it anywhere... > I've been creating "extcon-for-next" tree at git.infradead.org >

Re: arm64 branch for linux-next

2012-09-05 Thread Stephen Rothwell
Hi Catalin, On Wed, 5 Sep 2012 18:17:43 +0100 Catalin Marinas wrote: > > Could you please pull the arm64 kernel into linux-next? The details are > below (I removed the diffstat). > > Thanks, > > Catalin > > > The following changes since commit 4cbe5a555fa58a79b6ecbb6c531b8bab0650778d: > >

Re: [PATCH] USB/host: Cleanup unneccessary irq disable code

2012-09-05 Thread gre...@linuxfoundation.org
On Sat, Sep 01, 2012 at 09:39:56AM +, Liu, Chuansheng wrote: > From: liu chuansheng > Subject: [PATCH] USB/host: Cleanup unneccessary irq disable code Don't include the Subject: in the patch body again, that is pointless and requires me to hand-edit the file. > Because the IRQF_DISABLED as

Re: [PATCH V4] regulator: tps6586x: add support for SYS rail

2012-09-05 Thread Mark Brown
On Tue, Sep 04, 2012 at 02:43:39PM -0600, Stephen Warren wrote: > From: Laxman Dewangan > > Device have SYS rail which is always ON. It is system power bus. LDO5 > and LDO_RTC get powered through this rail internally. Add support for > this rail and make the LDO5/LDO_RTC supply by it. Update

Re: [PATCH 14/17] perf header: Set tracepoint event name only if not set

2012-09-05 Thread David Ahern
On 9/5/12 5:08 PM, Arnaldo Carvalho de Melo wrote: From: Namhyung Kim The event name can be set already by processing a event_desc data. So check it before setting to prevent possible leak. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link:

Re: [PATCH 0/5] regulator: lp872x: remove platform data dependency

2012-09-05 Thread Mark Brown
On Wed, Sep 05, 2012 at 04:38:40AM +, Kim, Milo wrote: > This patch-set removes the platform data dependency. > The LP872x driver should be run even if the platform data is not defined. Applied all, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: Re: [PATCH -next] extcon: extcon-arizona depends on INPUT

2012-09-05 Thread MyungJoo Ham
> On Wed, Sep 05, 2012 at 11:28:03AM +0800, Mark Brown wrote: > > On Tue, Sep 04, 2012 at 04:51:00PM -0700, Randy Dunlap wrote: > > > > > This build error still happens in linux-next of 20120904. > > > > > Can we get the patch merged for linux-next? > > > > Greg's the one managing extcon in

Re: [PATCHv5 1/1] uartclk value from serial_core exposed to sysfs

2012-09-05 Thread Greg KH
On Thu, Sep 06, 2012 at 01:16:56AM +0200, Tomas Hlavacek wrote: > Added file /sys/devices/.../tty/ttySX/uartclk to allow reading > uartclk value in struct uart_port in serial_core via sysfs. > > tty_register_device() has been generalized and refactored in order > to add support for setting

Re: [PATCH RFC tip/core/rcu] Add callback-free CPUs

2012-09-05 Thread Paul E. McKenney
On Wed, Sep 05, 2012 at 11:48:40PM +0200, Peter Zijlstra wrote: > On Wed, 2012-09-05 at 14:39 -0700, Paul E. McKenney wrote: > > RCU callback execution can add significant OS jitter and also can degrade > > scheduling latency. This commit therefore adds the ability for selected > > CPUs

Re: [PATCH] spi/pl022: Fix chipselects pointer computation

2012-09-05 Thread Mark Brown
On Mon, Sep 03, 2012 at 10:14:29AM +0200, Roland Stigge wrote: > The new chip select handling via GPIO introduced a pointer computation bug: Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH 1/4] drivers/spi/spi-sh-hspi.c: drop frees of devm_ alloc'd data

2012-09-05 Thread Mark Brown
On Sat, Sep 01, 2012 at 06:33:08PM +0200, Julia Lawall wrote: > From: Julia Lawall > > devm free functions should not have to be explicitly used. Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [RFC] module: signature infrastructure

2012-09-05 Thread Lucas De Marchi
On Tue, Sep 4, 2012 at 9:19 PM, Rusty Russell wrote: > Lucas De Marchi writes: >> Hi Rusty, >> >> On Tue, Sep 4, 2012 at 2:55 AM, Rusty Russell wrote: >>> @@ -2399,7 +2437,50 @@ static inline void kmemleak_load_module(const struct >>> module *mod, >>> } >>> #endif >>> >>> -/* Sets info->hdr

Re: [tip:sched/core] sched: Fix load avg vs cpu-hotplug

2012-09-05 Thread Paul E. McKenney
On Thu, Sep 06, 2012 at 12:03:50AM +0200, Peter Zijlstra wrote: > On Wed, 2012-09-05 at 19:01 +0200, Peter Zijlstra wrote: > > > Please do a delta. > > OK, so I suppose something like the below ought to do. Paul its slightly > different than the one in your tree, given the changelog below, do you

Re: [PATCH 09/10] net/macb: ethtool interface: add register dump feature

2012-09-05 Thread Ben Hutchings
On Wed, 2012-09-05 at 11:00 +0200, Nicolas Ferre wrote: > Add macb_get_regs() ethtool function and its helper function: > macb_get_regs_len(). > > Signed-off-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c | 40 > +++ >

Re: [PATCH 11/17] perf tools: Remove the node from rblist in strlist__remove

2012-09-05 Thread David Ahern
This one needs to go through urgent. On 9/5/12 5:08 PM, Arnaldo Carvalho de Melo wrote: From: Suzuki K. Poulose The following commit: author David Ahern Tue, 31 Jul 2012 04:31:33 + (22:31 -0600) committer Arnaldo Carvalho de Melo Fri, 3 Aug 2012 13:39:51 +

Re: [PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision

2012-09-05 Thread Ben Hutchings
On Wed, 2012-09-05 at 11:00 +0200, Nicolas Ferre wrote: > Add an indication about which revision of the hardware we are running in > info->driver string. > > Signed-off-by: Nicolas Ferre > --- > drivers/net/ethernet/cadence/macb.c |4 > 1 file changed, 4 insertions(+) > > diff --git

[PATCH -next] soc: fix wm0010.c printk format warning

2012-09-05 Thread Randy Dunlap
insertion(+), 1 deletion(-) --- linux-next-20120905.orig/sound/soc/codecs/wm0010.c +++ linux-next-20120905/sound/soc/codecs/wm0010.c @@ -408,7 +408,7 @@ static int wm0010_boot(struct snd_soc_co wm0010->state = WM0010_BOOTROM; spin_unlock_irqrestore(>irq_lock, flags); - d

Re: [GIT PULL] ARM: mach-pnx4008: Remove architecture

2012-09-05 Thread Olof Johansson
On Sun, Aug 26, 2012 at 04:34:42PM +0200, Roland Stigge wrote: > On 26/08/12 06:41, Arnd Bergmann wrote: > > On Friday 24 August 2012, Roland Stigge wrote: > >> On 23/08/12 14:22, Roland Stigge wrote: > >>> This patch removes the ARM architecture mach-pnx4008. No direct support > >>> or user >

[PATCHv5 1/1] uartclk value from serial_core exposed to sysfs

2012-09-05 Thread Tomas Hlavacek
Added file /sys/devices/.../tty/ttySX/uartclk to allow reading uartclk value in struct uart_port in serial_core via sysfs. tty_register_device() has been generalized and refactored in order to add support for setting drvdata and attribute_group to the device. Signed-off-by: Tomas Hlavacek ---

Re: A workaround for request_firmware() stuck in module_init

2012-09-05 Thread Alan Cox
> But then you have cases where probe() -> register_with_my_subsystem() -> > open(). Network devices come to mind. IE. udev must be able to deal with > a synchronous firmware load from probe I'm afraid. I don't believe so. You have begin probe find match .. .firmware_name

[PATCH 12/17] perf tools: remove unneeded include of network header files

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern perf does not have networking related functionality, and the inclusion of these headers is one of the causes of compile failures for Android: https://lkml.org/lkml/2012/8/23/316 https://lkml.org/lkml/2012/8/28/293 So, remove them. Signed-off-by: David Ahern Cc: Frederic

[PATCH 05/17] perf stat: Remove use of die/exit and handle errors

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows perf to clean up properly on program termination. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1346005487-62961-5-git-send-email-dsah...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 03/17] perf tool: handle errors in synthesized event functions

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Handle error from process callback and propagate back to caller. Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1346005487-62961-3-git-send-email-dsah...@gmail.com Signed-off-by: David Ahern Signed-off-by: Arnaldo Carvalho de

[PATCH 08/17] perf record: Remove use of die/exit

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows perf to clean up properly on exit. If perf-record is exiting due to failure, the on_exit should not run as the session has been deleted. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link:

[PATCH 06/17] perf help: Remove use of die and handle errors

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows perf to clean up properly on exit. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1346005487-62961-6-git-send-email-dsah...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 07/17] perf script: Remove use of die/exit

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows perf to clean up properly on exit. Only exits left are exec failures which are appropriate and usage callbacks that list available options. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link:

[PATCH 09/17] perf tools: Fix x86 builds with ARCH specified on the command line

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern e.g., compiling i386 on x86_64 using: $ make -C tools/perf ARCH=i386 fails with: CC /tmp/pbuild/util/evsel.o In file included from util/evsel.c:21:0: util/perf_regs.h:5:23: fatal error: perf_regs.h: No such file or directory compilation terminated. Adding V=1 you see

Re: [PATCH 2/2] workqueue: fix possible deadlock in idle worker rebinding

2012-09-05 Thread Tejun Heo
On Tue, Sep 04, 2012 at 11:16:32PM -0700, Tejun Heo wrote: > Currently, rebind_workers() and idle_worker_rebind() are two-way > interlocked. rebind_workers() waits for idle workers to finish > rebinding and rebound idle workers wait for rebind_workers() to finish > rebinding busy workers before

[PATCH 01/17] tools lib traceevent: Modify header to work in C++ programs

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Steven Rostedt Replace keyword "private" to "priv" in event-parse.h to allow it to be used in C++ programs. Signed-off-by: Steven Rostedt Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 13/17] perf header: Use evlist->nr_entries on write_event_desc()

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Number of events (evsels) in a evlist is kept on nr_entries field so that we don't need to recalculate it. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[PATCH 11/17] perf tools: Remove the node from rblist in strlist__remove

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Suzuki K. Poulose The following commit: author David Ahern Tue, 31 Jul 2012 04:31:33 + (22:31 -0600) committer Arnaldo Carvalho de Melo Fri, 3 Aug 2012 13:39:51 + (10:39 -0300) commit ee8dd3ca43f151d9fbe1edeef68fb8a77eb9f047 causes a double free during a

[PATCH 16/17] perf tools: Replace mempcpy with memcpy

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Irina Tirdea mempcpy is not supported by bionic in Android and will lead to compilation errors. Replacing mempcpy with memcpy so it will work in Android. Signed-off-by: Irina Tirdea Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Steven Rostedt Link:

[PATCH 04/17] perf lock: Remove use of die and handle errors

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows perf to clean up properly on exit. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1346005487-62961-4-git-send-email-dsah...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 10/17] perf tools: Fix intlist node removal

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Suzuki K. Poulose Similar to the one in : https://lkml.org/lkml/2012/8/29/27 Make sure we remove the node from the rblist before we delete the node. The rblist__remove_node() will invoke rblist->node_delete, which will take care of deleting the node with the suitable function

[PATCH 02/17] perf session: flush_sample_queue needs to handle errors from handlers

2012-09-05 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows errors to propogate through event processing code and back to commands. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1346005487-62961-2-git-send-email-dsah...@gmail.com Signed-off-by: Arnaldo

[PATCH 17/17] perf tools: Allow user to indicate path to objdump in command line

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Maciek Borzecki When analyzing perf data from hosts of other architecture than one of the local host it's useful to call objdump that is part of a toolchain for that architecture. Instead of calling regular objdump, call one that user specified in command line. Signed-off-by: Maciek

[PATCH 14/17] perf header: Set tracepoint event name only if not set

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The event name can be set already by processing a event_desc data. So check it before setting to prevent possible leak. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[GIT PULL 00/17] perf/core improvements and fixes

2012-09-05 Thread Arnaldo Carvalho de Melo
The following changes since commit bab57e994d6311298b4e3915d2c75296cd81638c: Merge branch 'core' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile into perf/core (2012-09-05 08:29:56 +0200) are available in the git repository at:

[PATCH 15/17] perf header: Swap pmu mapping numbers if needed

2012-09-05 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Like others, the numbers can be saved in a different endian format than a host machine. Swap them if needed. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Robert Richter Link:

Re: [PATCH] perf: remove unneeded include of network header files

2012-09-05 Thread David Ahern
On 9/5/12 4:37 PM, Arnaldo Carvalho de Melo wrote: I fixed it already, nevermind, it was just a matter of reordering includes, think how fragil that is, but it works now. tried that route too. I could not figure out the magic ordering, so punted on v2 of the patch leaving netdb.h in. Glad to

Re: [PATCH 1/2] misc/at25, dt: Improve at25 SPI eeprom device tree bindings.

2012-09-05 Thread Rob Herring
On 08/22/2012 02:03 PM, David Daney wrote: > From: David Daney > > Commit 002176db (misc: at25: Parse dt settings) added device tree > bindings the differ significantly in style from the I2C EEPROM > bindings and don't seem well vetted. Here I deprecate (but still > support) the "at25,*"

[PATCH 0/5] mm, slob: Tracing accuracy improvement

2012-09-05 Thread Ezequiel Garcia
Hi everyone, This small patchset improves mm tracing accuracy, particularly on the slob allocator. Feedback, comments, suggestions are very welcome. This work is part of CELF Workgroup Project: "Kernel_dynamic_memory_allocation_tracking_and_reduction" [1] Ezequiel Garcia (5): mm, slob: Trace

Re: [PATCH 2/2] fs: add documentation to simple_xattr functions

2012-09-05 Thread Tejun Heo
On Wed, Sep 05, 2012 at 02:31:34PM -0400, Aristeu Rozanski wrote: > Cc: Li Zefan > Cc: Tejun Heo > Cc: Hugh Dickins > Cc: Hillf Danton > Cc: Lennart Poettering > Signed-off-by: Aristeu Rozanski Can you make these function comments instead? Thanks. -- tejun -- To unsubscribe from this

Re: [PATCH 1/2] cgroups: add documentation on extended attributes usage

2012-09-05 Thread Tejun Heo
On Wed, Sep 05, 2012 at 02:31:33PM -0400, Aristeu Rozanski wrote: > Documentation/cgroups/00-INDEX |2 ++ > Documentation/cgroups/xattr.txt | 21 + > 2 files changed, 23 insertions(+) Please put it in cgroups.txt. Thanks. -- tejun -- To unsubscribe from this list:

Re: [PATCH] USB: XHCI: xhci-ring: Remove unused dma address calculation in inc_enq and inc_deq function

2012-09-05 Thread Sarah Sharp
Hi Girish, Sorry for taking a really long time to respond! This is a good idea, but your patch doesn't apply any more. Can you update it against the latest kernel and resend it? Sarah Sharp On Sun, May 13, 2012 at 08:59:02PM +0530, Girish Verma wrote: > In xhci-ring.c, function inc_enq and

Re: [RFC PATCH] perf: add SLANG_INC for slang.h

2012-09-05 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 05, 2012 at 10:23:03PM +0100, Richard Purdie escreveu: > On Wed, 2012-09-05 at 13:54 -0700, Arnaldo Carvalho de Melo wrote: > > Em Fri, Aug 24, 2012 at 11:10:39AM +0800, Liang Li escreveu: > > > CFLAGS was previously hard coded to contain "-I/usr/include/slang" to > > > work with hosts

Re: [PATCH] perf: remove unneeded include of network header files

2012-09-05 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 05, 2012 at 03:53:06PM -0600, David Ahern escreveu: > perf does not have networking related functionality, and the inclusion of > these headers is one of the causes of compile failures for Android: > https://lkml.org/lkml/2012/8/23/316 > https://lkml.org/lkml/2012/8/28/293 > > So,

Re: [PATCH 11/13] perf tools: replace mempcpy with memcpy

2012-09-05 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 29, 2012 at 01:06:04AM +0300, Irina Tirdea escreveu: >mempcpy is not supported by bionic in Android >and will lead to compilation errors. > >Replacing mempcpy with memcpy so it will work in Android. > >Signed-off-by: Irina Tirdea >--- >

Re: [PATCH] perf: remove unneeded include of network header files

2012-09-05 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 05, 2012 at 03:18:03PM -0600, David Ahern escreveu: > On 9/5/12 2:39 PM, Arnaldo Carvalho de Melo wrote: > >Em Wed, Aug 29, 2012 at 09:55:32AM -0600, David Ahern escreveu: > >>perf does not have networking related functionality, and the inclusion of > >>these headers is one of the

Dirty inodes remain in cache for a long time in 2.6.23.17

2012-09-05 Thread Mikael Liljeroth
Hi, I'm running Linux 2.6.23.17 (sh4) on an embedded system with limited RAM (<100MB). Unfortunately I do not have the possibility to upgrade to a later kernel version. Files get truncated on my JFS filesystem upon power failure after 20 days of uptime. The files can be more than a week old.

Re: [PATCH 08/11] perf tool: precise mode requires exclude_guest

2012-09-05 Thread Peter Zijlstra
On Wed, 2012-09-05 at 09:43 -0600, David Ahern wrote: > > We need to require exclude_guest when using precise attribute with perf > else all running VMs on Intel-based servers will crash. I do not have an > AMD based server to even attempt the preferred solution. I've recently gotten a machine

Re: [PATCH] Yama: handle 32-bit userspace prctl

2012-09-05 Thread John Johansen
On 08/27/2012 11:38 AM, Kees Cook wrote: > When running a 64-bit kernel and receiving prctls from a 32-bit > userspace, the "-1" used as an unsigned long will end up being > misdetected. The kernel is looking for 0x instead of > 0x. Since prctl lacks a distinct compat

Re: [tip:sched/core] sched: Fix load avg vs cpu-hotplug

2012-09-05 Thread Peter Zijlstra
On Wed, 2012-09-05 at 19:01 +0200, Peter Zijlstra wrote: > > Please do a delta. OK, so I suppose something like the below ought to do. Paul its slightly different than the one in your tree, given the changelog below, do you see anything wrong with it? Rakib, again, sorry for getting your name

[PATCH 3/3] w1: mxc_w1: Convert to platform driver

2012-09-05 Thread Fabio Estevam
From: Fabio Estevam Using module_platform_driver() makes the code smaller and cleaner. Signed-off-by: Fabio Estevam --- drivers/w1/masters/mxc_w1.c | 16 ++-- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c

[PATCH 2/3] w1: mxc_w1: Fix comment

2012-09-05 Thread Fabio Estevam
From: Fabio Estevam We are dealing with mxc_w1 registers. While at it use dev_err() instead. Signed-off-by: Fabio Estevam --- drivers/w1/masters/mxc_w1.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/w1/masters/mxc_w1.c b/drivers/w1/masters/mxc_w1.c index

[PATCH 1/3] w1: mxc_w1: Adapt the clock name to the new clock framework

2012-09-05 Thread Fabio Estevam
From: Fabio Estevam With the new i.mx clock framework the mxc_w1 clock is registered as: clk_register_clkdev(clk[owire_gate], NULL, "mxc_w1.0" So we do not need to pass "owire" string and can use NULL instead. Signed-off-by: Fabio Estevam --- drivers/w1/masters/mxc_w1.c |2 +- 1 file

Re: [PATCH] KVM: VMX: invalidate vpid for invlpg instruction

2012-09-05 Thread Davidlohr Bueso
On Mon, 2012-09-03 at 12:11 +0300, Avi Kivity wrote: > On 09/03/2012 02:27 AM, Davidlohr Bueso wrote: > > On Fri, 2012-08-31 at 14:37 -0300, Marcelo Tosatti wrote: > >> On Fri, Aug 31, 2012 at 06:10:48PM +0200, Davidlohr Bueso wrote: > >> > For processors that support VPIDs we should invalidate

[PATCH] perf: remove unneeded include of network header files

2012-09-05 Thread David Ahern
perf does not have networking related functionality, and the inclusion of these headers is one of the causes of compile failures for Android: https://lkml.org/lkml/2012/8/23/316 https://lkml.org/lkml/2012/8/28/293 So, remove them. v2: - netdb.h is required by trace-event-perl.c, so leave it

Re: [RFC PATCH] perf: add SLANG_INC for slang.h

2012-09-05 Thread Richard Purdie
On Wed, 2012-09-05 at 13:54 -0700, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 24, 2012 at 11:10:39AM +0800, Liang Li escreveu: > > CFLAGS was previously hard coded to contain "-I/usr/include/slang" to > > work with hosts that have "/usr/include/slang/slang.h" as well as hosts > > that have

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-05 Thread Eric Paris
On Wed, Sep 5, 2012 at 5:41 PM, Matthew Garrett wrote: > Yeah, I think renaming the cap is a given. CAP_RING_ZERO Needed for any activity which would give root the ability to run code in ring 0? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH RFC tip/core/rcu] Add callback-free CPUs

2012-09-05 Thread Peter Zijlstra
On Wed, 2012-09-05 at 14:39 -0700, Paul E. McKenney wrote: > RCU callback execution can add significant OS jitter and also can degrade > scheduling latency. This commit therefore adds the ability for selected > CPUs ("rcu_nocbs=" boot parameter) to have their callbacks offloaded to > kthreads.

[PATCH] drm/exynos: fix double call of drm_prime_(init/destroy)_file_private

2012-09-05 Thread Mandeep Singh Baines
The double invocations are incorrect but seem to be safe so I don't think this will fix any bugs. Before: [7.639366] drm_prime_init_file ee3675d0 [7.639377] drm_prime_init_file ee3675d0 [7.639507] drm_prime_destroy_file ee3675d0 [7.639518] drm_prime_destroy_file ee3675d0 [

Re: linux-next: build failure after merge of the final tree (net-next tree related)

2012-09-05 Thread David Miller
From: Stephen Rothwell Date: Wed, 5 Sep 2012 15:39:32 +1000 > (I always thought IPv6 NAT was a bad idea ;-)) ROFL :) > From: Stephen Rothwell > Date: Wed, 5 Sep 2012 15:34:58 +1000 > Subject: [PATCH] netfilter: ipv6: using csum_ipv6_magic requires > net/ip6_checksum.h > > Fixes this build

Re: [PATCH 7/8] pwm i.MX: fix clock lookup

2012-09-05 Thread Benoît Thébaudeau
On Wednesday, September 5, 2012 3:35:26 PM, Sascha Hauer wrote: > > From: Philipp Zabel > > The i.MX pwm core has two clocks: The ipg clock and the ipg highfreq > (peripheral) clock. The ipg clock has to be enabled for this hardware > to work. The actual pwm output can either be driven by the

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-05 Thread Matthew Garrett
On Wed, Sep 05, 2012 at 05:13:49PM -0400, Mimi Zohar wrote: > Normally capabilities provide additional permissions. So if you don't > have the capability, an errno is returned. CAP_SYS_BOOT is a good > example. With CAP_SECURE_FIRMWARE, it reads backwards - if not > CAP_SECURE_FIRMWARE, return

Re: [PATCH] Yama: handle 32-bit userspace prctl

2012-09-05 Thread Kees Cook
Hi James, Any chance this can get into security-next as well? It'll need to go back to stable, but it's a small enough corner-case that I don't mind it not landing in 3.6 directly. I'm happy if it gets into 3.6.x stable at some point. Thanks! -Kees On Mon, Aug 27, 2012 at 11:38 AM, Kees Cook

[PATCH RFC tip/core/rcu] Add callback-free CPUs

2012-09-05 Thread Paul E. McKenney
RCU callback execution can add significant OS jitter and also can degrade scheduling latency. This commit therefore adds the ability for selected CPUs ("rcu_nocbs=" boot parameter) to have their callbacks offloaded to kthreads. If the "rcu_nocb_poll" boot parameter is also specified, these

Re: [PATCH 5/8] pwm i.MX: add devicetree support

2012-09-05 Thread Benoît Thébaudeau
On Wednesday, September 5, 2012 3:35:24 PM, Sascha Hauer wrote: > > From: Philipp Zabel > > At the same time remove platform based support. No user for > this driver has made it into mainline so far, so all we break > is out of tree stuff. > > Signed-off-by: Philipp Zabel > Signed-off-by:

Re: [PATCH 3/3 v2] proc: use kzalloc instead of kmalloc and memset

2012-09-05 Thread Andrew Morton
On Wed, 5 Sep 2012 20:17:17 +0800 yan wrote: > Part of the memory will be written twice after this change, but that > should be negligible. > > ... > > --- a/fs/proc/generic.c > +++ b/fs/proc/generic.c > @@ -616,10 +616,9 @@ static struct proc_dir_entry *__proc_create(struct > proc_dir_entry

[PATCH] ARM: exynos: mct: cache mct upper count

2012-09-05 Thread Mandeep Singh Baines
Saves one register read. Before (perf report): 1.40% [k] exynos4_frc_read | |--87.20%-- ktime_get_ts | | | |--93.60%-- posix_ktime_get_ts After (perf report): 1.00% [k] exynos4_frc_read |

[PATCH] ARM: exynos: mct: cache mct upper count

2012-09-05 Thread Mandeep Singh Baines
Saves one register read. BUG=none TEST=See below. Before (perf report): 1.40% [k] exynos4_frc_read | |--87.20%-- ktime_get_ts | | | |--93.60%-- posix_ktime_get_ts After (perf report): 1.00% [k] exynos4_frc_read

Re: [PATCH 09/10] net/macb: ethtool interface: add register dump feature

2012-09-05 Thread David Miller
From: Nicolas Ferre Date: Wed, 5 Sep 2012 11:00:54 +0200 > @@ -10,6 +10,9 @@ > #ifndef _MACB_H > #define _MACB_H > > + > +#define MACB_GREGS_LEN 32 Please don't add such extraneous empty lines. One empty line between constructs is more than enough, and anything more is visually awkward.

Re: [PATCH 08/10] net/macb: macb_get_drvinfo: add GEM/MACB suffix to differentiate revision

2012-09-05 Thread David Miller
From: Nicolas Ferre Date: Wed, 5 Sep 2012 11:00:53 +0200 > strcpy(info->driver, bp->pdev->dev.driver->name); > + if (macb_is_gem(bp)) > + strcat(info->driver, " GEM"); > + else > + strcat(info->driver, " MACB"); This is a driver string, which means the

Re: [PATCH 04/10] net/macb: Fix a race in macb_start_xmit()

2012-09-05 Thread David Miller
From: Nicolas Ferre Date: Wed, 5 Sep 2012 10:19:11 +0200 > From: Havard Skinnemoen > > Fix a race in macb_start_xmit() where we unconditionally set the TSTART bit. > If an underrun just happened (we do this with interrupts disabled, so it might > not have been handled yet), the controller

[PATCH 1/3] tools/hv: Fix file handle leak

2012-09-05 Thread K. Y. Srinivasan
From: Ben Hutchings Match up each fopen() with an fclose(). Signed-off-by: Ben Hutchings Signed-off-by: K. Y. Srinivasan Cc: sta...@vger.kernel.org --- tools/hv/hv_kvp_daemon.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/tools/hv/hv_kvp_daemon.c

[PATCH 2/3] tools/hv: Fix exit() error code

2012-09-05 Thread K. Y. Srinivasan
From: Ben Hutchings Linux native exit codes are 8-bit unsigned values. exit(-1) results in an exit code of 255, which is usually reserved for shells reporting 'command not found'. Use the portable value EXIT_FAILURE. (Not that this matters much for a daemon.) Signed-off-by: Ben Hutchings

[PATCH 3/3] tools/hv: Check for read/write errors

2012-09-05 Thread K. Y. Srinivasan
From: Ben Hutchings hv_kvp_daemon currently does not check whether fread() or fwrite() succeed. Add the necessary checks. Also, remove the incorrect use of feof() before fread(). Signed-off-by: Ben Hutchings Signed-off-by: K. Y. Srinivasan Cc: sta...@vger.kernel.org ---

[PATCH 0/3] Tools: hv

2012-09-05 Thread K. Y. Srinivasan
This patchset fixes some bugs in the KVP daemon code. Ben Hutchings (3): tools/hv: Fix file handle leak tools/hv: Fix exit() error code tools/hv: Check for read/write errors tools/hv/hv_kvp_daemon.c | 45 +++-- 1 files changed, 31 insertions(+),

Re: [PATCH] perf: remove unneeded include of network header files

2012-09-05 Thread David Ahern
On 9/5/12 2:39 PM, Arnaldo Carvalho de Melo wrote: Em Wed, Aug 29, 2012 at 09:55:32AM -0600, David Ahern escreveu: perf does not have networking related functionality, and the inclusion of these headers is one of the causes of compile failures for Android: https://lkml.org/lkml/2012/8/23/316

Re: [PATCH 07/11] kexec: Disable in a secure boot environment

2012-09-05 Thread Mimi Zohar
On Tue, 2012-09-04 at 11:55 -0400, Matthew Garrett wrote: > kexec could be used as a vector for a malicious user to use a signed kernel > to circumvent the secure boot trust model. In the long run we'll want to > support signed kexec payloads, but for the moment we should just disable > loading

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

2012-09-05 Thread Benjamin Herrenschmidt
On Wed, 2012-09-05 at 16:12 +1000, Benjamin Herrenschmidt wrote: > The following changes since commit > 5b716ac728bcc01b1f2a7ed6e437196602237c27: > > Merge branch 'for-next' of git://git.samba.org/sfrench/cifs-2.6 > (2012-09-02 11:30:10 -0700) > > are available in the git repository at: > >

Re: [PATCH] security: allow Yama to be unconditionally stacked

2012-09-05 Thread James Morris
On Tue, 4 Sep 2012, Kees Cook wrote: > Unconditionally call Yama when CONFIG_SECURITY_YAMA_STACKED is selected, > no matter what LSM module is primary. Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James Morris -- To unsubscribe from this list:

Re: [PATCH v2] powerpc: fix personality handling in ppc64_personality()

2012-09-05 Thread Benjamin Herrenschmidt
On Wed, 2012-09-05 at 10:56 +0200, Jiri Kosina wrote: > Hi Benjamin, > > actually commit 7256a5d2da56 seems to contain the correct PER_LINUX > handling, so seems like you picked the right one :) > Odd, they looked different around the use of PER_MASK when I looked but I was tired & jet

Re: [PATCH V3 1/3] drivers/char/tpm: Add new device driver to support IBM vTPM

2012-09-05 Thread Benjamin Herrenschmidt
On Wed, 2012-09-05 at 10:46 -0500, Kent Yoder wrote: > On Wed, Sep 05, 2012 at 01:40:07PM +1000, Benjamin Herrenschmidt wrote: > > On Wed, 2012-08-22 at 16:42 -0500, Kent Yoder wrote: > > > On Wed, Aug 22, 2012 at 04:17:43PM -0500, Ashley Lai wrote: > > > > This patch adds a new device driver to

Re: [PATCH] perf: allow user to indicate path to objdump in command line

2012-09-05 Thread David Ahern
On 9/4/12 4:32 AM, Maciek Borzecki wrote: When analyzing perf data from hosts of other architecture than one of the local host it's useful to call objdump that is part of a toolchain for that architecture. Instead of calling regular objdump, call one that user specified in command line.

Re: [REVIEW][PATCH 10/15] userns: Convert debugfs to use kuid/kgid where appropriate.

2012-09-05 Thread Greg Kroah-Hartman
On Sat, Aug 25, 2012 at 05:03:41PM -0700, Eric W. Biederman wrote: > > Cc: Greg Kroah-Hartman > Acked-by: Serge Hallyn > Signed-off-by: Eric W. Biederman Acked-by: Greg Kroah-Hartman -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2] 1-Wire: Add support for the maxim ds1825 temperature sensor

2012-09-05 Thread Greg KH
On Sat, Aug 18, 2012 at 01:48:18PM +0400, Evgeniy Polyakov wrote: > Hi > > On Thu, Aug 16, 2012 at 12:56:40PM -0400, Raphael Assenat (r...@8d.com) wrote: > > This patch adds support for maxim ds1825 based 1-wire temperature sensors. > > Looks good, thank you > > > Signed-off-by: Raphael Assenat

Re: [PATCH] ARM: Fix semihosting Kconfig text

2012-09-05 Thread Nicolas Pitre
On Wed, 5 Sep 2012, Stephen Boyd wrote: > It seems we were missing some text in the title for the > semihosting DEBUG_LL option. Add in the "/O" and fix up some > minor typos in the help text. > > Signed-off-by: Stephen Boyd > Cc: Nicolas Pitre Acked-by: Nicolas Pitre > --- >

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