Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-13 Thread Rene Buergel
> Also, why move it? Are there other modules that need to use it? Fullquote from Aug, 24: > > > > - Although i removed the dependency from ezusb to usb_serial, > > > > ezusb.c still resides in drivers/usb/serial. > > > > Can you give me a hint, where to put it instead? > > > > I would like

Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-13 Thread Rene Buergel
> Git should show this as a move, not as a "add a file and remove a > file" > type patch. Are you generating it properly? Whats the proper way to do this? I did a git mv, git commit and than git diff on that commit hash. > Also, why move it? Are there other modules that need to use it? > > t

[patch v2] gcov: add a kfree() on error to new_node()

2012-09-13 Thread Dan Carpenter
We should free "node->loaded_info" on this error path. We'd never care in real life but it makes the static checkers happy. Signed-off-by: Dan Carpenter --- v2: some style changes. diff --git a/kernel/gcov/fs.c b/kernel/gcov/fs.c index 9bd0934..7ba47f7 100644 --- a/kernel/gcov/fs.c +++ b/kernel

Re: [PATCH 1/2] mm: refactor out __alloc_contig_migrate_alloc

2012-09-13 Thread Wen Congyang
At 09/12/2012 09:43 AM, Minchan Kim Wrote: > __alloc_contig_migrate_alloc can be used by memory-hotplug so > refactor out(move + rename as a common name) it into > page_isolation.c. > > Cc: Kamezawa Hiroyuki > Cc: Yasuaki Ishimatsu > Cc: Michal Nazarewicz > Cc: Marek Szyprowski > Cc: Wen Congy

Re: [PATCH 1/3] Add a core driver for SI476x MFD

2012-09-13 Thread Hans Verkuil
Hi Andrey! Thanks for posting this driver. One request for the future: please split this patch up in smaller pieces: one for each c source for example. That makes it easier to review. On Fri September 14 2012 00:40:11 Andrey Smirnov wrote: > This patch adds a core driver for Silicon Laboratories

linux-next: manual merge of the dma-mapping tree with the libata tree

2012-09-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in arch/arm/boot/dts/highbank.dts between commit 8996b89d6bc9 ("ata: add platform driver for Calxeda AHCI controller") from the libata tree and commit 33e4628cc333 ("ARM: highbank: add coherent DMA setup") from the dma-mapping

linux-next: manual merge of the dma-mapping tree with the libata tree

2012-09-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the dma-mapping tree got a conflict in Documentation/devicetree/bindings/ata/ahci-platform.txt between commit 8996b89d6bc9 ("ata: add platform driver for Calxeda AHCI controller") from the tree and commit 33e4628cc333 ("ARM: highbank: add coherent DMA setup") f

Re: [PATCH 1/1] leds: Add new LED driver for lm3642 chips

2012-09-13 Thread Bryan Wu
On Wed, Sep 12, 2012 at 8:05 PM, G.Shark Jeong wrote: > From: "G.Shark Jeong" > > This driver is a general version for LM642 led chip of TI. > > LM3642 : > The LM3642 is a 4MHz fixed-frequency synchronous boost > converter plus 1.5A constant current driver for a high-current > white LED. > The LM

Re: memory-hotplug : possible circular locking dependency detected

2012-09-13 Thread Yasuaki Ishimatsu
Hi Wen, 2012/09/14 15:02, Wen Congyang wrote: > At 09/13/2012 02:19 PM, Yasuaki Ishimatsu Wrote: >> When I offline a memory on linux-3.6-rc5, "possible circular >> locking dependency detected" messages are shown. >> Are the messages known problem? > > It is a known problem, but it doesn't cause a

[tip:core/locking] locking: Adjust spin lock inlining Kconfig options

2012-09-13 Thread tip-bot for Jan Beulich
Commit-ID: 4fe84fb8c6b5081f7364af63aee8e118a665b966 Gitweb: http://git.kernel.org/tip/4fe84fb8c6b5081f7364af63aee8e118a665b966 Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 13:01:16 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:56:13 +0200 locking: Adjust spin lock in

[tip:x86/build] x86/Kconfig: Clean up Kconfig defaults

2012-09-13 Thread tip-bot for Jan Beulich
Commit-ID: 3120e25efdc0834c88e1c0f8394e2087444f8c19 Gitweb: http://git.kernel.org/tip/3120e25efdc0834c88e1c0f8394e2087444f8c19 Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 12:41:45 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:45:33 +0200 x86/Kconfig: Clean up Kconfi

[tip:x86/asm] x86: Prefer TZCNT over BFS

2012-09-13 Thread tip-bot for Jan Beulich
Commit-ID: 5870661c091e827973674cc3469b50c959008c2b Gitweb: http://git.kernel.org/tip/5870661c091e827973674cc3469b50c959008c2b Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 12:24:43 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:44:01 +0200 x86: Prefer TZCNT over BFS

[tip:x86/asm] x86/64: Adjust types of temporaries used by ffs()/ fls()/fls64()

2012-09-13 Thread tip-bot for Jan Beulich
Commit-ID: 1edfbb4153bd29bcf8d2236676238d5237972be1 Gitweb: http://git.kernel.org/tip/1edfbb4153bd29bcf8d2236676238d5237972be1 Author: Jan Beulich AuthorDate: Mon, 10 Sep 2012 12:04:16 +0100 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:43:58 +0200 x86/64: Adjust types of temp

[tip:timers/urgent] time: Fix timeekeping_get_ns overflow on 32bit systems

2012-09-13 Thread tip-bot for John Stultz
Commit-ID: ec145babe754f9ea1079034a108104b6001e001c Gitweb: http://git.kernel.org/tip/ec145babe754f9ea1079034a108104b6001e001c Author: John Stultz AuthorDate: Tue, 11 Sep 2012 19:26:03 -0400 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:39:14 +0200 time: Fix timeekeping_get_ns

[tip:x86/urgent] x86/mm/init.c: Fix devmem_is_allowed() off by one

2012-09-13 Thread tip-bot for T Makphaibulchoke
Commit-ID: 73e8f3d7e2cb23614d5115703d76d8e54764b641 Gitweb: http://git.kernel.org/tip/73e8f3d7e2cb23614d5115703d76d8e54764b641 Author: T Makphaibulchoke AuthorDate: Tue, 28 Aug 2012 21:21:43 -0600 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:35:54 +0200 x86/mm/init.c: Fix dev

[tip:x86/asm] x86: Drop unnecessary kernel_eflags variable on 64-bit

2012-09-13 Thread tip-bot for Ian Campbell
Commit-ID: 6eebdda35e6b18d0dddb2a44e34211bd94f0cad6 Gitweb: http://git.kernel.org/tip/6eebdda35e6b18d0dddb2a44e34211bd94f0cad6 Author: Ian Campbell AuthorDate: Fri, 24 Aug 2012 23:58:47 +0400 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:32:47 +0200 x86: Drop unnecessary kerne

[tip:core/locking] lockdep: Check if nested lock is actually held

2012-09-13 Thread tip-bot for Maarten Lankhorst
Commit-ID: d094595078d00b63839d0c5ccb8b184ef242cb45 Gitweb: http://git.kernel.org/tip/d094595078d00b63839d0c5ccb8b184ef242cb45 Author: Maarten Lankhorst AuthorDate: Thu, 13 Sep 2012 11:39:51 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 17:00:44 +0200 lockdep: Check if nest

[tip:perf/urgent] perf/x86: Export Sandy Bridge uncore clockticks event in sysfs

2012-09-13 Thread tip-bot for Stephane Eranian
Commit-ID: 35534b201c9f115c68962c095b5a9aad204d025f Gitweb: http://git.kernel.org/tip/35534b201c9f115c68962c095b5a9aad204d025f Author: Stephane Eranian AuthorDate: Wed, 29 Aug 2012 15:01:22 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:59:46 +0200 perf/x86: Export Sandy

[tip:sched/core] sched/nohz: Clean up select_nohz_load_balancer()

2012-09-13 Thread tip-bot for Alex Shi
Commit-ID: c1cc017c59c44d9ede7003631c43adc0cfdce2f9 Gitweb: http://git.kernel.org/tip/c1cc017c59c44d9ede7003631c43adc0cfdce2f9 Author: Alex Shi AuthorDate: Mon, 10 Sep 2012 15:10:58 +0800 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:52:05 +0200 sched/nohz: Clean up select_noh

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

2012-09-13 Thread tip-bot for Peter Zijlstra
Commit-ID: 08bedae1d0acd8c9baf514fb69fa199d0c8345f6 Gitweb: http://git.kernel.org/tip/08bedae1d0acd8c9baf514fb69fa199d0c8345f6 Author: Peter Zijlstra AuthorDate: Thu, 6 Sep 2012 00:03:50 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:52:05 +0200 sched: Fix load avg vs. cp

[tip:sched/core] sched: Remove __ARCH_WANT_INTERRUPTS_ON_CTXSW

2012-09-13 Thread tip-bot for Peter Zijlstra
Commit-ID: f3e947867478af9a12b9956bcd000ac7613a8a95 Gitweb: http://git.kernel.org/tip/f3e947867478af9a12b9956bcd000ac7613a8a95 Author: Peter Zijlstra AuthorDate: Wed, 12 Sep 2012 11:22:00 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:52:04 +0200 sched: Remove __ARCH_WANT

[tip:sched/core] sched: Fix nohz_idle_balance()

2012-09-13 Thread tip-bot for Vincent Guittot
Commit-ID: 5ed4f1d96deee82ee92cd1ac1e0108c27e80e9b0 Gitweb: http://git.kernel.org/tip/5ed4f1d96deee82ee92cd1ac1e0108c27e80e9b0 Author: Vincent Guittot AuthorDate: Thu, 13 Sep 2012 06:11:26 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:52:03 +0200 sched: Fix nohz_idle_bal

RE: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-13 Thread Patil, Rachna
On Thu, Sep 13, 2012 at 18:21:19, Lars-Peter Clausen wrote: > On 09/13/2012 12:40 PM, Patil, Rachna wrote: > > This patch adds support for TI's ADC driver. > > This is a multifunctional device. > > Analog input lines are provided on which voltage measurements can be > > carried out. > > You can ha

[tip:core/urgent] task_work: Simplify the usage in ptrace_notify() and get_signal_to_deliver()

2012-09-13 Thread tip-bot for Oleg Nesterov
Commit-ID: f784e8a7989c0da3062d04bfea3db90f41e8f738 Gitweb: http://git.kernel.org/tip/f784e8a7989c0da3062d04bfea3db90f41e8f738 Author: Oleg Nesterov AuthorDate: Sun, 26 Aug 2012 21:12:17 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:47:37 +0200 task_work: Simplify the us

[tip:core/urgent] task_work: Revert " hold task_lock around checks in keyctl"

2012-09-13 Thread tip-bot for Oleg Nesterov
Commit-ID: b3f68f16dbcde6fcdf0fd27695391ff7e9d41233 Gitweb: http://git.kernel.org/tip/b3f68f16dbcde6fcdf0fd27695391ff7e9d41233 Author: Oleg Nesterov AuthorDate: Sun, 26 Aug 2012 21:12:14 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:47:36 +0200 task_work: Revert "hold ta

[tip:core/urgent] task_work: task_work_add() should not succeed after exit_task_work()

2012-09-13 Thread tip-bot for Oleg Nesterov
Commit-ID: 9da33de62431c7839f98156720862262272a8380 Gitweb: http://git.kernel.org/tip/9da33de62431c7839f98156720862262272a8380 Author: Oleg Nesterov AuthorDate: Sun, 26 Aug 2012 21:12:11 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:47:34 +0200 task_work: task_work_add()

[tip:core/urgent] task_work: Make task_work_add() lockless

2012-09-13 Thread tip-bot for Oleg Nesterov
Commit-ID: ac3d0da8f3290b3d394cdb7f50604424a7cd6092 Gitweb: http://git.kernel.org/tip/ac3d0da8f3290b3d394cdb7f50604424a7cd6092 Author: Oleg Nesterov AuthorDate: Sun, 26 Aug 2012 21:12:09 +0200 Committer: Ingo Molnar CommitDate: Thu, 13 Sep 2012 16:47:33 +0200 task_work: Make task_work_

[tip:core/rcu] trace: Don' t declare trace_*_rcuidle functions in modules

2012-09-13 Thread tip-bot for Josh Triplett
Commit-ID: 7ece55a4a3a04abe37118b1d4fb0b702eeb1de4c Gitweb: http://git.kernel.org/tip/7ece55a4a3a04abe37118b1d4fb0b702eeb1de4c Author: Josh Triplett AuthorDate: Tue, 4 Sep 2012 23:23:06 -0700 Committer: Steven Rostedt CommitDate: Wed, 12 Sep 2012 10:20:14 -0400 trace: Don't declare tra

[tip:perf/core] perf sched: Don' t read all tracepoint variables in advance

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9ec3f4e437ede2f3b5087d412abe16a0219b3b99 Gitweb: http://git.kernel.org/tip/9ec3f4e437ede2f3b5087d412abe16a0219b3b99 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 11 Sep 2012 19:29:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 20:39:19 -0300 pe

[tip:perf/core] perf sched: Use perf_evsel__{int,str}val

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2b7fcbc5a9c719a306af1c4986a9f5c2cbfcec65 Gitweb: http://git.kernel.org/tip/2b7fcbc5a9c719a306af1c4986a9f5c2cbfcec65 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 11 Sep 2012 19:29:17 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 19:33:51 -0300 pe

[tip:perf/core] perf evsel: Introduce perf_evsel__{str, int}val methods

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ded44698ed82ffa3d8742ec2994f695127bc Gitweb: http://git.kernel.org/tip/ded44698ed82ffa3d8742ec2994f695127bc Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 11 Sep 2012 19:24:23 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 19:24:23 -0300 pe

[tip:perf/core] perf sched: Remove unused thread parameter

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 4218e6734197f3842fc9b6362f12973918d913aa Gitweb: http://git.kernel.org/tip/4218e6734197f3842fc9b6362f12973918d913aa Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 11 Sep 2012 13:18:47 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 13:18:47 -0300 pe

[tip:perf/core] perf tools: Back [vdso] DSO with real data

2012-09-13 Thread tip-bot for Jiri Olsa
Commit-ID: 7dbf4dcfe2987c35c2c4675cd7ae1b6006979176 Gitweb: http://git.kernel.org/tip/7dbf4dcfe2987c35c2c4675cd7ae1b6006979176 Author: Jiri Olsa AuthorDate: Mon, 10 Sep 2012 18:50:19 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 12:08:30 -0300 perf tools: Back

RE: [PATCH v3 4/5] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-09-13 Thread Patil, Rachna
On Thu, Sep 13, 2012 at 17:43:30, Jonathan Cameron wrote: > On 13/09/12 11:40, Patil, Rachna wrote: > > This patch adds support for TI's ADC driver. > > This is a multifunctional device. > > Analog input lines are provided on which voltage measurements can be > > carried out. > > You can have upto

[tip:perf/core] perf symbols: Make dsos__find function globally available

2012-09-13 Thread tip-bot for Jiri Olsa
Commit-ID: 1c4be9ff5933e5c0f033ea98169cd89e22c90900 Gitweb: http://git.kernel.org/tip/1c4be9ff5933e5c0f033ea98169cd89e22c90900 Author: Jiri Olsa AuthorDate: Mon, 10 Sep 2012 18:50:18 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 12:05:16 -0300 perf symbols: Mak

Re: [PATCH v2] KVM: trace the events of mmu_notifier

2012-09-13 Thread Xiao Guangrong
On 09/10/2012 05:26 PM, Xiao Guangrong wrote: > On 09/10/2012 05:09 PM, Avi Kivity wrote: >> On 09/07/2012 09:16 AM, Xiao Guangrong wrote: >>> mmu_notifier is the interface to broadcast the mm events to KVM, the >>> tracepoints introduced in this patch can trace all these events, it is >>> very hel

[tip:perf/core] perf tools: Add memdup function

2012-09-13 Thread tip-bot for Jiri Olsa
Commit-ID: b232e0732b1d763834c3d5b098d25d59337ba075 Gitweb: http://git.kernel.org/tip/b232e0732b1d763834c3d5b098d25d59337ba075 Author: Jiri Olsa AuthorDate: Mon, 10 Sep 2012 18:50:17 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 12:04:41 -0300 perf tools: Add m

[tip:perf/core] perf tools: Do backtrace post unwind only if we regs and stack were captured

2012-09-13 Thread tip-bot for Jiri Olsa
Commit-ID: bdde37163e1fd474509aab90f5eaacee46100107 Gitweb: http://git.kernel.org/tip/bdde37163e1fd474509aab90f5eaacee46100107 Author: Jiri Olsa AuthorDate: Mon, 10 Sep 2012 18:50:16 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 12:01:15 -0300 perf tools: Do ba

[tip:perf/core] perf tools: fix ALIGN redefinition in system headers

2012-09-13 Thread tip-bot for Irina Tirdea
Commit-ID: 9ac3e487f0eeef0fa058d72da7681398cc052ee9 Gitweb: http://git.kernel.org/tip/9ac3e487f0eeef0fa058d72da7681398cc052ee9 Author: Irina Tirdea AuthorDate: Tue, 11 Sep 2012 01:15:01 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 11:48:30 -0300 perf tools: fi

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-09-13 Thread Xiao Guangrong
On 09/12/2012 04:15 PM, Avi Kivity wrote: > On 09/12/2012 07:40 AM, Fengguang Wu wrote: >> Hi, >> >> 3 of my test boxes running v3.5 kernel become unaccessible and I find >> two of them kept emitting this dmesg: >> >> vmx_handle_exit: unexpected, valid vectoring info (0x8b0e) and exit >> reaso

Re: memory-hotplug : possible circular locking dependency detected

2012-09-13 Thread Wen Congyang
At 09/13/2012 02:19 PM, Yasuaki Ishimatsu Wrote: > When I offline a memory on linux-3.6-rc5, "possible circular > locking dependency detected" messages are shown. > Are the messages known problem? It is a known problem, but it doesn't cause a deadlock. There is 3 locks: memory hotplug's lock, memo

Re: [alex....@intel.com: Re: [PATCH] UV: fix incorrect tlb flush all issue]

2012-09-13 Thread Ingo Molnar
* Cliff Wickman wrote: > On Thu, Sep 13, 2012 at 05:53:10PM +0200, Ingo Molnar wrote: > > > > Ack? > > > > Thanks, > > > > Ingo > > Ack. > But with the adjustment below. The 'end' argument was not declared long. Ok, great - mind sending the updated patch properly under a new title (th

[tip:perf/core] perf tools: include __WORDSIZE definition

2012-09-13 Thread tip-bot for Irina Tirdea
Commit-ID: 3f34f6c0233ae055b592e8f8da23d873b82070bb Gitweb: http://git.kernel.org/tip/3f34f6c0233ae055b592e8f8da23d873b82070bb Author: Irina Tirdea AuthorDate: Tue, 11 Sep 2012 01:15:00 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 11:47:45 -0300 perf tools: in

[tip:perf/core] perf tools: Update types definitions for Android

2012-09-13 Thread tip-bot for Irina Tirdea
Commit-ID: 86d5a70c1eeb3d35bcadc94753fd9651df8835a8 Gitweb: http://git.kernel.org/tip/86d5a70c1eeb3d35bcadc94753fd9651df8835a8 Author: Irina Tirdea AuthorDate: Tue, 11 Sep 2012 01:14:59 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 11:46:09 -0300 perf tools: Up

[tip:perf/core] perf tools: Add missing perf_regs. h file to MANIFEST

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fe392c535644b8ee370a219ca63557611e0b0365 Gitweb: http://git.kernel.org/tip/fe392c535644b8ee370a219ca63557611e0b0365 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 11 Sep 2012 11:42:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 11 Sep 2012 11:42:41 -0300 pe

Re: [PATCH v4 0/8] Avoid cache trashing on clearing huge/gigantic page

2012-09-13 Thread Ingo Molnar
* Andrew Morton wrote: > On Mon, 20 Aug 2012 16:52:29 +0300 > "Kirill A. Shutemov" wrote: > > > Clearing a 2MB huge page will typically blow away several levels of CPU > > caches. To avoid this only cache clear the 4K area around the fault > > address and use a cache avoiding clears for the r

[tip:perf/core] perf kmem: Remove die() calls

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 2814eb05720baa54ffe0950714fd55a5bcc8a565 Gitweb: http://git.kernel.org/tip/2814eb05720baa54ffe0950714fd55a5bcc8a565 Author: Arnaldo Carvalho de Melo AuthorDate: Sat, 8 Sep 2012 22:53:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Sun, 9 Sep 2012 11:39:02 -0300 perf

[tip:perf/core] perf sched: Remove die() calls

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a116e05dcf61c8d758e0f0aed40325534aee2c13 Gitweb: http://git.kernel.org/tip/a116e05dcf61c8d758e0f0aed40325534aee2c13 Author: Arnaldo Carvalho de Melo AuthorDate: Sat, 8 Sep 2012 22:53:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Sun, 9 Sep 2012 11:39:02 -0300 perf

[tip:perf/core] perf test: Remove die() calls

2012-09-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 32c7f7383a096a4fc878fdda686c7725945e8a8f Gitweb: http://git.kernel.org/tip/32c7f7383a096a4fc878fdda686c7725945e8a8f Author: Arnaldo Carvalho de Melo AuthorDate: Sat, 8 Sep 2012 22:53:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Sun, 9 Sep 2012 11:39:02 -0300 perf

[PATCH v2 2/3] sched:nohz rename clear_nohz_tick_stopped as nohz_balance_exit_idle

2012-09-13 Thread Alex Shi
This patch just rename the function clear_nohz_tick_stopped() to nohz_balance_exit_idle(), that align with nohz_balance_enter_idle. no function changes. Signed-off-by: Alex Shi --- kernel/sched/fair.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/sched/fair.c

[PATCH v2] few functions clean up

2012-09-13 Thread Alex Shi
Changed according to Peter and Suresh suggestion. Thanks [PATCH v2 1/3] nohz: clean up select_nohz_load_balancer() [PATCH v2 2/3] sched:nohz rename clear_nohz_tick_stopped as [PATCH v2 3/3] sched/balance: remove on_null_domain() in -- To unsubscribe from this list: send the line "unsubscribe linux

[PATCH v2 3/3] sched/balance: remove on_null_domain() in trigger_load_balance

2012-09-13 Thread Alex Shi
According to Suresh's inverstigation, the first on_null_domain in trigger_load_balance is for avoiding unnecessary loadbalances(from softirq) when a SMP kernel running on UP machine. The second on_null_domain is not needed, since nohz_kick_needed() will return 0 in this scenario. So, remove the 2n

[PATCH v2 1/3] nohz: clean up select_nohz_load_balancer()

2012-09-13 Thread Alex Shi
There is no load_balancer to be selected now. It just set state of nohz tick stopping. So rename the function as nohz_balance_enter_idle according to Peter's suggestion, pass the 'cpu' from parameter and then remove the useless calling from tick_nohz_restart_sched_tick(). Signed-off-by: Alex Shi

Re: [PATCH 3/3 v2] perf tool: give user better message if precise is not supported

2012-09-13 Thread Ingo Molnar
* David Ahern wrote: > Platforms (e.g., VM's) without support for precise mode get a confusing > error message. e.g., > $ perf record -e cycles:p -a -- sleep 1 > > Error: sys_perf_event_open() syscall returned with 95 (Operation not > supported). /bin/dmesg may provide additional informati

Re: [PATCH 2/4] perf stat: add compile-time option to disable --big-num

2012-09-13 Thread Ingo Molnar
* Irina Tirdea wrote: > From: Irina Tirdea > > In printf's format, ' is used to group the output with thousands' grouping > characters for decimal conversion. Bionic does not support ' for printf. Please try to solve compatibility without affecting the default output and big num is the defau

linux-next: manual merge of the workqueues tree with the net tree

2012-09-13 Thread Stephen Rothwell
Hi Tejun, Today's linux-next merge of the workqueues tree got a conflict in drivers/isdn/mISDN/hwchannel.c between commit 4b921eda5336 ("mISDN: Fix wrong usage of flush_work_sync while holding locks") from the tree and commit 43829731dd37 ("workqueue: deprecate flush[_delayed]_work_sync()") from

Re: [PATCH] power: battery: Generic battery driver using IIO

2012-09-13 Thread anish singh
On Fri, Sep 14, 2012 at 5:16 AM, Anton Vorontsov wrote: > On Thu, Sep 13, 2012 at 09:46:32PM +0530, anish kumar wrote: >> From: anish kumar >> >> In this version: >> Addressed concerns raised by lars: >> a. made the adc_bat per device. >> b. get the IIO channel using hardcoded channel names. >> c

Re: [PATCH] pinctrl: use kasprintf() in pinmux_request_gpio()

2012-09-13 Thread Joe Perches
On Thu, 2012-09-13 at 21:49 +0200, Thomas Petazzoni wrote: > Instead of using a temporary buffer, snprintf() and kstrdup(), just > use kasprintf() that does the same thing in just oneline. > > Signed-off-by: Thomas Petazzoni > --- > drivers/pinctrl/pinmux.c |5 + > 1 file changed, 1 inse

RE: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-13 Thread Patil, Rachna
On Fri, Sep 14, 2012 at 10:39:20, Venu Byravarasu wrote: > > -Original Message- > > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > ow...@vger.kernel.org] On Behalf Of Patil, Rachna > > Sent: Friday, September 14, 2012 10:29 AM > > To: Lars-Peter Clausen > > Cc: linux-ke

RE: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-13 Thread Venu Byravarasu
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Patil, Rachna > Sent: Friday, September 14, 2012 10:29 AM > To: Lars-Peter Clausen > Cc: linux-kernel@vger.kernel.org; linux-in...@vger.kernel.org; linux- > i...@vger.

Re: [PATCH v2 4/4]: ezusb: move ezusb.c from drivers/usb/serial to drivers/usb/misc

2012-09-13 Thread Greg KH
On Thu, Sep 13, 2012 at 10:19:11PM +0200, Rene Buergel wrote: > This patch moves drivers/usb/serial/ezusb.c to drivers/usb/misc/and > adapts Makefiles and Kconfigs > > Signed-off-by: René Bürgel > -- > diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig > index 1bfcd02..1c63b54 10064

Re: [PATCH v2 2/4]: add support for Cypress FX2LP

2012-09-13 Thread Greg KH
On Thu, Sep 13, 2012 at 10:15:47PM +0200, Rene Buergel wrote: > This Patch adds support for the newer Cypress FX2LP. It also adapts > three drivers currently using ezusb to the interface change. (whiteheat > and keyspan[_pda]) > > Signed-off-by: René Bürgel > -- Shouldn't this be 3 '-' charact

RE: [PATCH v3 5/5] MFD: ti_tscadc: add suspend/resume functionality

2012-09-13 Thread Patil, Rachna
On Thu, Sep 13, 2012 at 18:31:35, Lars-Peter Clausen wrote: > On 09/13/2012 12:40 PM, Patil, Rachna wrote: > > This patch adds support for suspend/resume of TSC/ADC MFDevice. > > > > Signed-off-by: Patil, Rachna > > --- > > Changes in v2: > > Added this patch newly in this patch series. > >

Re: [PATCH] staging: nvec: adjust for mfd_add_devices() API change

2012-09-13 Thread Greg Kroah-Hartman
On Wed, Sep 12, 2012 at 10:26:00AM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 6607bad "mfd: core: Push irqdomain mapping out into devices" > added a new parameter to mfd_add_devices(), but missed updating the > nvec driver in staging. > > Cc: Mark Brown > Cc: Marc Dietrich

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-13 Thread H. Peter Anvin
On 09/13/2012 08:45 PM, joeyli wrote: Hi Peter, 於 四,2012-09-13 於 09:52 -0400,Peter Jones 提到: On Thu, 2012-09-13 at 16:10 +0800, joeyli wrote: Do we have plan to create a new kobject add to /sys/firmware/efi for provide a fixed mount point to efivars fs? e.g. /sys/firmware/efi/efivars Or we j

[PATCH] Staging: bcm: Fix udelay related compilation error

2012-09-13 Thread Tushar Behera
commit 6788d7dab6a5 ("Staging: bcm: Use udelay instead of msleep for delays in nvm.c") replaces msleep with udelay values. udelay values of more than 1000 should be replaced by mdelay instead. This fixes following build error. ERROR: "__bad_udelay" [drivers/staging/bcm/bcm_wimax.ko] undefined! mak

RE: [PATCH v9 05/13] ARM: SoC: convert Exynos4 to SoC descriptor

2012-09-13 Thread Kukjin Kim
Arnd Bergmann wrote: > > From: Marc Zyngier > > Convert Exynos4 to use the SoC descriptor to provide its SMP > and CPU hotplug operations. > > Cc: Kukjin Kim Acked-by: Kukjin Kim Thanks. Best regards, Kgene. -- Kukjin Kim , Senior Engineer, SW Solution Development Team, Samsung Electronics

Re: WARNING: at kernel/rcutree.c:1558 rcu_do_batch+0x386/0x3a0(), during CPU hotplug

2012-09-13 Thread Michael Wang
On 09/13/2012 08:47 PM, Srivatsa S. Bhat wrote: > On 09/13/2012 12:00 PM, Michael Wang wrote: >> On 09/12/2012 11:31 PM, Paul E. McKenney wrote: >>> On Wed, Sep 12, 2012 at 06:06:20PM +0530, Srivatsa S. Bhat wrote: On 07/19/2012 10:45 PM, Paul E. McKenney wrote: > On Thu, Jul 19, 2012 at 0

[GIT PULL] hwmon fixes for 3.6-rc6

2012-09-13 Thread Guenter Roeck
Hi Linus, Please pull hwmon fixes for Linux 3.6-rc6 from signed tag: git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git hwmon-for-linus Thanks, Guenter -- The following changes since commit 55d512e245bc7699a8800e23df1a24195dd08217: Linux 3.6-rc5 (2012-09-08 16:43

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

2012-09-13 Thread David Fries
On Thu, Sep 13, 2012 at 11:34:29PM +1000, Stephen Rothwell wrote: > Hi David, > > On Thu, 13 Sep 2012 08:24:08 -0500 David Fries wrote: > > > > On Thu, Sep 13, 2012 at 06:11:27PM +1000, Stephen Rothwell wrote: > > > Hi all, > > > > > > After merging the final tree, today's linux-next build (spar

Re: PROBLEM: ACPI 0x0000000000000b00-0x0000000000000b07 SystemIO conflicts with Region \_SB_.PCI0.SBRG.ASOC.SMRG 1 (20120320/utaddress-251)

2012-09-13 Thread Bjorn Helgaas
On Thu, Sep 13, 2012 at 12:11 PM, Peter Simons wrote: > Hi guys, > > I've recently updated my machine to Linux kernel 3.5. Ever since then, I > experience frequent kernel panics in the I/O system. The output from > dmesg shows the following warning, which earlier version of the kernel > did not sh

RE: [PATCH 9/15] arch/arm/mach-s3c24xx/mach-h1940.c: removes unnecessary semicolon

2012-09-13 Thread kgene
Peter Senna Tschudin wrote: > > From: Peter Senna Tschudin > > removes unnecessary semicolon > > Found by Coccinelle: http://coccinelle.lip6.fr/ > > Signed-off-by: Peter Senna Tschudin > > --- > arch/arm/mach-s3c24xx/mach-h1940.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

RE: [PATCH] arch/arm/mach-s3c24xx/mach-h1940.c: delete double assignment

2012-09-13 Thread kgene
Julia Lawall wrote: > > From: Julia Lawall > > Delete successive assignments to the same location. > > A simplified version of the semantic match that finds this problem is as > follows: (http://coccinelle.lip6.fr/) > > // > @@ > expression i; > @@ > > *i = ...; > i = ...; > // > > Signed

Re: [RFC,PATCH v2] efi: Add support for a UEFI variable filesystem

2012-09-13 Thread joeyli
Hi Peter, 於 四,2012-09-13 於 09:52 -0400,Peter Jones 提到: > On Thu, 2012-09-13 at 16:10 +0800, joeyli wrote: > > > Do we have plan to create a new kobject add to /sys/firmware/efi for > > provide a fixed mount point to efivars fs? > > e.g. /sys/firmware/efi/efivars > > > > Or we just direct reuse

Re: [PATCH] ACPI: Enable SCI_EMULATE to manually simulate physical hotplug testing.

2012-09-13 Thread Yinghai Lu
On Thu, Sep 13, 2012 at 5:22 PM, Toshi Kani wrote: >> > >> + >> > >> + /* >> > >> + * Check for internal object and make sure there is a handler >> > >> + * registered for this object >> > >> + */ >> > >> + obj_desc = acpi_ns_get_attached_object(node); >> > >> + if (obj_

[PATCH RESEND] memory hotplug: fix a double register section info bug

2012-09-13 Thread qiuxishi
There may be a bug when registering section info. For example, on my Itanium platform, the pfn range of node0 includes the other nodes, so other nodes' section info will be double registered, and memmap's page count will equal to 3. node0: start_pfn=0x100,spanned_pfn=0x20fb00, present_pfn=0x7f

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-13 Thread Vinod Koul
On Thu, 2012-09-13 at 16:38 +0100, Russell King - ARM Linux wrote: > On Thu, Sep 13, 2012 at 05:27:09PM +0200, Lars-Peter Clausen wrote: > > Hm... Do you think it would work as well if we implement this by setting the > > callback for the descriptor to NULL? If the callback is NULL there is > > not

Re: [PATCH v2 03/15] dmaengine: Add no_wakeup parameter to dmaengine_prep_dma_cyclic()

2012-09-13 Thread Vinod Koul
On Thu, 2012-09-13 at 17:27 +0200, Lars-Peter Clausen wrote: > Hi, > > Hm... Do you think it would work as well if we implement this by > setting the > callback for the descriptor to NULL? If the callback is NULL there is > nothing to at the end of a transfer/period and the dma engine driver > may

Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback

2012-09-13 Thread Vinod Koul
On Thu, 2012-09-13 at 16:37 +0300, Peter Ujfalusi wrote: > Change the parameter list of device_prep_dma_cyclic() so the DMA drivers > can receive the no_wakeup request coming from client drivers. > This feature can be used during audio operation to disable all audio > related interrupts. We already

Re: [PATCH] ARM: mmp: using for_each_set_bit to simplify the code

2012-09-13 Thread Eric Miao
On Fri, Sep 14, 2012 at 10:30 AM, Wei Yongjun wrote: > From: Wei Yongjun > > Using for_each_set_bit() to simplify the code. > > spatch with a semantic match is used to found this. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun Great API, this is good. Acked-by: Eric Miao > ---

Re: [PATCH 01/16] ARM: at91: move platform_data definitions

2012-09-13 Thread Vinod Koul
On Tue, 2012-09-11 at 14:59 +0200, Arnd Bergmann wrote: > Platform data for device drivers should be defined in > include/linux/platform_data/*.h, not in the architecture > and platform specific directories. > > This moves such data out of the at91 include directories > > Signed-off-by: Arnd Berg

Re: [PATCH 03/16] ARM: ep93xx: move platform_data definitions

2012-09-13 Thread Vinod Koul
On Tue, 2012-09-11 at 14:59 +0200, Arnd Bergmann wrote: > Platform data for device drivers should be defined in > include/linux/platform_data/*.h, not in the architecture > and platform specific directories. > > This moves such data out of the ep93xx include directories > > drivers/dma/ep93xx_d

Re: [PATCH 04/16] ARM: imx: move platform_data definitions

2012-09-13 Thread Vinod Koul
On Tue, 2012-09-11 at 14:59 +0200, Arnd Bergmann wrote: > Platform data for device drivers should be defined in > include/linux/platform_data/*.h, not in the architecture > and platform specific directories. > > This moves such data out of the imx include directories For these: > drivers/dma/imx

Re: [PATCH 0/2] DMA: PL330: Clock and runtime cleanup

2012-09-13 Thread Vinod Koul
On Fri, 2012-09-07 at 12:14 +0530, Inderpal Singh wrote: > The controller clock is being managed at AMBA bus level probe/remove and > pm_runtime/suspend functions. The existing driver does the clock > enable/disable > again in the same code paths, which unneccessarily increments the usage count >

linux-next: build failure after merge of the cgroup tree

2012-09-13 Thread Stephen Rothwell
n-declaration] Caused by commit 1f66c0a8833c ("cgroup: net_cls: Move sock_update_classid() declaration to cls_cgroup.h"). Grep is your friend ... I have used the cgroup tree from next-20120913 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpsqvNNIYupE.pgp Description: PGP signature

RE: [PATCH 0/2] ARM: EXYNOS: Set the capability of pdm0 and pdm1 as DMA_PRIVATE

2012-09-13 Thread Vinod Koul
On Fri, 2012-09-07 at 14:30 +0900, Kukjin Kim wrote: > Vinod Koul wrote: > > > > On Wed, 2012-08-29 at 10:16 +0530, Tushar Behera wrote: > > > DMA clients pdma0 and pdma1 are internal to the SoC and are used only > > > by dedicated peripherals. Since they cannot be used for generic > > > purpose,

[PATCH] lib: spinlock_debug: Avoid livelock in do_raw_spin_lock

2012-09-13 Thread Vikram Mulukutla
The logic in do_raw_spin_lock attempts to acquire a spinlock by invoking arch_spin_trylock in a loop with a delay between each attempt. Now consider the following situation in a 2 CPU system: 1. CPU-0 continually acquires and releases a spinlock in a tight loop; it stays in this loop until some

[PATCH v3] memory leak fix while calling system_path

2012-09-13 Thread liang xie
memory leak fix while calling system_path Since v1: Remove an unnecessary null pointer check per Felipe's comments Since v2: Make system_path&perf_exec_path always return dynamically allocated string Signed-off-by: xieliang --- tools/perf/builtin-help.c | 12 +--- tools/perf/builtin

Re: [PATCH] dma: ipu: Drop unused spinlock

2012-09-13 Thread Vinod Koul
On Thu, 2012-09-06 at 09:19 +0200, Jean Delvare wrote: > I was checking why this spinlock was never initialized, but it turns > out it's not used anywhere, so we can drop it. > > Signed-off-by: Jean Delvare > Cc: Vinod Koul > Cc: Dan Williams > --- > I can't even build-test this. > > drivers/

Re: [PATCH] dma: tegra: use list_move_tail instead of list_del/list_add_tail

2012-09-13 Thread Vinod Koul
On Wed, 2012-09-05 at 15:08 +0800, Wei Yongjun wrote: > From: Wei Yongjun > > Using list_move_tail() instead of list_del() + list_add_tail(). > > spatch with a semantic match is used to found this problem. > (http://coccinelle.lip6.fr/) > > Signed-off-by: Wei Yongjun Applied thanks > --- > dr

[PATCH 6/6 v2] kprobes/x86: Fix to support jprobes on ftrace-based kprobe

2012-09-13 Thread Steven Rostedt
From: Masami Hiramatsu Fix kprobes/x86 to support jprobes on ftrace-based kprobes. Because of -mfentry support of ftrace, ftrace is now put on the beginning of function where jprobes are put. Originally ftrace-based kprobes doesn't support jprobe because it will change regs->ip and ftrace doesn'

[PATCH 1/6 v2] tracing: Skip printing "OK" if failed to disable event

2012-09-13 Thread Steven Rostedt
From: Yuanhan Liu No acutal case found. But logically, we should skip "OK" in case any error met. Link: http://lkml.kernel.org/r/1346051625-25231-1-git-send-email-yuanhan@linux.intel.com Signed-off-by: Yuanhan Liu Signed-off-by: Steven Rostedt --- kernel/trace/trace_events.c |4 +++-

Re: [PATCH] dw_dmac: utilize slave_id to pass request line

2012-09-13 Thread Vinod Koul
On Mon, 2012-09-03 at 13:46 +0300, Andy Shevchenko wrote: > There is slave_id field in the generic slave config structure that is > dedicated > for the uniq slave number. In our case we have the request lines wired to the > certain hardware. Therefore the number of the request line is uniq and cou

[PATCH 4/6 v2] kprobes/x86: Fix kprobes to collectly handle IP on ftrace

2012-09-13 Thread Steven Rostedt
From: Masami Hiramatsu Current kprobe_ftrace_handler expects regs->ip == ip, but it is incorrect (originally on x86-64). Actually, ftrace handler sets regs->ip = ip + MCOUNT_INSN_SIZE. kprobe_ftrace_handler must take care for that. Link: http://lkml.kernel.org/r/20120905143112.10329.72069.stgit

[PATCH 2/6 v2] trace: Stop compiling in trace_clock unconditionally

2012-09-13 Thread Steven Rostedt
From: Josh Triplett Commit 56449f437 "tracing: make the trace clocks available generally", in April 2009, made trace_clock available unconditionally, since CONFIG_X86_DS used it too. Commit faa4602e47 "x86, perf, bts, mm: Delete the never used BTS-ptrace code", in March 2010, removed CONFIG_X86_

Re: [PATCH] sched: unify the check on atomic sleeping in __might_sleep() and schedule_bug()

2012-09-13 Thread Michael Wang
On 09/13/2012 06:04 PM, Peter Zijlstra wrote: > On Wed, 2012-08-22 at 10:40 +0800, Michael Wang wrote: >> From: Michael Wang >> >> Fengguang Wu has reported the bug: >> >> [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 >> [0.044017] no locks held by swapper/0/1. >> [0

[PATCH 3/6 v2] ftrace/x86: Adjust x86 regs.ip as like as x86-64

2012-09-13 Thread Steven Rostedt
From: Masami Hiramatsu Adjust x86 regs.ip to ip + MCOUNT_INSN_SIZE as like as on x86-64. This helps us to consolidate codes which use regs->ip on both of x86/x86-64. Link: http://lkml.kernel.org/r/20120905143100.10329.60109.stgit@localhost.localdomain Cc: Peter Zijlstra Cc: Frederic Weisbecke

[PATCH 5/6 v2] ftrace/x86-64: Allow to change RIP in handlers

2012-09-13 Thread Steven Rostedt
From: Steven Rostedt Allow ftrace handlers to change RIP register (regs->ip) in handlers. This will allow handlers to call another function instead of original function. Link: http://lkml.kernel.org/r/20120905143118.10329.5078.stgit@localhost.localdomain Cc: Peter Zijlstra Cc: Frederic Weisbe

[PATCH 0/6 v2] [GIT PULL][3.7] tracing: cleanups and fixes

2012-09-13 Thread Steven Rostedt
Ingo, As I believe the -pg removal from perf was holding up the patch set, although Frederic and I are working that out, I rebased my patch set to remove that change, for a later time. The rest holds fixes to bugs that are in your queue for 3.7. Please pull the latest tip/perf/core tree, which

Re: [PATCH 1/2] dmaengine: at_hdmac: fix comment in atc_prep_slave_sg()

2012-09-13 Thread Vinod Koul
On Tue, 2012-09-11 at 17:21 +0200, Nicolas Ferre wrote: > s/dma_memcpy/slave_sg/ and it is sg length that we are > talking about. > > Signed-off-by: Nicolas Ferre > Cc: Stable [2.6.31+] > --- > drivers/dma/at_hdmac.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/d

  1   2   3   4   5   6   7   >