RFE: tty color features

2012-09-25 Thread Dave Yost
(This is not a complete spec, only a sketch.) It would be nice to be able to specify fg/bg colors at the tty level, so that echoed characters can be colorized. Then your shell can arrange that shell command input is one fg/bg color, and other input taken by commands run from the shell is

Re: Load averages?

2012-09-25 Thread Timo Kokkonen
On 09.24 2012 22:39:54, Russell King wrote: I have here a cubox running v3.5, and I've been watching top while it's playing back an mpeg stream from NFS using vlc. rootfs on SD card, and it's uniprocessor. Top reports the following: top - 20:38:35 up 44 min, 3 users, load average:

[PATCH v4] media: v4l2-ctrls: add control for test pattern

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Acked-by: Sakari Ailus sakari.ai...@iki.fi

[v2 PATCH 0/2] Add UIO device supporting dynamic memory allocation

2012-09-25 Thread Damian Hobson-Garcia
Hello all, I've been using this UIO driver for allocation/deallocation of memory regions through an IOMMU via the dma-mapping API, but it seems that it would be more generally useful for userspace drivers to access CMA memory regions. I've kept all dynamic memory handling in the specific device

[v2 PATCH 1/2] Add new uio device for dynamic memory allocation

2012-09-25 Thread Damian Hobson-Garcia
This device extends the uio_pdrv_genirq driver to provide limited dynamic memory allocation for UIO devices. This allows UIO devices to use CMA and IOMMU allocated memory regions. This driver is based on the uio_pdrv_genirq driver and provides the same generic interrupt handling capabilities.

[v2 PATCH 2/2] Add uio_dmem_genirq description to UIO documentation

2012-09-25 Thread Damian Hobson-Garcia
Signed-off-by: Damian Hobson-Garcia dhobs...@igel.co.jp --- Documentation/DocBook/uio-howto.tmpl | 56 ++ 1 files changed, 56 insertions(+), 0 deletions(-) diff --git a/Documentation/DocBook/uio-howto.tmpl b/Documentation/DocBook/uio-howto.tmpl index

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

2012-09-25 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/omap-thermal/omap-thermal-common.c between commit 82d3a76a88cd (Thermal: Pass zone parameters as argument to tzd_register) from the thermal tree and commit 765a1939a364 (staging: omap-thermal: fix polling

Re: [PATCH v2] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-09-25 Thread Stephen Warren
On 09/24/2012 10:29 PM, Philip, Avinash wrote: On Fri, Sep 21, 2012 at 23:13:39, Stephen Warren wrote: On 09/21/2012 12:03 AM, Philip, Avinash wrote: Hi Stephen, On Fri, Sep 21, 2012 at 10:46:45, Stephen Warren wrote: On 09/20/2012 10:51 PM, Philip, Avinash wrote: Some backlights perform

Re: [PATCH v2] rtc: tps65910: Use platform_get_irq to get RTC irq details

2012-09-25 Thread Stephen Warren
On 09/24/2012 11:29 PM, Venu Byravarasu wrote: As RTC driver needs only irq number from platform data, using platform_get_irq(), instead of generic dev_get_platdata(). This seems fine to me now. However, it'd be useful to post all the patches related to this issue at one time, so we can get a

[PATCH net-next] net: raw: revert unrelated change

2012-09-25 Thread Eric Dumazet
From: Eric Dumazet eduma...@google.com Commit 5640f7685831 (net: use a per task frag allocator) accidentally contained an unrelated change to net/ipv4/raw.c, later committed (without the pr_err() debugging bits) in net tree as commit ab43ed8b749 (ipv4: raw: fix icmp_filter()) This patch reverts

[PATCH 4/4] Staging:bcm: fix coding style error in InterfaceRx.c

2012-09-25 Thread Ilya gorskin
This is a patch to the InterfaceRx.c file that fixes up a coding style issues found by the checkpatch.pl tool Signed-off-by: Ilya Gorskin reven...@gmail.com --- drivers/staging/bcm/InterfaceRx.c | 239 -- 1 file changed, 124 insertions(+), 115 deletions(-)

Re: [PATCH v4] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-25 Thread leroy christophe
Le 24/09/2012 20:30, Richard Cochran a écrit : On Mon, Sep 24, 2012 at 04:00:58PM +0200, Christophe Leroy wrote: diff -u a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c --- a/drivers/net/phy/lxt.c 2012-09-23 03:08:48.0 +0200 +++ b/drivers/net/phy/lxt.c 2012-09-23

Re: [PATCH v2] media: davinci: vpif: display: separate out subdev from output

2012-09-25 Thread Hans Verkuil
On Tue September 25 2012 07:38:12 Prabhakar Lad wrote: Hi Hans, On Mon, Sep 24, 2012 at 7:02 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon September 24 2012 15:21:44 Prabhakar Lad wrote: Hi Hans, On Mon, Sep 24, 2012 at 5:20 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon

Re: [PATCH v2] media: davinci: vpif: display: separate out subdev from output

2012-09-25 Thread Prabhakar Lad
Hi Hans, On Tue, Sep 25, 2012 at 11:59 AM, Hans Verkuil hverk...@xs4all.nl wrote: On Tue September 25 2012 07:38:12 Prabhakar Lad wrote: Hi Hans, On Mon, Sep 24, 2012 at 7:02 PM, Hans Verkuil hverk...@xs4all.nl wrote: On Mon September 24 2012 15:21:44 Prabhakar Lad wrote: Hi Hans, On

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

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in Documentation/devicetree/bindings/usb/platform-uhci.txt between commit 100d45970327 (ARM: vt8500: Add support for UHCI companion controller) from the usb tree and commit 95e9fd10f06c (arm: vt8500: doc: Add device tree bindings

Re: [PATCH 2/3] Staging:bcm: fix coding style error in InterfaceIsr.c

2012-09-25 Thread Dan Carpenter
On Tue, Sep 25, 2012 at 11:04:28AM +0600, Gorskin Ilya wrote: - if(((Adapter-bPreparingForLowPowerMode == TRUE) (Adapter-bDoSuspend == TRUE)) || - psIntfAdapter-bSuspended || - psIntfAdapter-bPreparingForBusSuspend) - { -

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

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/video/msm/mdp_hw.h between commit 8abf0b31e161 (video: msm: Remove useless mach/* includes) from the fbdev tree and commit 1ef21f6343ff (ARM: msm: move platform_data definitions) from the arm-soc tree. I fixed it up

Re: [PATCH] Revert __d_unalias() should refuse to move mountpoints

2012-09-25 Thread Maarten Lankhorst
Hey, Op 25-09-12 05:39, Eric W. Biederman schreef: Maarten Lankhorst maarten.lankho...@canonical.com writes: This reverts commit ee3efa91e240f513898050ef305a49a653c8ed90. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com My thread about the regression seemed to have been

Re: [PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-25 Thread Rusty Russell
Amit Shah amit.s...@redhat.com writes: On (Mon) 24 Sep 2012 [23:50:01], Sjur BRENDELAND wrote: Hi Amit, I'm sorry for not being able to look at this earlier. No worries. I'll try to respin and retest this patch by tomorrow. If you by any chance could find time to review so could make it

[PATCH 5/5] Staging:bcm: fix coding style error in InterfacerTx.c

2012-09-25 Thread Ilya gorskin
This is a patch to the InterfaceTx.c file that fixes up a coding style issues found by the checkpatch.pl tool Signed-off-by: Ilya Gorskin reven...@gmail.com --- drivers/staging/bcm/InterfaceTx.c | 201 +++--- 1 file changed, 103 insertions(+), 98 deletions(-)

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

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in sound/soc/omap/omap-mcbsp.c between commit 04564e325830 (ASoC: OMAP: mcbsp, mcpdm, dmic: Let omap-pcm to pick the dma_type) from the sound tree and commits 7d7e1eba7e92 (ARM: OMAP2+: Prepare for irqs.h removal) and

Re: [PATCH v3 1/2] writeback: add dirty_background_centisecs per bdi variable

2012-09-25 Thread Namjae Jeon
2012/9/25, Dave Chinner da...@fromorbit.com: On Thu, Sep 20, 2012 at 04:44:22PM +0800, Fengguang Wu wrote: [ CC FS and MM lists ] Patch looks good to me, however we need to be careful because it's introducing a new interface. So it's desirable to get some acks from the FS/MM developers.

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

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in sound/soc/omap/omap-pcm.c between commit 946cc36ae550 (ASoC: omap-pcm: Convert to use dmaengine) from the sound tree and commit 7d7e1eba7e92 (ARM: OMAP2+: Prepare for irqs.h removal) from the arm-soc tree. I fixed it up (see

Re: [PATCH 22/30] perf tools: bfd.h/libbfd detection fails with recent binutils

2012-09-25 Thread Markus Trippelsdorf
On 2012.09.24 at 19:58 -0400, Mike Frysinger wrote: On Monday 24 September 2012 11:59:36 Arnaldo Carvalho de Melo wrote: --- a/tools/perf/Makefile +++ b/tools/perf/Makefile - FLAGS_BFD=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) -lbfd + FLAGS_BFD=$(ALL_CFLAGS)

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

2012-09-25 Thread Matthias Kaehlcke
Hi Stephen, El Tue, Sep 25, 2012 at 01:47:35PM +1000 Stephen Rothwell ha dit: After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this: FATAL: modpost: GPL-incompatible module tps65217_bl.ko uses GPL-only symbol 'platform_driver_unregister' Caused by

Re: [PATCH v3 1/2] writeback: add dirty_background_centisecs per bdi variable

2012-09-25 Thread Namjae Jeon
2012/9/25, Jan Kara j...@suse.cz: On Thu 20-09-12 16:44:22, Wu Fengguang wrote: On Sun, Sep 16, 2012 at 08:25:42AM -0400, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com This patch is based on suggestion by Wu Fengguang: https://lkml.org/lkml/2011/8/19/19 kernel has

Re: [PATCHv4] virtio_console: Add support for remoteproc serial

2012-09-25 Thread Amit Shah
On (Tue) 25 Sep 2012 [14:55:04], Rusty Russell wrote: Amit Shah amit.s...@redhat.com writes: On (Mon) 24 Sep 2012 [23:50:01], Sjur BRENDELAND wrote: Hi Amit, I'm sorry for not being able to look at this earlier. No worries. I'll try to respin and retest this patch by tomorrow.

linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got conflicts in drivers/mtd/nand/bcm_umi_nand.c and drivers/mtd/nand/nand_bcm_umi.h between commit 07f4c69caf01 (mtd: remove bcmring NAND driver) from the l2-mtd tree and commit 878040ef831a (ARM: bcmring: use proper MMIO accessors) from the

Re: [PATCH 3/3] Staging:bcm: fix coding style error in InterfaceIsr.c

2012-09-25 Thread Dan Carpenter
On Tue, Sep 25, 2012 at 11:04:29AM +0600, Gorskin Ilya wrote: This is a patch to the InterfaceIsr.c file that fixes up a coding style issues found by the checkpatch.pl tool I'm afraid all these need to be redone along the lines which I explained in my other email. Signed-off-by: Ilya

Re: [PATCH v3 1/2] writeback: add dirty_background_centisecs per bdi variable

2012-09-25 Thread Namjae Jeon
2012/9/25, Namjae Jeon linkinj...@gmail.com: 2012/9/25, Dave Chinner da...@fromorbit.com: On Thu, Sep 20, 2012 at 04:44:22PM +0800, Fengguang Wu wrote: [ CC FS and MM lists ] Patch looks good to me, however we need to be careful because it's introducing a new interface. So it's desirable to

Re: [PATCH v4] media: v4l2-ctrls: add control for test pattern

2012-09-25 Thread Hans Verkuil
On Tue September 25 2012 08:09:05 Prabhakar wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Acked-by: Hans Verkuil hans.verk...@cisco.com Regards, Hans Signed-off-by:

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

2012-09-25 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got conflicts in arch/arm/mach-vt8500/bv07.c, arch/arm/mach-vt8500/devices-vt8500.c, arch/arm/mach-vt8500/devices-wm8505.c, arch/arm/mach-vt8500/devices.c, arch/arm/mach-vt8500/devices.h and arch/arm/mach-vt8500/wm8505_7in.c between commit

Re: [PATCH 5/5] Staging:bcm: fix coding style error in InterfacerTx.c

2012-09-25 Thread Dan Carpenter
On Tue, Sep 25, 2012 at 12:44:35PM +0600, Ilya gorskin wrote: This is a patch to the InterfaceTx.c file that fixes up a coding style issues found by the checkpatch.pl tool Stop! Read your email! Start over. Work more slowly. Don't do the bogus numbering: [patch] [patch 2/3] [patch 3/3]

RE: [PATCH v2] rtc: tps65910: Use platform_get_irq to get RTC irq details

2012-09-25 Thread Venu Byravarasu
-Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Tuesday, September 25, 2012 11:51 AM To: Venu Byravarasu Cc: a...@linux-foundation.org; a.zu...@towertech.it; linux- ker...@vger.kernel.org; rtc-li...@googlegroups.com Subject: Re: [PATCH v2] rtc: tps65910:

[patch 1/3] remoteproc: memory leak in rproc_handle_carveout()

2012-09-25 Thread Dan Carpenter
We only need to allocate mapping if there is an rproc domain. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com --- Static checker stuff. Handle with appropriate caution. diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index b6c6229..f163704 100644

Re: [PATCH 5/9] mm: compaction: Acquire the zone-lru_lock as late as possible

2012-09-25 Thread Minchan Kim
Hi Mel, I have a question below. On Fri, Sep 21, 2012 at 11:46:19AM +0100, Mel Gorman wrote: Compactions migrate scanner acquires the zone-lru_lock when scanning a range of pages looking for LRU pages to acquire. It does this even if there are no LRU pages in the range. If multiple processes

[PATCH] extcon: Fix return value in extcon_register_interest()

2012-09-25 Thread Sachin Kamat
Return the value obtained from extcon_find_cable_index() instead of -ENODEV. Fixes the following smatch info: drivers/extcon/extcon-class.c:478 extcon_register_interest() info: why not propagate 'obj-cable_index' from extcon_find_cable_index() instead of -19? Signed-off-by: Sachin Kamat

Re: RFE: tty color features

2012-09-25 Thread Jan Engelhardt
On Tuesday 2012-09-25 08:01, Dave Yost wrote: It would be nice to be able to specify fg/bg colors at the tty level, so that echoed characters can be colorized. The tty layer does not know what $TERM is used, so it cannot reliably produce any codes. But you can edit GNU screen because it has

[patch 2/3] remoteproc: snprintf() can return more than was printed

2012-09-25 Thread Dan Carpenter
snprintf() returns the number of characters which would have been printed if there were enough space. For example, on the first print if we fill up the 28 character string then it would return a number more than 30. Use scnprintf() instead because that returns the actual number of characters

Re: [PATCH] Revert __d_unalias() should refuse to move mountpoints

2012-09-25 Thread Eric W. Biederman
Maarten Lankhorst maarten.lankho...@canonical.com wrote: Hey, Op 25-09-12 05:39, Eric W. Biederman schreef: Maarten Lankhorst maarten.lankho...@canonical.com writes: This reverts commit ee3efa91e240f513898050ef305a49a653c8ed90. Signed-off-by: Maarten Lankhorst

[patch 3/3] remoteproc: return -EFAULT on copy_from_user failure

2012-09-25 Thread Dan Carpenter
copy_from_user() returns the number of bytes remaining to be copied, but we want to return an error code here. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/remoteproc/remoteproc_debugfs.c b/drivers/remoteproc/remoteproc_debugfs.c index ea90a56..157a573 100644 ---

Re: powerpc/perf: hw breakpoints return ENOSPC

2012-09-25 Thread Michael Neuling
Michael Neuling mi...@neuling.org wrote: Frederic Weisbecker fweis...@gmail.com wrote: On Thu, Aug 16, 2012 at 02:23:54PM +1000, Michael Neuling wrote: Hi, I've been trying to get hardware breakpoints with perf to work on POWER7 but I'm getting the following: % perf

Re: [PATCH net-next] net: raw: revert unrelated change

2012-09-25 Thread David Miller
From: Eric Dumazet eric.duma...@gmail.com Date: Tue, 25 Sep 2012 08:21:16 +0200 From: Eric Dumazet eduma...@google.com Commit 5640f7685831 (net: use a per task frag allocator) accidentally contained an unrelated change to net/ipv4/raw.c, later committed (without the pr_err() debugging bits)

[PATCH] pinctrl: Fix potential memory leak in pinctrl_register_one_pin()

2012-09-25 Thread Sachin Kamat
'pindesc' was not freed when returning from an error induced exit path. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/pinctrl/core.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index

Re: [PATCH 05/10] mm, util: Use dup_user to duplicate user memory

2012-09-25 Thread Pekka Enberg
On Sat, Sep 8, 2012 at 11:47 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Previously the strndup_user allocation was being done through memdup_user, and the caller was wrongly traced as being strndup_user (the correct trace must report the caller of strndup_user). This is a common

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

2012-09-25 Thread Tony Prisk
On Tue, 2012-09-25 at 16:37 +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the arm-soc tree got a conflict in Documentation/devicetree/bindings/usb/platform-uhci.txt between commit 100d45970327 (ARM: vt8500: Add support for UHCI companion controller) from the usb tree

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

2012-09-25 Thread Tony Prisk
On Tue, 2012-09-25 at 16:56 +1000, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the arm-soc tree got conflicts in arch/arm/mach-vt8500/bv07.c, arch/arm/mach-vt8500/devices-vt8500.c, arch/arm/mach-vt8500/devices-wm8505.c, arch/arm/mach-vt8500/devices.c,

Re: RFE: tty color features

2012-09-25 Thread Dave Yost
On Tue 2012-09-25, at 12:02 AM, Jan Engelhardt jeng...@inai.de wrote: On Tuesday 2012-09-25 08:01, Dave Yost wrote: It would be nice to be able to specify fg/bg colors at the tty level, so that echoed characters can be colorized. The tty layer does not know what $TERM is used, so it

Re: [PATCH 4/9] mm: compaction: Abort compaction loop if lock is contended or run too long

2012-09-25 Thread Minchan Kim
On Fri, Sep 21, 2012 at 11:46:18AM +0100, Mel Gorman wrote: From: Shaohua Li s...@fusionio.com Changelog since V2 o Fix BUG_ON triggered due to pages left on cc.migratepages o Make compact_zone_order() require non-NULL arg `contended' Changelog since V1 o only abort the compaction if

Re: [PATCH 6/9] mm: compaction: Acquire the zone-lock as late as possible

2012-09-25 Thread Minchan Kim
On Fri, Sep 21, 2012 at 11:46:20AM +0100, Mel Gorman wrote: Compactions free scanner acquires the zone-lock when checking for PageBuddy pages and isolating them. It does this even if there are no PageBuddy pages in the range. This patch defers acquiring the zone lock for as long as possible.

Re: [PATCH 6/9] mm: compaction: Acquire the zone-lock as late as possible

2012-09-25 Thread Minchan Kim
On Mon, Sep 24, 2012 at 09:52:38AM +0100, Mel Gorman wrote: On Fri, Sep 21, 2012 at 02:35:57PM -0700, Andrew Morton wrote: On Fri, 21 Sep 2012 11:46:20 +0100 Mel Gorman mgor...@suse.de wrote: Compactions free scanner acquires the zone-lock when checking for PageBuddy pages and

[PATCH 1/1] x86: Added support for Acer Aspire 5755G fan control.

2012-09-25 Thread Tero Keski-Valkama
This patch is a patch to add support for Acer Aspire 5755G fan control to acerhdf module for the latest BIOS version available in the Acer web site, V1.20. DSDT disassembly dump ... Offset (0xA7), OSTT, 8, OSST, 8, THLT, 8, TCNL, 8, MODE, 1, , 2, INIT, 1, FAN1, 1, FAN2, 1,

Re: [PATCH 7/9] Revert mm: have order 0 compaction start off where it left

2012-09-25 Thread Minchan Kim
On Fri, Sep 21, 2012 at 11:46:21AM +0100, Mel Gorman wrote: This reverts commit 7db8889a (mm: have order 0 compaction start off where it left) and commit de74f1cc (mm: have order 0 compaction start near a pageblock with free pages). These patches were a good idea and tests confirmed that

Re: [RFC v2 01/10] vfs: introduce private rb structures

2012-09-25 Thread Dave Chinner
On Sun, Sep 23, 2012 at 08:56:26PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com One root structure hot_info is defined, is hooked up in super_block, and will be used to hold rb trees root, hash list root and some other information, etc. Adds

Re: [PATCH 02/10] mm, slob: Use NUMA_NO_NODE instead of -1

2012-09-25 Thread Pekka Enberg
On Mon, Sep 24, 2012 at 8:13 PM, Ezequiel Garcia elezegar...@gmail.com wrote: Will you pick this (and the rest of cleanup patches) for v3.7 pull request? Or is there anything for me to redo? I merged all the patches except for the last one which conflicts with the kmem/memcg changes. -- To

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-25 Thread Raghavendra K T
On 09/24/2012 09:11 PM, Avi Kivity wrote: On 09/21/2012 08:24 PM, Raghavendra K T wrote: On 09/21/2012 06:32 PM, Rik van Riel wrote: On 09/21/2012 08:00 AM, Raghavendra K T wrote: From: Raghavendra K Traghavendra...@linux.vnet.ibm.com When total number of VCPUs of system is less than or

Re: [PATCH v4] lxt PHY: Support for the buggy LXT973 rev A2

2012-09-25 Thread Richard Cochran
On Tue, Sep 25, 2012 at 08:23:42AM +0200, leroy christophe wrote: A2 chip has phy_id 0x00137a10 A3 chip has phy_id 0x00137a11 Okay then, thanks. Acked-by: Richard Cochran richardcoch...@gmail.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH 5/9] mm: compaction: Acquire the zone-lru_lock as late as possible

2012-09-25 Thread Mel Gorman
On Tue, Sep 25, 2012 at 04:05:17PM +0900, Minchan Kim wrote: Hi Mel, I have a question below. On Fri, Sep 21, 2012 at 11:46:19AM +0100, Mel Gorman wrote: Compactions migrate scanner acquires the zone-lru_lock when scanning a range of pages looking for LRU pages to acquire. It does

[PATCH RESEND] gpio-lpc32xx: Fix value handling of gpio_direction_output()

2012-09-25 Thread Roland Stigge
For GPIOs of gpio-lpc32xx, gpio_direction_output() ignores the value argument (initial value of output). This patch fixes this by setting the level accordingly. Signed-off-by: Roland Stigge sti...@antcom.de Acked-by: Alexandre Pereira da Silva aletes@gmail.com --- Applies to v3.6-rc7

[PATCH 1/2] gpio-lpc32xx: Add GPI_28

2012-09-25 Thread Roland Stigge
This patch adds the missing gpi28 to the list of GPIOs in the GPI P3 chip. NOTE: This patch depends on incrementing LPC32XX_GPI_P3_MAX. When applied without the respective mach-lpc32xx patch (merged via arm-soc.git), gcc will give a warning about excess elements in array initializer but this

[PATCH 2/2] gpio: Document device_node's det_debounce

2012-09-25 Thread Roland Stigge
This patch adds documentation for set_debounce in struct device_node. Signed-off-by: Roland Stigge sti...@antcom.de --- include/asm-generic/gpio.h |2 ++ 1 file changed, 2 insertions(+) --- linux-2.6.orig/include/asm-generic/gpio.h +++ linux-2.6/include/asm-generic/gpio.h @@ -60,6 +60,8 @@

Re: [PATCH 2/3] clk: ux500: Support prcmu ape opp voltage clock

2012-09-25 Thread Ulf Hansson
Hi Mike, Thanks for your input! On 24 September 2012 17:35, Mike Turquette mturque...@ti.com wrote: Quoting Ulf Hansson (2012-09-24 07:43:18) From: Ulf Hansson ulf.hans...@linaro.org Some scalable prcmu clocks needs to be handled in conjuction with the ape opp 100 voltage. A new prcmu clock

Re: [RFC v2 01/10] vfs: introduce private rb structures

2012-09-25 Thread Zhi Yong Wu
On Tue, Sep 25, 2012 at 3:37 PM, Dave Chinner da...@fromorbit.com wrote: On Sun, Sep 23, 2012 at 08:56:26PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com One root structure hot_info is defined, is hooked up in super_block, and will be used to hold rb trees

Re: [RFC v2 01/10] vfs: introduce private rb structures

2012-09-25 Thread Zhi Yong Wu
On Tue, Sep 25, 2012 at 3:37 PM, Dave Chinner da...@fromorbit.com wrote: On Sun, Sep 23, 2012 at 08:56:26PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com One root structure hot_info is defined, is hooked up in super_block, and will be used to hold rb trees

Re: [PATCH] clk: mxs: Use a better name for the USB PHY clock

2012-09-25 Thread Shawn Guo
On Sat, Sep 22, 2012 at 01:54:55PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Use a better name for the USB PHY clock. Signed-off-by: Fabio Estevam fabio.este...@freescale.com Queued for 3.8, thanks. -- To unsubscribe from this list: send the line

Re: [PATCH v3 1/9] perf hists: Move hists_init() from util/evsel.c to util/hist.c

2012-09-25 Thread Feng Tang
On Mon, 24 Sep 2012 13:02:39 -0300 Arnaldo Carvalho de Melo a...@redhat.com wrote: Em Mon, Sep 24, 2012 at 11:24:03PM +0800, Feng Tang escreveu: Which looks more natural It is there to avoid dragging the hist code into the python binding :-\ Didn't notice this, please ignore this one.

Re: [PATCH 5/9] mm: compaction: Acquire the zone-lru_lock as late as possible

2012-09-25 Thread Minchan Kim
On Tue, Sep 25, 2012 at 08:51:05AM +0100, Mel Gorman wrote: On Tue, Sep 25, 2012 at 04:05:17PM +0900, Minchan Kim wrote: Hi Mel, I have a question below. On Fri, Sep 21, 2012 at 11:46:19AM +0100, Mel Gorman wrote: Compactions migrate scanner acquires the zone-lru_lock when scanning

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-25 Thread Raghavendra K T
On 09/24/2012 09:36 PM, Avi Kivity wrote: On 09/24/2012 05:41 PM, Avi Kivity wrote: case 2) rq1 : vcpu1-wait(lockA) (spinning) rq2 : vcpu3 (running) , vcpu2-holding(lockA) [scheduled out] I agree that checking rq1 length is not proper in this case, and as you rightly pointed out, we are in

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-25 Thread Avi Kivity
On 09/25/2012 09:36 AM, Raghavendra K T wrote: On 09/24/2012 09:11 PM, Avi Kivity wrote: On 09/21/2012 08:24 PM, Raghavendra K T wrote: On 09/21/2012 06:32 PM, Rik van Riel wrote: On 09/21/2012 08:00 AM, Raghavendra K T wrote: From: Raghavendra K Traghavendra...@linux.vnet.ibm.com When

Re: [PATCH] memory: emif: Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit]

2012-09-25 Thread Shilimkar, Santosh
Axel, On Tue, Sep 25, 2012 at 9:24 AM, Axel Lin axel@ingics.com wrote: Add ifdef CONFIG_DEBUG_FS guard for emif_debugfs_[init|exit], and adds stub functions for the case CONFIG_DEBUG_FS is not set. When CONFIG_DEBUG_FS is enabled, debugfs_create_dir and debugfs_create_file return NULL

[PATCH] fix compilation error of perf/core

2012-09-25 Thread Dong Hao
From: Dong Hao haod...@linux.vnet.ibm.com The newest branch of perf/core should have compilation error! Error log includes: builtin-test.c: In function ‘perf_evsel__test_field’: builtin-test.c:1216:6: error: variable ‘ret’ set but not used [-Werror=unused-but-set-variable] builtin-test.c: In

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-09-25 Thread Poddar, Sourav
Hi Greg, Ping on this? On Tue, Sep 18, 2012 at 6:10 PM, Sourav Poddar sourav.pod...@ti.com wrote: Greg's tty-next is not booting on 2420 based N800. The failure is observed at serial init itself. The reason might be that n800 tries to resume even though it is not suspended before.

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

2012-09-25 Thread Jack Morgenstein
Hi Roland, I am on vacation until next Tuesday -- I'll look at this then. -Jack On Monday 24 September 2012 21:36, Roland Dreier wrote: On Mon, Sep 24, 2012 at 7:02 AM, Stephen Rothwell s...@canb.auug.org.au wrote: After merging the akpm tree, today's linux-next build (powerpc

[GIT PULL] ARM: LPC32xx: DTS updates #2

2012-09-25 Thread Roland Stigge
Hi Arnd and Olof, this is a second round of mach-lpc32xx specific updates for 3.7, below the dts branch. Only one patch for adjusting phy3250.dts. Thanks, Roland The following changes since commit 25b3ab6c7e39e42245d98c27d25d9902baec7b65: ARM: LPC32xx: Extend dts for EA3250 board

[GIT PULL] ARM: LPC32xx: Core updates #2

2012-09-25 Thread Roland Stigge
Hi Arnd and Olof, this is a second round of mach-lpc32xx specific updates for 3.7. Below, the core branch. Thanks, Roland The following changes since commit 7a5deff68f9e0a1db170ac9dd3b2b4aaddc1b80c: ARM: LPC32xx: Remove board specific GPIO init (2012-09-06 11:39:29 +0200) are available in

Re: [PATCH v3 8/9] perf hists browser: Add option for runtime switching perf data file

2012-09-25 Thread Feng Tang
On Tue, 25 Sep 2012 11:11:21 +0900 Namhyung Kim namhy...@kernel.org wrote: On Mon, 24 Sep 2012 23:24:10 +0800, Feng Tang wrote: [snip] + if (!check_perf_magic(magic)) { + options[nr_options] = strdup(name); + abs_path[nr_options++] =

Re: [PATCH v3 7/9] perf header: Add check_perf_magic() func

2012-09-25 Thread Feng Tang
On Tue, 25 Sep 2012 11:07:15 +0900 Namhyung Kim namhy...@kernel.org wrote: On Mon, 24 Sep 2012 23:24:09 +0800, Feng Tang wrote: [snip] +/* Return 0 if matched */ +int check_perf_magic(u64 magic) +{ + if (!memcmp(magic, __perf_magic1, sizeof(magic)) + || magic ==

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-09-25 Thread Russell King - ARM Linux
On Tue, Sep 25, 2012 at 01:52:03PM +0530, Poddar, Sourav wrote: Hi Greg, Ping on this? On Tue, Sep 18, 2012 at 6:10 PM, Sourav Poddar sourav.pod...@ti.com wrote: Greg's tty-next is not booting on 2420 based N800. The failure is observed at serial init itself. The reason might be that

Re: [RFT/PATCH] serial: omap: prevent resume if device is not suspended.

2012-09-25 Thread Felipe Balbi
On Tue, Sep 25, 2012 at 09:30:29AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 01:52:03PM +0530, Poddar, Sourav wrote: Hi Greg, Ping on this? On Tue, Sep 18, 2012 at 6:10 PM, Sourav Poddar sourav.pod...@ti.com wrote: Greg's tty-next is not booting on 2420 based

[PATCH 1/2] scatterlist: add sg_nents

2012-09-25 Thread Maxim Levitsky
Useful helper to know the number of entries in scatterlist. Signed-off-by: Maxim Levitsky maximlevit...@gmail.com --- include/linux/scatterlist.h |1 + lib/scatterlist.c | 22 ++ 2 files changed, 23 insertions(+) diff --git a/include/linux/scatterlist.h

[PATCH v2 memstick: support for legacy sony memsticks

2012-09-25 Thread Maxim Levitsky
Hi, I believe that I addressed most(all?) issues raised in the review, thus I am resending the driver. Changes from V1: * Replaced explicit state numbers with enum items. I agree that code is cleaner this way. * Swithced to using a workqueue. Unfortunelly, I still see that workqueue

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

2012-09-25 Thread Samuel Ortiz
Hi Stephen, On Tue, Sep 25, 2012 at 01:47:35PM +1000, Stephen Rothwell wrote: Hi Samuel, After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this: FATAL: modpost: GPL-incompatible module tps65217_bl.ko uses GPL-only symbol 'platform_driver_unregister'

tty ldisc lockups in linux-next

2012-09-25 Thread Sasha Levin
Hi all, While fuzzing with trinity in a KVM tools guest running linux-next kernel, I keep hitting the following lockup: [ 842.780242] INFO: task init:1 blocked for more than 120 seconds. [ 842.780732] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. [ 842.781559] init

Re: tty ldisc lockups in linux-next

2012-09-25 Thread Jiri Slaby
On 09/25/2012 10:49 AM, Sasha Levin wrote: Hi all, While fuzzing with trinity in a KVM tools guest running linux-next kernel, I keep hitting the following lockup: Hi, I'm confused here. Is this different to what you reported a couple days ago? Doesn't reverting aa3c8af86382 help in the end?

Re: git pull question

2012-09-25 Thread Borislav Petkov
On Tue, Sep 25, 2012 at 04:22:42PM +0800, Zhi-zhou Zhang wrote: Hi all, Today I update my kernel with git pull. Then a ploblem confused me. I got the below message with git status. I excuted git checkout master -f and git reset --hard master. The ploblem is still there. So anyone please

Re: [PATCH RFC 1/2] kvm: Handle undercommitted guest case in PLE handler

2012-09-25 Thread Avi Kivity
On 09/25/2012 10:09 AM, Raghavendra K T wrote: On 09/24/2012 09:36 PM, Avi Kivity wrote: On 09/24/2012 05:41 PM, Avi Kivity wrote: case 2) rq1 : vcpu1-wait(lockA) (spinning) rq2 : vcpu3 (running) , vcpu2-holding(lockA) [scheduled out] I agree that checking rq1 length is not proper in

Re: tty ldisc lockups in linux-next

2012-09-25 Thread Sasha Levin
On 09/25/2012 10:52 AM, Jiri Slaby wrote: Hi all, While fuzzing with trinity in a KVM tools guest running linux-next kernel, I keep hitting the following lockup: Hi, I'm confused here. Is this different to what you reported a couple days ago? Doesn't reverting aa3c8af86382 help in the

Re: RTL8101E/RTL8102E PCI Express Fast Ethernet controller (rev 02)

2012-09-25 Thread Thanasis
on 09/25/2012 02:12 AM Francois Romieu wrote the following: Thanasis thana...@asyr.hopto.org : Attached the whole log so far. (the process looks stuck anyway for more than 30 min at the same point) You don't need to wait that long. I have updated git://violet.fr.zoreil.com/romieu/r8169

Re: [PATCH v2 0/3] input: Dynamic Minor Numbers

2012-09-25 Thread David Herrmann
Hi Dmitry On Fri, Sep 21, 2012 at 10:07 AM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: [snip] See my previous review diff --git a/drivers/input/joydev.c b/drivers/input/joydev.c index f0909ed..c82f76f 100644 --- a/drivers/input/joydev.c +++ b/drivers/input/joydev.c @@ -27,6 +27,7 @@

Re: [PATCH] mfd: viperboard driver added

2012-09-25 Thread Samuel Ortiz
Hi Lars, On Mon, Sep 24, 2012 at 06:46:19PM +0200, Lars Poeschel wrote: Hi Samuel, Thanks for your review. Am 19.09.2012 17:29, schrieb Samuel Ortiz: Hi Lars, On Mon, Aug 27, 2012 at 03:08:38PM +0200, la...@wh2.tu-dresden.de wrote: From: Lars Poeschel poesc...@lemonage.de First

[RFC 0/4] bypass charges if memcg is not used

2012-09-25 Thread Glauber Costa
For the special case that memcg is compiled in (a quite common case) but not in use (also a common case), we are still seeing a huge performance impact. Mel Gorman demonstrated in the Kernel Summit, mm mini summit, that depending on the hardware, this can vary between 6 and 15 %. I am proposing

Re: [PATCH 2/6] ARM: dove: Fix tauros2 device tree init

2012-09-25 Thread Sebastian Hesselbarth
On 09/25/2012 07:19 AM, Andrew Lunn wrote: Interestingly, kisskb does not show this break: http://kisskb.ellerman.id.au/kisskb/config/308/ and yesterdays build does not have the parameter to tauros2_init(). Is the cache not enabled in dove_defconfig? Andrew, I checked dove_defconfig and

[RFC 2/4] memcg: make it suck faster

2012-09-25 Thread Glauber Costa
It is an accepted fact that memcg sucks. But can it suck faster? Or in a more fair statement, can it at least stop draining everyone's performance when it is not in use? This experimental and slightly crude patch demonstrates that we can do that by using static branches to patch it out until the

[RFC 1/4] memcg: provide root figures from system totals

2012-09-25 Thread Glauber Costa
For the root memcg, there is no need to rely on the res_counters. The sum of all mem cgroups plus the tasks in root itself, is necessarily the amount of memory used for the whole system. Since those figures are already kept somewhere anyway, we can just return them here, without too much hassle.

[RFC 4/4] memcg: do not walk all the way to the root for memcg

2012-09-25 Thread Glauber Costa
Since the root is special anyway, and we always get its figures from global counters anyway, there is no make all cgroups its descendants, wrt res_counters. The sad effect of doing that is that we need to lock the root for all allocations, since it is a common ancestor of everybody. Not having

Re: tty ldisc lockups in linux-next

2012-09-25 Thread Jiri Slaby
On 09/25/2012 10:55 AM, Sasha Levin wrote: On 09/25/2012 10:52 AM, Jiri Slaby wrote: Hi all, While fuzzing with trinity in a KVM tools guest running linux-next kernel, I keep hitting the following lockup: Hi, I'm confused here. Is this different to what you reported a couple days ago?

Re: divide error: bdi_dirty_limit+0x5a/0x9e

2012-09-25 Thread Conny Seidel
* Jan Kara j...@suse.cz: [...] The patch works for me. Tested it a couple of times on several machines without triggering the issue. Thanks for the fix. From 1fd707552a67adf869958e479910d2f70452351b Mon Sep 17 00:00:00 2001 From: Jan Kara j...@suse.cz Date: Mon, 24 Sep 2012 16:17:16 +0200

[PATCH 1/3] DMA: PL330: Free memory allocated for peripheral channels

2012-09-25 Thread Inderpal Singh
The allocated memory for peripheral channels is not being freed upon failure in probe and in module's remove funtion. It will lead to memory leakage. Hence free the allocated memory. Signed-off-by: Inderpal Singh inderpal.si...@linaro.org --- drivers/dma/pl330.c |5 - 1 file changed, 4

[PATCH 2/3] DMA: PL330: Change allocation method to properly free DMA descriptors

2012-09-25 Thread Inderpal Singh
In probe, memory for multiple DMA descriptors were being allocated at once and then it was being split and added into DMA pool one by one. The address of this memory allocation is not being saved anywhere. To free this memory, the address is required. Initially the first node of the pool will be

[RFC 3/4] memcg: do not call page_cgroup_init at system_boot

2012-09-25 Thread Glauber Costa
If we are not using memcg, there is no reason why we should allocate this structure, that will be a memory waste at best. We can do better at least in the sparsemem case, and allocate it when the first cgroup is requested. It should now not panic on failure, and we have to handle this right.

  1   2   3   4   5   6   7   8   9   10   >