Re: [PATCH] loop: prevent bdev freeing while device in use

2013-04-02 Thread Al Viro
On Mon, Apr 01, 2013 at 10:58:55PM -0700, Anatol Pomozov wrote: loop_set_fd/loop_clr_fd (and any other loop ioctl) is called under loop_device-lo_ctl_mutex. Ok, good enough for me, I applied it, and it's commit c1681bf8a7b1b98edee8b862a42c19c4e53205fd in my tree. I assume it should

xfs deadlock on 3.9-rc5 running xfstests case #78

2013-04-02 Thread CAI Qian
Saw on almost all the servers range from x64, ppc64 and s390x with kernel 3.9-rc5 and xfsprogs-3.1.10. Never caught this in 3.9-rc4, so looks like something new broke this. Log is here with sysrq debug info. http://people.redhat.com/qcai/stable/log CAI Qian -- To unsubscribe from this list: send

[PATCH] Build fix for ARM. The UAPI changes split kernel API and userspace API content onto two separate header files and assumed a full linux build. This trips up embedded builds.

2013-04-02 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan victoredwardocallag...@gmail.com --- include/uapi/drm/drm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/drm/drm.h b/include/uapi/drm/drm.h index 8d1e2bb..73a99e4 100644 --- a/include/uapi/drm/drm.h +++ b/include/uapi/drm/drm.h

linux-next: manual merge of the usb-gadget tree with the tree

2013-04-02 Thread Stephen Rothwell
Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/chipidea/udc.c between commit adf0f735e61a (usb: chipidea: move debug files creation/removal to the core) from the usb tree and commit dc9e2873b740 (usb: chipidea: let udc-core manage gadget-dev) from the

RE: [PATCH v7 03/14] spi/spi-atmel: add physical base address

2013-04-02 Thread Yang, Wenyou
Hi, Mark, -Original Message- From: Yang, Wenyou Sent: 2013年4月2日 13:50 To: 'Mark Brown' Cc: linux-arm-ker...@lists.infradead.org; grant.lik...@secretlab.ca; richard.gen...@gmail.com; plagn...@jcrosoft.com; Ferre, Nicolas; Lin, JM; spi-devel-gene...@lists.sourceforge.net;

Re: [RFC PATCH 1/2] cpuidle: Add idle enter/exit time stamp for notifying current idle state.

2013-04-02 Thread jonghwa3 . lee
On 2013년 04월 02일 14:00, Daniel Lezcano wrote: On 04/01/2013 10:24 AM, Jonghwa Lee wrote: This patch adds idle state time stamp to cpuidle device structure to notify its current idle state. If last enter time is newer than last exit time, then it means that the core is in idle now.

Re: mkfs.f2fs gets stuck with blk_update_request: bio idx 0 = vcnt 0 on 3.8

2013-04-02 Thread Vyacheslav Dubeyko
On Tue, 2013-04-02 at 00:21 +0400, Max Filippov wrote: [snip] Could you share cat /proc/partitions and strace mkfs.f2fs /dev/mmcblk0p3 outputs? I think that these outputs can be very useful for issue analysis. By the way, can you reproduce the issue on another SD-card? Do you

Re: [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id

2013-04-02 Thread PADMAVATHI VENNA
Hi, --- Original Message --- Sender : Lars-Peter Clausenl...@metafoo.de Date : Mar 25, 2013 22:16 (GMT+09:00) Title : [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id Use the generic of_dma_xlate_by_chan_id xlate callback instead of a custom implementation. There is one

NULL pointer at kset_find_obj

2013-04-02 Thread CAI Qian
Just booted the latest mainline, [ 35.217698] Request for unknown module key 'Magrathea: Glacier signing key: 8b7774b08bc4ee9637073434c10f0823f6fbe523' err -11 [ 35.218511] BUG: unable to handle kernel paging request at a03093f0 [ 35.218521] IP: [81304710]

linux-next: build failure after merge of the char-misc tree

2013-04-02 Thread Stephen Rothwell
Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/misc/cs5535-mfgpt.c:30:3: warning: missing terminating character [enabled by default] drivers/misc/cs5535-mfgpt.c:31:31: warning: missing terminating character [enabled by

[RFT][PATCH 1/2] regulator: ab8500: Fix list_voltage for fixed voltage regulators

2013-04-02 Thread Axel Lin
commit b080c78a4e447e9c212c207f725999d4e32c5f19 regulator: ab8500: Update voltage handling for fixed voltage regulators remove min_uV settings and set volt_table for all fixed voltage, thus we can not use regulator_list_voltage_linear now. Use regulator_list_voltage_table instead. Signed-off-by:

[RFT][PATCH 2/2] regulator: ab8500: Add missing volt_table setting for AB8540_LDO_TVOUT

2013-04-02 Thread Axel Lin
This is required for regulator_list_voltage_table() to properly work. Signed-off-by: Axel Lin axel@ingics.com --- Hi, The setting is copied from AB8500_LDO_TVOUT, I don't have the datasheet. Can someone test and review if this patch is correct or not? Axel drivers/regulator/ab8500.c |1

Re: [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id

2013-04-02 Thread Lars-Peter Clausen
On 04/02/2013 08:27 AM, PADMAVATHI VENNA wrote: Hi, --- Original Message --- Sender : Lars-Peter Clausenl...@metafoo.de Date : Mar 25, 2013 22:16 (GMT+09:00) Title : [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id Use the generic of_dma_xlate_by_chan_id xlate

Re: [PATCH v2 1/3] slub: correct to calculate num of acquired objects in get_partial_node()

2013-04-02 Thread Pekka Enberg
On Tue, Mar 19, 2013 at 7:10 AM, Joonsoo Kim iamjoonsoo@lge.com wrote: Could you pick up 1/3, 3/3? These are already acked by Christoph. 2/3 is same effect as Glauber's slub: correctly bootstrap boot caches, so should skip it. Applied, thanks! -- To unsubscribe from this list: send the

[PATCH v2] cs5535-mfgpt: Add another reset method

2013-04-02 Thread Richard Weinberger
The CS5535/CS5536 MFGPT has no support to reset the device. The current method uses an undocumented bit but does not work on all devices. At least on my ALIX board it completely freezes the board. This new method tries to soft reset all timers by unconfiguring them. But this does not clear the RO

Re: [PATCH 3/5] dump_stack: consolidate dump_stack() implementations and unify their behaviors

2013-04-02 Thread Martin Schwidefsky
On Sat, 30 Mar 2013 12:45:35 +0100 Heiko Carstens heiko.carst...@de.ibm.com wrote: On Fri, Mar 29, 2013 at 07:27:06PM -0700, Tejun Heo wrote: Both dump_stack() and show_stack() are currently implemented by each architecture. show_stack(NULL, NULL) dumps the backtrace for the current task

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-04-02 Thread Pekka Enberg
On Tue, Apr 2, 2013 at 3:42 AM, Joonsoo Kim iamjoonsoo@lge.com wrote: I have a vague memory that Joonsoo also ran into this issue awhile back. Yes. I sent a patch for this two month ago. :) It's applied now. Pekka -- To unsubscribe from this list: send the line

[PATCH] romfs: fix nommu map length to keep inside filesystem

2013-04-02 Thread gerg
From: Greg Ungerer g...@uclinux.org Checks introduced in commit 4991e7251 (romfs: do not use mtd-get_unmapped_area directly) re-introduce problems fixed in the earlier commit 2b4b2482e (romfs: fix romfs_get_unmapped_area() argument check). If a flat binary app is located at the end of a romfs,

Re: linux-next: build failure after merge of the char-misc tree

2013-04-02 Thread Richard Weinberger
Am Tue, 2 Apr 2013 17:29:50 +1100 schrieb Stephen Rothwell s...@canb.auug.org.au: Hi all, After merging the char-misc tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/misc/cs5535-mfgpt.c:30:3: warning: missing terminating character [enabled by default]

linux-next: manual merge of the imx-mxs tree with the arm-soc tree

2013-04-02 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in arch/arm/Kconfig.debug between commit 266c347924f5 (ARM: nomadik: move debugmacro to debug includes) from the arm-soc tree and commit 11c6f861cf3a (ARM: mxs: rename debug-macro.S for multiplatform build) from the imx-mxs

linux-next: manual merge of the imx-mxs tree with the arm-soc tree

2013-04-02 Thread Stephen Rothwell
Hi Shawn, Today's linux-next merge of the imx-mxs tree got a conflict in drivers/clocksource/Makefile between commit 275786b71d42 (ARM: sirf: use clocksource_of infrastructure) from the arm-soc tree and commit c74512bf83f3 (ARM: mxs: move timer driver into drivers/clocksource) from the imx-mxs

Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-02 Thread Dave Chinner
[Added jens Axboe to CC] On Tue, Apr 02, 2013 at 02:08:49AM -0400, CAI Qian wrote: Saw on almost all the servers range from x64, ppc64 and s390x with kernel 3.9-rc5 and xfsprogs-3.1.10. Never caught this in 3.9-rc4, so looks like something new broke this. Log is here with sysrq debug info.

linux-next: manual merge of the tegra tree with the i2c tree

2013-04-02 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tegra tree got a conflict in arch/arm/mach-tegra/tegra.c between commit 49a64ac555f1 (i2c: tegra: assume CONFIG_OF, remove platform data) from the i2c tree and commit d591fdf8e23e (ARM: tegra: expose chip ID and revision) from the tegra tree. I fixed it up

RE: [PATCH] usb: host: tegra: Reset Tegra USB controller before init

2013-04-02 Thread Venu Byravarasu
-Original Message- From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] Sent: Tuesday, March 05, 2013 6:04 AM To: Stephen Warren Cc: Venu Byravarasu; st...@rowland.harvard.edu; linux- u...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] usb: host:

Re: [PATCH] pwm: twl: Return proper error if twl6030_pwm_enable() fails

2013-04-02 Thread Peter Ujfalusi
On 03/31/2013 05:07 PM, Axel Lin wrote: Return proper error instead of 0 if twl6030_pwm_enable() fails. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/pwm/pwm-twl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH 3/4] pwm: twl-led: Add .owner to struct pwm_ops

2013-04-02 Thread Peter Ujfalusi
On 03/31/2013 05:16 AM, Axel Lin wrote: Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/pwm/pwm-twl-led.c |2 ++ 1 file

Re: [PATCH 4/4] pwm: twl: Add .owner to struct pwm_ops

2013-04-02 Thread Peter Ujfalusi
On 03/31/2013 05:17 AM, Axel Lin wrote: Add missing .owner of struct pwm_ops. This prevents the module from being removed from underneath its users. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/pwm/pwm-twl.c |2 ++ 1 file

[PATCH cpuset] Use rebuild_sched_domains() in cpuset_hotplug_workfn()

2013-04-02 Thread Li Zhong
In cpuset_hotplug_workfn(), partition_sched_domains() is called without hotplug lock held, which is actually needed (stated in the function header of partition_sched_domains()). This patch tries to use rebuild_sched_domains() to solve the above issue, and makes the code looks a little simpler.

Re: [PATCH v2] cs5535-mfgpt: Add another reset method

2013-04-02 Thread Stephen Rothwell
Hi Richard, On Tue, 2 Apr 2013 08:46:37 +0200 Richard Weinberger rich...@nod.at wrote: The CS5535/CS5536 MFGPT has no support to reset the device. The current method uses an undocumented bit but does not work on all devices. At least on my ALIX board it completely freezes the board. This

Re: [PATCH] cpuimx27 and mbimx27: prepend CONFIG_ to Kconfig macro

2013-04-02 Thread Sascha Hauer
Eric, Any comment to this one? It looks like an obvious bugfix, but since this is quite old and was never noticed I wonder if there's something else wrong aswell? Sascha On Fri, Mar 22, 2013 at 01:15:02AM +0100, Paul Bolle wrote: Commit 2d66c7803595da0d4bcd949825d598575f5de9e6 (cpuimx27 and

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-02 Thread Jens Axboe
On Tue, Apr 02 2013, Dave Chinner wrote: [Added jens Axboe to CC] On Tue, Apr 02, 2013 at 02:08:49AM -0400, CAI Qian wrote: Saw on almost all the servers range from x64, ppc64 and s390x with kernel 3.9-rc5 and xfsprogs-3.1.10. Never caught this in 3.9-rc4, so looks like something new

Re: gpio-ucb1400

2013-04-02 Thread Jean Delvare
Le lundi 01 avril 2013 à 16:32 +0100, Mark Brown a écrit : On Mon, Apr 01, 2013 at 01:06:43PM +0200, Jean Delvare wrote: My point was, the upstream gpio-ucb1400 driver in its current form is unusable (on top of being ugly.) I have no doubt that someone used that driver successfully in

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-02 Thread Michael Wang
On 04/02/2013 11:23 AM, Alex Shi wrote: [snip] [patch v3 1/8] Revert sched: Introduce temporary FAIR_GROUP_SCHED [patch v3 2/8] sched: set initial value of runnable avg for new [patch v3 3/8] sched: only count runnable avg on cfs_rq's nr_running [patch v3 4/8] sched: update cpu load after

Re: [PATCH] cpuimx27 and mbimx27: prepend CONFIG_ to Kconfig macro

2013-04-02 Thread Eric Bénard
Hi Sascha, Le Tue, 2 Apr 2013 09:18:00 +0200, Sascha Hauer s.ha...@pengutronix.de a écrit : Any comment to this one? It looks like an obvious bugfix, but since this is quite old and was never noticed I wonder if there's something else wrong aswell? the patch seems OK. Acked-by: Eric Bénard

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-02 Thread Jens Axboe
On Tue, Apr 02 2013, Jens Axboe wrote: On Tue, Apr 02 2013, Dave Chinner wrote: [Added jens Axboe to CC] On Tue, Apr 02, 2013 at 02:08:49AM -0400, CAI Qian wrote: Saw on almost all the servers range from x64, ppc64 and s390x with kernel 3.9-rc5 and xfsprogs-3.1.10. Never caught this

Re: [RFC PATCH 1/2] cpuidle: Add idle enter/exit time stamp for notifying current idle state.

2013-04-02 Thread Daniel Lezcano
On 04/02/2013 08:17 AM, jonghwa3@samsung.com wrote: On 2013년 04월 02일 14:00, Daniel Lezcano wrote: On 04/01/2013 10:24 AM, Jonghwa Lee wrote: This patch adds idle state time stamp to cpuidle device structure to notify its current idle state. If last enter time is newer than last exit

[PATCH] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-02 Thread Li Zefan
If memcg_init_kmem() returns -errno when a memcg is being created, mem_cgroup_css_online() will decrement memcg and its parent's refcnt, (but strangely there's no mem_cgroup_put() for mem_cgroup_get() called in memcg_propagate_kmem()). But then cgroup core will call mem_cgroup_css_free() to do

[PATCH] cs5535-mfgpt: Fix quotation marks

2013-04-02 Thread Richard Weinberger
Commit cs5535-mfgpt: Add another reset method introduced an unterminated string and broke the build. Reported-by: Stephen Rothwell s...@canb.auug.org.au Signed-off-by: Richard Weinberger rich...@nod.at --- drivers/misc/cs5535-mfgpt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [RFC] perf: need to expose sched_clock to correlate user samples with kernel samples

2013-04-02 Thread Peter Zijlstra
On Mon, 2013-04-01 at 11:29 -0700, John Stultz wrote: I'm still not sold on the CLOCK_PERF posix clock. The semantics are still too hand-wavy and implementation specific. How about we define the semantics as: match whatever comes out of perf (and preferably ftrace by default) stuff? Since

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

2013-04-02 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (arm defconfig) failed like this: drivers/tty/serial/amba-pl011.c: In function 'pl011_rx_chars': drivers/tty/serial/amba-pl011.c:1199:11: error: 'struct uart_amba_port' has no member named 'dmarx'

Re: [PATCH] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-02 Thread Li Zefan
On 2013/4/2 15:35, Li Zefan wrote: If memcg_init_kmem() returns -errno when a memcg is being created, mem_cgroup_css_online() will decrement memcg and its parent's refcnt, (but strangely there's no mem_cgroup_put() for mem_cgroup_get() called in memcg_propagate_kmem()). The comment in

Re: [PATCH] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-02 Thread Glauber Costa
On 04/02/2013 12:03 PM, Li Zefan wrote: On 2013/4/2 15:35, Li Zefan wrote: If memcg_init_kmem() returns -errno when a memcg is being created, mem_cgroup_css_online() will decrement memcg and its parent's refcnt, (but strangely there's no mem_cgroup_put() for mem_cgroup_get() called in

linux-next: Tree for Apr 2

2013-04-02 Thread Stephen Rothwell
Hi all, Changes since 20130328: The vfs tree gained a conflict against the ia64 tree and a build failure so I used the version from next-20130328. The vl4-dvb tree lost its build failure. The cpuidle tree gained a conflict against Linus' and the pm trees. The slave-dma tree gained a build

Re: [PATCH 2/5] sched: factor out code to should_we_balance()

2013-04-02 Thread Peter Zijlstra
On Thu, 2013-03-28 at 16:58 +0900, Joonsoo Kim wrote: Now checking that this cpu is appropriate to balance is embedded into update_sg_lb_stats() and this checking has no direct relationship to this function. There is not enough reason to place this checking at update_sg_lb_stats(), except

Re: [PATCH 1/3] pwm: imx: Remove enabled field from struct imx_chip

2013-04-02 Thread Sascha Hauer
On Sun, Mar 31, 2013 at 10:59:47PM +0800, Axel Lin wrote: We can test PWMF_ENABLED bit to know if pwm is enabled or not. Thus remove enabled field from struct imx_chip. Signed-off-by: Axel Lin axel@ingics.com Looks good. Acked-by: Sascha Hauer s.ha...@pengutronix.de Sascha ---

Re: [RFC] dmaengine: omap-dma: Start DMA without delay

2013-04-02 Thread Peter Ujfalusi
Russell, On 03/29/2013 06:31 PM, Russell King - ARM Linux wrote: On Fri, Mar 29, 2013 at 03:12:03PM +0100, Peter Ujfalusi wrote: Remove the use of a tasklet to start the DMA channel when issue_pending is called. The use of tasklet delays the DMA start which can cause issues at drivers, for

Re: [PATCH v3 2/3] arm: davinci: clock node support for ECAP EHRPWM

2013-04-02 Thread Sekhar Nori
On 3/25/2013 1:19 PM, Philip Avinash wrote: Add clock node support for ECAP and EHRPWM modules. Also adds TBCLK for EHRWPM TBCLK to comply with pwm-tiehrpwm driver. Signed-off-by: Philip Avinash avinashphi...@ti.com Queuing this for v3.10 Thanks, Sekhar -- To unsubscribe from this list:

Re: [PATCH 01/23] perf: initial infrasructure for kconfig

2013-04-02 Thread Paul Bolle
On Mon, 2013-04-01 at 21:54 -0600, David Ahern wrote: Add Pconfig file which will hold the build options. Update Makefile with new config files. Signed-off-by: David Ahern dsah...@gmail.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Borislav Petkov b...@alien8.de Cc: Frederic

Re: Freescale FEC: fall back to random address

2013-04-02 Thread Frank Li
I think it is okay. 2013/4/1 Pavel Machek pa...@denx.de: If there's no valid ethernet address, fall back to randomly generated one. (Yes, I need to get newer u-boot for the board, but as the only available one is from 2009... this might be good idea). Signed-off-by: Pavel Machek

Re: [PATCH v2] ARM: OMAP4: clock: Add device tree support for AUXCLKs

2013-04-02 Thread Roger Quadros
+ Paul On 03/26/2013 12:23 PM, Roger Quadros wrote: Register a device tree clock provider for the clocks on the OMAP4 SoC. Also provide the binding information. For now we only provide AUXCLKs. Signed-off-by: Roger Quadros rog...@ti.com --- .../devicetree/bindings/clock/omap4-clock.txt

Re: [PATCH v3 01/11] usb: phy: Add APIs for runtime power management

2013-04-02 Thread Felipe Balbi
On Mon, Apr 01, 2013 at 07:24:00PM +0530, Vivek Gautam wrote: Adding APIs to handle runtime power management on PHY devices. PHY consumers may need to wake-up/suspend PHYs when they work across autosuspend. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- include/linux/usb/phy.h

[PATCH v2 net-next 1/8] r8169: Remove firmware code

2013-04-02 Thread Hayes Wang
Some codes are belong to binary codes and should be removed. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 26 -- 1 file changed, 26 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169.c

[PATCH v2 net-next 6/8] r8169: add a new chip for RTL8111G

2013-04-02 Thread Hayes Wang
Add a new chip for RTL8111G series. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 45 1 file changed, 45 insertions(+) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c

[PATCH v2 net-next 5/8] r8169: Update the RTL8111G parameters

2013-04-02 Thread Hayes Wang
- replace rtl8168g-1.fw with rtl8168g-2.fw which support new method. - fix PHY power down is useless. - disable rx early which causes the rx abnormal. - enable auto fifo. - set 10M IFG to default value. - fix the conflict between jumbo frame and flow control. Signed-off-by: Hayes Wang

[PATCH v2 net-next 8/8] r8169: add a new chip for RTL8106E

2013-04-02 Thread Hayes Wang
Add a new chip for RTL8106E series. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c index

Re: [PATCH] drm: fix i_mapping and f_mapping initialization in drm_open in error path

2013-04-02 Thread Michal Hocko
On Mon 01-04-13 13:14:50, Ilija Hadzic wrote: On Sun, 31 Mar 2013, Michal Hocko wrote: On Sat 30-03-13 18:26:53, Ilija Hadzic wrote: This looks a bit like a hack and it doesn't look right, conceptually. If the call fails, it should restore things as if nothing has ever happened and

Re: [PATCH] ARM: ux500: update V-INTCORE constraints

2013-04-02 Thread Linus Walleij
On Wed, Mar 27, 2013 at 4:21 PM, Fabio Baltieri fabio.balti...@linaro.org wrote: Update V-INTCORE regulator constraints to allow voltage and configuration changes from consumer drivers. Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- Hi Linus, this patch adds the regulators

[PATCH v2 net-next 7/8] r8169: adjust the flow of hw_start

2013-04-02 Thread Hayes Wang
The suggestion as following: - initial settings or default settings - rtl_hw_start_xxx. rtl_hw_start_xxx may change some default settings. - enable tx/rx. This has to be after the above two steps. - rtl_set_rx_mode. AcceptXXXs have to be enabled after enabling tx/rx. Signed-off-by: Hayes Wang

Re: [PATCH] memcg: fix memcg_cache_name() to use cgroup_name()

2013-04-02 Thread Michal Hocko
Tejun, could you take this one please? On Thu 28-03-13 08:48:14, Michal Hocko wrote: On Wed 27-03-13 18:32:23, Michal Hocko wrote: [...] Removed WARN_ON_ONCE as suggested by Johannes and kept kmalloc with PATH_MAX used instead of PAGE_SIZE. I've kept Glauber's acked-by but I can remove

[PATCH v2 net-next 3/8] r8169: Update PHY settings of RTL8111G

2013-04-02 Thread Hayes Wang
Add the new settings and correct the wrong settings. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 24 ++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/realtek/r8169.c

[PATCH v2 net-next 4/8] r8169: Modify the method for setting firmware

2013-04-02 Thread Hayes Wang
Remove useless action PHY_READ_EFUSE, PHY_READ_MAC_BYTE, PHY_WRITE_MAC_BYTE, PHY_WRITE_ERI_WORD. And define the new action PHY_MDIO_CHG. PHY_MDIO_CHG is used to modify the mdio operation. By the way, the firmware could support setting mac ocp. Signed-off-by: Hayes Wang hayesw...@realtek.com ---

[PATCH v2 net-next 2/8] r8169: Modify the mothod for PHY settings of RTL8111G

2013-04-02 Thread Hayes Wang
Replace the current settings with rtl_writephy and rtl_readphy. For the hardware, the settings are same with previous ones. This make the setting method like the previous chips. Signed-off-by: Hayes Wang hayesw...@realtek.com --- drivers/net/ethernet/realtek/r8169.c | 52

Re: [PATCH v3 02/11] USB: dwc3: Adjust runtime pm to allow autosuspend

2013-04-02 Thread Felipe Balbi
On Mon, Apr 01, 2013 at 07:24:01PM +0530, Vivek Gautam wrote: The current code in the dwc3 probe effectively disables runtime pm from ever working because it calls a get() that was never put() until device removal. Change the runtime pm code to match the standard formula and allow runtime pm

Re: [PATCH v3 04/11] usb: dwc3: Add runtime power management callbacks

2013-04-02 Thread Felipe Balbi
Hi, On Mon, Apr 01, 2013 at 07:24:03PM +0530, Vivek Gautam wrote: +#else +#define dwc3_runtime_suspend NULL +#define dwc3_runtime_resume NULL this #else branch is unnecessary. Look at the definition for SET_RUNTIME_PM_OPS() -- balbi signature.asc Description: Digital

[PATCH] clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3}

2013-04-02 Thread Tushar Behera
In legacy setup, sclk_mmc{0,1,2,3} used PRE_RATIO bit-field (8-bit wide) instead of RATIO bit-field (4-bit wide) for dividing clock rate. With current common clock setup, we are using RATIO bit-field which is creating FIFO read errors while accessing eMMC. Changing over to use PRE_RATIO bit-field

Re: [PATCH v3 05/11] usb: dwc3: exynos: Enable runtime power management

2013-04-02 Thread Felipe Balbi
On Mon, Apr 01, 2013 at 07:24:04PM +0530, Vivek Gautam wrote: Enabling runtime power management on dwc3-exynos letting dwc3 controller to be autosuspended on exynos platform when not in use. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com --- drivers/usb/dwc3/dwc3-exynos.c | 12

Re: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-02 Thread Sekhar Nori
On 3/25/2013 1:19 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. This looks fine to me but I will wait for the bindings to get accepted before taking this one. Thanks, Sekhar -- To unsubscribe from this

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-02 Thread Mike Galbraith
On Tue, 2013-04-02 at 15:23 +0800, Michael Wang wrote: On 04/02/2013 11:23 AM, Alex Shi wrote: [snip] [patch v3 1/8] Revert sched: Introduce temporary FAIR_GROUP_SCHED [patch v3 2/8] sched: set initial value of runnable avg for new [patch v3 3/8] sched: only count runnable avg on

Re: [PATCH] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-02 Thread Li Zefan
On 2013/4/2 16:07, Glauber Costa wrote: On 04/02/2013 12:03 PM, Li Zefan wrote: On 2013/4/2 15:35, Li Zefan wrote: If memcg_init_kmem() returns -errno when a memcg is being created, mem_cgroup_css_online() will decrement memcg and its parent's refcnt, (but strangely there's no

Re: [PATCH v3 0/3] Platform support for EHRPWM ECAP devices in DAVINCI.

2013-04-02 Thread Sekhar Nori
On 3/25/2013 1:19 PM, Philip Avinash wrote: Add platform support for EHRPWM and ECAP by providing clock nodes and device tree nodes. This series depends on [1] and [2] and is available for testing at [3]. Tested for back light support in da850 EVM with EHRPWM PWM device. [1]

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-02 Thread Alex Shi
On 04/02/2013 03:23 PM, Michael Wang wrote: [patch v3 8/8] sched: use instant load for burst wake up I've tested the patch set on 12 cpu X86 box with 3.9.0-rc2, and pgbench show regression on high-end this time. | db_size | clients | tps | | tps | +-+-+---+

Re: [PATCH] ARM: ux500: update V-INTCORE constraints

2013-04-02 Thread Mark Brown
On Tue, Apr 02, 2013 at 10:26:12AM +0200, Linus Walleij wrote: I know that Lee's been sending off a large set of regulator patches lately, some include alterations to this platform config. Maybe it's better to take this patch into the regulator tree if these machine configs will come in that

Re: [PATCH v4 1/6] drivers: phy: add generic PHY framework

2013-04-02 Thread Kishon Vijay Abraham I
Hi, On Thursday 28 March 2013 09:15 PM, Stephen Warren wrote: On 03/27/2013 11:43 PM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the diff --git

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-02 Thread CAI Qian
- Original Message - From: Jens Axboe ax...@kernel.dk To: Dave Chinner da...@fromorbit.com Cc: CAI Qian caiq...@redhat.com, x...@oss.sgi.com, LKML linux-kernel@vger.kernel.org Sent: Tuesday, April 2, 2013 3:30:35 PM Subject: Re: Loopback device hung [was Re: xfs deadlock on

Re: [PATCH 6/9] perf sort: Add 'addr' sort key

2013-04-02 Thread Jiri Olsa
On Tue, Apr 02, 2013 at 11:15:23AM +0900, Namhyung Kim wrote: On Mon, 1 Apr 2013 22:40:23 +0200, Jiri Olsa wrote: On Mon, Apr 01, 2013 at 08:35:22PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com New addr sort key provides a way to sort the entries by the symbol

Re: [PATCH v4 1/6] drivers: phy: add generic PHY framework

2013-04-02 Thread Kishon Vijay Abraham I
Hi, On Tuesday 02 April 2013 01:04 AM, Sylwester Nawrocki wrote: Just couple minor comments... On 03/28/2013 06:43 AM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY

Re: [PATCHv3 03/10] ARM: smp_twd: Divorce smp_twd from local timer API

2013-04-02 Thread Mark Rutland
On Thu, Mar 28, 2013 at 08:09:31PM +, Stephen Boyd wrote: On 03/28/13 08:22, Mark Rutland wrote: This works on my A9x4 coretile, bringing CPUs up and down via /sys/devices/system/cpu/*/online, so: Tested-by: Mark Rutland mark.rutl...@arm.com Thanks. I still need to resolve patch #1

Re: [PATCH] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-02 Thread Glauber Costa
On 04/02/2013 12:34 PM, Li Zefan wrote: On 2013/4/2 16:07, Glauber Costa wrote: On 04/02/2013 12:03 PM, Li Zefan wrote: On 2013/4/2 15:35, Li Zefan wrote: If memcg_init_kmem() returns -errno when a memcg is being created, mem_cgroup_css_online() will decrement memcg and its parent's refcnt,

Re: linux-next: manual merge of the usb-gadget tree with the tree

2013-04-02 Thread Felipe Balbi
Hi, On Tue, Apr 02, 2013 at 05:11:43PM +1100, Stephen Rothwell wrote: Hi Felipe, Today's linux-next merge of the usb-gadget tree got a conflict in drivers/usb/chipidea/udc.c between commit adf0f735e61a (usb: chipidea: move debug files creation/removal to the core) from the usb tree and

Re: [PATCH] memcg: don't do cleanup manually if mem_cgroup_css_online() fails

2013-04-02 Thread Glauber Costa
On 04/02/2013 11:35 AM, Li Zefan wrote: If memcg_init_kmem() returns -errno when a memcg is being created, mem_cgroup_css_online() will decrement memcg and its parent's refcnt, (but strangely there's no mem_cgroup_put() for mem_cgroup_get() called in memcg_propagate_kmem()). But then cgroup

Re: [PATCH] ARM: ux500: update V-INTCORE constraints

2013-04-02 Thread Fabio Baltieri
Hi Mark, Linus, On Tue, Apr 02, 2013 at 09:38:30AM +0100, Mark Brown wrote: On Tue, Apr 02, 2013 at 10:26:12AM +0200, Linus Walleij wrote: I know that Lee's been sending off a large set of regulator patches lately, some include alterations to this platform config. Maybe it's better to

Re: gpio-ucb1400

2013-04-02 Thread Mark Brown
On Tue, Apr 02, 2013 at 09:22:37AM +0200, Jean Delvare wrote: Le lundi 01 avril 2013 à 16:32 +0100, Mark Brown a écrit : What the driver is doing is, unfortunately, the best practice for an AC'97 connected device like this - we've got an uncomfortable mix of an enumerable bus and platform

Re: [PATCH] ARM: ux500: update V-INTCORE constraints

2013-04-02 Thread Mark Brown
On Tue, Apr 02, 2013 at 10:44:46AM +0200, Fabio Baltieri wrote: Mark, would you consider taking this one in your tree? If someone sends me the patch... signature.asc Description: Digital signature

Re: [PATCH v2] davinci: vpif: add pm_runtime support

2013-04-02 Thread Hans Verkuil
On Mon 1 April 2013 08:36:50 Prabhakar lad wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com Add pm_runtime support to the TI Davinci VPIF driver. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Cc: Mauro Carvalho Chehab mche...@redhat.com Cc: Hans Verkuil

[PATCH RESEND] ARM: ux500: update V-INTCORE constraints

2013-04-02 Thread Fabio Baltieri
Update V-INTCORE regulator constraints to allow voltage and configuration changes from consumer drivers. Signed-off-by: Fabio Baltieri fabio.balti...@linaro.org --- arch/arm/mach-ux500/board-mop500-regulators.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] drivers/gpio: Altera soft IP GPIO driver

2013-04-02 Thread Linus Walleij
On Thu, Mar 28, 2013 at 12:40 PM, Tien Hock Loh th...@altera.com wrote: (...) +Altera GPIO specific properties: +- width: Width of the GPIO bank, range from 1-32 +- level_trigger: Specifies whether the GPIO interrupt is level trigger. + This field is required if the Altera GPIO

Re: [PATCH 3/4] uprobes/tracing: Kill the pointless local_save_flags/preempt_count calls

2013-04-02 Thread Anton Arapov
On Fri, Mar 29, 2013 at 07:15:45PM +0100, Oleg Nesterov wrote: uprobe_trace_func() is never called with irqs or preemption disabled, no need to ask preempt_count() or local_save_flags(). Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/trace/trace_uprobe.c | 10 +++--- 1

Re: [PATCH 2/4] uprobes/tracing: Kill the pointless seq_print_ip_sym() call

2013-04-02 Thread Anton Arapov
On Fri, Mar 29, 2013 at 07:15:43PM +0100, Oleg Nesterov wrote: seq_print_ip_sym(ip) in print_uprobe_event() is pointless, kallsyms_lookup(ip) can not resolve a user-space address. Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/trace/trace_uprobe.c |8 +--- 1 files

Re: [PATCH 1/4] uprobes/tracing: Kill the pointless task_pt_regs() calls

2013-04-02 Thread Anton Arapov
On Fri, Mar 29, 2013 at 07:15:40PM +0100, Oleg Nesterov wrote: uprobe_trace_func() and uprobe_perf_func() do not need task_pt_regs(), we already have struct pt_regs *regs. Signed-off-by: Oleg Nesterov o...@redhat.com --- kernel/trace/trace_uprobe.c |4 ++-- 1 files changed, 2

Re: [PATCH 4/4] uprobes/tracing: generalize struct uprobe_trace_entry_head

2013-04-02 Thread Anton Arapov
On Fri, Mar 29, 2013 at 07:15:48PM +0100, Oleg Nesterov wrote: struct uprobe_trace_entry_head has a single member for reporting, unsigned long ip. If we want to support uretprobes we need to create another struct which has func and ret_ip and duplicate a lot of functions, like trace_kprobe.c

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-02 Thread Jens Axboe
On Tue, Apr 02 2013, CAI Qian wrote: - Original Message - From: Jens Axboe ax...@kernel.dk To: Dave Chinner da...@fromorbit.com Cc: CAI Qian caiq...@redhat.com, x...@oss.sgi.com, LKML linux-kernel@vger.kernel.org Sent: Tuesday, April 2, 2013 3:30:35 PM Subject: Re:

Re: [PATCH] gpio: palmas: add dt support

2013-04-02 Thread Linus Walleij
On Thu, Mar 28, 2013 at 3:55 PM, Stephen Warren swar...@nvidia.com wrote: On 03/27/2013 11:59 PM, Laxman Dewangan wrote: On Wednesday 27 March 2013 06:30 PM, Linus Walleij wrote: On Thu, Mar 21, 2013 at 3:30 PM, Laxman Dewangan ldewan...@nvidia.com wrote: +#ifdef CONFIG_OF +static struct

Re: [v3.8, v3.9] [Regression] brcmsmac: move PHY functions

2013-04-02 Thread Piotr Haber
On 04/01/13 17:18, Joseph Salisbury wrote: On 04/01/2013 10:42 AM, John W. Linville wrote: On Fri, Mar 29, 2013 at 03:52:39PM -0400, Joseph Salisbury wrote: Hi Piotr, A bug was opened against the Ubuntu kernel[0]. After a kernel bisect, it was found that reverting the following commit

Re: [patch v6 10/21] sched: get rq potential maximum utilization

2013-04-02 Thread Namhyung Kim
Hi Alex, On Sat, 30 Mar 2013 22:34:57 +0800, Alex Shi wrote: Since the rt task priority is higher than fair tasks, cfs_rq utilization is just the left of rt utilization. When there are some cfs tasks in queue, the potential utilization may be yielded, so mulitiplying cfs task number to get

Re: Re: [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id

2013-04-02 Thread PADMAVATHI VENNA
Hi Lars, --- Original Message --- Sender : Lars-Peter Clausenl...@metafoo.de Date : Apr 02, 2013 16:33 (GMT+09:00) Title : Re: [PATCH 2/2] dma: pl330: Use the generic of_dma_xlate_by_chan_id On 04/02/2013 08:27 AM, PADMAVATHI VENNA wrote: Hi, --- Original Message --- Sender

[PATCH v3.7+] HID: magicmouse: fix race between input_register() and probe()

2013-04-02 Thread Benjamin Tissoires
Since kernel 3.7, it appears that the input registration occured before the end of magicmouse_setup_input(). This is shown by receiving a lot of EV_SYN SYN_REPORT 1 instead of normal EV_SYN SYN_REPORT 0. This value means that the output buffer is full, and the user space is loosing events. Using

Re: [patch v3 0/8] sched: use runnable avg in load balance

2013-04-02 Thread Michael Wang
On 04/02/2013 04:34 PM, Mike Galbraith wrote: [snip] The reason may caused by wake_affine()'s higher overhead, and pgbench is really sensitive to this stuff... For grins, you could try running the whole thing SCHED_BATCH. (/me sees singing/dancing red herring whenever wake_affine() and

[PATCH] irq: fix comment typo on irq_thread_check_affinity

2013-04-02 Thread Kefeng Wang
The CONFIG CPU_MASK_OFFSTACK mentioned should be CPUMASK_OFFSTACK, and fix a misspelling. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- kernel/irq/manage.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index

[tip:perf/core] perf tools: Get rid of redundant _FILE_OFFSET_BITS definition

2013-04-02 Thread tip-bot for Namhyung Kim
Commit-ID: 62baca8aed636eb10f9274761aa1dcbfd48a7caa Gitweb: http://git.kernel.org/tip/62baca8aed636eb10f9274761aa1dcbfd48a7caa Author: Namhyung Kim namhyung@lge.com AuthorDate: Tue, 19 Mar 2013 18:46:16 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 21 Mar

Re: [PATCH v2 5/5] dump_stack: unify debug information printed by show_regs()

2013-04-02 Thread Jesper Nilsson
On Fri, Mar 29, 2013 at 08:24:45PM -0700, Tejun Heo wrote: show_regs() is inherently arch-dependent but it does make sense to print generic debug information and some archs already do albeit in slightly different forms. This patch introduces a generic function to print debug information from

  1   2   3   4   5   6   7   8   9   10   >