Re: [PATCH V2 4/6] Thermal: Remove the cooling_cpufreq_list.

2012-10-27 Thread Francesco Lavra
On Fri, 26 Oct 2012 15:09:05 +0800, Hongbo Zhang wrote: From: hongbo.zhang hongbo.zhang at linaro.com Problem of using this list is that the cpufreq_get_max_state callback will be called when register cooling device by thermal_cooling_device_register, but this list isn't ready at this

Re: [PATCH v5] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet Gupta
On Friday 26 October 2012 05:40 PM, Felipe Balbi wrote: On Fri, Oct 26, 2012 at 05:33:16PM +0530, vineet.gup...@synopsys.com wrote: +/* + * Release the memory region(s) being used by 'port'. + */ +static void arc_serial_release_port(struct uart_port *port) +{ +} + +/* + * Request the

[PATCH v7] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Hi, Here's the updated revision with all of Felipe' review comments. -Rebased off tty-next tip. -Build tested for x86, both as builtin and as module -Same driver (as module) verified on ARCAngel4 Board. Please consider applying. Thanks, Vineet v7: *

[PATCH v7] serial/arc-uart: Add new driver

2012-10-27 Thread Vineet.Gupta1
From: Vineet Gupta vgu...@synopsys.com Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: Vineet Gupta vgu...@synopsys.com --- drivers/tty/serial/Kconfig | 23 ++ drivers/tty/serial/Makefile |1 +

[PATCH] Input: select INPUT_MATRIXKMAP for lpc32xx-keys

2012-10-27 Thread Roland Stigge
This patch adds a select dependency of KEYBOARD_LPC32XX on INPUT_MATRIXKMAP, as the other drivers are doing in this regard. This fixes the following compile error if KEYBOARD_LPC32XX is enabled but INPUT_MATRIXKMAP is not: drivers/input/keyboard/lpc32xx-keys.c:230: undefined reference to

Re: [BUG] lkvm crash on crashkernel boot

2012-10-27 Thread Asias He
On Fri, Oct 26, 2012 at 11:31 PM, Pekka Enberg penb...@kernel.org wrote: On Thu, 25 Oct 2012, Sasha Levin wrote: I think we're seeing that because we don't handle VIRTIO_MSI_NO_VECTOR properly. We need to deal with the ability to remove GSI friends as well. I've added it to my workqueue

RFC: kconfig option CONFIG_LBDAF should be auto-selected if EXT4 is chosen

2012-10-27 Thread Toralf Förster
otherwise booting an EXT4 image won't work b/c the root fs can't be mounted read-write - and as a side effect no syslog messages might point the user to this issue (at least in my setup) ... :-/ -- MfG/Sincerely Toralf Förster pgp finger print: 7B1A 07F4 EC82 0F90 D4C2 8936 872A E508 7DB6 9DA3

[PATCH 1/5] debugfs: pass NULL as the last parameter of debugfs_print_regs32()

2012-10-27 Thread Yan Hong
If 'prefix' is not used, pass NULL instead of empty string as the last parameter of debugfs_print_regs32(). Cc: Alessandro Rubini rub...@gnudd.com Signed-off-by: Yan Hong clouds@gmail.com --- This function is only used (twice) by the author of it, and the 'prefix' feature is never used. But

[PATCH 3/5] debugfs: remove redundant initialization in __create_file()

2012-10-27 Thread Yan Hong
'dentry' has been set to NULL at the beginning of the function. Signed-off-by: Yan Hong clouds@gmail.com --- fs/debugfs/inode.c |1 - 1 file changed, 1 deletion(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 11f6514..12f1282 100644 --- a/fs/debugfs/inode.c +++

[PATCH 5/5] debugfs: remove goto in debugfs_remount()

2012-10-27 Thread Yan Hong
Simple code clean to remove goto. Signed-off-by: Yan Hong clouds@gmail.com --- fs/debugfs/inode.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c index 58eadc1..c0b06a3 100644 --- a/fs/debugfs/inode.c +++

[PATCH 4/5] debugfs: remove redundant check in __debugfs_remove()

2012-10-27 Thread Yan Hong
debugfs_positive() already checked dentry-d_inode is not NUUL, no need to check it again. Signed-off-by: Yan Hong clouds@gmail.com --- fs/debugfs/inode.c | 30 ++ 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/fs/debugfs/inode.c

[PATCH 2/5] debugfs: return directly if failed to allocate memory in debug_fill_super()

2012-10-27 Thread Yan Hong
If kzalloc failed, memory is not allocated, sb-s_fs_info is NULL. No need to go through clean up code, return -ENOMEM directly. Signed-off-by: Yan Hong clouds@gmail.com --- fs/debugfs/inode.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/fs/debugfs/inode.c

Re: RFC: kconfig option CONFIG_LBDAF should be auto-selected if EXT4 is chosen

2012-10-27 Thread Theodore Ts'o
On Sat, Oct 27, 2012 at 10:00:46AM +0200, Toralf Förster wrote: otherwise booting an EXT4 image won't work b/c the root fs can't be mounted read-write - and as a side effect no syslog messages might point the user to this issue (at least in my setup) ... This is only a problem on 32-bit

Re: RFC: kconfig option CONFIG_LBDAF should be auto-selected if EXT4 is chosen

2012-10-27 Thread Toralf Förster
On 10/27/2012 10:24 AM, Theodore Ts'o wrote: On Sat, Oct 27, 2012 at 10:00:46AM +0200, Toralf Förster wrote: otherwise booting an EXT4 image won't work b/c the root fs can't be mounted read-write - and as a side effect no syslog messages might point the user to this issue (at least in my

Re: [PATCH] kfifo: remove unnecessary type check

2012-10-27 Thread Yuanhan Liu
On Fri, Oct 26, 2012 at 03:42:44PM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 21:04 +0800 schrieb Yuanhan Liu: On Fri, Oct 26, 2012 at 11:26:31AM +0200, Stefani Seibold wrote: Am Freitag, den 26.10.2012, 15:17 +0800 schrieb Yuanhan Liu: On Fri, Oct 26, 2012 at 08:51:06AM

Re: [RESEND-PATCH] media:davinci: clk - {prepare/unprepare} for common clk

2012-10-27 Thread Sekhar Nori
Hi Murali, On 10/26/2012 9:22 PM, Murali Karicheri wrote: On 10/25/2012 09:12 AM, Prabhakar Lad wrote: Hi Murali, Thanks for the patch. I'll queue this patch for 3.8. Please check with Sekhar as well. This is a preparation patch for common clk framework support. ALso fixes some bugs on

[PATCH v2] kfifo: remove unnecessary type check

2012-10-27 Thread Yuanhan Liu
Firstly, this kind of type check doesn't work. It does something similar as following: void * __dummy = NULL; __buf = __dummy; __dummy is defined as void *. Thus it will not trigger warnings as expected. Second, we don't need that kind of check. Since the prototype of __kfifo_out

Re: [ANNOUNCE] 3.6.3-rt7

2012-10-27 Thread Thomas Gleixner
On Sat, 27 Oct 2012, Anca Emanuel wrote: On Sat, Oct 27, 2012 at 1:08 AM, Thomas Gleixner t...@linutronix.de wrote: Looks like CONFIG_NUMA=y exposes explosions. I just noticed that none of the machines which are in my basic set of test systems have that enabled. /me goes to do some

Re: [PATCH] kfifo: remove unnecessary type check

2012-10-27 Thread Yuanhan Liu
On Sat, Oct 27, 2012 at 09:55:58AM +0800, Richard Yang wrote: On Fri, Oct 26, 2012 at 08:31:38PM +0800, Yuanhan Liu wrote: On Fri, Oct 26, 2012 at 05:52:44PM +0800, Richard Yang wrote: On Fri, Oct 26, 2012 at 02:11:45PM +0800, Yuanhan Liu wrote: On Fri, Oct 26, 2012 at 07:38:31AM +0200,

Re: [GIT PULL 0/9] perf/core improvements and fixes

2012-10-27 Thread Namhyung Kim
2012-10-26 (금), 19:20 +0200, Borislav Petkov: On Fri, Oct 26, 2012 at 09:31:15AM -0700, Arnaldo Carvalho de Melo wrote: Right, perf'ing perf is a favourite pastime, right? Sure, can I get perfing perf on a T-shirt please? Well, guys, this is not perfing perf. It's about perfing make and/or

Re: [RESEND-PATCH] media:davinci: clk - {prepare/unprepare} for common clk

2012-10-27 Thread Prabhakar Lad
Sekhar, On Sat, Oct 27, 2012 at 2:14 PM, Sekhar Nori nsek...@ti.com wrote: Hi Murali, On 10/26/2012 9:22 PM, Murali Karicheri wrote: On 10/25/2012 09:12 AM, Prabhakar Lad wrote: Hi Murali, Thanks for the patch. I'll queue this patch for 3.8. Please check with Sekhar as well. This is a

Re: [PATCH v2 3/4] DMA: PL330: Balance module remove function with probe

2012-10-27 Thread Inderpal Singh
Hi Vinod, On 26 October 2012 10:15, Vinod Koul vk...@infradead.org wrote: On Thu, 2012-10-25 at 16:53 +0530, Inderpal Singh wrote: This code will get executed only in case of force removal of the module which was discussed in the first version of the patch at [1]. Now, if we do not have to

Re: [PATCH 2/3] x86,mm: drop TLB flush from ptep_set_access_flags

2012-10-27 Thread Ingo Molnar
* Rik van Riel r...@redhat.com wrote: On 10/26/2012 05:12 PM, Alan Cox wrote: On Fri, 26 Oct 2012 14:45:02 -0400 Rik van Riel r...@redhat.com wrote: Intel has an architectural guarantee that the TLB entry causing a page fault gets invalidated automatically. This means we should be able

[PATCH][sched] Ignore RT throttling if rq-rt tasks are the only running tasks in the rq

2012-10-27 Thread Kirill Tkhai
The current throttling logic always skips RT class if rq-rt is throttled. It doesn't handle the special case when RT tasks are the only running tasks in the rq. So it's possible CPU picks idle task up when RTs are available. This patch aims to avoid the above situation. The modified

Re: [PATCH 2/2 v4] block/throttle: Add IO submitted information in blkio.throttle

2012-10-27 Thread Robin Dong
2012/10/27 Vivek Goyal vgo...@redhat.com: On Fri, Oct 26, 2012 at 12:47:48PM +0800, Robin Dong wrote: [..] @@ -1084,6 +1114,16 @@ static struct cftype throtl_files[] = { .private = offsetof(struct tg_stats_cpu, serviced), .read_seq_string = tg_print_cpu_rwstat,

Re: [PATCH] exec: do not leave bprm-interp on stack

2012-10-27 Thread P J P
+-- On Fri, 26 Oct 2012, Al Viro wrote --+ | not. Module alias could dodge this though, I guess. | Could? Can you show a single module that would have name matching | binfmt-[0-9a-f]*? In other words, are they ever loaded _not_ via an | alias? I understand. I was wondering if alias

Re: [PATCH V2 5/6] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-10-27 Thread Francesco Lavra
On Thu Oct 25 11:13:59 2012, Hongbo Zhang wrote: From: hongbo.zhang hongbo.zh...@linaro.com This diver is based on the thermal management framework in thermal_sys.c. A thermal zone device is created with the trip points to which cooling devices can be bound, the current cooling device is

[PATCH] Bluetooth: Add support for BCM20702A0 [0b05, 17b5]

2012-10-27 Thread Jeff Cook
Vendor-specific ID for BCM20702A0. Support for bluetooth over Asus Wi-Fi GO!, included with Asus P8Z77-V Deluxe. T: Bus=07 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0b05 ProdID=17b5 Rev=01.12 S:

Re: [PATCH][sched] Ignore RT throttling if rq-rt tasks are the only running tasks in the rq

2012-10-27 Thread Kirill Tkhai
I need a little rework of this patch. I'll send it later. Sorry for the noise. Kirill 27.10.2012, 14:36, Kirill Tkhai tk...@yandex.ru: The current throttling logic always skips RT class if rq-rt is throttled. It doesn't handle the special case when RT tasks are the only running tasks in the

Re: mmotm 2012-10-24-17-15 uploaded (uml)

2012-10-27 Thread Jiri Slaby
On 10/25/2012 04:48 AM, Stephen Rothwell wrote: Hi Randy, On Wed, 24 Oct 2012 18:17:59 -0700 Randy Dunlap rdun...@xenotime.net wrote: uml on x86_64 defconfig: arch/um/drivers/chan_kern.c: In function 'tty_receive_char': arch/um/drivers/chan_kern.c:89:42: error: 'struct tty_struct' has no

Re: [PATCH v2 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-27 Thread kishon
Hi, On Saturday 27 October 2012 01:29 AM, Felipe Balbi wrote: Hi, On Fri, Oct 26, 2012 at 10:16:55AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [121025 23:55]: On Thu, Oct 25, 2012 at 10:44:47AM -0700, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [121024 23:24]: Hi, On

Re: [PATCH v2 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-27 Thread kishon
On Saturday 27 October 2012 01:46 AM, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [121026 13:07]: On Fri, Oct 26, 2012 at 10:21:41AM -0700, Tony Lindgren wrote: * Arnd Bergmann a...@arndb.de [121026 00:48]: On Friday 26 October 2012, Felipe Balbi wrote: +static void

[PATCH v8 02/32] vfs: make fstatat retry on ESTALE errors from getattr call

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/stat.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/fs/stat.c b/fs/stat.c index eae4946..c97a17e 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -74,7 +74,8 @@ int vfs_fstatat(int dfd, const char __user

[PATCH v8 05/32] vfs: fix mknodat to retry on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 43 +-- 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index a2bb283..7b0ca39 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3177,34 +3177,41 @@

[PATCH v8 27/32] vfs: make removexattr retry once on ESTALE

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 8a30ef0..e2071ed 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -645,16 +645,21 @@ SYSCALL_DEFINE2(removexattr,

[PATCH v8 32/32] vfs: make number of ESTALE retries tunable

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 2 ++ include/linux/fs.h | 4 +++- kernel/sysctl.c| 7 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index 6886630..1ae2c06 100644 --- a/fs/namei.c +++ b/fs/namei.c @@

[PATCH v8 28/32] vfs: make lremovexattr retry once on ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index e2071ed..17d5135 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -668,16 +668,21 @@ SYSCALL_DEFINE2(lremovexattr,

[PATCH v8 31/32] vfs: convert filename_lookup to use retry_estale helper

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index c6173cc..6886630 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2020,10 +2020,11 @@ static int path_lookupat(int dfd, const char *name,

[PATCH v8 30/32] vfs: convert do_file_open_root to use retry_estale helper

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index 6930e91..c6173cc 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3028,6 +3028,7 @@ struct file *do_file_open_root(struct dentry *dentry,

[PATCH v8 23/32] vfs: make getxattr retry once on an ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 5a9ddba..42284fc 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -486,12 +486,17 @@ SYSCALL_DEFINE4(getxattr, const char

[PATCH v8 29/32] vfs: convert do_filp_open to use retry_estale helper

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/namei.c b/fs/namei.c index 27bff9b..6930e91 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3012,11 +3012,12 @@ struct file *do_filp_open(int dfd, struct filename

[PATCH v8 26/32] vfs: make llistxattr retry once on ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 8a318a4..8a30ef0 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -595,12 +595,17 @@ SYSCALL_DEFINE3(llistxattr, const char

[PATCH v8 15/32] vfs: have chdir retry lookup and call once on ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/fs/open.c b/fs/open.c index 9cd0a50..5c2a973 100644 --- a/fs/open.c +++ b/fs/open.c @@ -387,20 +387,21 @@ SYSCALL_DEFINE1(chdir, const char

[PATCH v8 25/32] vfs: make listxattr retry once on ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 3a5e3ff..8a318a4 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -576,12 +576,17 @@ SYSCALL_DEFINE3(listxattr, const char

[PATCH v8 24/32] vfs: make lgetxattr retry once on ESTALE

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 42284fc..3a5e3ff 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -505,12 +505,17 @@ SYSCALL_DEFINE4(lgetxattr, const char

[PATCH v8 22/32] vfs: allow lsetxattr() to retry once on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index 5b6e48d..5a9ddba 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -394,16 +394,21 @@ SYSCALL_DEFINE5(lsetxattr, const

[PATCH v8 16/32] vfs: make chroot retry once on ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 37 + 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/fs/open.c b/fs/open.c index 5c2a973..a1331f1 100644 --- a/fs/open.c +++ b/fs/open.c @@ -434,27 +434,32 @@ SYSCALL_DEFINE1(chroot,

[PATCH v8 21/32] vfs: allow setxattr to retry once on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/xattr.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/fs/xattr.c b/fs/xattr.c index f3a2ffa..5b6e48d 100644 --- a/fs/xattr.c +++ b/fs/xattr.c @@ -370,16 +370,21 @@ SYSCALL_DEFINE5(setxattr, const

[PATCH v8 20/32] vfs: allow utimensat() calls to retry once on an ESTALE error

2012-10-27 Thread Jeff Layton
Clearly, we can't handle the NULL filename case, but we can deal with the case where there's a real pathname. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/utimes.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/fs/utimes.c b/fs/utimes.c index

[PATCH v8 19/32] vfs: fix user_statfs to retry once on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/statfs.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/fs/statfs.c b/fs/statfs.c index f8e832e..7b42ca3 100644 --- a/fs/statfs.c +++ b/fs/statfs.c @@ -77,11 +77,19 @@ EXPORT_SYMBOL(vfs_statfs); int

[PATCH v8 12/32] vfs: fix renameat to retry on ESTALE errors

2012-10-27 Thread Jeff Layton
...as always, rename is the messiest of the bunch. We have to track whether to retry or not via a separate flag since the error handling is already quite complex. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-)

[PATCH v8 18/32] vfs: make fchownat retry once on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/fs/open.c b/fs/open.c index 06f04bd..abb52b9 100644 --- a/fs/open.c +++ b/fs/open.c @@ -564,24 +564,29 @@ SYSCALL_DEFINE5(fchownat, int,

[PATCH v8 17/32] vfs: make fchmodat retry once on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/fs/open.c b/fs/open.c index a1331f1..06f04bd 100644 --- a/fs/open.c +++ b/fs/open.c @@ -503,12 +503,17 @@ SYSCALL_DEFINE3(fchmodat, int, dfd, const char

[PATCH v8 14/32] vfs: have faccessat retry once on an ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 64 +-- 1 file changed, 34 insertions(+), 30 deletions(-) diff --git a/fs/open.c b/fs/open.c index 2a32d5c..9cd0a50 100644 --- a/fs/open.c +++ b/fs/open.c @@ -310,6 +310,8 @@

[PATCH v8 09/32] vfs: add a reval argument to user_path_parent

2012-10-27 Thread Jeff Layton
...so we can tell it when to set LOOKUP_REVAL. Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index d542a19..47b6016 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -2184,15

[PATCH v8 13/32] vfs: have do_sys_truncate retry once on an ESTALE error

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/open.c | 86 +-- 1 file changed, 45 insertions(+), 41 deletions(-) diff --git a/fs/open.c b/fs/open.c index 94d5649..2a32d5c 100644 --- a/fs/open.c +++ b/fs/open.c @@ -66,62 +66,66 @@

[PATCH v8 11/32] vfs: make do_unlinkat retry on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 7c9bb50..467b9f1 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3446,9 +3446,13 @@ static long do_unlinkat(int dfd, const char

[PATCH v8 10/32] vfs: make rmdir retry on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 81 ++ 1 file changed, 44 insertions(+), 37 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 47b6016..7c9bb50 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3344,49

[PATCH v8 08/32] vfs: fix linkat to retry on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 46 ++ 1 file changed, 26 insertions(+), 20 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 7def44b..d542a19 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3613,6 +3613,7 @@

[PATCH v8 07/32] vfs: fix symlinkat to retry on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 6e8db3d..7def44b 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3525,21 +3525,25 @@ SYSCALL_DEFINE3(symlinkat, const

[PATCH v8 06/32] vfs: fix mkdir to retry on ESTALE errors

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/namei.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/fs/namei.c b/fs/namei.c index 7b0ca39..6e8db3d 100644 --- a/fs/namei.c +++ b/fs/namei.c @@ -3250,17 +3250,20 @@ SYSCALL_DEFINE3(mkdirat, int,

[PATCH v8 04/32] vfs: add new reval argument to kern_path_create and user_path_create

2012-10-27 Thread Jeff Layton
...for now, all of the callers pass in false. Eventually, we'll set that to true when we retry the lookup after getting back an ESTALE on a call. While we're at it, change the is_dir arg to a bool since that's how it's used currently. Signed-off-by: Jeff Layton jlay...@redhat.com ---

[PATCH v8 00/32] vfs: add the ability to retry lookup and operation to most path-based syscalls

2012-10-27 Thread Jeff Layton
This patchset retrofits most of the path-based syscalls in the kernel to retry the lookup and operation when the operation returns ESTALE. There might be a few more that need similar changes afterward, but this should cover most of the ones people are interested in. The prerequisite patches for

[PATCH v8 03/32] vfs: fix readlinkat to retry on ESTALE

2012-10-27 Thread Jeff Layton
Signed-off-by: Jeff Layton jlay...@redhat.com --- fs/stat.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/fs/stat.c b/fs/stat.c index c97a17e..452ee93 100644 --- a/fs/stat.c +++ b/fs/stat.c @@ -300,14 +300,21 @@ SYSCALL_DEFINE4(readlinkat, int, dfd, const

[PATCH v8 01/32] vfs: add a retry_estale helper function to handle retries on ESTALE

2012-10-27 Thread Jeff Layton
This function is expected to be called from path-based syscalls to help them decide whether to try the lookup and call again in the event that they got an -ESTALE return back on an earier try. Currently, we only retry the call once on an ESTALE error, but in the event that we decide that that's

Re: Apparent serious progressive ext4 data corruption bug in 3.6.3 (and other stable branches?)

2012-10-27 Thread Nix
[nfs people purged from Cc] On 27 Oct 2012, Theodore Ts'o verbalised: Huh? It's not turned on by default. If you mount with no mount options, journal checksums are *not* turned on. ?! it's turned on for me, and though I use weird mount options I don't use that one: /dev/main/var /var

Re: [PATCH] ARM: OMAP4: Basic default configuration for Pandaboard

2012-10-27 Thread Santosh Shilimkar
On Saturday 27 October 2012 05:33 PM, Constantine Shulyupin wrote: From: Constantine Shulyupin co...@makelinux.com Tested SD (MMC) and Ethernet smsc95xx on linux-3.7-rc2 Signed-off-by: Constantine Shulyupin co...@makelinux.com -- kernel size is 2.3 MiB ---

Re: [GIT PULL 0/9] perf/core improvements and fixes

2012-10-27 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: Em Fri, Oct 26, 2012 at 04:54:51PM +0200, Ingo Molnar escreveu: * Arnaldo Carvalho de Melo a...@infradead.org wrote: . Makefile improvements from Namhyung Kim. These are really useful: there used to be a couple of seconds of wait

Re: [PATCH v3] firmware loader: introduce module parameter to customize fw search path

2012-10-27 Thread Ming Lei
On Sat, Oct 27, 2012 at 1:20 PM, anish kumar anish198519851...@gmail.com wrote: + [1], the 'path' is a string parameter which length should be less whose length should be less... Maybe, but it is not a big deal, you may find some drivers can keep one module string parameter length as 4096.

'git describe' is very slow on development trees with lots of commits

2012-10-27 Thread Ingo Molnar
(Cc:-ed the Git development list.) * David Ahern dsah...@gmail.com wrote: PERF-VERSION-GEN and specifically the git commands are the cause of more delay than the config checks, especially when doing the build in a VM with the kernel source on an NFS mount. Yes, I have noticed that too.

[PATCH v3 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-10-27 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/devices.c | 79 + 1 file changed, 79

[PATCH v3 0/3] ocp2scp: add non-dt support

2012-10-27 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for

[PATCH v3 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-10-27 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28

[PATCH v3 1/3] drivers: bus: ocp2scp: add pdata support

2012-10-27 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by:

Re: [PATCH 2/3] x86,mm: drop TLB flush from ptep_set_access_flags

2012-10-27 Thread Rik van Riel
On 10/26/2012 05:12 PM, Alan Cox wrote: On Fri, 26 Oct 2012 14:45:02 -0400 Rik van Riel r...@redhat.com wrote: Intel has an architectural guarantee that the TLB entry causing a page fault gets invalidated automatically. This means we should be able to drop the local TLB invalidation. Because

RE: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Michal Simek
Hi Josh, -Original Message- From: Josh Cartwright [mailto:josh.cartwri...@ni.com] Sent: Wednesday, October 24, 2012 10:03 PM To: a...@kernel.org; Arnd Bergmann Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; John Linn; Nick Bowler; Michal Simek Subject:

RE: [PATCH v4 2/5] zynq: use pl310 device tree bindings

2012-10-27 Thread Michal Simek
-Original Message- From: Josh Cartwright [mailto:josh.cartwri...@ni.com] Sent: Wednesday, October 24, 2012 10:04 PM To: a...@kernel.org; Arnd Bergmann Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; John Linn; Nick Bowler; Michal Simek Subject: [PATCH v4

Re: [drm:i915_hangcheck_hung] *ERROR* Hangcheck timer elapsed... GPU hung

2012-10-27 Thread Daniel Vetter
On Fri, Oct 26, 2012 at 10:57 PM, Justin P. Mattock justinmatt...@gmail.com wrote: :~/drm git clone git://people.freedesktop.org/~danvet/drm Cloning into 'drm'... remote: Counting objects: 2728390, done. remote: Compressing objects: 100% (418606/418606), done. remote: Total 2728390 (delta

RE: [PATCH v4 4/5] ARM: annotate VMALLOC_END definition with _AC

2012-10-27 Thread Michal Simek
-Original Message- From: Josh Cartwright [mailto:josh.cartwri...@ni.com] Sent: Wednesday, October 24, 2012 10:05 PM To: a...@kernel.org; Arnd Bergmann Cc: linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; John Linn; Nick Bowler; Michal Simek Subject: [PATCH v4

Re: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Josh Cartwright
On Sat, Oct 27, 2012 at 01:39:00PM +, Michal Simek wrote: Hi Josh, -Original Message- From: Josh Cartwright [mailto:josh.cartwri...@ni.com] Sent: Wednesday, October 24, 2012 10:03 PM To: a...@kernel.org; Arnd Bergmann Cc: linux-kernel@vger.kernel.org;

RE: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Michal Simek
Hi Josh -Original Message- From: Josh Cartwright [mailto:josh.cartwri...@ni.com] Sent: Saturday, October 27, 2012 4:01 PM To: Michal Simek Cc: a...@kernel.org; Arnd Bergmann; linux-kernel@vger.kernel.org; linux-arm- ker...@lists.infradead.org; John Linn; Nick Bowler Subject: Re:

[PATCH] Some Samsung laptops with Fn+Fx key release not working

2012-10-27 Thread whs_jwc
[PATCH] Some Samsung laptops with Fn+Fx key release not working Some new Samsung laptops doesn't send key-release signal of the volume key to the OS, it's quite hard to change the volume by using Fn+Fx, so I decode the DMI and add several samsung machines to the

Re: [GIT PULL 0/9] perf/core improvements and fixes

2012-10-27 Thread Arnaldo Carvalho de Melo
Em Sat, Oct 27, 2012 at 06:16:31PM +0900, Namhyung Kim escreveu: 2012-10-26 (금), 19:20 +0200, Borislav Petkov: On Fri, Oct 26, 2012 at 09:31:15AM -0700, Arnaldo Carvalho de Melo wrote: Right, perf'ing perf is a favourite pastime, right? Sure, can I get perfing perf on a T-shirt please?

Re: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Josh Cartwright
On Sat, Oct 27, 2012 at 02:06:45PM +, Michal Simek wrote: [...] I am not big fan to use dtsi solution because dts can be simple generated directly From Xilinx design tool based on your hw design. That's why I can't see any benefit To have dtsi file. Can I ask you to reconsider? We,

[PATCH] iio: hid-sensor: Use __devexit annotation for remove()

2012-10-27 Thread Axel Lin
Use __devexit rather than __devinit annotation for remove(). Also adds __devexit_p around remove callback. Signed-off-by: Axel Lin axel@ingics.com --- drivers/iio/accel/hid-sensor-accel-3d.c |4 ++-- drivers/iio/gyro/hid-sensor-gyro-3d.c |4 ++--

[PATCH] staging: csr: Fix typo in csr/netdev.c

2012-10-27 Thread Masanari Iida
Correct spelling typo in trace message. Signed-off-by: Masanari Iida standby2...@gmail.com --- drivers/staging/csr/netdev.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 0e34020..878c3df 100644

[PATCH 1/6] fat: remove parent_logstart check in fat_get_parent

2012-10-27 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com The root directory inode is added to the directory hash table in fat_attach when mounted with nfs option. Since root dentry never expires until umount, fat_dget never fails to return the root inode for subdirectories of root inode.i.e., parent_logstart

[PATCH 2/6] fat: restructure export operations

2012-10-27 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Define two nfs export_operation structures,one for 'stale_rw' mounts and the other for 'nostale_ro'.The former uses the generic export_encode_fh function to encode file handle, while the latter uses fat_encode_fh. Since inode number is not needed for

[PATCH 3/6] fat: move fat_i_pos_read to fat.h

2012-10-27 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Originally, fat_i_pos_read was a static inline function in inode.c. The static keyword was removed so that it could be accessed from other files. However it is better to make it a static inline function in fat.h as suggested by Ogawa. Signed-off-by:

[PATCH 4/6] fat: (exportfs) move code to rebuild directory-inode to separate function

2012-10-27 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com Move the logic to rebuild directory inode (when mounted with nostale_ro) to new function fat_rebuild_parent Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ravishankar N ravi...@samsung.com Signed-off-by: Amit Sahrawat

[PATCH 5/6] fat: add mutex lock to fat_build_inode

2012-10-27 Thread Namjae Jeon
From: Namjae Jeon namjae.j...@samsung.com fat_nfs_get_inode does not hold i_mutex of parent directory.So add lock to fat_build_inode. Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Ravishankar N ravi...@samsung.com Signed-off-by: Amit Sahrawat a.sahra...@samsung.com ---

Re: [GIT PULL] at91: fixes for 3.7-rc3

2012-10-27 Thread Jean-Christophe PLAGNIOL-VILLARD
On 20:53 Fri 26 Oct , Arnd Bergmann wrote: On Thursday 25 October 2012, Nicolas Ferre wrote: ARM: at91: fix external interrupts in non-DT case This patch now leads to build errors with at91x40_defconfig, which I've fixed up by applying the patch below on top. Please yell if

[PATCH] iio: hid-sensor: Return proper error if kmemdup fails

2012-10-27 Thread Axel Lin
Return -ENOMEM instead of 0 if kmemdup fails. Signed-off-by: Axel Lin axel@ingics.com --- drivers/iio/accel/hid-sensor-accel-3d.c |6 +++--- drivers/iio/gyro/hid-sensor-gyro-3d.c |6 +++--- drivers/iio/light/hid-sensor-als.c|5 ++---

Re: [PATCH 1/4] mfd: ab8500: add devicetree support for fuelgauge

2012-10-27 Thread Francesco Lavra
On 10/25/2012 08:30 AM, Rajanikanth H.V wrote: From: Rajanikanth H.V rajanikanth...@stericsson.com - This patch adds device tree support for fuelgauge driver - optimize bm devices platform_data usage and of_probe(...) Note: of_probe() routine for battery managed devices is made common

Re: [PATCH 5/5] debugfs: remove goto in debugfs_remount()

2012-10-27 Thread Greg KH
On Sat, Oct 27, 2012 at 04:05:29PM +0800, Yan Hong wrote: Simple code clean to remove goto. There is nothing wrong with gotos on error paths, so this one should stay. greg k-h -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH 1/5] debugfs: pass NULL as the last parameter of debugfs_print_regs32()

2012-10-27 Thread Greg KH
On Sat, Oct 27, 2012 at 04:05:25PM +0800, Yan Hong wrote: If 'prefix' is not used, pass NULL instead of empty string as the last parameter of debugfs_print_regs32(). Cc: Alessandro Rubini rub...@gnudd.com Signed-off-by: Yan Hong clouds@gmail.com --- This function is only used

Re: [PATCH 2/4] mfd: ab8500: add devicetree support for btemp

2012-10-27 Thread Francesco Lavra
On 10/25/2012 08:30 AM, Rajanikanth H.V wrote: From: Rajanikanth H.V rajanikanth...@stericsson.com This patch adds device tree support for battery-temperature-monitor driver Signed-off-by: Rajanikanth H.V rajanikanth...@stericsson.com --- Documentation/devicetree/bindings/mfd/ab8500.txt

Re: [PATCH 3/4] mfd: ab8500: add devicetree support for charger

2012-10-27 Thread Francesco Lavra
On 10/25/2012 08:30 AM, Rajanikanth H.V wrote: From: Rajanikanth H.V rajanikanth...@stericsson.com This patch adds device tree support for ab8500-charger driver Signed-off-by: Rajanikanth H.V rajanikanth...@stericsson.com [...] diff --git a/drivers/power/ab8500_charger.c

Re: [PATCH 4/4] mfd: ab8500: add devicetree support for chargalg

2012-10-27 Thread Francesco Lavra
On 10/25/2012 08:30 AM, Rajanikanth H.V wrote: From: Rajanikanth H.V rajanikanth...@stericsson.com This patch adds device tree support for charging algorithm driver Signed-off-by: Rajanikanth H.V rajanikanth...@stericsson.com [...] diff --git a/drivers/power/abx500_chargalg.c

RE: [PATCH v4 1/5] zynq: use GIC device tree bindings

2012-10-27 Thread Michal Simek
-Original Message- From: Josh Cartwright [mailto:josh.cartwri...@ni.com] Sent: Saturday, October 27, 2012 4:43 PM To: Michal Simek Cc: a...@kernel.org; Arnd Bergmann; linux-kernel@vger.kernel.org; linux-arm- ker...@lists.infradead.org; John Linn; Nick Bowler Subject: Re: [PATCH v4

  1   2   3   4   5   >