[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

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

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

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,

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

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

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

[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

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

[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

[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

[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

[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

[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

[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

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

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

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

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:

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

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

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

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

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

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

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

[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

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

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

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 = ...; > // > >

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

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

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

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 >

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

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

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

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

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

[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_exec_path always return dynamically allocated string Signed-off-by: xieliang --- tools/perf/builtin-help.c | 12 +---

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

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

[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

[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

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

[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

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

[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

[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

[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

Re: [PATCH v7 3/3] KVM: perf: kvm events analysis tool

2012-09-13 Thread Xiao Guangrong
On 09/13/2012 12:56 PM, David Ahern wrote: > > That suggests what is really needed is a 'live' mode - a continual updating > of the output like perf top, not a record and analyze later mode. Which does > come back to why I responded to this email -- the syntax is klunky and > awkward. > >

Re: Block IO controller hierarchy suppport (Was: Re: [PATCH RFC cgroup/for-3.7] cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them)

2012-09-13 Thread Vivek Goyal
On Thu, Sep 13, 2012 at 03:06:13PM -0700, Tejun Heo wrote: > Hey, Vivek. > > (cc'ing Rakesh and Chad who work on iosched in google). > > On Thu, Sep 13, 2012 at 10:53:41AM -0400, Vivek Goyal wrote: > > Biggest problem with blkcg CFQ implementation is idling on cgroup. If > > we don't idle on

[PATCH] gpio: pxa: using for_each_set_bit to simplify the code

2012-09-13 Thread Wei Yongjun
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 --- drivers/gpio/gpio-pxa.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

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

2012-09-13 Thread Wei Yongjun
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 --- arch/arm/mach-mmp/irq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH] ARM: at91/gpio: using for_each_set_bit to simplify the code

2012-09-13 Thread Wei Yongjun
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 --- arch/arm/mach-at91/gpio.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

[PATCH] gpio_msm: using for_each_set_bit to simplify the code

2012-09-13 Thread Wei Yongjun
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 --- drivers/gpio/gpio-msm-v2.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git

WARNING: at kernel/workqueue.c:1066 try_to_grab_pending

2012-09-13 Thread Jongman Heo
Hi Guys, I hit this warning with current linus + for-next branch of wq.git, running Fedora 17 on VMWare linux guest. [89449.738642] [ cut here ] [89453.060422] WARNING: at kernel/workqueue.c:1066 try_to_grab_pending+0x38/0x112() [89454.328625] Hardware name: VMware

Re: Implement devicetree support for AB8500 Btemp

2012-09-13 Thread Anton Vorontsov
(Thanks for Cc'ing me.) On Thu, Sep 13, 2012 at 02:37:38PM +, Arnd Bergmann wrote: [...] > > > If this is true, I don't understand what makes the 'supplied-to' > > > properties you list in the device tree binding board specific. Are > > > they not always done the same way? If so, you could

Question on irq autoprobe

2012-09-13 Thread Ming Lei
Hi, I see the below comments on probe_irq_off: * BUGS: When used in a module (which arguably shouldn't happen) * nothing prevents two IRQ probe callers from overlapping. The * results of this are non-optimal. */ But from the code of probe_irq_on and probe_irq_off, the

Re: [PATCH 1/4] perf tools: remove sscanf extension %as

2012-09-13 Thread Namhyung Kim
Hi Irina, (Adding Masami to Cc) On Fri, 14 Sep 2012 01:07:40 +0300, Irina Tirdea wrote: > From: Irina Tirdea > > perf uses sscanf extension %as to read and allocate a > string in the same step. This is a non-standard extension > only present in new versions of glibc. > > Replacing the use of

Re: [RFC] add "enable" to the kconfig language

2012-09-13 Thread Steven Rostedt
On Fri, 2012-09-14 at 10:14 +1000, Stephen Rothwell wrote: > Hi all, > > I have noticed that we use the following paradigm quite a bit theses days: > > configselect HAVE_ > > config > depends on HAVE_ > > or similar > > I was wondering if it would make sense to replace this

Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-09-13 Thread Wen Congyang
At 09/14/2012 09:36 AM, Hugh Dickins Wrote: > On Thu, 13 Sep 2012, Johannes Weiner wrote: >> On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote: >>> root_mem_cgroup->info.nodeinfo is initialized when the system boots. >>> But NODE_DATA(nid) is null if the node is not onlined, so >>>

Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-09-13 Thread Wen Congyang
At 09/14/2012 04:59 AM, Johannes Weiner Wrote: > Hi, > > On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote: >> root_mem_cgroup->info.nodeinfo is initialized when the system boots. >> But NODE_DATA(nid) is null if the node is not onlined, so >>

Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-09-13 Thread Hugh Dickins
On Thu, 13 Sep 2012, Johannes Weiner wrote: > On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote: > > root_mem_cgroup->info.nodeinfo is initialized when the system boots. > > But NODE_DATA(nid) is null if the node is not onlined, so > >

RE: [PATCH 1/2] iio: inkern: clear allocated memory

2012-09-13 Thread Kim, Milo
> Please state why. I'm sure I can track it down, but it ought to be > in the commit comment. The patch was resent with more detailed description. Title : [PATCH RESEND] iio: inkern: allocate zeroed memory Thanks for your comment. Best Regards, Milo -- To unsubscribe from this list: send the

[PATCH RESEND] iio: inkern: allocate zeroed memory

2012-09-13 Thread Kim, Milo
Use kzalloc() rather than kmalloc() for initializing the iio_channel structure. This patch enables the iio_dev and iio_chan_spec are set to NULL. This may prevent the page fault problem because the pointer of iio_chan_spec is initialized as NULL. The iio_chan_spec is updated only in case

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

2012-09-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/netfilter/nfnetlink_log.c between commit 0626af313957 ("netfilter: take care of timewait sockets") from the tree and commit 9eea9515cb5f ("userns: nfnetlink_log: Report socket uids in the log sockets user namespace")

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

2012-09-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/netfilter/xt_LOG.c between commit 0626af313957 ("netfilter: take care of timewait sockets") from the net tree and commit 8c6e2a941ae7 ("userns: Convert xt_LOG to print socket kuids and kgids as uids and gids") from the

Re: [RFC v2] memory-hotplug: remove MIGRATE_ISOLATE from free_area->free_list

2012-09-13 Thread Minchan Kim
Hi Bart, On Thu, Sep 13, 2012 at 04:21:42PM +0200, Bartlomiej Zolnierkiewicz wrote: > On Thursday 06 September 2012 18:34:35 Bartlomiej Zolnierkiewicz wrote: > > > > Hi, > > > > On Thursday 06 September 2012 04:53:38 Minchan Kim wrote: > > > Normally, MIGRATE_ISOLATE type is used for

[PATCH RESEND] ACPI: power: Use KERN_DEBUG when no power resources are found

2012-09-13 Thread Aaron Lu
commit a606dac368eed5696fb38e16b1394f1d049c09e9 adds support to link devices which have _PRx, if a device does not have _PRx, a warning message will be printed. This commit is for ZPODD on Intel ZPODD capable platforms, on other platforms, it has no problem if there is no power resource for this

RE: [PATCH 2/2] iio: inkern: add error case in iio_channel_get()

2012-09-13 Thread Kim, Milo
> On 10/09/12 09:02, Kim, Milo wrote: > > The datasheet name is defined in the IIO driver. > > On the other hand, the adc_channel_label is configured in > > the platform machine side. > > If the datasheet name is not matched with any adc_channel_label, > > the iio_channel_get() should be

RE: [PATCH v5] iio: adc: add new lp8788 adc driver

2012-09-13 Thread Kim, Milo
> > Couple of nitpicks in line to add to Lars-Peter's ones. I really appreciate it. > > +#define LP8788_CHAN(_id, _type) { \ > > + .type = _type, \ > > + .indexed = 1, \ > > +

RE: [PATCH v5] iio: adc: add new lp8788 adc driver

2012-09-13 Thread Kim, Milo
> Hi, > > One issue and a couple of nitpicks inline. I really appreciate it. Please see my questions below. > > + switch (mask) { > > + case IIO_CHAN_INFO_RAW: > > + ret = lp8788_get_adc_result(adc, id, val) ? -EIO : > IIO_VAL_INT; > > + break; > > + case

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

2012-09-13 Thread Toshi Kani
> > >> + > > >> + /* > > >> + * 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_desc) { > > >> + if

Re: [PATCH 07/24] Staging: ipack/devices/ipoctal: Store isr masks in ipoctal_channel

2012-09-13 Thread Joe Perches
On Thu, 2012-09-13 at 22:17 +0300, Dan Carpenter wrote: > If it weren't in staging-next then, yeah, it probably would have > been better to resend those two patches. You could send them by > themselves without resending any of the others. But once they hit > staging-next, it's too late. > > No

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

2012-09-13 Thread Alex Shi
On 09/14/2012 05:20 AM, 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. > > I tested the patch on a UV. > It has the effect of either

[RFC] add "enable" to the kconfig language

2012-09-13 Thread Stephen Rothwell
Hi all, I have noticed that we use the following paradigm quite a bit theses days: config config depends on HAVE_ or similar I was wondering if it would make sense to replace this with: config config depends on enabled The advantage of this is that we would not have all

Re: [PATCH] mm: cma: Discard clean pages during contiguous allocation instead of migration

2012-09-13 Thread Minchan Kim
On Thu, Sep 13, 2012 at 03:19:22PM -0700, Andrew Morton wrote: > On Thu, 13 Sep 2012 21:17:19 +0200 > Geert Uytterhoeven wrote: > > > On Tue, Sep 11, 2012 at 2:41 AM, Minchan Kim wrote: > > > --- a/mm/vmscan.c > > > +++ b/mm/vmscan.c > > > @@ -674,8 +674,10 @@ static enum page_references > > >

Re: [PATCH] edac/85xx: fix error handle of mpc85xx_mc_err_probe

2012-09-13 Thread Kim Phillips
On Thu, 13 Sep 2012 18:55:29 +0800 Shaohui Xie wrote: > Error handle in case of DDR ECC off is wrong, sysfs entries have not been > created, so edac_mc_free which frees a mci instance should not be called. > Also, free mci's memory in this case. > > Signed-off-by: Shaohui Xie > --- this fixes

Re: [PATCH -mm] enable CONFIG_COMPACTION by default

2012-09-13 Thread Minchan Kim
Hi Rik, On Thu, Sep 13, 2012 at 04:21:04PM -0400, Rik van Riel wrote: > Now that lumpy reclaim has been removed, compaction is the > only way left to free up contiguous memory areas. It is time > to just enable CONFIG_COMPACTION by default. > > Signed-off-by: Rik van Riel I tried this a

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

2012-09-13 Thread Anton Vorontsov
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. Minor issues related to gpio_is_valid and some code >

[PATCH 04/16] KEYS: Implement asymmetric key type

2012-09-13 Thread David Howells
Create a key type that can be used to represent an asymmetric key type for use in appropriate cryptographic operations, such as encryption, decryption, signature generation and signature verification. The key type is "asymmetric" and can provide access to a variety of cryptographic algorithms.

[PATCH 07/16] KEYS: Provide signature verification with an asymmetric key

2012-09-13 Thread David Howells
Provide signature verification using an asymmetric-type key to indicate the public key to be used. The API is a single function that can be found in crypto/public_key.h: int verify_signature(const struct key *key, const struct public_key_signature *sig) The

[PATCH 12/16] X.509: Add utility functions to render OIDs as strings

2012-09-13 Thread David Howells
Add a pair of utility functions to render OIDs as strings. The first takes an encoded OID and turns it into a "a.b.c.d" form string: int sprint_oid(const void *data, size_t datasize, char *buffer, size_t bufsize); The second takes an OID enum index and calls the

[PATCH 14/16] X.509: Add an ASN.1 decoder

2012-09-13 Thread David Howells
Add an ASN.1 BER/DER/CER decoder. This uses the bytecode from the ASN.1 compiler in the previous patch to inform it as to what to expect to find in the encoded byte stream. The output from the compiler also tells it what functions to call on what tags, thus allowing the caller to retrieve

[PATCH 11/16] X.509: Implement simple static OID registry

2012-09-13 Thread David Howells
Implement a simple static OID registry that allows the mapping of an encoded OID to an enum value for ease of use. The OID registry index enum appears in the: linux/oid_registry.h header file. A script generates the registry from lines in the header file that look like:

[PATCH 16/16] X.509: Add a crypto key parser for binary (DER) X.509 certificates

2012-09-13 Thread David Howells
Add a crypto key parser for binary (DER) encoded X.509 certificates. The certificate is parsed and, if possible, the signature is verified. An X.509 key can be added like this: # keyctl padd crypto bar @s --- crypto/asymmetric_keys/.gitignore |1

  1   2   3   4   5   6   7   8   9   10   >