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

[PATCH] gpio_msm: using for_each_set_bit to simplify the code

2012-09-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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 yongjun_...@trendmicro.com.cn --- drivers/gpio/gpio-msm-v2.c | 4 +--- 1 file changed, 1

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

2012-09-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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 yongjun_...@trendmicro.com.cn --- arch/arm/mach-at91/gpio.c | 4 +--- 1 file changed, 1

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

2012-09-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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 yongjun_...@trendmicro.com.cn --- arch/arm/mach-mmp/irq.c | 4 +--- 1 file changed, 1

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

2012-09-13 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn 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 yongjun_...@trendmicro.com.cn --- drivers/gpio/gpio-pxa.c | 4 +--- 1 file changed, 1

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 cgroup, then

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. So, I

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 nicolas.fe...@atmel.com Cc: Stable sta...@vger.kernel.org [2.6.31+] --- drivers/dma/at_hdmac.c |2 +- 1 file changed, 1

[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

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

2012-09-13 Thread Steven Rostedt
From: Steven Rostedt rost...@goodmis.org 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

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

2012-09-13 Thread Steven Rostedt
From: Masami Hiramatsu masami.hiramatsu...@hitachi.com 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

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 wang...@linux.vnet.ibm.com Fengguang Wu w...@linux.intel.com has reported the bug: [0.043953] BUG: scheduling while atomic: swapper/0/1/0x1002 [0.044017] no

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

2012-09-13 Thread Steven Rostedt
From: Josh Triplett j...@joshtriplett.org 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,

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

2012-09-13 Thread Steven Rostedt
From: Masami Hiramatsu masami.hiramatsu...@hitachi.com 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:

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 could

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

2012-09-13 Thread Steven Rostedt
From: Yuanhan Liu yuanhan@linux.intel.com 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 yuanhan@linux.intel.com Signed-off-by: Steven

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

2012-09-13 Thread Steven Rostedt
From: Masami Hiramatsu masami.hiramatsu...@hitachi.com 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

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 yongjun_...@trendmicro.com.cn 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

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 kh...@linux-fr.org Cc: Vinod Koul vinod.k...@intel.com Cc: Dan Williams d...@fb.com --- I

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

[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

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

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

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

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 Bergmann

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 weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn 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

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

[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] 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 toshi.k...@hp.com 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_desc) { +

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 current

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

2012-09-13 Thread kgene
Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr 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/) // smpl @@ expression i; @@ *i = ...; i = ...; //

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 peter.se...@gmail.com removes unnecessary semicolon Found by Coccinelle: http://coccinelle.lip6.fr/ Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- arch/arm/mach-s3c24xx/mach-h1940.c |2 +- 1 file changed, 1

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 sim...@cryp.to 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

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 da...@fries.net 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

[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: 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 05:39:30PM

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

2012-09-13 Thread Kukjin Kim
Arnd Bergmann wrote: From: Marc Zyngier marc.zyng...@arm.com Convert Exynos4 to use the SoC descriptor to provide its SMP and CPU hotplug operations. Cc: Kukjin Kim kgene@samsung.com Acked-by: Kukjin Kim kgene@samsung.com Thanks. Best regards, Kgene. -- Kukjin Kim

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

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 swar...@nvidia.com 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

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 rac...@ti.com --- Changes in v2: Added this patch newly in this patch series.

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 rene.buergel@... -- Shouldn't this be 3

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 rene.buer...@sohard.de -- diff --git a/drivers/usb/misc/Kconfig b/drivers/usb/misc/Kconfig index

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 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] 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 thomas.petazz...@free-electrons.com --- drivers/pinctrl/pinmux.c |5

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 cbouatmai...@gmail.com wrote: On Thu, Sep 13, 2012 at 09:46:32PM +0530, anish kumar wrote: From: anish kumar anish198519851...@gmail.com In this version: Addressed concerns raised by lars: a. made the adc_bat per device. b. get the IIO

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 the

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

2012-09-13 Thread Ingo Molnar
* Irina Tirdea irina.tir...@gmail.com wrote: From: Irina Tirdea irina.tir...@intel.com 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

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

2012-09-13 Thread Ingo Molnar
* David Ahern dsah...@gmail.com 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

[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

[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] 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 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 alex@intel.com --- kernel/sched/fair.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[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 a...@redhat.com AuthorDate: Sat, 8 Sep 2012 22:53:06 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Sun,

[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 a...@redhat.com AuthorDate: Sat, 8 Sep 2012 22:53:06 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Sun,

[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 a...@redhat.com AuthorDate: Sat, 8 Sep 2012 22:53:06 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Sun,

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

2012-09-13 Thread Ingo Molnar
* Andrew Morton a...@linux-foundation.org wrote: On Mon, 20 Aug 2012 16:52:29 +0300 Kirill A. Shutemov kirill.shute...@linux.intel.com 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

[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 a...@redhat.com AuthorDate: Tue, 11 Sep 2012 11:42:41 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue,

[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 irina.tir...@gmail.com AuthorDate: Tue, 11 Sep 2012 01:14:59 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 11

[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 irina.tir...@gmail.com AuthorDate: Tue, 11 Sep 2012 01:15:00 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 11

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

2012-09-13 Thread Ingo Molnar
* Cliff Wickman c...@sgi.com 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 (the

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

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 reason is 0x31

[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 irina.tir...@gmail.com AuthorDate: Tue, 11 Sep 2012 01:15:01 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 11

[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 jo...@redhat.com AuthorDate: Mon, 10 Sep 2012 18:50:16 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Tue, 11 Sep 2012

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Alex Courbot
On Thursday 13 September 2012 06:07:13 Stephen Warren wrote: > On 09/12/2012 03:57 AM, Alexandre Courbot wrote: > > Some device drivers (panel backlights especially) need to follow precise > > sequences for powering on and off, involving gpios, regulators, PWMs > > with a precise powering order

Re: linux-next: Tree for Sept 12 (kernel-panic after pressing any key at X login)

2012-09-13 Thread Minchan Kim
On Thu, Sep 13, 2012 at 07:29:32AM +0200, Sedat Dilek wrote: > On Thu, Sep 13, 2012 at 5:18 AM, Sedat Dilek wrote: > > On Wed, Sep 12, 2012 at 10:46 AM, Stephen Rothwell > > wrote: > >> Hi all, > >> > >> Changes since 201209011: > >> > >> The pci tree lost its build failure. > >> > >> The mfd

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-13 Thread Fengguang Wu
On Thu, Sep 13, 2012 at 02:41:31PM +0900, OGAWA Hirofumi wrote: > Fengguang Wu writes: > > >> If used custom bdi with BDI_CAP_NO_WRITEBACK, wait_for_completion() > >> (e.g. sync_inodes_sb()) will be blocked forever. > > > > The sync(2) block cannot be fixed by this patch? > > This patch fixes

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Alex Courbot
On Thursday 13 September 2012 13:45:39 Tomi Valkeinen wrote: > * PGP Signed by an unknown key > > On Wed, 2012-09-12 at 18:57 +0900, Alexandre Courbot wrote: > > > Some device drivers (panel backlights especially) need to follow precise > > sequences for powering on and off, involving gpios,

linux-next: manual merge of the staging tree with the tty tree

2012-09-13 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/ipack/devices/ipoctal.c between commit 734cc1783816 ("TTY: use tty_port_register_device") from the tty tree and commit 2afb41d9d30d ("Staging: ipack/devices/ipoctal: Check tty_register_device return value")

memory-hotplug : possible circular locking dependency detected

2012-09-13 Thread Yasuaki Ishimatsu
When I offline a memory on linux-3.6-rc5, "possible circular locking dependency detected" messages are shown. Are the messages known problem? [ 201.596363] Offlined Pages 32768 [ 201.596373] remove from free list 14 1024 148000 [ 201.596493] remove from free list 140400 1024 148000 [

Re: Subject: [PATCH 1/1] drivers/md/raid1.c: fix NULL pointer bug in fix_read_error function

2012-09-13 Thread hank
On 09/13/2012 01:44 PM, NeilBrown wrote: > On Thu, 13 Sep 2012 10:28:32 +0800 hank wrote: > >> On 09/04/2012 11:07 AM, hank wrote: >> >>> From 0ba5879082544dc3aa13807087563b1258124b1e Mon Sep 17 00:00:00 2001 >>> From: hank >>> Date: Tue, 4 Sep 2012 10:23:45 +0800 >>> Subject: [PATCH 1/1]

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Alex Courbot
On Thursday 13 September 2012 13:50:47 Tomi Valkeinen wrote: > * PGP Signed by an unknown key > > On Wed, 2012-09-12 at 18:57 +0900, Alexandre Courbot wrote: > > > New revision of the power sequences, taking as usual the feedback that > > was > > kindly provided about the last version. > > > >

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Tomi Valkeinen
On Thu, 2012-09-13 at 15:08 +0900, Alex Courbot wrote: > On Thursday 13 September 2012 13:45:39 Tomi Valkeinen wrote: > > * PGP Signed by an unknown key > > > > On Wed, 2012-09-12 at 18:57 +0900, Alexandre Courbot wrote: > > > > > Some device drivers (panel backlights especially) need to follow

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Mark Brown
On Thu, Sep 13, 2012 at 03:23:06PM +0900, Alex Courbot wrote: > I understand the logic behind handling powering sequences in the device > driver, but as we discussed for some classes of devices this might just not > scale. I don't know how many different panels (each with different powering

Re: [PATCH 09/12] thp: introduce khugepaged_prealloc_page and khugepaged_alloc_page

2012-09-13 Thread Hugh Dickins
On Wed, 12 Sep 2012, Xiao Guangrong wrote: > On 09/12/2012 10:03 AM, Hugh Dickins wrote: > > > What brought me to look at it was hitting "BUG at mm/huge_memory.c:1842!" > > running tmpfs kbuild swapping load (with memcg's memory.limit_in_bytes > > forcing out to swap), while I happened to have

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

2012-09-13 Thread Michael Wang
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 05:39:30PM +0530, Srivatsa S. Bhat wrote: Hi Paul, While running a CPU hotplug stress

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-13 Thread OGAWA Hirofumi
Fengguang Wu writes: >> >> I tested by custom bdi with BDI_CAP_NO_WRITEBACK - sync(2) blocked >> >> forever by this reason. >> > >> > What's your test script? How do you create/use that custom bdi? >> >> Ah, I wrote my kernel module to test. I guess there is no users in >> current kernel for

Re: [PATCH] module: report -EFAULT on bytes remaining

2012-09-13 Thread Rusty Russell
Dan Carpenter writes: > On Wed, Sep 12, 2012 at 08:06:16AM -0700, Kees Cook wrote: >> Caught by smatch: >> kernel/module.c:2450 copy_module_from_user() warn: maybe return -EFAULT >> instead of the bytes remaining? >> >> Clean up the copy_from_user() call to not report a positive value. >>

[v3 PATCH 2/2] netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

2012-09-13 Thread Srivatsa S. Bhat
Replace the current (inefficient) for-loop with memcpy, to copy priomap. Signed-off-by: Srivatsa S. Bhat --- net/core/netprio_cgroup.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/net/core/netprio_cgroup.c b/net/core/netprio_cgroup.c index fd339bb0..45c503e

[v3 PATCH 1/2] netprio_cgroup: Remove update_netdev_tables() since it is unnecessary

2012-09-13 Thread Srivatsa S. Bhat
The update_netdev_tables() function appears to be unnecessary, since the write_update_netdev_table() function will adjust the priomaps as and when required anyway. So drop the usage of update_netdev_tables() entirely. Signed-off-by: Srivatsa S. Bhat --- net/core/netprio_cgroup.c | 32

Re: [PATCH v6 1/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Alex Courbot
On Thursday 13 September 2012 14:22:57 Tomi Valkeinen wrote: > * PGP Signed by an unknown key > > On Thu, 2012-09-13 at 15:08 +0900, Alex Courbot wrote: > > > On Thursday 13 September 2012 13:45:39 Tomi Valkeinen wrote: > > > > > > Old Signed by an unknown key > > > > > > > > > On Wed,

Re: [PATCH 09/12] thp: introduce khugepaged_prealloc_page and khugepaged_alloc_page

2012-09-13 Thread Hugh Dickins
On Wed, 12 Sep 2012, Hugh Dickins wrote: > > @@ -1825,6 +1825,7 @@ static bool khugepaged_prealloc_page(struct page > > **hpage, bool *wait) > > return false; > > > > *wait = false; > > + *hpage = NULL; > > khugepaged_alloc_sleep(); > > }

Re: [GIT PULL] msm-core changes for v3.7

2012-09-13 Thread Olof Johansson
Hi, On Wed, Sep 12, 2012 at 9:58 AM, David Brown wrote: > The following changes since commit 28a33cbc24e4256c143dce96c7d93bf423229f92: > > Linux 3.5 (2012-07-21 13:58:29 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git

Re: linux-next: Tree for Sept 12 (kernel-panic after pressing any key at X login)

2012-09-13 Thread Sedat Dilek
On Thu, Sep 13, 2012 at 8:04 AM, Minchan Kim wrote: > On Thu, Sep 13, 2012 at 07:29:32AM +0200, Sedat Dilek wrote: >> On Thu, Sep 13, 2012 at 5:18 AM, Sedat Dilek wrote: >> > On Wed, Sep 12, 2012 at 10:46 AM, Stephen Rothwell >> > wrote: >> >> Hi all, >> >> >> >> Changes since 201209011: >> >>

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-13 Thread Fengguang Wu
On Wed, Sep 12, 2012 at 03:28:42AM +0900, OGAWA Hirofumi wrote: > > If bdi has BDI_CAP_NO_WRITEBACK, bdi_forker_thread() doesn't start > writeback thread. This means there is no consumer of work item made > by bdi_queue_work(). > > This adds to checking of !bdi_cap_writeback_dirty(sb->s_bdi)

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Alex Courbot
On Thursday 13 September 2012 14:25:53 Mark Brown wrote: > On Thu, Sep 13, 2012 at 03:23:06PM +0900, Alex Courbot wrote: > > I understand the logic behind handling powering sequences in the device > > driver, but as we discussed for some classes of devices this might just > > not > > scale. I

linux-next: manual merge of the arm-soc tree with the i2c-embedded tree

2012-09-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/i2c/busses/i2c-omap.c between commit d9ebd04d3476 ("i2c: omap: switch to devm_* API") from the i2c-embedded tree and commit 07baca6f8fc2 ("i2c/i2c-omap: add a const qualifier") from the arm-soc tree. I fixed it up

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Tomi Valkeinen
On Thu, 2012-09-13 at 15:23 +0900, Alex Courbot wrote: > On Thursday 13 September 2012 13:50:47 Tomi Valkeinen wrote: > > I want to reiterate my opinion that I think power sequences in DT data > > is the wrong way to go. Powering sequences are device specific issues > > and should be handled in

Re: [PATCH] of: specify initrd location using 64-bit

2012-09-13 Thread Sebastian Andrzej Siewior
On 09/13/2012 12:08 AM, Rob Herring wrote: Geert is right here. If it is a physical address, it should be phys_addr_t. While generally true, for the DT specific code I think it should be a fixed u64. The size of the address is defined by the FDT, not the kernel. It is very likely we could have

Re: [PATCH v6 0/4] Runtime Interpreted Power Sequences

2012-09-13 Thread Tomi Valkeinen
On Thu, 2012-09-13 at 15:23 +0900, Alex Courbot wrote: > DT support is actually the main point of power sequences, as outside of the > DT > we can always work the old way and use callbacks. If we were to remove DT > support, I am not sure this work would still be worth being merged. Ah, I

Re: linux-next: Tree for Sept 12 (kernel-panic after pressing any key at X login)

2012-09-13 Thread Dmitry Torokhov
On Thu, Sep 13, 2012 at 08:36:36AM +0200, Sedat Dilek wrote: > On Thu, Sep 13, 2012 at 8:04 AM, Minchan Kim wrote: > > On Thu, Sep 13, 2012 at 07:29:32AM +0200, Sedat Dilek wrote: > >> On Thu, Sep 13, 2012 at 5:18 AM, Sedat Dilek wrote: > >> > On Wed, Sep 12, 2012 at 10:46 AM, Stephen Rothwell

Re: [PATCH REPOST RFC cgroup/for-3.7] cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them

2012-09-13 Thread Li Zefan
On 2012/9/13 0:34, Tejun Heo wrote: > Hello, > > On Wed, Sep 12, 2012 at 01:37:28PM +0400, Glauber Costa wrote: >> "If a cpuset is cpu or mem exclusive, no other cpuset, other than >> a direct ancestor or descendant, may share any of the same CPUs or >> Memory Nodes." >> >> So I think it tricked

Re: [RFC] sched: nohz_idle_balance

2012-09-13 Thread Mike Galbraith
On Thu, 2012-09-13 at 06:11 +0200, Vincent Guittot wrote: > On tickless system, one CPU runs load balance for all idle CPUs. > The cpu_load of this CPU is updated before starting the load balance > of each other idle CPUs. We should instead update the cpu_load of the > balance_cpu. > >

[PATCH V2] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-13 Thread Hebbar, Gururaja
From: Vaibhav Bedia In some cases mmc_suspend_host() is not able to claim the host and proceed with the suspend process. The core returns -EBUSY to the host controller driver. Unfortunately, the host controller driver does not pass on this information to the PM core and hence the system suspend

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