[PATCH 2/5] rtl8712: remove unused macros from rtl8712/wifi.h

2012-12-09 Thread Przemo Firszt
Those definitions are not used anywhere in the kernel. If you know any reason why they should stay in the code please speak up! Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/wifi.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/wifi.h

[PATCH 4/5] rtl8712: replace min with min_t

2012-12-09 Thread Przemo Firszt
A clean up change suggested by checkpatch.pl Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c

[PATCH 3/5] rtl8712: replace printk with better solutions

2012-12-09 Thread Przemo Firszt
Replace printk with netdev_printk helpers, dev_printk helpers or pr_err/warn/info if there is no device info available. Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/hal_init.c| 17 ++- drivers/staging/rtl8712/os_intfs.c| 3 +-

[PATCH 5/5] rtl8712: replace leading spaces with tab

2012-12-09 Thread Przemo Firszt
Replace leading spaces with tab Signed-off-by: Przemo Firszt --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread Alan Cox
On Sun, 09 Dec 2012 01:58:19 -0800 anish kumar wrote: > On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: > > > I could imagine declaring the activity request buttons to be "input", but > > > for > > > presence detects it is a bit far fetched and would add too much > > > complexity. > > > >

Re: [PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-09 Thread Tony Prisk
On Sun, 2012-12-09 at 08:21 +0100, Julia Lawall wrote: > > Rather than the goto, add the fail path code in directly, and return. > > > > > > ret = register_framebuffer(>fb); > > if (ret < 0) { > > dev_err(>dev, > > "Failed to register framebuffer device: %d\n", ret); > > if (fbi->fb.cmap.len) >

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread anish kumar
On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: > > I could imagine declaring the activity request buttons to be "input", but > > for > > presence detects it is a bit far fetched and would add too much complexity. > > Android tries to address this with its switch class driver, but I'm not >

Re: [PATCH] Document how capability bits work

2012-12-09 Thread Michael Kerrisk (man-pages)
Andy, On Sat, Dec 8, 2012 at 2:27 AM, Andy Lutomirski wrote: > On Fri, Dec 7, 2012 at 5:10 PM, Rob Landley wrote: >> On 12/07/2012 01:32:18 PM, Andy Lutomirski wrote: >>> >>> On Fri, Dec 7, 2012 at 11:21 AM, Serge Hallyn >>> wrote: >>> > Quoting Andy Lutomirski (l...@amacapital.net): >>> >>

[PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter

2012-12-09 Thread Maia Kozheva
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a Ralink chipset supported by the rt2800usb driver. Currently, to work around the problem (it's missing in all present kernel versions, up to and including 3.7.x), I had to add this

Re: [PATCH] ARM: Orion: Hoist bridge interrupt handling out of the timer

2012-12-09 Thread Andrew Lunn
On Sat, Dec 08, 2012 at 07:57:48PM -0700, Jason Gunthorpe wrote: > On Sat, Dec 08, 2012 at 12:26:24PM +0100, Andrew Lunn wrote: > > > 1) It should have an IRQ domain, like the other IRQ chips we have. > > 2) It should have a DT binding, like the other IRQ chips we have. > > I was going to look

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread Cong Ding
On Sun, Dec 09, 2012 at 02:24:55PM +0900, Masami Hiramatsu wrote: > (2012/12/08 8:17), Cong Ding wrote: > >> Patch description please? > > there are 2 consts in the definition of one variable > > > > Please put in an actual patch description. The first line (subject >

[PATCH v3] x86: fix the error of using "const" in gen-insn-attr-x86.awk

2012-12-09 Thread Cong Ding
>From 9523e1de9d2771dc66a5b645651fc9f4745eb685 Mon Sep 17 00:00:00 2001 From: Cong Ding Date: Sun, 9 Dec 2012 08:06:20 + Subject: [PATCH v3] x86: fix the error of using "const" in gen-insn-attr-x86.awk x86: fix the error of using "const" in gen-insn-attr-x86.awk The original version code

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-09 Thread Tang Chen
Hi Liu, Wu, On 12/06/2012 10:26 AM, Jiang Liu wrote: On 2012-12-6 9:26, Tang Chen wrote: On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make "movablecore_map" take precedence over "movablecore/kernelcore", the logic could be simplified. I think it's not so attractive to support both

Re: [PATCH v2 4/5] page_alloc: Make movablecore_map has higher priority

2012-12-09 Thread Tang Chen
Hi Liu, Wu, On 12/06/2012 10:26 AM, Jiang Liu wrote: On 2012-12-6 9:26, Tang Chen wrote: On 12/05/2012 11:43 PM, Jiang Liu wrote: If we make movablecore_map take precedence over movablecore/kernelcore, the logic could be simplified. I think it's not so attractive to support both

[PATCH v3] x86: fix the error of using const in gen-insn-attr-x86.awk

2012-12-09 Thread Cong Ding
From 9523e1de9d2771dc66a5b645651fc9f4745eb685 Mon Sep 17 00:00:00 2001 From: Cong Ding ding...@gmail.com Date: Sun, 9 Dec 2012 08:06:20 + Subject: [PATCH v3] x86: fix the error of using const in gen-insn-attr-x86.awk x86: fix the error of using const in gen-insn-attr-x86.awk The original

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread Cong Ding
On Sun, Dec 09, 2012 at 02:24:55PM +0900, Masami Hiramatsu wrote: (2012/12/08 8:17), Cong Ding wrote: Patch description please? there are 2 consts in the definition of one variable Please put in an actual patch description. The first line (subject line) is a title; the patch should

Re: [PATCH] ARM: Orion: Hoist bridge interrupt handling out of the timer

2012-12-09 Thread Andrew Lunn
On Sat, Dec 08, 2012 at 07:57:48PM -0700, Jason Gunthorpe wrote: On Sat, Dec 08, 2012 at 12:26:24PM +0100, Andrew Lunn wrote: 1) It should have an IRQ domain, like the other IRQ chips we have. 2) It should have a DT binding, like the other IRQ chips we have. I was going to look at a DT

[PATCH] Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter

2012-12-09 Thread Maia Kozheva
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a Ralink chipset supported by the rt2800usb driver. Currently, to work around the problem (it's missing in all present kernel versions, up to and including 3.7.x), I had to add this

Re: [PATCH] Document how capability bits work

2012-12-09 Thread Michael Kerrisk (man-pages)
Andy, On Sat, Dec 8, 2012 at 2:27 AM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Dec 7, 2012 at 5:10 PM, Rob Landley r...@landley.net wrote: On 12/07/2012 01:32:18 PM, Andy Lutomirski wrote: On Fri, Dec 7, 2012 at 11:21 AM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread anish kumar
On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: I could imagine declaring the activity request buttons to be input, but for presence detects it is a bit far fetched and would add too much complexity. Android tries to address this with its switch class driver, but I'm not sure its

Re: [PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-09 Thread Tony Prisk
On Sun, 2012-12-09 at 08:21 +0100, Julia Lawall wrote: Rather than the goto, add the fail path code in directly, and return. ret = register_framebuffer(fbi-fb); if (ret 0) { dev_err(pdev-dev, Failed to register framebuffer device: %d\n, ret); if (fbi-fb.cmap.len)

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread Alan Cox
On Sun, 09 Dec 2012 01:58:19 -0800 anish kumar anish198519851...@gmail.com wrote: On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: I could imagine declaring the activity request buttons to be input, but for presence detects it is a bit far fetched and would add too much

[PATCH 5/5] rtl8712: replace leading spaces with tab

2012-12-09 Thread Przemo Firszt
Replace leading spaces with tab Signed-off-by: Przemo Firszt prz...@firszt.eu --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c b/drivers/staging/rtl8712/rtl871x_ioctl_linux.c index

[PATCH 4/5] rtl8712: replace min with min_t

2012-12-09 Thread Przemo Firszt
A clean up change suggested by checkpatch.pl Signed-off-by: Przemo Firszt prz...@firszt.eu --- drivers/staging/rtl8712/rtl871x_ioctl_linux.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c

[PATCH 3/5] rtl8712: replace printk with better solutions

2012-12-09 Thread Przemo Firszt
Replace printk with netdev_printk helpers, dev_printk helpers or pr_err/warn/info if there is no device info available. Signed-off-by: Przemo Firszt prz...@firszt.eu --- drivers/staging/rtl8712/hal_init.c| 17 ++- drivers/staging/rtl8712/os_intfs.c| 3 +-

[PATCH 2/5] rtl8712: remove unused macros from rtl8712/wifi.h

2012-12-09 Thread Przemo Firszt
Those definitions are not used anywhere in the kernel. If you know any reason why they should stay in the code please speak up! Signed-off-by: Przemo Firszt prz...@firszt.eu --- drivers/staging/rtl8712/wifi.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8712/wifi.h

[PATCH 1/5] rtl8712: code clean up

2012-12-09 Thread Przemo Firszt
Clean some trivial formating problems in rtl8712 from staging tree. This patch also changes the way preprocessor macros are defined to keep checkpatch.pl quiet. Signed-off-by: Przemo Firszt prz...@firszt.eu --- drivers/staging/rtl8712/ieee80211.h| 2 +-

Re: 3.7-rc8 boot failure due to recent workqueue-related patch

2012-12-09 Thread Mel Gorman
On Sat, Dec 08, 2012 at 04:50:21PM -0800, Linus Torvalds wrote: On Sat, 8 Dec 2012, Mel Gorman wrote: Commit 8852aac2 (workqueue: mod_delayed_work_on() shouldn't queue timer on 0 delay) is causing the following boot failure for me. Found by bisection but no further analysis

Re: [PATCH] Expand CPU compiler options

2012-12-09 Thread Borislav Petkov
On Sat, Dec 08, 2012 at 04:13:59AM -0800, John wrote: I tested the attached patch written by André Ramnitz using three different machines running a generic x86-64 kernel and an otherwise identical kernel running with the optimized gcc options.  Conclusion: There are small but real speed

[tip:perf/core] tracing,x86: Add a TSC trace_clock

2012-12-09 Thread tip-bot for David Sharp
Commit-ID: 8cbd9cc6254065c97c4bac42daa55ba1abe73a8e Gitweb: http://git.kernel.org/tip/8cbd9cc6254065c97c4bac42daa55ba1abe73a8e Author: David Sharp dhsh...@google.com AuthorDate: Tue, 13 Nov 2012 12:18:21 -0800 Committer: Steven Rostedt rost...@goodmis.org CommitDate: Tue, 13 Nov 2012

[tip:perf/core] tracing: Format non-nanosec times from tsc clock without a decimal point.

2012-12-09 Thread tip-bot for David Sharp
Commit-ID: 8be0709f10e3dd5d7d07933ad61a9f18c4b93ca5 Gitweb: http://git.kernel.org/tip/8be0709f10e3dd5d7d07933ad61a9f18c4b93ca5 Author: David Sharp dhsh...@google.com AuthorDate: Tue, 13 Nov 2012 12:18:22 -0800 Committer: Steven Rostedt rost...@goodmis.org CommitDate: Tue, 13 Nov 2012

[tip:perf/core] tracing: Show raw time stamp on stats per cpu using counter or tsc mode for trace_clock

2012-12-09 Thread tip-bot for Yoshihiro YUNOMAE
Commit-ID: 11043d8b125671a32253cddb0b05177be0e976f6 Gitweb: http://git.kernel.org/tip/11043d8b125671a32253cddb0b05177be0e976f6 Author: Yoshihiro YUNOMAE yoshihiro.yunomae...@hitachi.com AuthorDate: Tue, 13 Nov 2012 12:18:23 -0800 Committer: Steven Rostedt rost...@goodmis.org CommitDate:

[tip:perf/core] tracing: Kill unused and puzzled sample code in ftrace.h

2012-12-09 Thread tip-bot for Shan Wei
Commit-ID: 1c7d66732458dc187008e3f5b2f71e019e320fc2 Gitweb: http://git.kernel.org/tip/1c7d66732458dc187008e3f5b2f71e019e320fc2 Author: Shan Wei davids...@tencent.com AuthorDate: Sat, 3 Nov 2012 12:38:33 +0800 Committer: Steven Rostedt rost...@goodmis.org CommitDate: Tue, 13 Nov 2012

[tip:perf/urgent] ftrace: Clear bits properly in reset_iter_read( )

2012-12-09 Thread tip-bot for Dan Carpenter
Commit-ID: 70f77b3f7ec010ff9624c1f2e39a81babc9e2429 Gitweb: http://git.kernel.org/tip/70f77b3f7ec010ff9624c1f2e39a81babc9e2429 Author: Dan Carpenter dan.carpen...@oracle.com AuthorDate: Sat, 9 Jun 2012 19:10:27 +0300 Committer: Steven Rostedt rost...@goodmis.org CommitDate: Thu, 15 Nov

[tip:x86/asm] x86_32: Return actual stack when requesting sp from regs

2012-12-09 Thread tip-bot for Steven Rostedt
Commit-ID: 6c8d8b3c69cef1330e0c5cbc2a8b9268024927a0 Gitweb: http://git.kernel.org/tip/6c8d8b3c69cef1330e0c5cbc2a8b9268024927a0 Author: Steven Rostedt rost...@goodmis.org AuthorDate: Fri, 13 Jul 2012 15:44:14 -0400 Committer: Steven Rostedt rost...@goodmis.org CommitDate: Mon, 19 Nov 2012

Re: [PATCH 1/2] HID: autodetect HID sensor hubs.

2012-12-09 Thread Alexander Holler
Am 09.12.2012 02:12, schrieb Alexander Holler: It should not be necessary to add IDs for HID sensor hubs to lists in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, autodetect such sensor hubs, based on a collection of type physical inside a useage page of type sensor. If some

[PATCH 1/2] HID: autodetect USB HID sensor hubs.

2012-12-09 Thread Alexander Holler
It should not be necessary to add IDs for HID sensor hubs to lists in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, autodetect such USB HID sensor hubs, based on a collection of type physical inside a useage page of type sensor. If some sensor hubs stil must be usable as raw devices,

Re: [PATCH 3/5] rtl8712: replace printk with better solutions

2012-12-09 Thread Joe Perches
On Sun, 2012-12-09 at 10:15 +, Przemo Firszt wrote: Replace printk with netdev_printk helpers, dev_printk helpers or pr_err/warn/info if there is no device info available. Here's a few trivial comments @@ -84,8 +83,8 @@ static u32 rtl871x_open_fw(struct _adapter *padapter, const u8

Re: Incrementing module reference count

2012-12-09 Thread Borislav Petkov
On Sat, Dec 08, 2012 at 11:17:31AM -0800, Aaron Williams wrote: I got it working. I designed my solution to be generic so it's not tied to just the at24 driver. I added a memory accessor module which is basically a registry. The at24 driver registers with it and then the Vitesse PHY driver

Re: [RFC PATCH -v2 3/4] perf: Add persistent event facilities

2012-12-09 Thread Borislav Petkov
On Thu, Aug 16, 2012 at 06:12:35PM -0400, Steven Rostedt wrote: On Thu, 2012-08-16 at 19:45 +0200, Borislav Petkov wrote: -static void ring_buffer_put(struct ring_buffer *rb) +void ring_buffer_put(struct ring_buffer *rb) { struct perf_event *event, *n; unsigned long flags;

Re: [PATCH] Expand CPU compiler options

2012-12-09 Thread John
Let's see, if I'm reading the log file correctly, the average values of each test run differ by ~ 0.1 seconds tops. For example, i7-3770K generic build gives on average 69.41404 while the more optimized version 69.33554. The diff between the two is even less than 0.1 second. The other two

[PATCH 0/3] iio: HID sensor time (as RTC)

2012-12-09 Thread Alexander Holler
Hello, the following 3 patches are neccessary to add a driver for (USB) HID sensors of type time (using hid-sensor-hub). The driver implements a RTC, so the time will be available like from any other RTC. Regards, Alexander -- To unsubscribe from this list: send the line unsubscribe

[PATCH 1/3] iio: hid-sensors: respect CONFIG_IIO_TRIGGER

2012-12-09 Thread Alexander Holler
Not much to say, without that change, hid-sensor-trigger will be always compiled if HID_SENSOR_IIO_COMMON is selected which fails if CONFIG_IIO_TRIGGER is not set because CONFIG_IIO_CONSUMERS_PER_TRIGGER will not be defined. Signed-off-by: Alexander Holler hol...@ahsoftware.de ---

[PATCH 2/3] iio: Add Usage IDs for HID time sensors.

2012-12-09 Thread Alexander Holler
These are Usage IDs for the attributes year, month, day, hour, minute and second, needed to read HID time sensors. Signed-off-by: Alexander Holler hol...@ahsoftware.de --- include/linux/hid-sensor-ids.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git

[PATCH 3/3] iio: add rtc-driver for HID sensors of type time

2012-12-09 Thread Alexander Holler
This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by hid-sensor-hub. It is necessary that all values like year,

[PATCH] mfd: tps6507x: Convert to devm_kzalloc

2012-12-09 Thread Axel Lin
Signed-off-by: Axel Lin axel@ingics.com --- drivers/mfd/tps6507x.c | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c index 1b20349..409afa2 100644 --- a/drivers/mfd/tps6507x.c +++

Re: [PATCH] Expand CPU compiler options

2012-12-09 Thread Borislav Petkov
On Sun, Dec 09, 2012 at 04:08:55AM -0800, John wrote: While I agree that the differences as small - on the order of ms - they are not insignificant nor are they in the noise of the measurements. Oh, maybe I wasn't clear - I wasn't talking about statistical significance but rather about

Re: [PATCH 3/3] iio: add rtc-driver for HID sensors of type time

2012-12-09 Thread Lars-Peter Clausen
On 12/09/2012 01:21 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by

Re: [PATCH] Expand CPU compiler options

2012-12-09 Thread John
Oh, maybe I wasn't clear - I wasn't talking about statistical significance but rather about practical significance. OK.  I will not argue with that :) A minuscule speedup (a lot less than 1%) showing only in a *single* workload so far and relevant only for a *very* *small* number of linux

Re: [PATCH] ARM: Orion: Hoist bridge interrupt handling out of the timer

2012-12-09 Thread Sebastian Hesselbarth
On 12/09/2012 09:30 AM, Andrew Lunn wrote: On Sat, Dec 08, 2012 at 07:57:48PM -0700, Jason Gunthorpe wrote: On Sat, Dec 08, 2012 at 12:26:24PM +0100, Andrew Lunn wrote: 1) It should have an IRQ domain, like the other IRQ chips we have. 2) It should have a DT binding, like the other IRQ chips

Re: [PATCH] Expand CPU compiler options

2012-12-09 Thread Borislav Petkov
On Sun, Dec 09, 2012 at 04:59:41AM -0800, John wrote: My only confusion is why some of these are already included in the linux kernel source today, for example CORE2.  As I stated in my previous email, the two 'new' ones I tested preform as-good-as or better-than the CORE2 which is already

Re: [PATCH] Documentation: cgroup: update the index file

2012-12-09 Thread Tejun Heo
On Sat, Dec 08, 2012 at 03:02:36PM +0900, Namjae Jeon wrote: From: Namjae Jeon namjae.j...@samsung.com There are new files added to cgroup documentation. Lets update the index file listing all the remaining files Signed-off-by: Namjae Jeon namjae.j...@samsung.com Signed-off-by: Amit

Re: 3.7.0-rc8 btrfs locking issue

2012-12-09 Thread Liu Bo
On Wed, Dec 05, 2012 at 09:07:05AM -0700, Jim Schutt wrote: Hi, I'm hitting a btrfs locking issue with 3.7.0-rc8. The btrfs filesystem in question is backing a Ceph OSD under a heavy write load from many cephfs clients. I reported this issue a while ago:

Re: [RFCv2][PATCH 1/3] create slow_virt_to_phys()

2012-12-09 Thread Gleb Natapov
Copying more people. Is this approach good? The alternative would be to allocate NR_CPUS sized arrays in KVM. On Fri, Dec 07, 2012 at 04:30:23PM -0500, Dave Hansen wrote: This is necessary because __pa() does not work on some kinds of memory, like vmalloc() or the alloc_remap() areas on

Re: [PATCH] mfd: tps80031: Add terminating entry for tps80031_id_table

2012-12-09 Thread Samuel Ortiz
Hi Axel, On Wed, Dec 05, 2012 at 08:59:00PM +0800, Axel Lin wrote: The i2c_device_id table is supposed to be zero-terminated. Signed-off-by: Axel Lin axel@ingics.com --- drivers/mfd/tps80031.c |1 + 1 file changed, 1 insertion(+) Applied, thanks a lot. Cheers, Samuel. -- Intel

Re: [PATCH] mfd: tps80031: MFD_TPS80031 needs to select REGMAP_IRQ

2012-12-09 Thread Samuel Ortiz
Hi Axel, On Wed, Dec 05, 2012 at 09:19:48PM +0800, Axel Lin wrote: This driver uses regmap_irq APIs, thus need to select REGMAP_IRQ. IRQ_DOMAIN will be selected if select REGMAP_IRQ, thus remove it here. This fixes below build errors: drivers/built-in.o: In function `tps80031_remove':

Re: [PATCH] scripts/coccinelle/misc/warn.cocci: use WARN

2012-12-09 Thread Michal Marek
On Sat, Nov 03, 2012 at 09:02:09PM +0100, Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr Use WARN(1,...) rather than printk followed by WARN(1). Signed-off-by: Julia Lawall julia.law...@lip6.fr --- scripts/coccinelle/misc/warn.cocci | 109

Re: [PATCH] kbuild: Do not remove vmlinux when cleaning external module

2012-12-09 Thread Michal Marek
On Sat, Nov 10, 2012 at 01:59:21PM +0100, Romain Francoise wrote: Pawel Moll pawel.m...@arm.com writes: Since commit 1f2bfbd00e466ff3489b2ca5cc75b1cccd14c123 kbuild: link of vmlinux moved to a script make clean with M=dir argument (so cleaning external module) removes vmlinux,

Re: [PATCH] kbuild: Unbreak cleaning external module build directory

2012-12-09 Thread Michal Marek
On 18.11.2012 16:01, Bart Van Assche wrote: Avoid that $(MAKE) -C $(KDIR) M=$(PWD) clean triggers the following error message when invoked from inside the Makefile of an external kernel module: rm: cannot remove 'System.map': Permission denied make[1]: *** [clean] Error 1 I just applied an

New system call wanted: fdreopen

2012-12-09 Thread Tristan Wibberley
Hello, I'd like to propose a system call called fdreopen: int fdreopen(int src_fd, int dst_fd, int flags); I am willing to try implementing this system call given some suggestions where to start and what locking to watch out for. I have given a brief of the behaviour below, and a

Re: [PATCH 1/1] kbuild: solve the DSO link change issue

2012-12-09 Thread Cong Ding
Ping Michal, did you have any comments on this? - cong On Thu, Nov 29, 2012 at 05:21:28PM +, Cong Ding wrote: when make menuconfig, it reports this error: /usr/bin/ld: scripts/kconfig/lxdialog/checklist.o: undefined reference to symbol 'acs_map' /usr/bin/ld: note: 'acs_map' is defined

Re: [PATCH] scsi:gdth.c: fix compilation warning

2012-12-09 Thread Cong Ding
ping! - cong On Mon, Dec 03, 2012 at 10:19:09AM +, Cong Ding wrote: We do not allow old-style function definition. Always spell foo(void) if a function does not take any parameters. Signed-off-by: Cong Ding ding...@gmail.com --- drivers/scsi/gdth.c |2 +- 1 files changed, 1

Re: [PATCH] staging: echo: remove unused variable

2012-12-09 Thread Cong Ding
ping! - cong On Tue, Dec 04, 2012 at 01:21:44AM +, Cong Ding wrote: the variable j isn't used in the loop Signed-off-by: Cong Ding ding...@gmail.com --- drivers/staging/echo/echo.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [PATCH] mfd: arizona: Log if we fail to create the primary IRQ domain

2012-12-09 Thread Samuel Ortiz
Hi Mark, On Wed, Dec 05, 2012 at 11:46:26AM +0900, Mark Brown wrote: This is the only thing in probe for which we don't log an error. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/arizona-irq.c |1 + 1 file changed, 1 insertion(+) Applied, thanks.

Re: [PATCH] mfd: arizona: Disable control interface reporting for WM5102 and WM5110

2012-12-09 Thread Samuel Ortiz
Hi Mark, On Wed, Dec 05, 2012 at 11:46:04AM +0900, Mark Brown wrote: Rather than disabling the error reporting only for earlier revisions unconditionally disable it. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- This is a bug fix for later chip revisons.

Re: [PATCH] mfd: wm5102: Add readback of DSP status 3 register

2012-12-09 Thread Samuel Ortiz
Hi Mark, On Sun, Dec 02, 2012 at 02:14:56AM +0900, Mark Brown wrote: Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/mfd/wm5102-tables.c |2 ++ include/linux/mfd/arizona/registers.h |1 + 2 files changed, 3 insertions(+) Applied, thanks. Cheers,

Re: [PATCH V7] mfd: stmpe: Update DT support for stmpe driver

2012-12-09 Thread Samuel Ortiz
Hi Viresh, On Fri, Dec 07, 2012 at 08:29:37PM +0530, Viresh Kumar wrote: From: Vipul Kumar Samar vipulkumar.sa...@st.com This patch extends existing DT support for stmpe devices. This updates: - missing header files in stmpe.c - stmpe_of_probe() with pwm, rotator and new bindings. -

Re: [PATCH] mfd: tps6507x: Convert to devm_kzalloc

2012-12-09 Thread Samuel Ortiz
Hi Axel, On Sun, Dec 09, 2012 at 08:25:55PM +0800, Axel Lin wrote: Signed-off-by: Axel Lin axel@ingics.com --- drivers/mfd/tps6507x.c | 21 - 1 file changed, 4 insertions(+), 17 deletions(-) Applied, many thanks. Cheers, Samuel. -- Intel Open Source Technology

Re: [PATCH v2] arch/x86/tools/gen-insn-attr-x86.awk: remove duplicate const

2012-12-09 Thread H. Peter Anvin
No, that would really be wrong - changing the type. Masami Hiramatsu masami.hiramatsu...@hitachi.com wrote: (2012/12/08 8:17), Cong Ding wrote: Patch description please? there are 2 consts in the definition of one variable Please put in an actual patch description. The first line (subject

[PATCH] improve read ahead in kernel

2012-12-09 Thread xtu4
Subject: [PATCH] when system in low memory scenario, imaging there is a mp3 play, or video play, we need to read mp3 or video file from memory to page cache,but when system lack of memory, page cache of mp3 or video file will be reclaimed.once read in memory, then reclaimed, it will cause

[PATCH] Allow 0ms deadline latency

2012-12-09 Thread xtu4
Subject: [PATCH] Allow 0ms deadline latency, increase the read speed Signed-off-by: xiaobing tu xiaobing...@intel.com --- block/deadline-iosched.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block/deadline-iosched.c b/block/deadline-iosched.c index c644137..e502d6b

Re: [PATCH] Allow 0ms deadline latency

2012-12-09 Thread xtu4
re-send it On 12/10/2012 12:01 AM, xtu4 wrote: Subject: [PATCH] Allow 0ms deadline latency, increase the read speed Signed-off-by: xiaobing tu xiaobing...@intel.com --- block/deadline-iosched.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/block/deadline-iosched.c

Re: New system call wanted: fdreopen

2012-12-09 Thread Theodore Ts'o
On Sun, Dec 09, 2012 at 03:03:30PM +, Tristan Wibberley wrote: - /proc/self/fd/* does not solve this problem because the file might no longer be available at the same place in the filesystem. In some otherwise simple message passing or ReSTful IPC a different file will be available

Re: [PATCH 3/5] add eboot.o and efi_stub_$(BITS).o to $(targets)

2012-12-09 Thread Michal Marek
Added x...@kernel.org. On 18.11.2012 21:05, pefol...@verizon.net wrote: From: Peter Foley pefol...@verizon.net eboot.o and efi_stub_$(BITS).o are not in $(targets) so they are rebuilt every time make is invoked. Add them to $(targets) to prevent unnecessary rebuilding of bzImage.

Re: [PATCH 4/5] silence 'arch/x86/realmode/rm/realmode.bin' is up to date message

2012-12-09 Thread Michal Marek
x...@kernel.org added. On 18.11.2012 21:05, pefol...@verizon.net wrote: From: Peter Foley pefol...@verizon.net Since realmode.bin is in $(always) the recursive make from the realmode directory does not need to specify a specific target. ... and the rm/ subdirectory is unconditionally

Re: [PATCH 5/5] x86: add dummy rules to avoid 'nothing to be done' messages

2012-12-09 Thread Michal Marek
Added x...@kernel.org Michal On 18.11.2012 21:05, pefol...@verizon.net wrote: From: Peter Foley pefol...@verizon.net Add do-nothing rules to archheaders and archscripts targets to avoid 'nothing to be done' messages. Signed-off-by: Peter Foley pefol...@verizon.net ---

Re: [PATCH 3/3] iio: add rtc-driver for HID sensors of type time

2012-12-09 Thread Alexander Holler
Am 09.12.2012 13:55, schrieb Lars-Peter Clausen: On 12/09/2012 01:21 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a

Re: [PATCH 2/5] kbuild: silence rule for extra_certificates

2012-12-09 Thread Michal Marek
Added David and Rusty. On Sun, Nov 18, 2012 at 03:05:14PM -0500, pefol...@verizon.net wrote: From: Peter Foley pefol...@verizon.net Silence the touch extra_certificates command Signed-off-by: Peter Foley pefol...@verizon.net I think we should tell the user that the default empty extra

Re: [PATCH 1/5] kbuild: remove deprecated use of defined in timeconst.pl

2012-12-09 Thread Michal Marek
On 18.11.2012 21:05, pefol...@verizon.net wrote: From: Peter Foley pefol...@verizon.net Fix this warning by removing a unneeded use of defined An identical fix for this is in the -mm tree already. Michal -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-12-09 Thread Ying Han
On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko mho...@suse.cz wrote: mem_cgroup_iter curently relies on css-id when walking down a group hierarchy tree. This is really awkward because the tree walk depends on the groups creation ordering. The only guarantee is that a parent node is visited

Re: [patch v2 4/6] memcg: simplify mem_cgroup_iter

2012-12-09 Thread Ying Han
On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko mho...@suse.cz wrote: Current implementation of mem_cgroup_iter has to consider both css and memcg to find out whether no group has been found (css==NULL - aka the loop is completed) and that no memcg is associated with the found node (!memcg -

Re: nouveau driver fails to build

2012-12-09 Thread Michal Marek
On 23.11.2012 18:49, Paul Bolle wrote: The puzzling part is that ACPI_VIDEO will only be selected (ie, made into a 'y') if all dependencies of that select statement are 'y' too. (Note that these dependencies are identical to the dependencies of ACPI_VIDEO's config entry. That can be no

Re: [PATCH] gpio: export 'debounce' attribute if supported by the gpio chip

2012-12-09 Thread Guenter Roeck
On Sun, Dec 09, 2012 at 11:03:19AM +, Alan Cox wrote: On Sun, 09 Dec 2012 01:58:19 -0800 anish kumar anish198519851...@gmail.com wrote: On Fri, 2012-12-07 at 16:49 +, Alan Cox wrote: I could imagine declaring the activity request buttons to be input, but for presence

[PATCH] drivers/video/wm8505fb.c: use devm_ functions

2012-12-09 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions for data that is allocated in the probe function of a platform device and is only freed in the remove function. The patch makes some other

Re: [BUG -next] cpufreq: cpufreq_governor.

2012-12-09 Thread Ilya Zykov
On 05.12.2012 22:53, Ilya Zykov wrote: What do I do wrong? After: modprobe cpufreq_ondemand I have: WARNING: Error inserting freq_table (/lib/modules/3.7.0-rc8-next-20121205-ttybuf.1+/kernel/drivers/cpufreq/freq_table.ko): Unknown symbol in module, or unknown parameter (see dmesg)

Re: New system call wanted: fdreopen

2012-12-09 Thread Tristan Wibberley
On Sun, 09 Dec 2012 11:27:46 -0500, Theodore Ts'o wrote: On Sun, Dec 09, 2012 at 03:03:30PM +, Tristan Wibberley wrote: - /proc/self/fd/* does not solve this problem because the file might no ... Actually, /proc/self/fd/* _will_ work. When you do a ls -l, it looks like a symlink, but

[PATCH] drivers/video/vt8500lcdfb.c: use devm_ functions

2012-12-09 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions for data that is allocated in the probe function of a platform device and is only freed in the remove function. The patch makes some other

Re: [PATCH] merge_config.sh: Add option to specify output dir

2012-12-09 Thread Michal Marek
On Mon, Dec 03, 2012 at 09:05:26AM -0800, John Stultz wrote: On 12/02/2012 11:36 PM, Zhangfei Gao wrote: Provide a -O option to specify dir to put generated .config Then merge_config.sh does not need to be copied to target dir, for easy re-usage in other script Signed-off-by: Zhangfei Gao

Re: [PATCH] scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test

2012-12-09 Thread Peter Senna Tschudin
On Sat, Dec 8, 2012 at 4:39 PM, Joe Perches j...@perches.com wrote: On Sat, 2012-12-08 at 16:13 -0200, Peter Senna Tschudin wrote: On Sat, Dec 8, 2012 at 3:45 PM, Joe Perches j...@perches.com wrote: On Sat, 2012-12-08 at 15:34 -0200, Peter Senna Tschudin wrote: This semantic patch looks for

Re: [PATCH v2 1/2] scripts/tags.sh: Support subarch for ARM

2012-12-09 Thread Michal Marek
On Tue, Dec 04, 2012 at 03:04:32AM +0900, Joonsoo Kim wrote: +elif [ ${SRCARCH} = arm -a ${SUBARCH} != ]; then + subarchdir=$(find ${tree}arch/$SRCARCH/ -name mach-* -type d -o \ + -name plat-* -type d); Please quote the patterns,

Re: [PATCH v2 2/2] scripts/tags.sh: Support compiled source

2012-12-09 Thread Michal Marek
On Tue, Dec 04, 2012 at 03:04:33AM +0900, Joonsoo Kim wrote: We usually have interst in compiled files only, because they are strongly related to individual's work. Current tags.sh can't select compiled files, so support it. We can use this functionality like below. make cscope O=.

Re: [GIT PULL] UAPI: Disintegrate arch/x86/include/asm

2012-12-09 Thread David Howells
Ingo Molnar mi...@kernel.org wrote: arch/x86/include/asm/Kbuild | 7 ++ arch/x86/include/asm/perf_regs.h | 33 - arch/x86/include/asm/svm.h| 132 +- arch/x86/include/asm/vmx.h| 89 +--

Re: [PATCH] improve read ahead in kernel

2012-12-09 Thread Randy Dunlap
On 12/09/12 07:57, xtu4 wrote: Subject: [PATCH] when system in low memory scenario, imaging there is a mp3 play, or video play, we need to read mp3 or video file from memory to page cache,but when system lack of memory, page cache of mp3 or video file will be reclaimed.once read in

Re: [PATCH 3/3] iio: add rtc-driver for HID sensors of type time

2012-12-09 Thread Alexander Holler
Am 09.12.2012 17:40, schrieb Alexander Holler: Am 09.12.2012 13:55, schrieb Lars-Peter Clausen: On 12/09/2012 01:21 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read.

Re: [PATCH] Allow 0ms deadline latency

2012-12-09 Thread Jens Axboe
On 2012-12-09 17:02, xtu4 wrote: On 12/10/2012 12:01 AM, xtu4 wrote: Subject: [PATCH] Allow 0ms deadline latency, increase the read speed Signed-off-by: xiaobing tu xiaobing...@intel.com --- block/deadline-iosched.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: Upstart 1.6.1 released

2012-12-09 Thread Anca Emanuel
Do will see this in Raring ? And when ? On Fri, Dec 7, 2012 at 10:27 PM, James Hunt james.h...@ubuntu.com wrote: Summary of changes: * Improved re-exec performance. * Minor logger fixes for unflushed data. * Handle re-exec scenario when requested from within a chroot. * Minor serialisation

Re: Upstart 1.6.1 released

2012-12-09 Thread Anca Emanuel
Oh, you need more testing with ARM Nexus 7 ? On Sun, Dec 9, 2012 at 8:28 PM, Anca Emanuel anca.eman...@gmail.com wrote: Do will see this in Raring ? And when ? On Fri, Dec 7, 2012 at 10:27 PM, James Hunt james.h...@ubuntu.com wrote: Summary of changes: * Improved re-exec performance. *

Re: [RFC PATCH v3 1/9] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2012-12-09 Thread Oleg Nesterov
On 12/07, Srivatsa S. Bhat wrote: Per-cpu counters can help solve the cache-line bouncing problem. So we actually use the best of both: per-cpu counters (no-waiting) at the reader side in the fast-path, and global rwlocks in the slowpath. [ Fastpath = no writer is active; Slowpath = a writer

Re: [PATCH 3/3] iio: add rtc-driver for HID sensors of type time

2012-12-09 Thread Lars-Peter Clausen
On 12/09/2012 07:16 PM, Alexander Holler wrote: Am 09.12.2012 17:40, schrieb Alexander Holler: Am 09.12.2012 13:55, schrieb Lars-Peter Clausen: On 12/09/2012 01:21 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other

Hyper-V storvsc errors with large disk image

2012-12-09 Thread David Balažic
(I'm not subscribed, please CC me) Hi! When using huge (13TB) disk images (VHDX, dynamically expanding) with Hyper-V in Windows 8 Pro and running Linux as guest, I get errors and hangups when accessing the emulated HD. dmesg show the following message block looping: sd 2:0:0:0: [sda] Sense Key

<    1   2   3   4   5   >