[PATCH] gpio: rdc321x: Prevent removal of modules exporting active GPIOs

2012-09-01 Thread Axel Lin
This driver can be built as a module, set the missing owner field of struct gpio_chip to prevent removal of modules exporting active GPIOs. Signed-off-by: Axel Lin axel@gmail.com --- drivers/gpio/gpio-rdc321x.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: Software interrupt 0x8 guest crash from userspace: virtualbox emulation or guest kernel bug?

2012-09-01 Thread halfdog
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 halfdog wrote: I have observed a strange guest kernel crash in virtualbox and are currently trying to understand it. Since I have no real 32-bit Intel platform any more, I cannot verify that this crash would happen on native 32bit also, so

Re: [PATCH 0/5] Fix bugs in ib_srp patches for H.A. purposes

2012-09-01 Thread Bart Van Assche
On 08/31/12 20:00, dongsu.p...@profitbricks.com wrote: This patchset aims at fixing bugs that have been discovered in our own SRP test environment so far. These patches are based on your patchset v4, Make ib_srp better suited for H.A. purposes,(09 Aug 2012). The 5th patch, fix an error

Re: kernel 3.2.27 on arm: WARNING: at mm/page_alloc.c:2109 __alloc_pages_nodemask+0x1d4/0x68c()

2012-09-01 Thread Francois Romieu
Hugh Dickins hu...@google.com : [ Cc'ing original mail to netdev as the problem may be recognized there ] [...] Francois is right that a GFP_ATOMIC allocation from pskb_expand_head() is failing, which can easily happen, and cause your failed to reallocate TX buffer errors; but it's well worth

[PATCH 06/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: 2.6.34

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 25 - 1 file changed, 25 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 52fd5ea..e41d516 100644 --- a/drivers/staging/csr/netdev.c +++

[PATCH 12/14] staging: csr: unifi_priv.h: Remove KERNEL_VERSION checks

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/unifi_priv.h | 27 --- 1 file changed, 27 deletions(-) diff --git a/drivers/staging/csr/unifi_priv.h b/drivers/staging/csr/unifi_priv.h index 1dee840..f634b31 100644 --- a/drivers/staging/csr/unifi_priv.h

[PATCH 10/14] staging: csr: drv.c: Remove KERNEL_VERSION checks and associated defines

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/drv.c | 43 --- 1 file changed, 8 insertions(+), 35 deletions(-) diff --git a/drivers/staging/csr/drv.c b/drivers/staging/csr/drv.c index b2c27f4..4f7fe52 100644 ---

[PATCH 11/14] staging: csr: unifi_wext.h: Remove KERNEL_VERSION checks

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/unifi_wext.h | 26 +- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/drivers/staging/csr/unifi_wext.h b/drivers/staging/csr/unifi_wext.h index 6d7a995..beba089 100644 ---

[PATCH 01/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: =2.6.25

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 21 - 1 file changed, 21 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 1e6e111..7b7d3fd 100644 --- a/drivers/staging/csr/netdev.c +++

[PATCH 04/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: 2.6.29

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 27 --- 1 file changed, 27 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 6a5a483..763edfc 100644 --- a/drivers/staging/csr/netdev.c +++

[PATCH 00/14] staging: csr: Remove kernel version checks

2012-09-01 Thread Priit Laes
This patchset removes the unneeded kernel version checks and associated compatibility defines and macros from the csr driver. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH 14/14] staging: csr: Remove all leftover kernel version checks \o/

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/csr_framework_ext.c| 13 + drivers/staging/csr/csr_time.c | 7 --- drivers/staging/csr/io.c | 19 --- drivers/staging/csr/monitor.c | 4

[PATCH 13/14] staging: csr: Remove unneeded UF_NETIF_TX_* macros

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/io.c | 2 +- drivers/staging/csr/netdev.c | 6 +++--- drivers/staging/csr/sdio_events.c | 4 ++-- drivers/staging/csr/sme_sys.c | 6 +++--- drivers/staging/csr/unifi_priv.h | 5 - 5 files changed, 9

[PATCH 07/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: 2.6.37

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index e41d516..4f6f48c 100644 --- a/drivers/staging/csr/netdev.c +++ b/drivers/staging/csr/netdev.c @@

[PATCH 05/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: 2.6.32

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 763edfc..52fd5ea 100644 --- a/drivers/staging/csr/netdev.c +++

[PATCH 09/14] staging: csr: Drop unused UNIFI_NET_NAME configuration option

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 19 ++- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index e304083..2548813 100644 --- a/drivers/staging/csr/netdev.c +++

[PATCH 08/14] staging: csr: remove unused define ALLOW_Q_PAUSE

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 11 --- drivers/staging/csr/unifi_priv.h | 8 2 files changed, 19 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 4f6f48c..e304083 100644 ---

[PATCH 03/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: 2.6.28

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 454 --- 1 file changed, 454 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index c44526e..6a5a483 100644 ---

[PATCH 02/14] staging: csr: netdev.c: Clean up KERNEL_VERSION checks: 2.6.27

2012-09-01 Thread Priit Laes
Signed-off-by: Priit Laes pl...@plaes.org --- drivers/staging/csr/netdev.c | 42 -- 1 file changed, 42 deletions(-) diff --git a/drivers/staging/csr/netdev.c b/drivers/staging/csr/netdev.c index 7b7d3fd..c44526e 100644 --- a/drivers/staging/csr/netdev.c

Re: [alsa-devel] [PATCH] ASoC: ams-delta: fix card initalization failure

2012-09-01 Thread Janusz Krzysztofik
Dnia piÄ…tek, 31 sierpnia 2012 14:31:04 Mark Brown pisze: On Wed, Aug 29, 2012 at 07:04:48AM +0200, Janusz Krzysztofik wrote: On Tue, 28 Aug 2012 11:13:39 Mark Brown wrote: The above looks like you already have a platform driver? Mark, I should have rather answered: No, ams-delta.c is not

Re: [PATCH v3] hwmon: add Maxim MAX197 support

2012-09-01 Thread Lars-Peter Clausen
On 08/31/2012 06:04 PM, Guenter Roeck wrote: On Thu, Aug 30, 2012 at 09:42:57PM -0400, Vivien Didelot wrote: The MAX197 is an A/D converter, made by Maxim. This driver currently supports the MAX197, and MAX199. They are both 8-Channel, Multi-Range, 5V, 12-Bit DAS with 8+4 Bus Interface and

[PATCH] gpio: da9052: Convert to use devm_kzalloc API

2012-09-01 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/gpio/gpio-da9052.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/gpio/gpio-da9052.c b/drivers/gpio/gpio-da9052.c index 56dd047..24b8c29 100644 --- a/drivers/gpio/gpio-da9052.c +++

[PATCH] USB/host: Cleanup unneccessary irq disable code

2012-09-01 Thread Liu, Chuansheng
From: liu chuansheng chuansheng@intel.com Subject: [PATCH] USB/host: Cleanup unneccessary irq disable code Because the IRQF_DISABLED as the flag is now a NOOP and has been deprecated and in hardirq context the interrupt is disabled. so in usb/host code: Removing the usage of flag

[PATCH] gpio: tps65912: Convert to use devm_kzalloc API

2012-09-01 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/gpio/gpio-tps65912.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-tps65912.c b/drivers/gpio/gpio-tps65912.c index 79e66c0..99106d1 100644 --- a/drivers/gpio/gpio-tps65912.c +++

Re: [PATCH] gpio: rdc321x: Prevent removal of modules exporting active GPIOs

2012-09-01 Thread Linus Walleij
On Sat, Sep 1, 2012 at 8:11 AM, Axel Lin axel@gmail.com wrote: This driver can be built as a module, set the missing owner field of struct gpio_chip to prevent removal of modules exporting active GPIOs. Signed-off-by: Axel Lin axel@gmail.com Applied. Thanks, Linus Walleij -- To

Re: [PATCH] gpio: da9052: Convert to use devm_kzalloc API

2012-09-01 Thread Linus Walleij
On Sat, Sep 1, 2012 at 11:34 AM, Axel Lin axel@gmail.com wrote: Signed-off-by: Axel Lin axel@gmail.com Applied. Thanks, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] gpio: tps65912: Convert to use devm_kzalloc API

2012-09-01 Thread Linus Walleij
On Sat, Sep 1, 2012 at 11:44 AM, Axel Lin axel@gmail.com wrote: Signed-off-by: Axel Lin axel@gmail.com Applied. Thanks, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v6 1/3] spi/pl022: Add chip select handling via GPIO

2012-09-01 Thread shiraz hashim
Hi Roland, On Wed, Aug 22, 2012 at 7:19 PM, Roland Stigge sti...@antcom.de wrote: @@ -2016,6 +2030,8 @@ pl022_probe(struct amba_device *adev, co pl022-master_info = platform_info; pl022-adev = adev; pl022-vendor = id-data; + /* Point chipselects to allocated

Re: Linux 3.5.3 - i915 error

2012-09-01 Thread Daniel Vetter
On Fri, Aug 31, 2012 at 09:34:17AM +0200, Paul Rolland wrote: Hello, I've just found this error in my logs. It occured once so far, but I never got it before with 3.5.0, so I'm reporting it. [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state i915:

Re: [PATCH 0/4 V2] Use get_online_cpus to avoid races involving CPU hotplug

2012-09-01 Thread Rusty Russell
Silas Boyd-Wickizer s...@mit.edu writes: Hello, This is the second version of the patches to fix races described in: https://groups.google.com/forum/?fromgroups#!topic/linux.kernel/iSUDr94Qehc The changes in this version are: * fix commit log typo; * prevent a race in

WARNING: at block/genhd.c:1570 disk_clear_events+0xbf/0xd0()

2012-09-01 Thread Roberto Corrado
Sep 1 14:14:53 kernel: [ 6.382864] [ cut here ] Sep 1 14:14:53 kernel: [ 6.383018] WARNING: at block/genhd.c:1570 disk_clear_events+0xbf/0xd0() Sep 1 14:14:53 kernel: [ 6.383018] Hardware name: CLE266-8235 Sep 1 14:14:53 kernel: [ 6.383018] Modules linked in: fuse

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-09-01 Thread Matt Porter
On Sat, Sep 01, 2012 at 06:32:29AM +0530, Vinod Koul wrote: On Fri, 2012-08-31 at 22:32 +0530, Vinod Koul wrote: On Fri, 2012-08-31 at 22:01 +0530, Sekhar Nori wrote: Yes, this was the problem. Since the SPI driver now depends on CONFIG_TI_EDMA for basic operation may be select

Re: [PATCH V2] block/throttle: Add IO throttled information in blkio.throttle.

2012-09-01 Thread Tao Ma
Hi Tejun, On 09/01/2012 09:05 AM, Tejun Heo wrote: On Fri, Aug 31, 2012 at 01:15:09PM +0800, Tao Ma wrote: From: Tao Ma boyu...@taobao.com Currently, if the IO is throttled by io-throttle, the SA has no idea of What's SA? system admin. the situation and can't report it to the real

IO stalls on one disk stall entire system

2012-09-01 Thread Dan Merillat
I have a known-broken WD15EADS, which has the hilariously terrible 1000ms IO response time. Yes, that's the right number of zeros. I'm using it as a convenient way to hunt down a general feeling of unresponsiveness under disk load In this case, the failing drive is mounted to /backup, and I'm

Re: [PATCH 20/74] x86, lto: Change dotraplinkage into __visible on 32bit

2012-09-01 Thread Michal Marek
Dne 19.8.2012 04:56, Andi Kleen napsal(a): From: Andi Kleen a...@linux.intel.com Mark 32bit dotraplinkage functions as __visible for LTO. 64bit already is using asmlinkage which includes it. You can make it __visible on both 32bit and 64bit, the result is the same. Michal -- To unsubscribe

Re: [PATCH 44/74] lto: Mark functions used by the vsyscall init code visible

2012-09-01 Thread Michal Marek
Dne 19.8.2012 04:56, Andi Kleen napsal(a): From: Andi Kleen a...@linux.intel.com The vsyscall code is compiled without LTO. This also includes its init function. The function which are called by it have to be visible, otherwise they could be optimized away Signed-off-by: Andi Kleen

[PATCH v3 0/2] 6lowpan fixes

2012-09-01 Thread Alan Ott
v3 of this patch changes skb_copy() to skb_clone() in patch #1 at the recommendation of Eric Dumazet Alan Ott (2): 6lowpan: Make a copy of skb's delivered to 6lowpan 6lowpan: handle NETDEV_UNREGISTER event net/ieee802154/6lowpan.c | 53 +++--- 1

[PATCH v3 1/2] 6lowpan: Make a copy of skb's delivered to 6lowpan

2012-09-01 Thread Alan Ott
Since lowpan_process_data() modifies the skb (by calling skb_pull()), we need our own copy so that it doesn't affect the data received by other protcols (in this case, af_ieee802154). Signed-off-by: Alan Ott a...@signal11.us --- net/ieee802154/6lowpan.c |9 - 1 files changed, 8

[PATCH v3 2/2] 6lowpan: handle NETDEV_UNREGISTER event

2012-09-01 Thread Alan Ott
Before, it was impossible to remove a wpan device which had lowpan attached to it. Signed-off-by: Alan Ott a...@signal11.us --- net/ieee802154/6lowpan.c | 44 +--- 1 files changed, 37 insertions(+), 7 deletions(-) diff --git a/net/ieee802154/6lowpan.c

[PATCH 0/4] drop frees of devm_ alloc'd data

2012-09-01 Thread Julia Lawall
Drop frees of devm_ alloc'd data. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 1/4] drivers/spi/spi-sh-hspi.c: drop frees of devm_ alloc'd data

2012-09-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr devm free functions should not have to be explicitly used. A semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ @@ ( * devm_kfree(...); | * devm_free_irq(...); | * devm_iounmap(...); | *

[PATCH 4/4] drivers/mtd/nand/mpc5121_nfc.c: some devm_ cleanups

2012-09-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr devm free functions should not have to be explicitly used. The only thing left that is useful in the function mpc5121_nfc_free is the call to clk_disable, which is moved to the call sites. This function also incorrectly called iounmap on devm_ioremap

[PATCH 3/4] drivers/mtd/maps/autcpu12-nvram.c: drop frees of devm_ alloc'd data

2012-09-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr devm free functions should not have to be explicitly used. A semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ @@ ( * devm_kfree(...); | * devm_free_irq(...); | * devm_iounmap(...); | *

[PATCH 2/4] drivers/tty/serial/sirfsoc_uart.c: drop frees of devm_ alloc'd data

2012-09-01 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr devm free functions should not have to be explicitly used. A semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // smpl @@ @@ ( * devm_kfree(...); | * devm_free_irq(...); | * devm_iounmap(...); | *

[PATCH]Documentation: Chinese translation of Documentation/video4linux/v4l2-framework.txt

2012-09-01 Thread Ninja Tekkaman
This is a Chinese translated version of Documentation/video4linux/v4l2-framework.txt Signed-off-by: Fu Wei tekkamanni...@gmail.com --- Documentation/zh_CN/video4linux/v4l2-framework.txt | 983 1 file changed, 983 insertions(+) create mode 100644

Re: [PATCH v4] linux/kernel.h: Fix DIV_ROUND_CLOSEST to support negative dividends

2012-09-01 Thread Jean Delvare
Hi Andrew, Guenter, On Fri, 31 Aug 2012 12:38:12 -0700, Andrew Morton wrote: On Fri, 31 Aug 2012 08:02:19 -0700 Guenter Roeck li...@roeck-us.net wrote: DIV_ROUND_CLOSEST returns a bad result for negative dividends: DIV_ROUND_CLOSEST(-2, 2) = 0 Most of the time this does not

Re: [PATCH 44/74] lto: Mark functions used by the vsyscall init code visible

2012-09-01 Thread Andi Kleen
I think that there should be a comment why the symbol needs to be visible (just copy the reasoning from the changelog). Otherwise someone might attempt to do a cleanup a few years later, noticing that there is no assembler code calling get_random_int(). Ok. On hindsight maybe it's better to

Re: [PATCH 44/74] lto: Mark functions used by the vsyscall init code visible

2012-09-01 Thread Andi Kleen
On Sat, Sep 01, 2012 at 07:16:45PM +0200, Andi Kleen wrote: I think that there should be a comment why the symbol needs to be visible (just copy the reasoning from the changelog). Otherwise someone might attempt to do a cleanup a few years later, noticing that there is no assembler code

[PATCH 00/10 V4] workqueue: fix and cleanup hotplug/rebind_workers()

2012-09-01 Thread Lai Jiangshan
Patch 1~4 fix possible bugs. Patch 1 fix possible double-write bug Patch 2,5,6 makes the waiting logic more clear Patch 3,4 fix bugs from manage VS hotplug Patch 7,8,9,10 explicit logic to wait in busy-work-rebind and make rebind_workers() single pass. Change from V3. A

[PATCH 01/10 V4] workqueue: ensure the wq_worker_sleeping() see the right flags

2012-09-01 Thread Lai Jiangshan
The compiler may compile this code into TWO write/modify instructions. worker-flags = ~WORKER_UNBOUND; worker-flags |= WORKER_REBIND; so the other CPU may see the temporary of worker-flags which has not WORKER_UNBOUND nor WORKER_REBIND, it will wrongly do local

[PATCH 08/10 V4] workqueue: explicit way to wait for idles workers to finish

2012-09-01 Thread Lai Jiangshan
busy_worker_rebind_fn() can't return until all idle workers are rebound. This order is ensured by rebind_workers() currently. We use synchronize_all_idles_rebound() to wait for all idle workers to be rebound. this is an explicit way and it will ease the pain of the rebind_workers(). The sleeping

[PATCH 03/10 V4] workqueue: add POOL_MANAGING_WORKERS

2012-09-01 Thread Lai Jiangshan
When hotplug happens, the plug code will also grab the manager_mutex, it will break too_many_workers()'s assumption, and make too_many_workers() ugly(kick the timer wrongly, no found bug). To avoid assumption-coruption, we add the original POOL_MANAGING_WORKERS back. Signed-off-by: Lai Jiangshan

[PATCH 05/10 V4] workqueue: move rebind_hold to idle_rebind

2012-09-01 Thread Lai Jiangshan
By the help of @idle_rebind.ref_done, the life time of idle_rebind is expanded enough and it can include the whole reference-time of @rebind_hold, so we can move @rebind_hold from gcwq to idle_rebind. Also we change it to completion instead. we need to ease the pain of WORKER_REBIND.

[PATCH 02/10 V4] workqueue: fix deadlock in rebind_workers()

2012-09-01 Thread Lai Jiangshan
Current idle_worker_rebind() has a bug. idle_worker_rebind() path HOTPLUG path online rebind_workers() wait_event(gcwq-rebind_hold) woken up but no scheduled

[PATCH 04/10 V4] workqueue: add manage_workers_slowpath()

2012-09-01 Thread Lai Jiangshan
If hotplug code grabbed the manager_mutex and worker_thread try to create a worker, the manage_worker() will return false and worker_thread go to process work items. Now, on the CPU, all workers are processing work items, no idle_worker left/ready for managing. It breaks the concept of workqueue

[PATCH 09/10] workqueue: single pass rebind_workers

2012-09-01 Thread Lai Jiangshan
busy_worker_rebind_fn() can't return until all idle workers are rebound, the code of busy_worker_rebind_fn() ensure this. So we can change the order of the code of rebind_workers(), and make it is a single pass to do the rebind_workers(). It makes the code much clean and better readability(still

[PATCH 10/10 V4] workqueue: merge the role of rebind_hold to idle_done

2012-09-01 Thread Lai Jiangshan
Currently is single pass, we can wait on idle_done instead wait on rebind_hold. So we can remove rebind_hold and make the code simpler. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 35 +++ 1 files changed, 11 insertions(+), 24

[PATCH 06/10 V4] workqueue: simple clear WORKER_REBIND

2012-09-01 Thread Lai Jiangshan
WORKER_REBIND is not used for other purpose, idle_worker_rebind() can directly clear it. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 13 ++--- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index

[PATCH 07/10 V4] workqueue: move idle_rebind pointer to gcwq

2012-09-01 Thread Lai Jiangshan
And this pointer helps other workers know the progress of idle-rebinding. when gcwq-idle_rebind is not NULL, it means the idle-rebinding is still in progress. and idle_worker_rebind() is split. Signed-off-by: Lai Jiangshan la...@cn.fujitsu.com --- kernel/workqueue.c | 67

Re: [PATCH v2] drivers/tty: Folding Android's keyreset driver in sysRQ

2012-09-01 Thread Colin Cross
On Fri, Aug 31, 2012 at 2:52 PM, Mathieu Poirier mathieu.poir...@linaro.org wrote: On 12-08-30 05:01 PM, Dmitry Torokhov wrote: Hi Matthieu, On Thu, Aug 30, 2012 at 04:30:54PM -0600, mathieu.poir...@linaro.org wrote: From: Mathieu J. Poirier mathieu.poir...@linaro.org This patch adds

linux page table

2012-09-01 Thread Xin Tong
When a process is created in Linux, corresponding page table is implemented. In the current x86 linux, the page table is a multi-level page table and CR3 points to the first level of the page table. I have 2 questions. 1. is the value in CR3 virtual address or physical address ? 2. can the

[PATCH v3 03/20] Input: Make sure we follow all EV_KEY events

2012-09-01 Thread Henrik Rydberg
For some EV_KEY types, sending a larger-than-one value causes the input state to oscillate. This patch makes sure this cannot happen, clearing up the autorepeat bypass logic in the process. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/input.c | 20 +--- 1

[PATCH v3 07/20] Input: MT - Add flags to input_mt_init_slots()

2012-09-01 Thread Henrik Rydberg
Preparing to move more repeated code into the mt core, add a flags argument to the input_mt_slots_init() function. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/hid/hid-magicmouse.c | 2 +- drivers/hid/hid-multitouch.c | 2 +- drivers/input/input-mt.c

[PATCH v3 11/20] Input: bcm5974 - only setup button urb for TYPE1 devices

2012-09-01 Thread Henrik Rydberg
The early generations with this trackpad used the separate mouse interface to produce button events. With the introduction of the button pads, this information was moved to the trackpad interface, leaving the mouse interface unused. The driver is still setting up both interfaces, which has not

[PATCH v3 12/20] Input: bcm5974 - Preparatory renames

2012-09-01 Thread Henrik Rydberg
Rename touch properties to match established nomenclature, and define the maximum number of fingers. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/mouse/bcm5974.c | 25 + 1 file changed, 13 insertions(+), 12 deletions(-) diff --git

[PATCH v3 13/20] Input: bcm5974 - Drop pressure and width emulation

2012-09-01 Thread Henrik Rydberg
The ABS_PRESSURE and ABS_WIDTH have special scales, and were initially added solely for thumb and palm recognition in the synaptics driver. This never really get used, however, and userspace quickly moved to MT solutions instead. This patch drops the unused events. Signed-off-by: Henrik Rydberg

[PATCH v3 15/20] Input: bcm5974 - Convert to MT-B

2012-09-01 Thread Henrik Rydberg
Use of the in-kernel tracking code to convert the driver to MT-B. With ten fingers on the pad, the in-kernel tracking adds approximately 25 us to the maximum irqsoff latency. Under normal workloads, however, the tracking has no measurable effect. Signed-off-by: Henrik Rydberg rydb...@euromail.se

[PATCH v3 17/20] HID: Add an input configured notification callback

2012-09-01 Thread Henrik Rydberg
A hid device may create several input devices, and a driver may need to prepare or finalize the configuration per input device. Currently, there is no sane way for a driver to know when a device has been configured. This patch adds a callback providing that information. Signed-off-by: Henrik

[PATCH v3 17/20] HID: Add an input configured notification callback

2012-09-01 Thread Henrik Rydberg
With the input_configured() callback in place, the setup and frame synchronization can be simplified. The input device initialization is moved to mt_input_configured(), to make sure the full HID report has been seen. Cc: Benjamin Tissoires benjamin.tissoi...@enac.fr Signed-off-by: Henrik Rydberg

[PATCH 20/20] HID: hid-multitouch: Add missing contact count detection

2012-09-01 Thread Henrik Rydberg
Some devices report the number of contacts via the CONTACTCOUNT usage, rather than using the CONTACTMAX feature. Without this patch, such devices will be capped to ten fingers, the default maximum. Fixes a long-standing regression on 3M and similar panels. Cc: Benjamin Tissoires

[PATCH v3 19/20] HID: hid-multitouch: Remove the redundant touch state

2012-09-01 Thread Henrik Rydberg
With the input_mt_sync_frame() function in place, there is no longer any need to keep the full touch state in the driver. This patch removes the slot state and replaces the lookup code with the input-mt equivalent. Cc: Benjamin Tissoires benjamin.tissoi...@enac.fr Signed-off-by: Henrik Rydberg

[PATCH v3 04/20] Input: Move autorepeat to the event-passing phase

2012-09-01 Thread Henrik Rydberg
Preparing to split event filtering and event passing, move the autorepeat function to the point where the event is actually passed. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/input.c | 46 +- 1 file changed, 25 insertions(+),

[PATCH v3 v3 00/20] Input and HID updates for 3.7

2012-09-01 Thread Henrik Rydberg
Hi Dmitry, Jiri, Here is the third version of the patchset for 3.7. I think we are getting close. Changes in short: Patch 2: Folded the size estimate removal into this patch, since the other estimates are still needed for MT-A devices. Patch 5: Reworked to handle SYN_MT events the 'old' way.

[PATCH v3 02/20] Input: Improve the events-per-packet estimate

2012-09-01 Thread Henrik Rydberg
The events-per-packet estimate has so far been used by MT devices only. This patch adjusts the packet buffer size to also accomodate the KEY and MSC events. Keyboards normally send one or two keys at a time. MT devices normally send a number of button keys along with the MT information. The

[PATCH v3 01/20] Input: Break out MT data

2012-09-01 Thread Henrik Rydberg
Move all MT-related things to a separate place. This saves some bytes for non-mt input devices, and prepares for new MT features. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/evdev.c| 10 ++ drivers/input/input-mt.c | 47

[PATCH v3 16/20] HID: Only dump input if someone is listening

2012-09-01 Thread Henrik Rydberg
Going through the motions of printing the debug message information takes a long time; using the keyboard can lead to a 160 us irqsoff latency. This patch skips hid_dump_input() when there are no open handles, which brings latency down to 100 us. Signed-off-by: Henrik Rydberg rydb...@euromail.se

[PATCH v3 14/20] Input: bcm5974 - Drop the logical dimensions

2012-09-01 Thread Henrik Rydberg
The logical scale was previously used to produce special width values to userspace, and its only present use is to put pressure hysteresis on a common scale. However, bcm5974 trackpads are very accurate and work well without hysteresis. This patch simplifies the driver and device data by removing

[PATCH v3 10/20] Input: MT - Get slot by key

2012-09-01 Thread Henrik Rydberg
Some devices use an internal key for tracking which cannot be directly mapped to slots. This patch provides a key-to-slot mapping, which can be used by drivers of such devices. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/input-mt.c | 32

[PATCH v3 09/20] Input: MT - Add in-kernel tracking

2012-09-01 Thread Henrik Rydberg
With the INPUT_MT_TRACK flag set, the function input_mt_assign_slots() can be used to match a new set of contacts against the currently used slots. The algorithm used is based on Lagrange relaxation, and performs very well in practice; slower than mtdev for a few corner cases, but faster in most

[PATCH v3 05/20] Input: Send events one packet at a time

2012-09-01 Thread Henrik Rydberg
On heavy event loads, such as a multitouch driver, the irqsoff latency can be as high as 250 us. By accumulating a frame worth of data before passing it on, the latency can be dramatically reduced. As a side effect, the special EV_SYN handling can be removed, since the frame is now atomic. This

[PATCH v3 06/20] Input: evdev - Add the events() callback

2012-09-01 Thread Henrik Rydberg
By sending a full frame of events at the same time, the irqsoff latency at heavy load is brought down from 200 us to 100 us. Signed-off-by: Henrik Rydberg rydb...@euromail.se --- drivers/input/evdev.c | 68 +++ 1 file changed, 47 insertions(+), 21

[PATCH v3 08/20] Input: MT - Handle frame synchronization in core

2012-09-01 Thread Henrik Rydberg
Most MT drivers perform the same actions on frame synchronization. Some actions, like dropping unseen contacts, are also unnecessarily complex. Collect common frame synchronization tasks in a new function, input_mt_sync_frame(). Depending on the flags set, it drops unseen contacts and performs

western digital caviar black. EXT4-fs error

2012-09-01 Thread Azat Khuzhin
Recently I update my HDD on desktop machine, and bought WD Caviar Black. But after I format copy information to it (using dd), and fix partitions size: I have next errors in kern.log: Aug 28 01:49:03 home-spb kernel: [183245.030897] EXT4-fs error (device sdc2): ext4_mb_generate_buddy:739: group

[PATCH] virtio: console: fix error handling in init() function

2012-09-01 Thread Alexey Khoroshilov
If register_virtio_driver() fails, virtio-ports class is not destroyed. The patch adds error handling of register_virtio_driver(). Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/char/virtio_console.c | 12

Re: western digital caviar black. EXT4-fs error

2012-09-01 Thread Azat Khuzhin
I'v also post question here http://serverfault.com/questions/423565/western-digital-caviar-black-ext4-fs-error On Sat, Sep 1, 2012 at 11:48 PM, Azat Khuzhin dohardgo...@gmail.com wrote: Recently I update my HDD on desktop machine, and bought WD Caviar Black. But after I format copy

Re: linux page table

2012-09-01 Thread Shentino
On Sat, Sep 1, 2012 at 12:30 PM, Xin Tong xerox.time.t...@gmail.com wrote: When a process is created in Linux, corresponding page table is implemented. In the current x86 linux, the page table is a multi-level page table and CR3 points to the first level of the page table. I have 2 questions.

Re: [PATCH 19/21] ntfs: drop vmtruncate

2012-09-01 Thread Anton Altaparmakov
Hi, Looks good though if you call ntfs_truncate() rather than ntfs_truncate_vfs() you can use it to return an error code in the case that ntfs_truncate() fails. That could be done as a separate patch of course. You can add my Reviewed-by: or Signed-off-by: to this patch. Best regards,

Re: linux page table

2012-09-01 Thread Xin Tong
On Sat, Sep 1, 2012 at 1:01 PM, Shentino shent...@gmail.com wrote: On Sat, Sep 1, 2012 at 12:30 PM, Xin Tong xerox.time.t...@gmail.com wrote: When a process is created in Linux, corresponding page table is implemented. In the current x86 linux, the page table is a multi-level page table and

[PATCH] ppdev: ppdev_init: do not return zero in case of failure

2012-09-01 Thread Alexey Khoroshilov
Error handling of parport_register_driver() in ppdev_init() is broken because it deallocates all resources but still returns zero. Currently parport_register_driver() always succeeds. Nevertheless it is worth to fix the issue. Found by Linux Driver Verification project (linuxtesting.org).

Re: Get the min and max frequency of a processor

2012-09-01 Thread Marcos Souza
2012/8/31 Borislav Petkov b...@alien8.de: On Fri, Aug 31, 2012 at 06:52:46AM -0300, Marcos Souza wrote: Nothing is wrong with access /sys, but I thought there was another way, like an API or something else. Ah, there's no API, AFAICT. Also, tools/power/cpupower/ uses sysfs too - you could

[PATCH] staging: zcache: fix spelling of comment

2012-09-01 Thread Marcus Karlsson
Fix spelling in tmem.c: Transcedent - Transcendent Signed-off-by: Marcus Karlsson m...@acc.umu.se --- drivers/staging/zcache/tmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/zcache/tmem.c b/drivers/staging/zcache/tmem.c index eaa9021..56c8e60 100644 ---

[PATCH] staging: bcm: fix error handling in bcm_init()

2012-09-01 Thread Alexey Khoroshilov
bcm_init() does not have proper error handling of usb_register(). The patch implements one. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru --- drivers/staging/bcm/InterfaceInit.c | 12 +++- 1 file changed, 11

Linux 3.6-rc4

2012-09-01 Thread Linus Torvalds
The kernel summit is over, and most people have either returned or are returning from San Diego. Probably as a result of lots of maintainers having been away, it's been pretty quiet - despite it being ten days (rather than the usual week) since -rc3. The statistics look a bit unusual, too,

[eBeam PATCH 1/2] hid: Blacklist eBeam devices

2012-09-01 Thread Yann Cantin
Signed-off-by: Yann Cantin yann.can...@laposte.net --- drivers/hid/hid-core.c |3 +++ drivers/hid/hid-ids.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 8bf8a64..b4b0baf 100644 --- a/drivers/hid/hid-core.c +++

[eBeam PATCH 0/2] new USB eBeam input driver

2012-09-01 Thread Yann Cantin
Hi, New USB input driver for eBeam devices. Currently supported (tested) : - Luidia eBeam classic projection and edge projection models - Nec interactive solution NP01Wi1 NP01Wi2 for video-projectors. There's others devices (includind re-branded ones) in the wild that should be supported out

[eBeam PATCH 2/2] input: misc: New USB eBeam input driver.

2012-09-01 Thread Yann Cantin
Signed-off-by: Yann Cantin yann.can...@laposte.net --- drivers/input/misc/Kconfig | 22 ++ drivers/input/misc/Makefile |1 + drivers/input/misc/ebeam.c | 750 +++ 3 files changed, 773 insertions(+) create mode 100644 drivers/input/misc/ebeam.c

Re: 3.5.2: moving files from xfs/disk - nfs: radix_tree_lookup_slot+0xe/0x10

2012-09-01 Thread Christoph Hellwig
I'd suspect it's something with the actual radix tree code, Ccing linux-mm in case they know more. On Mon, Aug 27, 2012 at 11:00:10AM -0400, Justin Piszcz wrote: Hi, Moving ~276GB of files (mainly large backups) and everything has seemed to lockup on the client moving data to the server, it

[PATCH] gpio: Use DEFINE_PCI_DEVICE_TABLE macro

2012-09-01 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/gpio/gpio-bt8xx.c |2 +- drivers/gpio/gpio-sodaville.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpio/gpio-bt8xx.c b/drivers/gpio/gpio-bt8xx.c index 92d555d..7d9d7cb 100644 ---

[PATCH] gpio: adp5588: Use module_i2c_driver

2012-09-01 Thread Axel Lin
Signed-off-by: Axel Lin axel@gmail.com --- drivers/gpio/gpio-adp5588.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/drivers/gpio/gpio-adp5588.c b/drivers/gpio/gpio-adp5588.c index ae5d7f1..eeedad4 100644 --- a/drivers/gpio/gpio-adp5588.c +++

Re: [PATCH] staging/rts_pstor: remove braces {} in sd.c

2012-09-01 Thread Joe Perches
On Sat, 2012-09-01 at 20:35 +0530, devendra.aaru wrote: Hello, This is a very big patch. It will be difficult for reviewers to review. Hello, this is a carelessly large reply quoting all 100K of the original patch for your three sentences. Don't do that. Thanks -- To unsubscribe from this

  1   2   3   >