Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Sebastian Hesselbarth
On 09/25/2012 07:35 AM, Andrew Lunn wrote: On Tue, Sep 25, 2012 at 02:02:17AM +0200, Sebastian Hesselbarth wrote: The watchdog on dove requires an interrupt that is not yet available on DT. Therefore, the watchdog DT node is removed until the corresponding chained intc is available. Just for

Re: [PATCH 8/9] mm: compaction: Cache if a pageblock was scanned and no pages were isolated

2012-09-25 Thread Mel Gorman
On Mon, Sep 24, 2012 at 02:26:44PM -0700, Andrew Morton wrote: On Mon, 24 Sep 2012 10:39:38 +0100 Mel Gorman mgor...@suse.de wrote: On Fri, Sep 21, 2012 at 02:36:56PM -0700, Andrew Morton wrote: Also, what has to be done to avoid the polling altogether? eg/ie, zap a pageblock's

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 11:31:20AM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 09:30:29AM +0100, Russell King - ARM Linux wrote: How is this happening? I think that needs proper investigation - or if it's had more investigation, then the results needs to be included in the commit

Re: arch/x86/lib/inat.c Error

2012-09-25 Thread Borislav Petkov
On Mon, Sep 24, 2012 at 06:16:50PM -0700, Randy Dunlap wrote: That's because all those _tables thingies are included from a inat-tables.c in the same directory but it somehow doesn't get included?! Can we get your .config pls? Also, you're doing a normal kernel build on the command

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

2012-09-25 Thread anish singh
On Tue, Sep 25, 2012 at 12:28 PM, Sachin Kamat sachin.ka...@linaro.org wrote: 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'

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

2012-09-25 Thread Felipe Balbi
On Tue, Sep 25, 2012 at 10:12:28AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 11:31:20AM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 09:30:29AM +0100, Russell King - ARM Linux wrote: How is this happening? I think that needs proper investigation - or if it's

Re: [PATCH 1/3] uprobes: Change write_opcode() to use FOLL_FORCE

2012-09-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-16 19:52:42]: write_opcode()-get_user_pages() needs FOLL_FORCE to ensure we can read the page even if the probed task did mprotect(PROT_NONE) after uprobe_register(). Without FOLL_WRITE, FOLL_FORCE doesn't have any side effect but allows to read the

Re: [RFC v2 02/10] vfs: add support for updating access frequency

2012-09-25 Thread Dave Chinner
On Sun, Sep 23, 2012 at 08:56:27PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add some utils helpers to update access frequencies for one file or its range. Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- fs/hot_tracking.c | 359

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Thomas Petazzoni
Dear Sebastian Hesselbarth, On Tue, 25 Sep 2012 11:11:42 +0200, Sebastian Hesselbarth wrote: I didn't try to post all the dove on mach-mvebu patches in the current release cycle, because mach-mvebu is still evolving to fast for me to keep up with my limited spare time. But I have dove running

Re: [PATCH 2/3] uprobes: Change valid_vma() to demand VM_MAYEXEC rather than VM_EXEC

2012-09-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-16 19:52:46]: uprobe_register() or uprobe_mmap() requires VM_READ | VM_EXEC, this is not right. An apllication can do mprotect(PROT_EXEC) later and execute this code. Change valid_vma(is_register = true) to check VM_MAYEXEC instead. No need to check

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

2012-09-25 Thread Sachin Kamat
On 25 September 2012 14:45, anish singh anish198519851...@gmail.com wrote: On Tue, Sep 25, 2012 at 12:28 PM, Sachin Kamat sachin.ka...@linaro.org wrote: Return the value obtained from extcon_find_cable_index() instead of -ENODEV. Fixes the following smatch info:

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 12:11:14PM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 10:12:28AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 11:31:20AM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 09:30:29AM +0100, Russell King - ARM Linux wrote: How is this

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

2012-09-25 Thread anish singh
On Tue, Sep 25, 2012 at 2:50 PM, Sachin Kamat sachin.ka...@linaro.org wrote: On 25 September 2012 14:45, anish singh anish198519851...@gmail.com wrote: On Tue, Sep 25, 2012 at 12:28 PM, Sachin Kamat sachin.ka...@linaro.org wrote: Return the value obtained from extcon_find_cable_index()

Re: [RFC v2 03/10] vfs: add one new mount option '-o hottrack'

2012-09-25 Thread Dave Chinner
On Sun, Sep 23, 2012 at 08:56:28PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Introduce one new mount option '-o hottrack', and add its parsing support. Its usage looks like: mount -o hottrack mount -o nouser,hottrack mount -o

Re: [PATCH 3/3] uprobes: Restrict valid_vma(false) to skip VM_SHARED

2012-09-25 Thread Srikar Dronamraju
* Oleg Nesterov o...@redhat.com [2012-09-16 19:52:48]: valid_vma(false) ignores -vm_flags, this is not actually right. We should never try to write into MAP_SHARED mapping, this can confuse an apllication which actually writes to -vm_file. Agree, With this patch valid_vma(false) ignores

linux-next: Tree for Sept 25

2012-09-25 Thread Stephen Rothwell
Hi all, Changes since 201209024: The gfs2 tree lost its conflict. The net-next tree gained a conflict against the net tree. The sound and sound-asoc trees lost their build failures. The md tree gained a build failure so I used the version from next-20120924. The mfd tree gained a build

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

2012-09-25 Thread Tero Keski-Valkama
2012/9/25 Borislav Petkov b...@alien8.de: On Tue, Sep 25, 2012 at 10:34:13AM +0300, Tero Keski-Valkama wrote: But before we go with this any further: you mentioned some issues still with acerhdf - you don't want to turn off your fan but to turn it to full? I think in this case, you want to

Re: XHCI Bug discovered in 3.6-RC6 (solution included)

2012-09-25 Thread Vivek Gautam
Hi I have posted the required patch for this: usb: host: xhci: Fix Null pointer dereferencing with 71c731a for non-x86 systems Can we please get that in ? On Tue, Sep 18, 2012 at 8:06 PM, Greg KH g...@kroah.com wrote: On Tue, Sep 18, 2012 at 02:51:57AM +0200, Sebastian Gottschall (DD-WRT)

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Andrew Lunn
On Tue, Sep 25, 2012 at 11:18:26AM +0200, Thomas Petazzoni wrote: Dear Sebastian Hesselbarth, On Tue, 25 Sep 2012 11:11:42 +0200, Sebastian Hesselbarth wrote: I didn't try to post all the dove on mach-mvebu patches in the current release cycle, because mach-mvebu is still evolving to

Re: tty ldisc lockups in linux-next

2012-09-25 Thread Sasha Levin
On 09/25/2012 10:56 AM, Jiri Slaby wrote: 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

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

2012-09-25 Thread Felipe Balbi
Hi, On Tue, Sep 25, 2012 at 10:21:18AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 12:11:14PM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 10:12:28AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 11:31:20AM +0300, Felipe Balbi wrote: On Tue, Sep

Re: [RFC v2 05/10] vfs: introduce one hash table

2012-09-25 Thread Ram Pai
On Sun, Sep 23, 2012 at 08:56:30PM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Adds a hash table structure which contains a lot of hash list and is used to efficiently look up the data temperature of a file or its ranges. In each hash list of hash

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

2012-09-25 Thread Poddar, Sourav
Hi, On Tue, Sep 25, 2012 at 2:51 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Tue, Sep 25, 2012 at 12:11:14PM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 10:12:28AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 11:31:20AM +0300, Felipe Balbi wrote:

Re: [PATCH 1/5] drivers: usb: phy: add a new driver for omap usb2 phy

2012-09-25 Thread ABRAHAM, KISHON VIJAY
Hi, On Mon, Sep 24, 2012 at 6:45 PM, Rob Herring robherri...@gmail.com wrote: On 09/06/2012 09:57 AM, Kishon Vijay Abraham I wrote: All phy related programming like enabling/disabling the clocks, powering on/off the phy is taken care of by this driver. It is also used for OTG related

Re: [PATCH RFC 2/2] kvm: Be courteous to other VMs in overcommitted scenario in PLE handler

2012-09-25 Thread Avi Kivity
On 09/24/2012 06:21 PM, Avi Kivity wrote: On 09/24/2012 06:13 PM, Peter Zijlstra wrote: On Mon, 2012-09-24 at 18:10 +0200, Avi Kivity wrote: Its also still a LAPIC write -- disguised as an MSR though :/ It's probably a whole lot faster though. I've been told its not, I haven't

Re: [PATCH v2 1/2] btrfs-progs: Close file descriptor on exit

2012-09-25 Thread David Sterba
On Tue, Sep 25, 2012 at 10:02:15AM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Need to close fd on exit. Strictly you don't need to, kernel will do that at exit() time. david -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

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

2012-09-25 Thread Francois Romieu
Thanasis thana...@asyr.hopto.org : [...] I don't know what's wrong, but I am getting those errors. Are you sure about the git tree? Yes. Replace 'git rev-list --all' with 'git rev-list --branches'. It should show something like: $ git rev-list --branches

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

2012-09-25 Thread Ezequiel Garcia
On Tue, Sep 25, 2012 at 4:37 AM, Pekka Enberg penb...@kernel.org wrote: 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

Re: [PATCH v2 2/2] btrfs-progs: Fix up memory leakage

2012-09-25 Thread David Sterba
On Tue, Sep 25, 2012 at 10:02:16AM +0800, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Some code pathes forget to free memory on exit. Same as with the fd's, kernel will free all memory for us at exit(). If there's lots of memory allocated, it may be even faster

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Thomas Petazzoni
Dear Andrew Lunn, On Tue, 25 Sep 2012 11:46:10 +0200, Andrew Lunn wrote: I principle, i agree. However, i'm not too sure about mach-orion5x mach-mv78xx0. orion5x has probably been broken since -rc1 was released and nobody noticed. In the same time, we got around 5 people independently

Re: linux-next: Tree for Sept 24 (iommu)

2012-09-25 Thread Roedel, Joerg
On Mon, Sep 24, 2012 at 09:23:25PM -0600, Alex Williamson wrote: On Mon, 2012-09-24 at 15:02 -0700, Randy Dunlap wrote: On 09/24/2012 07:53 AM, Stephen Rothwell wrote: Hi all, Today was a train wreck, with lots of new conflicts across several trees and a few build failures as

possible recursive locking in numasched code

2012-09-25 Thread Srikar Dronamraju
Hi Peter, While running tests with patches for sched-numa rewrite posted at http://permalink.gmane.org/gmane.linux.kernel/1335968, I came across a possible recursive locking scenaio. Please see approaches and a possible patch to avoid the same.

Re: [RFC] mm: add support for zsmalloc and zcache

2012-09-25 Thread Mel Gorman
On Mon, Sep 24, 2012 at 01:36:48PM -0700, Dan Magenheimer wrote: From: Mel Gorman [mailto:mgor...@suse.de] Subject: Re: [RFC] mm: add support for zsmalloc and zcache On Sat, Sep 22, 2012 at 02:18:44PM -0700, Dan Magenheimer wrote: From: Mel Gorman [mailto:mgor...@suse.de] Subject:

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

2012-09-25 Thread Ram Pai
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: WARNING: at fs/inode.c:280 drop_nlink+0x31/0x33()

2012-09-25 Thread Jeff Layton
On Tue, 25 Sep 2012 15:27:31 +1000 NeilBrown ne...@suse.de wrote: On Wed, 29 Aug 2012 15:16:41 -0700 Jeff Layton jlay...@redhat.com wrote: This stack trace comes from cifs, not nfs. It's quite easy to trigger on NFS too. mount server:/path /mnt; exec 3 /mnt/foo ; rm /mnt/foo; rm

Instead of IP addresses the kernel started to show zero's

2012-09-25 Thread Alexey Vlasov
Hi. Here it writes LOG target from syslog: Sep 25 03:23:49 l24 kernel: ip:SYN-OUTPUT-HTTP IN= OUT=eth0 SRC= DST= LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=22467 DF PROTO=TCP SPT=52829 DPT=80 WINDOW=14600 RES=0x00 SYN URGP=0 UID=564373 GID=155 This is recent, here go

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 12:48:16PM +0300, Felipe Balbi wrote: Hi, On Tue, Sep 25, 2012 at 10:21:18AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 12:11:14PM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 10:12:28AM +0100, Russell King - ARM Linux wrote: On Tue,

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Andrew Lunn
On Tue, Sep 25, 2012 at 12:14:39PM +0200, Thomas Petazzoni wrote: Dear Andrew Lunn, On Tue, 25 Sep 2012 11:46:10 +0200, Andrew Lunn wrote: I principle, i agree. However, i'm not too sure about mach-orion5x mach-mv78xx0. orion5x has probably been broken since -rc1 was released and

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

2012-09-25 Thread Chanwoo Choi
On 09/25/2012 03:58 PM, Sachin Kamat wrote: 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()

Re: [RFC] mm: add support for zsmalloc and zcache

2012-09-25 Thread James Bottomley
On Mon, 2012-09-24 at 12:25 -0500, Seth Jennings wrote: In summary, I really don't understand the objection to promoting zcache and integrating zcache2 improvements and features incrementally. It seems very natural and straightforward to me. Rewrites can even happen in mainline, as James

[PATCHv2 6/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-isl1208.c | 20 1 files

[PATCHv2 5/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-pcf8563.c | 13 +++-- 1 files changed,

Re: [PATCH] Update sched_domains_numa_masks when new cpus are onlined.

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 10:39 +0800, Tang Chen wrote: @@ -6765,11 +6773,64 @@ static void sched_init_numa(void) } sched_domain_topology = tl; + +sched_domains_numa_levels = level; And I set it to level here again. But its already set there.. its set every time we find

[PATCHv2 7/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-em3027.c | 17 ++--- 1 files

[PATCHv2 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-ds1672.c | 26 ++ 1

[PATCHv2 0/7] rtc: convert to c99 format

2012-09-25 Thread Shubhrajyoti D
The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add a structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to Julia Lawall for helping it automate. By the below script.

[PATCHv2 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-s35390a.c | 13 +++-- 1 files changed,

[PATCHv2 4/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. while at it also fix a checkpatch warn WARNING: sizeof rs5c-buf should be sizeof(rs5c-buf) Signed-off-by: Shubhrajyoti D

[PATCHv2 2/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-x1205.c | 92

[PATCH 0/3] Create sched_select_cpu() and use it in workqueues

2012-09-25 Thread Viresh Kumar
In order to save power, it would be useful to schedule work onto non-IDLE cpus instead of waking up an IDLE one. To achieve this, we need scheduler to guide kernel frameworks (like: timers workqueues) on which is the most preferred CPU that must be used for these tasks. This patchset is about

[PATCH 2/3] workqueue: create __flush_delayed_work to avoid duplicating code

2012-09-25 Thread Viresh Kumar
flush_delayed_work() and flush_delayed_work_sync() had major portion of code similar. This patch introduces another routine __flush_delayed_work() which contains the common part to avoid code duplication. Signed-off-by: Viresh Kumar viresh.ku...@linaro.org --- kernel/workqueue.c | 15

[PATCH 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-09-25 Thread Viresh Kumar
Workqueues queues work on current cpu, if the caller haven't passed a preferred cpu. This may wake up an idle CPU, which is actually not required. This work can be processed by any CPU and so we must select a non-idle CPU here. This patch adds in support in workqueue framework to get preferred

[PATCH 1/3] sched: Create sched_select_cpu() to give preferred CPU for power saving

2012-09-25 Thread Viresh Kumar
In order to save power, it would be useful to schedule work onto non-IDLE cpus instead of waking up an IDLE one. To achieve this, we need scheduler to guide kernel frameworks (like: timers workqueues) on which is the most preferred CPU that must be used for these tasks. This routine returns the

Re: [SCSI PATCH] sd: max-retries becomes configurable

2012-09-25 Thread James Bottomley
On Tue, 2012-09-25 at 01:21 -0400, Jeff Garzik wrote: On 09/25/2012 12:06 AM, James Bottomley wrote: On Mon, 2012-09-24 at 17:00 -0400, Jeff Garzik wrote: drivers/scsi/sd.c |4 drivers/scsi/sd.h |2 +- 2 files changed, 5 insertions(+), 1 deletion(-) I'm not opposed

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

2012-09-25 Thread Felipe Balbi
On Tue, Sep 25, 2012 at 11:29:58AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 12:48:16PM +0300, Felipe Balbi wrote: Hi, On Tue, Sep 25, 2012 at 10:21:18AM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 12:11:14PM +0300, Felipe Balbi wrote: On Tue,

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

2012-09-25 Thread Eric W. Biederman
Maarten Lankhorst maarten.lankho...@canonical.com writes: Hey, Op 25-09-12 09:05, Eric W. Biederman schreef: 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

[BUG] perf/x86: Intel uncore_pmu_to_box() local variable typo

2012-09-25 Thread Stephane Eranian
Hi, I don't understand why the local variable box needs to be declared static here: static struct intel_uncore_box * uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu) { static struct intel_uncore_box *box; box = *per_cpu_ptr(pmu-box, cpu); if (box)

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

2012-09-25 Thread Sachin Kamat
On 25 September 2012 16:02, Chanwoo Choi cw00.c...@samsung.com wrote: On 09/25/2012 03:58 PM, Sachin Kamat wrote: 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:

Re: [PATCH] perf test: Fix build failure

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 11:20:28AM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com The commit 6a6cd11d4e57 (perf test: Add test for the sched tracepoint format fields) added following build error: CC builtin-test.o builtin-test.c: In function

Re: WARNING: at kernel/workqueue.c:1066 try_to_grab_pending

2012-09-25 Thread Dan Carpenter
Added Tejun to the CC list. regards, dan carpenter On Fri, Sep 14, 2012 at 02:07:24AM +, Jongman Heo wrote: 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 ]

Re: [PATCH 1/3] sched: Create sched_select_cpu() to give preferred CPU for power saving

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 16:06 +0530, Viresh Kumar wrote: +/* sched-domain levels */ +#define SD_SIBLING 0x01/* Only for CONFIG_SCHED_SMT */ +#define SD_MC 0x02/* Only for CONFIG_SCHED_MC */ +#define SD_BOOK0x04/* Only for

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

2012-09-25 Thread Russell King - ARM Linux
Right, let's get this thread back onto a constructive footing and try to understand the problems here. On Tue, Sep 25, 2012 at 03:26:06PM +0530, Poddar, Sourav wrote: The issue was observed at serial init itself in the N800 board and the log does not show up much.

Re: [PATCHv2 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Felipe Balbi
On Tue, Sep 25, 2012 at 04:03:38PM +0530, Shubhrajyoti D wrote: Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com

Re: kernel BUG at fs/buffer.c:3205 (stable 3.5.3)

2012-09-25 Thread Dan Carpenter
Did any of the old kernels work? Have you ruled out bad hardware? If the answers to both questions are yes then it makes your email harder to ignore. In which case, we'd probably want the complete dmesg. The USB mailing list is linux-...@vger.kernel.org. regards, dan carpenter -- To

[PATCH] ARM: ux500: 8500: update I2C sleep states pinctrl

2012-09-25 Thread Linus Walleij
From: Patrice Chotard patrice.chot...@stericsson.com This defines the proper sleep states for all the I2C pins of the MOP500 DB8500 ASIC setting. Signed-off-by: Patrice Chotard patrice.chot...@stericsson.com Signed-off-by: Linus Walleij linus.wall...@linaro.org --- Requesting ARM SoC ACKs to

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

2012-09-25 Thread Maarten Lankhorst
Op 25-09-12 12:42, Eric W. Biederman schreef: Maarten Lankhorst maarten.lankho...@canonical.com writes: Hey, Op 25-09-12 09:05, Eric W. Biederman schreef: Maarten Lankhorst maarten.lankho...@canonical.com wrote: Hey, Op 25-09-12 05:39, Eric W. Biederman schreef: Maarten Lankhorst

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

2012-09-25 Thread Sachin Kamat
Propagate the value returned from extcon_find_cable_index() instead of -ENODEV. For readability, -EINVAL is returned in place of the variable. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/extcon/extcon-class.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

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

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 10:25:13AM +0900, Namhyung Kim escreveu: On Mon, 24 Sep 2012 13:02:39 -0300, Arnaldo Carvalho de Melo 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

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:37:03PM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 11:29:58AM +0100, Russell King - ARM Linux wrote: Because you are accusing me of potentially breaking your beagleboard for merely suggesting further investigation and a better commit message. Where did I

Re: [PATCH] Update sched_domains_numa_masks when new cpus are onlined.

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 10:39 +0800, Tang Chen wrote: We do this because nr_node_ids changed, right? This means the entire distance table grew/shrunk, which means we should do the level scan again. It seems that nr_node_ids will not change once the system is up. I'm not quite sure. If I am

Re: [PATCHv3 0/6] media: convert to c99 format

2012-09-25 Thread Mauro Carvalho Chehab
Em Ter, 2012-09-25 às 08:03 -0300, Ezequiel Garcia escreveu: Shubhrajyoti, Thanks for your patches. I'm adding media maintainer (Mauro) in Cc. When you send patches for a file you should check who maintains them and put those people in Cc. I actually prefer to not be c/c on the patches

Re: [PATCH 27/30] tools lib traceevent: Carve out events format parsing routine

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 01:15:05PM +0900, Namhyung Kim escreveu: On Mon, 24 Sep 2012 12:59:41 -0300, Arnaldo Carvalho de Melo wrote: + if (add_event(pevent, event)) + goto event_add_failed; It seems we should set the 'ret' to a proper pevent_errno -

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

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com vpif_display relied on a 1-1 mapping of output and subdev. This is not necessarily the case. Separate the two. So there is a list of subdevs and a list of outputs. Each output refers to a subdev and has routing information. An output does not have to have

Re: [PATCHv3 0/6] media: convert to c99 format

2012-09-25 Thread Ezequiel Garcia
On Tue, Sep 25, 2012 at 8:09 AM, Mauro Carvalho Chehab mche...@redhat.com wrote: Em Ter, 2012-09-25 às 08:03 -0300, Ezequiel Garcia escreveu: Shubhrajyoti, Thanks for your patches. I'm adding media maintainer (Mauro) in Cc. When you send patches for a file you should check who maintains

RE: [PATCH v3] USB: PHY: Re-organize Tegra USB PHY driver

2012-09-25 Thread Venu Byravarasu
-Original Message- From: ABRAHAM, KISHON VIJAY [mailto:kis...@ti.com] Sent: Monday, September 24, 2012 11:48 AM To: Venu Byravarasu Cc: Stephen Warren; ba...@ti.com; gre...@linuxfoundation.org; linux- ker...@vger.kernel.org; linux-...@vger.kernel.org Subject: Re: [PATCH v3] USB:

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 12:11:14PM +0300, Felipe Balbi wrote: that's most likely, of course. But should we cause a regression to beagleboard XM because of that ? Also, if you look into chapter 9 of the runtime_pm documentation, starting on line 822 you'll see documentation suggests the use of

[PATCH] media: davinci: vpif: set device capabilities

2012-09-25 Thread Prabhakar
From: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Hans Verkuil hans.verk...@cisco.com --- drivers/media/platform/davinci/vpif_capture.c |4 +++- drivers/media/platform/davinci/vpif_display.c

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

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 04:20:53PM +0800, Feng Tang escreveu: On Tue, 25 Sep 2012 11:11:21 +0900 Namhyung Kim namhy...@kernel.org wrote: Ditto. Plus it might leak previous input_name. Nice catch, will check the return value of strdup. For input_name mem leak, in some cases the

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

2012-09-25 Thread Felipe Balbi
Hi, On Tue, Sep 25, 2012 at 12:07:03PM +0100, Russell King - ARM Linux wrote: On Tue, Sep 25, 2012 at 01:37:03PM +0300, Felipe Balbi wrote: On Tue, Sep 25, 2012 at 11:29:58AM +0100, Russell King - ARM Linux wrote: Because you are accusing me of potentially breaking your beagleboard for

Re: [alsa-devel] [PATCH 0/2] dmaengine: Fix compillation issues in device_prep_dma_cyclic()

2012-09-25 Thread Mark Brown
On Mon, Sep 24, 2012 at 08:08:32PM +0200, Takashi Iwai wrote: At Mon, 24 Sep 2012 10:17:15 +0200, Mark, could you tell me when it's ready? Since I'll be off from tomorrow, I'd like to resolve sooner. My time is up, so I merged Peter's two patches on the top of for-next branch of sound

Re: [PATCHv2 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti
On Tuesday 25 September 2012 04:25 PM, Felipe Balbi wrote: +.buf = addr + }, + {/* setup read ptr */ should this comment be /* read date */ ?? yes missed that . will update -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH 0/3] Create sched_select_cpu() and use it in workqueues

2012-09-25 Thread Viresh Kumar
On 25 September 2012 16:06, Viresh Kumar viresh.ku...@linaro.org wrote: Test case 2: --- I have created a small module, which does following: - Create one work for each CPU (using queue_work_on(), so must schedule on that cpu) - Above work, will queue n works for each cpu with

Re: [BUG] perf/x86: Intel uncore_pmu_to_box() local variable typo

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 12:44 +0200, Stephane Eranian wrote: Hi, I don't understand why the local variable box needs to be declared static here: static struct intel_uncore_box * uncore_pmu_to_box(struct intel_uncore_pmu *pmu, int cpu) { static struct intel_uncore_box *box;

Re: [PATCH 5/6] ARM: dove: Remove watchdog from DT

2012-09-25 Thread Arnd Bergmann
On Tuesday 25 September 2012, Andrew Lunn wrote: On Tue, Sep 25, 2012 at 12:14:39PM +0200, Thomas Petazzoni wrote: On Tue, 25 Sep 2012 11:46:10 +0200, Andrew Lunn wrote: I principle, i agree. However, i'm not too sure about mach-orion5x mach-mv78xx0. orion5x has probably been broken

[PATCH] slab: Ignore internal flags in cache creation

2012-09-25 Thread Glauber Costa
Some flags are used internally by the allocators for management purposes. One example of that is the CFLGS_OFF_SLAB flag that slab uses to mark that the metadata for that cache is stored outside of the slab. No cache should ever pass those as a creation flags. We can just ignore this bit if it

Re: [PATCH 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-09-25 Thread Peter Zijlstra
On Tue, 2012-09-25 at 16:06 +0530, Viresh Kumar wrote: @@ -1066,8 +1076,9 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work) { int ret; - ret = queue_work_on(get_cpu(), wq, work); - put_cpu(); + preempt_disable(); + ret =

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

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 04:21:40PM +0800, Feng Tang escreveu: 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

Re: w/ current kernel (3.5.3) I need 2 attempts for s2disk in a row

2012-09-25 Thread Dan Carpenter
Hi, I have created a bug for this: https://bugzilla.kernel.org/show_bug.cgi?id=47931 Please add the following information: *) Last known good kernel version *) Complete dmesg regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 28/30] perf evsel: Provide a new constructor for tracepoints

2012-09-25 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 25, 2012 at 01:26:46PM +0900, Namhyung Kim escreveu: On Mon, 24 Sep 2012 12:59:42 -0300, Arnaldo Carvalho de Melo wrote: + if (size == alloc_size) { + alloc_size += BUFSIZ; + nbf = realloc(bf, alloc_size); + if

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

2012-09-25 Thread Eric W. Biederman
Maarten Lankhorst maarten.lankho...@canonical.com writes: Could you try the following patch? This should report what directories cannot be renamed because one of them is a mount point and it gives some real insight into what is going on. ls / __d_unalias: /dev - /dev __d_unalias: /proc -

Re: [PATCH 3/3] workqueue: Schedule work on non-idle cpu instead of current one

2012-09-25 Thread Viresh Kumar
On 25 September 2012 16:52, Peter Zijlstra pet...@infradead.org wrote: On Tue, 2012-09-25 at 16:06 +0530, Viresh Kumar wrote: @@ -1066,8 +1076,9 @@ int queue_work(struct workqueue_struct *wq, struct work_struct *work) { int ret; - ret = queue_work_on(get_cpu(), wq, work); -

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 02:12:43PM +0300, Felipe Balbi wrote: I don't see any aggressive attitude towards what you suggested, actually. Mailing list archives are available to check, but the one cursing around was always yourself and THAT deserves an apology. Total rubbish. No apology, because

Re: [PATCH 1/1] perf, Add support for Xeon-Phi PMU

2012-09-25 Thread Peter Zijlstra
On Thu, 2012-09-20 at 13:03 -0400, Vince Weaver wrote: One additional complication: some of the cache events map to event 0. This causes problems because the generic events code assumes 0 means not-available. I'm not sure the best way to address that problem. For all except P4 we could

[PATCHv3 7/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-em3027.c | 17 ++--- 1 files

[PATCHv3 1/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-ds1672.c | 26 ++ 1

[PATCHv3 5/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-pcf8563.c | 13 +++-- 1 files changed,

[PATCHv3 4/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. while at it also fix a checkpatch warn WARNING: sizeof rs5c-buf should be sizeof(rs5c-buf) Signed-off-by: Shubhrajyoti D

[PATCHv3 2/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-x1205.c | 92

[PATCHv3 3/7] rtc: Convert struct i2c_msg initialization to C99 format

2012-09-25 Thread Shubhrajyoti D
Convert the struct i2c_msg initialization to C99 format. This makes maintaining and editing the code simpler. Also helps once other fields like transferred are added in future. Signed-off-by: Shubhrajyoti D shubhrajy...@ti.com --- drivers/rtc/rtc-s35390a.c | 13 +++-- 1 files changed,

[PATCHv3 0/7] rtc: convert to c99 format

2012-09-25 Thread Shubhrajyoti D
The series tries to convert the i2c_msg to c99 struct. This may avoid issues like below if someone tries to add a structure. http://www.mail-archive.com/linux-i2c@vger.kernel.org/msg08972.html Special thanks to Julia Lawall for helping it automate. By the below script.

<    4   5   6   7   8   9   10   11   12   13   >