[PATCH 0/4] uprobes: Kill arch_uprobe_enable/disable_step() hooks

2012-10-28 Thread Oleg Nesterov
Hello. arch_uprobe_enable/disable_step() were only needed to not break the pending powerpc port. They buy nothing and they are simply wrong. Uprobes should not use ptrace helpers for the stepping. Now that powepc port was merged we should kill them asap, before arm port. 1/4 is minor/offtopic cl

[PATCH 4/4] uprobes: Kill arch_uprobe_enable/disable_step() hooks

2012-10-28 Thread Oleg Nesterov
Kill arch_uprobe_enable/disable_step() hooks, they do nothing and nobody needs them. Signed-off-by: Oleg Nesterov --- include/linux/uprobes.h |2 -- kernel/events/uprobes.c | 10 -- 2 files changed, 0 insertions(+), 12 deletions(-) diff --git a/include/linux/uprobes.h b/include/li

[PATCH 3/4] uprobes/x86: Cleanup the single-stepping code

2012-10-28 Thread Oleg Nesterov
No functional changes. Now that default arch_uprobe_enable/disable_step() helpers do nothing, x86 has no reason to reimplement them. Change arch_uprobe_*_xol() hooks to do the necessary work and remove the x86-specific hooks. Signed-off-by: Oleg Nesterov --- arch/x86/kernel/uprobes.c | 54 +++

Re: [PATCH 1/2] drivers/net/ethernet/nxp/lpc_eth.c: Call mdiobus_unregister before mdiobus_free

2012-10-28 Thread Roland Stigge
On 28/10/12 17:12, Peter Senna Tschudin wrote: > Based on commit b27393aecf66199f5ddad37c302d3e0cfadbe6c0 > > Calling mdiobus_free without calling mdiobus_unregister causes > BUG_ON(). This patch fixes the issue. > > The semantic patch that found this issue(http://coccinelle.lip6.fr/): > // > @@

Re: [PATCH] usb: gadget: ncm: correct endianess conversion

2012-10-28 Thread Sebastian Andrzej Siewior
On Sun, Oct 28, 2012 at 06:30:02PM +0100, Dmytro Milinevskyy wrote: > I was trying to keep 2 tabs but checkpatch didn't accept long line > that's why I killed extra tab. Then move them to the code section instead to initialize them in the declaration section. > >How does it work? Is the test on h

Re: [PATCH 00/31] numa/core patches

2012-10-28 Thread Johannes Weiner
On Fri, Oct 26, 2012 at 11:08:00AM +0200, Peter Zijlstra wrote: > On Fri, 2012-10-26 at 17:07 +0800, Zhouping Liu wrote: > > [ 180.918591] RIP: 0010:[] [] > > mem_cgroup_prepare_migration+0xba/0xd0 > > > [ 182.681450] [] do_huge_pmd_numa_page+0x180/0x500 > > [ 182.775090] [] handle_mm_fault

Linux 3.0.49

2012-10-28 Thread Greg KH
I'm announcing the release of the 3.0.49 kernel. All users of the 3.0 kernel series must upgrade. The updated 3.0.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.0.y and can be browsed at the normal kernel.org git web browser:

Linux 3.4.16

2012-10-28 Thread Greg KH
I'm announcing the release of the 3.4.16 kernel. All users of the 3.4 kernel series must upgrade. The updated 3.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.0.49

2012-10-28 Thread Greg KH
diff --git a/Makefile b/Makefile index 8dc65e0..1c962a1 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 0 -SUBLEVEL = 48 +SUBLEVEL = 49 EXTRAVERSION = NAME = Sneaky Weasel diff --git a/arch/sparc/kernel/perf_event.c b/arch/sparc/kernel/perf_event.c index 6860d40.

Linux 3.6.4

2012-10-28 Thread Greg KH
I'm announcing the release of the 3.6.4 kernel. All users of the 3.6 kernel series must upgrade. The updated 3.6.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.6.y and can be browsed at the normal kernel.org git web browser:

Re: [Q] .readable_reg() not verified during read?

2012-10-28 Thread Mark Brown
On Sun, Oct 28, 2012 at 12:36:40AM +0200, Guennadi Liakhovetski wrote: > Looking at regmap.c it looks like the .readable_reg() callback is not > consulted when performing a register read, e.g. in _regmap_raw_read(). Is > this intentional? If yes - why? No real reason, though to be honest it's n

Re: [PATCH] Regulator: core: Unregister when gpio request fails.

2012-10-28 Thread Mark Brown
On Sun, Oct 28, 2012 at 04:01:11PM +0100, Andrew Lunn wrote: > If the gpio_request_one() fails, or returns EPROBE_DEFER, the > regulator must be device_unregister()ed. When this is not done, > there are WARNING: from sysfs: > > WARNING: at fs/sysfs/file.c:343 sysfs_open_file+0x238/0x268() Applied

Re: [PATCH] firmware: use noinline_for_stack

2012-10-28 Thread Jiri Kosina
On Sun, 28 Oct 2012, Ming Lei wrote: > > The comment above fw_file_size() suggests it is noinline for stack size > > reasons. Use noinline_for_stack to make this more clear. > > Acked-by: Ming Lei Although I am not completely sure that documenting the purpose of noinline through this attribute

Re: irq_set_chained_handler() called too early for hwirq to be initialized

2012-10-28 Thread Roland Stigge
On 28/10/12 18:34, Thomas Gleixner wrote: > On Sun, 28 Oct 2012, Roland Stigge wrote: >> consider arch/arm/mach-lpc32xx/irq.c: irq_set_chained_handler() is >> called at a point where it accesses >> irq_to_desc(IRQ_LPC32XX_SUB2IRQ)->irq_data.hwirq but which is not yet >> initialized. > > None of th

Re: [PATCH 5/5] perf tool: Move dso_* related functions into dso object

2012-10-28 Thread Jiri Olsa
On Sun, Oct 28, 2012 at 11:37:02AM -0200, Arnaldo Carvalho de Melo wrote: > Em Sat, Oct 27, 2012 at 11:18:32PM +0200, Jiri Olsa escreveu: > > Moving dso_* related functions into dso object. > > > > Keeping symbol loading related functions still in the symbol > > object as it seems more convenient.

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-28 Thread Jesper Juhl
On Thu, 25 Oct 2012, Rafael J. Wysocki wrote: > On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: > > If acpi_ds_create_walk_state() succeeds, but the call to > > ACPI_ALLOCATE_ZEROED() fails, then we'll return from the function > > without properly freeing 'next_walk_state'. > > > > Signe

Re: irq_set_chained_handler() called too early for hwirq to be initialized

2012-10-28 Thread Thomas Gleixner
On Sun, 28 Oct 2012, Roland Stigge wrote: > On 28/10/12 18:34, Thomas Gleixner wrote: > > On Sun, 28 Oct 2012, Roland Stigge wrote: > >> consider arch/arm/mach-lpc32xx/irq.c: irq_set_chained_handler() is > >> called at a point where it accesses > >> irq_to_desc(IRQ_LPC32XX_SUB2IRQ)->irq_data.hwirq

[PATCH v7 01/16] hashtable: introduce a small and naive hashtable

2012-10-28 Thread Sasha Levin
This hashtable implementation is using hlist buckets to provide a simple hashtable to prevent it from getting reimplemented all over the kernel. Signed-off-by: Sasha Levin --- Sorry for the long delay, I was busy with a bunch of personal things. Changes since v6: - Use macros that point to in

[PATCH v7 04/16] workqueue: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch workqueues to use the new hashtable implementation. This reduces the amount of generic unrelated code in the workqueues. Signed-off-by: Sasha Levin --- kernel/workqueue.c | 86 ++ 1 file changed, 15 insertions(+), 71 deletions(-) diff

[PATCH v7 05/16] mm/huge_memory: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch hugemem to use the new hashtable implementation. This reduces the amount of generic unrelated code in the hugemem. This also removes the dymanic allocation of the hash table. The size of the table is constant so there's no point in paying the price of an extra dereference when accessing

[PATCH v7 07/16] net,9p: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch 9p error table to use the new hashtable implementation. This reduces the amount of generic unrelated code in 9p. Signed-off-by: Sasha Levin --- net/9p/error.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/net/9p/error.c b/net/9p/error.c index

[PATCH v7 08/16] block,elevator: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch elevator to use the new hashtable implementation. This reduces the amount of generic unrelated code in the elevator. This also removes the dymanic allocation of the hash table. The size of the table is constant so there's no point in paying the price of an extra dereference when accessin

[PATCH v7 09/16] SUNRPC/cache: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch cache to use the new hashtable implementation. This reduces the amount of generic unrelated code in the cache implementation. Signed-off-by: Sasha Levin --- net/sunrpc/cache.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/net/sunrpc/cache.c b/ne

[PATCH v7 11/16] net,l2tp: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch l2tp to use the new hashtable implementation. This reduces the amount of generic unrelated code in l2tp. Signed-off-by: Sasha Levin --- net/l2tp/l2tp_core.c| 134 ++-- net/l2tp/l2tp_core.h| 8 +-- net/l2tp/l2tp_debugfs.c | 19 +++

[PATCH v7 13/16] lockd: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch lockd to use the new hashtable implementation. This reduces the amount of generic unrelated code in lockd. Signed-off-by: Sasha Levin --- fs/lockd/svcsubs.c | 66 +- 1 file changed, 36 insertions(+), 30 deletions(-) diff --git a/fs/lock

[PATCH v7 15/16] openvswitch: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch openvswitch to use the new hashtable implementation. This reduces the amount of generic unrelated code in openvswitch. Signed-off-by: Sasha Levin --- net/openvswitch/vport.c | 34 +- 1 file changed, 13 insertions(+), 21 deletions(-) diff --git a/net/openv

[PATCH v7 16/16] tracing output: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch tracing to use the new hashtable implementation. This reduces the amount of generic unrelated code in the tracing module. Signed-off-by: Sasha Levin --- kernel/trace/trace_output.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/kernel/trace/trac

[PATCH v7 14/16] net,rds: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch rds to use the new hashtable implementation. This reduces the amount of generic unrelated code in rds. Signed-off-by: Sasha Levin --- net/rds/bind.c | 28 +- net/rds/connection.c | 102 +++ 2 files changed, 63 insertions(+

[PATCH v7 12/16] dm: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch dm to use the new hashtable implementation. This reduces the amount of generic unrelated code in the dm. Signed-off-by: Sasha Levin --- drivers/md/dm-snap.c | 24 + drivers/md/persistent-data/dm-block-manager.c | 1 - .../persistent-data

Re: [PATCH 33/33] perf, tools: List kernel supplied event aliases in perf list v2

2012-10-28 Thread Andi Kleen
On Sat, Oct 27, 2012 at 10:20:21PM +0200, Jiri Olsa wrote: > On Fri, Oct 26, 2012 at 01:30:15PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > List the kernel supplied pmu event aliases in perf list > > > > It's better when the users can actually see them. > > with the HW events being pa

Re: [PATCH] dma: ste_dma40: use for_each_set_bit

2012-10-28 Thread Linus Walleij
On Sat, Oct 27, 2012 at 5:49 PM, Akinobu Mita wrote: > Replace open-coded loop with for_each_set_bit(). > > Signed-off-by: Akinobu Mita > Cc: Srinidhi Kasagar > Cc: Linus Walleij > Cc: linux-arm-ker...@lists.infradead.org > Cc: Vinod Koul > Cc: Dan Williams Makes perfect sense to me, Acked-

[PATCH v7 10/16] dlm: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch dlm to use the new hashtable implementation. This reduces the amount of generic unrelated code in the dlm. Signed-off-by: Sasha Levin --- fs/dlm/lowcomms.c | 47 +-- 1 file changed, 13 insertions(+), 34 deletions(-) diff --git a/fs/dlm/lowcomms

[PATCH v7 06/16] tracepoint: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch tracepoints to use the new hashtable implementation. This reduces the amount of generic unrelated code in the tracepoints. Signed-off-by: Sasha Levin --- kernel/tracepoint.c | 27 +++ 1 file changed, 11 insertions(+), 16 deletions(-) diff --git a/kernel/tracepoin

[PATCH v7 02/16] userns: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch to using the new hashtable implementation to store user structs. This reduces the amount of generic unrelated code in kernel/user.c. Signed-off-by: Sasha Levin --- kernel/user.c | 33 + 1 file changed, 13 insertions(+), 20 deletions(-) diff --git a/kernel/

[PATCH v7 03/16] mm,ksm: use new hashtable implementation

2012-10-28 Thread Sasha Levin
Switch ksm to use the new hashtable implementation. This reduces the amount of generic unrelated code in the ksm module. Signed-off-by: Sasha Levin --- mm/ksm.c | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/mm/ksm.c b/mm/ksm.c index 31ae5

Re: [PATCH 2/2] MAINTAINERS: add pinctrl atmel at91 entry

2012-10-28 Thread Linus Walleij
On Sat, Oct 27, 2012 at 7:53 PM, Jean-Christophe PLAGNIOL-VILLARD wrote: > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD I applied this to my at91 pinctrl branch as well, hope that's OK... Yours, Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH 31/33] perf, tools: Support generic events as pmu event names v2

2012-10-28 Thread Andi Kleen
On Sat, Oct 27, 2012 at 09:42:00PM +0200, Jiri Olsa wrote: > On Fri, Oct 26, 2012 at 01:30:13PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Extend the parser/lexer to allow generic event names like > > "instructions" as a sysfs supplied PMU event name. > > > > This resolves the problem

Re: [PATCH 27/33] tools, perf: Add a precise event qualifier

2012-10-28 Thread Andi Kleen
On Sat, Oct 27, 2012 at 09:35:44PM +0200, Jiri Olsa wrote: > On Fri, Oct 26, 2012 at 01:30:09PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Add a precise qualifier, like cpu/event=0x3c,precise=1/ > hm, I think this works already via 'p' modifier like: >cpu/event=0x3c/p Not for kern

[PATCH 1/5] mm, highmem: use PKMAP_NR() to calculate an index of pkmap

2012-10-28 Thread Joonsoo Kim
To calculate an index of pkmap, using PKMAP_NR() is more understandable and maintainable, So change it. Cc: Mel Gorman Signed-off-by: Joonsoo Kim diff --git a/mm/highmem.c b/mm/highmem.c index d517cd1..b3b3d68 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -99,7 +99,7 @@ struct page *kmap_to_p

[PATCH 3/5] mm, highmem: remove page_address_pool list

2012-10-28 Thread Joonsoo Kim
We can find free page_address_map instance without the page_address_pool. So remove it. Signed-off-by: Joonsoo Kim diff --git a/mm/highmem.c b/mm/highmem.c index 017bad1..731cf9a 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -323,11 +323,7 @@ struct page_address_map { void *virtual;

[PATCH 4/5] mm, highmem: makes flush_all_zero_pkmaps() return index of last flushed entry

2012-10-28 Thread Joonsoo Kim
In current code, after flush_all_zero_pkmaps() is invoked, then re-iterate all pkmaps. It can be optimized if flush_all_zero_pkmaps() return index of flushed entry. With this index, we can immediately map highmem page to virtual address represented by index. So change return type of flush_all_zero_

[PATCH 2/5] mm, highmem: remove useless pool_lock

2012-10-28 Thread Joonsoo Kim
The pool_lock protects the page_address_pool from concurrent access. But, access to the page_address_pool is already protected by kmap_lock. So remove it. Signed-off-by: Joonsoo Kim diff --git a/mm/highmem.c b/mm/highmem.c index b3b3d68..017bad1 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@ -3

[PATCH 0/5] minor clean-up and optimize highmem related code

2012-10-28 Thread Joonsoo Kim
This patchset clean-up and optimize highmem related code. [1] is just clean-up and doesn't introduce any functional change. [2-3] are for clean-up and optimization. These eliminate an useless lock opearation and list management. [4-5] is for optimization related to flush_all_zero_pkmaps(). Joonso

[PATCH 5/5] mm, highmem: get virtual address of the page using PKMAP_ADDR()

2012-10-28 Thread Joonsoo Kim
In flush_all_zero_pkmaps(), we have an index of the pkmap associated the page. Using this index, we can simply get virtual address of the page. So change it. Signed-off-by: Joonsoo Kim diff --git a/mm/highmem.c b/mm/highmem.c index 65beb9a..1417f4f 100644 --- a/mm/highmem.c +++ b/mm/highmem.c @@

Re: [PATCH v3 01/11] clk: davinci - add main PLL clock driver

2012-10-28 Thread Linus Walleij
On Thu, Oct 25, 2012 at 6:11 PM, Murali Karicheri wrote: > This is the driver for the main PLL clock hardware found on DM SoCs. > This driver borrowed code from arch/arm/mach-davinci/clock.c and > implemented the driver as per common clock provider API. The main PLL > hardware typically has a mul

[PATCH] V2 sched, autogroup: fix crash on reboot when autogroup is disabled

2012-10-28 Thread Mike Galbraith
On Sun, 2012-10-28 at 15:05 +0100, Ingo Molnar wrote: > * Mike Galbraith wrote: > > > On Sun, 2012-10-28 at 14:19 +0100, Ingo Molnar wrote: > > > * Mike Galbraith wrote: > > > > > > > On Sun, 2012-10-28 at 11:25 +0100, Ingo Molnar wrote: > > > > > * Mike Galbraith wrote: > > > > > > > > >

Re: [PATCH v3 02/11] clk: davinci - add PSC clock driver

2012-10-28 Thread Linus Walleij
On Thu, Oct 25, 2012 at 6:11 PM, Murali Karicheri wrote: > This is the driver for the Power Sleep Controller (PSC) hardware > found on DM SoCs as well Keystone SoCs (c6x). This driver borrowed > code from arch/arm/mach-davinci/psc.c and implemented the driver > as per common clock provider API. T

Re: [PATCH 27/33] tools, perf: Add a precise event qualifier

2012-10-28 Thread Jiri Olsa
On Sun, Oct 28, 2012 at 08:13:13PM +0100, Andi Kleen wrote: > On Sat, Oct 27, 2012 at 09:35:44PM +0200, Jiri Olsa wrote: > > On Fri, Oct 26, 2012 at 01:30:09PM -0700, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > Add a precise qualifier, like cpu/event=0x3c,precise=1/ > > hm, I think this

Re: [PATCH v3 03/11] clk: davinci - common clk utilities to init clk driver

2012-10-28 Thread Linus Walleij
On Thu, Oct 25, 2012 at 6:11 PM, Murali Karicheri wrote: > This is the common clk driver initialization functions for DaVinci > SoCs and other SoCs that uses similar hardware architecture. > clock.h also defines struct types for clock definitions in a SoC > and clock data type for configuring clk

Re: [PATCH v3 04/11] clk: davinci - add pll divider clock driver

2012-10-28 Thread Linus Walleij
On Thu, Oct 25, 2012 at 6:11 PM, Murali Karicheri wrote: > pll dividers are present in the pll controller of DaVinci and Other > SoCs that re-uses the same hardware IP. This has a enable bit for > bypass the divider or enable the driver. This is a sub class of the > clk-divider clock checks the e

Re: [PATCH v3 04/10] bug.h: directly include linux/compiler.h

2012-10-28 Thread Daniel Santos
On 10/24/2012 02:55 PM, Borislav Petkov wrote: > On Wed, Oct 24, 2012 at 11:33:55AM -0500, danielfsan...@att.net wrote: >> Currently, we are only including asm/bug.h and then expecting that >> linux/compiler.h will eventually be included to define __linktime_error >> (used in BUILD_BUG_ON). This pa

Re: [PATCH -next] ARM: at91: remove duplicated include from pinctrl-at91.c

2012-10-28 Thread Linus Walleij
On Fri, Oct 26, 2012 at 4:48 PM, Wei Yongjun wrote: > From: Wei Yongjun > > Remove duplicated include. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun Thanks, applied to my at91 branch. Yours, Linus Walleij -- To unsubs

Re: [PATCH -next] ARM: at91: using for_each_set_bit to simplify the code

2012-10-28 Thread Linus Walleij
On Fri, Oct 26, 2012 at 4:50 PM, Wei Yongjun wrote: > From: Wei Yongjun > > Using for_each_set_bit() to simplify the code. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun Thanks patch applied to my AT91 branch. Yours, L

Re: [PATCH -next] ARM: at91: remove unused variable in at91_dt_node_to_map()

2012-10-28 Thread Linus Walleij
On Fri, Oct 26, 2012 at 4:54 PM, Wei Yongjun wrote: > From: Wei Yongjun > > The variable pin is initialized but never used > otherwise, so remove the unused variable. > > dpatch engine is used to auto generate this patch. > (https://github.com/weiyj/dpatch) > > Signed-off-by: Wei Yongjun Thank

Re: linux-next: build warning in Linus' tree

2012-10-28 Thread Mauro Carvalho Chehab
Em Wed, 24 Oct 2012 13:43:33 +1100 Stephen Rothwell escreveu: > Hi Mauro, > > After merging the origin tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/media/usb/dvb-usb-v2/dvb_usb_core.c: In function 'dvb_usb_ctrl_feed': > drivers/media/usb/dvb-usb-v2/d

[PATCH 1/2] [media] rc: Fix double free in gpio_ir_recv_probe()

2012-10-28 Thread Jesper Juhl
At the 'err_request_irq' label, rc_unregister_device(rcdev) frees its argument. So when we fall through to the 'err_gpio_request' label further down and call rc_free_device(rcdev) then that's a double free. Fix that by moving 'rcdev = NULL' from after the call to rc_free_device() to after rc_unreg

[PATCH 2/2] [media] rc: Fix double free in gpio_ir_recv_remove()

2012-10-28 Thread Jesper Juhl
Since rc_unregister_device() frees its argument there's no need to subsequently call rc_free_device() on the same variable - in fact it's a double free bug. Easily fixed by just removing the rc_free_device() call. Signed-off-by: Jesper Juhl --- drivers/media/rc/gpio-ir-recv.c |1 - 1 files c

Linux 3.7-rc3

2012-10-28 Thread Linus Torvalds
It's been a week, time for -rc3! Nothing particularly stands out here. Lots of small fixes, exemplified by the series of memory leak fixes in usb serial drivers. Just a lot of random stuff.. Most of it is drivers (all over: drm, wireless, staging, usb, sound), but there's a few filesystem updates

Re: [PATCH 27/33] tools, perf: Add a precise event qualifier

2012-10-28 Thread Andi Kleen
On Sun, Oct 28, 2012 at 08:24:49PM +0100, Jiri Olsa wrote: > On Sun, Oct 28, 2012 at 08:13:13PM +0100, Andi Kleen wrote: > > On Sat, Oct 27, 2012 at 09:35:44PM +0200, Jiri Olsa wrote: > > > On Fri, Oct 26, 2012 at 01:30:09PM -0700, Andi Kleen wrote: > > > > From: Andi Kleen > > > > > > > > Add a

Re: [PATCHv2] Input: omap4-keypad: Add pinctrl support

2012-10-28 Thread Linus Walleij
On Wed, Oct 24, 2012 at 7:28 PM, Dmitry Torokhov wrote: >> drivers/spi/spi-pl022.c > > Default/sleep transitions could be moved into bus code. No that's not a good idea as long as we have both the platform bus and the AMBA bus doing essentially the same thing. We will then be having two copies o

[PATCH] pinctrl/nomadik: db8500: fix kp pin group

2012-10-28 Thread Linus Walleij
From: Patrice Chotard kp_a_2 pin group was defined but was not declared as a group of kp function. Signed-off-by: Patrice Chotard Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik-db8500.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/pin

[PATCH 1/3] ARM: LPC32xx: Remove superfluous irq_alloc_descs()

2012-10-28 Thread Roland Stigge
This patch removes the call to irq_alloc_descs() which always returns an error since the descriptors are always preallocated already. Signed-off-by: Roland Stigge --- arch/arm/mach-lpc32xx/irq.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) --- linux-2.6.orig/arch/arm/mach-l

[PATCH 3/3] ARM: LPC32xx: Cleanup irq.c

2012-10-28 Thread Roland Stigge
This patch removes the IRQ mask initialization which is already done some lines above. This was actually a bug: The init was supposed to set the bits for the (chained) SUB IRQs. But this is already fixed by the previous patch, doing this implicitely via irq_set_chained_handler(). Signed-off-by: R

[PATCH 2/3] ARM: LPC32xx: Relocate calls to irq_set_chained_handler()

2012-10-28 Thread Roland Stigge
This patch fixes the issue of an access to a yet uninitialized data structure at the point where irq_set_chained_handler() was called by moving the respective calls to the end of lpc32xx_init_irq(). The call path was: irq_set_chained_handler() -> __irq_set_handler() -> irq_startup() -> irq_enable

Re: [RESEND PATCH 2/4] asm-generic: io: don't perform swab during {in,out} string functions

2012-10-28 Thread Benjamin Herrenschmidt
On Sun, 2012-10-28 at 10:28 +0100, Geert Uytterhoeven wrote: > > This is due to how the PCI bus is wired to the CPU bus, which is called > > "byte address invariant". When doing a read of your byte 0, the CPU will > > effectively read 0 with byte enables picking 48. Since the CPU wants > > the fir

[Bisected] nouveau: v3.7-rc breaks multi-monitor setup

2012-10-28 Thread Calvin Owens
Hello all, I have a somewhat unusual setup with 3 monitors, two connected to an NVIDIA GT9800, and one connected to the onboard graphics card (a Radeon HD4250, which is selected as the primary card in the BIOS). This has worked well for quite some time using nouveau, but the 3.7 merge window chang

[PATCH RESEND 2/5 v6] gpio: Add sysfs support to block GPIO API

2012-10-28 Thread Roland Stigge
This patch adds sysfs support to the block GPIO API. Signed-off-by: Roland Stigge Signed-off-by: Greg Kroah-Hartman --- Documentation/ABI/testing/sysfs-gpio | 18 ++ drivers/gpio/gpiolib.c | 214 +++ include/asm-generic/gpio.h | 11 +

[PATCH RESEND 4/5 v6] gpio: Add device tree support to block GPIO API

2012-10-28 Thread Roland Stigge
This patch adds device tree support to the block GPIO API. Signed-off-by: Roland Stigge --- Documentation/devicetree/bindings/gpio/gpio-block.txt | 36 +++ drivers/gpio/Makefile |1 drivers/gpio/gpioblock-of.c | 84 +

[PATCH RESEND 5/5 v6] gpio: Add block gpio to several gpio drivers

2012-10-28 Thread Roland Stigge
This patch adds block GPIO support to several gpio drivers. Signed-off-by: Roland Stigge --- drivers/gpio/gpio-em.c | 23 drivers/gpio/gpio-generic.c | 56 ++ drivers/gpio/gpio-lpc32xx.c | 82 drive

[PATCH RESEND 0/5 v6] gpio: Add block GPIO

2012-10-28 Thread Roland Stigge
This set of patches adds: * Block GPIO API to gpiolib * Sysfs support for GPIO API, to provide userland access * Devicetree support to instantiate GPIO blocks via DT * Example implementations in several gpio drivers since they need special accessor functions for block wise GPIO access * Fix for

[PATCH RESEND 1/5 v6] gpio: Add a block GPIO API to gpiolib

2012-10-28 Thread Roland Stigge
The recurring task of providing simultaneous access to GPIO lines (especially for bit banging protocols) needs an appropriate API. This patch adds a kernel internal "Block GPIO" API that enables simultaneous access to several GPIOs. This is done by abstracting GPIOs to an n-bit word: Once requeste

[PATCH RESEND 3/5 v6] gpiolib: Fix default attributes for class

2012-10-28 Thread Roland Stigge
There is a race condition between creating a gpio or gpiochip device and adding default attributes. This patch fixes this by defining the default attributes as dev_attrs of the class. For this, it was necessary to create a separate gpiochip_class besides gpio_class. Signed-off-by: Roland Stigge -

Re: BUG: 1bbbbe7 (x86: Exclude E820_RESERVED regions...) PANIC on boot

2012-10-28 Thread Tom Rini
On 10/22/12 07:40, Jacob Shin wrote: > On Sun, Oct 21, 2012 at 02:23:58PM -0700, Tom Rini wrote: >> On 10/21/12 14:06, Jacob Shin wrote: >>> Ah, sorry, this one should apply on top of 3.7-rc2: >>> >>> https://lkml.org/lkml/2012/8/24/469 >>> >>> Could you try that? Just that single patch, not the wh

[PATCH v4 0/10] Cleanup & new features for compiler*.h and bug.h

2012-10-28 Thread danielfsantos
include/linux/bug.h | 59 ++-- include/linux/compiler-gcc.h |3 ++ include/linux/compiler-gcc3.h |8 +++--- include/linux/compiler-gcc4.h | 28 +- include/linux/compiler.h |8 - 5 files changed, 65 insertions(

Re: Linux 3.7-rc3

2012-10-28 Thread Geert Uytterhoeven
Hi Linus, On Sun, Oct 28, 2012 at 8:59 PM, Linus Torvalds wrote: > And talking about the shortlog: christ people, some of you need to > change your names. I'm used to there being multiple "David"s and > "Peter"s etc, but there are three different Linus's in just this rc. > People, people, I want

[PATCH v4 1/9] compiler-gcc4.h: Reorder macros based upon gcc ver

2012-10-28 Thread danielfsantos
This helps to keep the file from getting confusing, removes one duplicate version check and should encourage future editors to put new macros where they belong. Signed-off-by: Daniel Santos Acked-by: David Rientjes --- include/linux/compiler-gcc4.h | 20 +++- 1 files changed,

[PATCH v4 6/9] compiler.h, bug.h: Prevent double error messages with BUILD_BUG{,_ON}

2012-10-28 Thread danielfsantos
Prior to the introduction of __attribute__((error("msg"))) in gcc 4.3, creating compile-time errors required a little trickery. BUILD_BUG{,_ON} uses this attribute when available to generate compile-time errors, but also uses the negative-sized array trick for older compilers, resulting in two erro

[PATCH v4 9/9] bug.h: Convert BUILD_BUG{,_ON} to use BUILD_BUG_ON_MSG

2012-10-28 Thread danielfsantos
Remove duplicate code by converting BUILD_BUG and BUILD_BUG_ON to just call BUILD_BUG_ON_MSG. This not only reduces source code bloat, but also prevents the possibility of code being changed for one macro and not for the other (which was previously the case for BUILD_BUG and BUILD_BUG_ON). Signed

[PATCH v4 8/9] bug.h: Add BUILD_BUG_ON_MSG & _BUILD_BUG_INTERNAL

2012-10-28 Thread danielfsantos
Add BUILD_BUG_ON_MSG which behaves like BUILD_BUG_ON (with optimizations enabled), except that it allows you to specify the error message you want emitted as the third parameter. Under the hood, this relies on _BUILD_BUG_INTERNAL, which does the actual work and is pretty-much identical to BUILD_BU

[PATCH v4 3/9] compiler-gcc{3,4}.h: Use GCC_VERSION macro

2012-10-28 Thread danielfsantos
Using GCC_VERSION reduces complexity, is easier to read and is GCC's recommended mechanism for doing version checks. (Just don't ask me why they didn't define it in the first place.) This also makes it easy to merge compiler-gcc{,3,4}.h should somebody want to. Signed-off-by: Daniel Santos Acked

[PATCH v4 7/9] bug.h: Fix BUILD_BUG_ON macro in __CHECKER__

2012-10-28 Thread danielfsantos
When __CHECKER__ is defined, we disable all of the BUILD_BUG.* macros. However, BUILD_BUG_ON was evaluating to nothing in this case, and we want (0) since this is a function-like macro that will be followed by a semicolon. Signed-off-by: Daniel Santos --- include/linux/bug.h |2 +- 1 files c

[PATCH v4 5/9] bug.h: Make BUILD_BUG_ON generate compile-time error

2012-10-28 Thread danielfsantos
Negative sized arrays wont create a compile-time error in some cases starting with gcc 4.4 (e.g., inlined functions), but gcc 4.3 introduced the error function attribute that will. This patch modifies BUILD_BUG_ON to behave like BUILD_BUG already does, using the error function attribute so that yo

[PATCH v4 4/9] compiler{,-gcc4}.h, bug.h: Remove duplicate macros

2012-10-28 Thread danielfsantos
__linktime_error() does the same thing as __compiletime_error() and is only used in bug.h. Since the macro defines a function attribute that will cause a failure at compile-time (not link-time), it makes more sense to keep __compiletime_error(), which is also neatly mated with __compiletime_warnin

[PATCH v4 2/9] compiler-gcc.h: Add gcc-recommended GCC_VERSION macro

2012-10-28 Thread danielfsantos
Throughout compiler*.h, many version checks are made. These can be simplified by using the macro that gcc's documentation recommends. However, my primary reason for adding this is that I need bug-check macros that are enabled at certain gcc versions and it's cleaner to use this macro than the trad

3.6.0 ext4 dump/filemap_fault?

2012-10-28 Thread Justin Piszcz
Hello, Any idea what happened here (during a backup)? Partition is ext4. [116868.118797] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [116868.118798] dumpD 88003d32a5c0 0 21219 21214 0x [116868.118801] 880584631d28 0082 ff

Re: [PATCH] ACPICA: Don't leak next_walk_state in acpi_ds_call_control_method()

2012-10-28 Thread Rafael J. Wysocki
On Tuesday, November 25, 2008 02:42:09 PM Jesper Juhl wrote: > On Thu, 25 Oct 2012, Rafael J. Wysocki wrote: > > > On Sunday 21 of October 2012 22:35:46 Jesper Juhl wrote: > > > If acpi_ds_create_walk_state() succeeds, but the call to > > > ACPI_ALLOCATE_ZEROED() fails, then we'll return from the

[PATCH] Staging: silicom: remove code requiring an old LINUX_VERSION_CODE

2012-10-28 Thread Chad Williamson
Remove all code and associated preprocessor logic dependent on an old LINUX_VERSION_CODE since such code is dead for an in-kernel driver. Signed-off-by: Chad Williamson --- drivers/staging/silicom/bp_mod.c | 207 + drivers/staging/silicom/bypasslib/bplibk.h

Re: [REGRESSION] 3.7-rc2 kernel BUG at kernel/power/snapshot.c:517!

2012-10-28 Thread Maciej Rutecki
On niedziela, 21 października 2012 o 17:12:28 Maciej Rutecki wrote: > Error: kernel BUG at kernel/power/snapshot.c:517! > > Last known good: 3.6.1 > Bad: 3.7-rc2 > > Steps to reproduce: > 1. Boot system with 3.7-rc2 kernel > 2. Try suspend to disk (s2ram works OK) > > System dies on message: > h

Re: [PATCH 5/5] perf tool: Move dso_* related functions into dso object

2012-10-28 Thread Arnaldo Carvalho de Melo
Em Sun, Oct 28, 2012 at 07:42:01PM +0100, Jiri Olsa escreveu: > On Sun, Oct 28, 2012 at 11:37:02AM -0200, Arnaldo Carvalho de Melo wrote: > > CC /home/acme/git/build/perf/util/dso-test-data.o > > In file included from util/dso.c:2: > > util/dso.h:87: error: ‘BUILD_ID_SIZE’ undeclared here (not

Re: [REGRESSION] 3.7-rc2 kernel BUG at kernel/power/snapshot.c:517!

2012-10-28 Thread Rafael J. Wysocki
On Sunday, October 28, 2012 10:12:49 PM Maciej Rutecki wrote: > On niedziela, 21 października 2012 o 17:12:28 Maciej Rutecki wrote: > > Error: kernel BUG at kernel/power/snapshot.c:517! > > > > Last known good: 3.6.1 > > Bad: 3.7-rc2 > > > > Steps to reproduce: > > 1. Boot system with 3.7-rc2 ker

Re: [PATCH V3 1/3] clk: mvebu: add armada-370-xp specific clocks

2012-10-28 Thread Sebastian Hesselbarth
On 10/15/2012 02:18 PM, Gregory CLEMENT wrote: Add Armada 370/XP specific clocks: core clocks and CPU clocks. The CPU clocks are only for Armada XP for the SMP mode. ... +static struct core_clk_fn armada_370_clk_fn = { + .get_tclk_freq = armada_370_get_tclk_freq, + .get_pck_freq = a

Re: [PATCH] cpuidle: add missing header include

2012-10-28 Thread Daniel Lezcano
On 10/26/2012 06:30 AM, Jingoo Han wrote: > This patch adds missing device.h header to fix build warnings as below: > > drivers/cpuidle/cpuidle.h:26:41: warning: 'struct device' declared inside > parameter list [enabled by default] > drivers/cpuidle/cpuidle.h:26:41: warning: its scope is only thi

Re: [REGRESSION] 3.7-rc2 kernel BUG at kernel/power/snapshot.c:517!

2012-10-28 Thread Rafael J. Wysocki
On Sunday, October 28, 2012 10:45:26 PM Rafael J. Wysocki wrote: > On Sunday, October 28, 2012 10:12:49 PM Maciej Rutecki wrote: > > On niedziela, 21 października 2012 o 17:12:28 Maciej Rutecki wrote: > > > Error: kernel BUG at kernel/power/snapshot.c:517! > > > > > > Last known good: 3.6.1 > > >

Re: [PATCHv7 4/4] virtio_console: Add support for remoteproc serial

2012-10-28 Thread Sjur Brændeland
Hi Rusty, > The free-outside-interrupt issue is usually dealt with by offloading to > a wq, but your variant works (and isn't too ugly). Ok, thanks. >> +static void reclaim_dma_bufs(void) >> +{ >> + unsigned long flags; >> + struct port_buffer *buf, *tmp; >> + LIST_HEAD(tmp_list); >>

[ANNOUNCE] 3.6.3-rt9

2012-10-28 Thread Thomas Gleixner
Dear RT Folks, I'm pleased to announce the 3.6.3-rt9 release. Changes since 3.6.3-rt8: * hrtimer fix for interrupt stall case (Watanabe) * Disable RCU_FAST_NO_HZ. Uses a timer_list timer in the guts of the irq disable idle code. Needs some thought * Netfilter RT workaround *

Re: 3.6.0 ext4 dump/filemap_fault?

2012-10-28 Thread Theodore Ts'o
On Sun, Oct 28, 2012 at 05:02:17PM -0400, Justin Piszcz wrote: > Hello, > > Any idea what happened here (during a backup)? A sync system call took longer than two mintues. Why that happened, it's harder to say. It's a warning, though, and not a fatal panic or kernel oops. How much memory do yo

Debugging system freezes on filesystem writes

2012-10-28 Thread Marcus Sundman
Hi, I have a big problem with the system freezing and would appreciate any help on debugging this and pinpointing where exactly the problem is, so it could be fixed. So, whenever I write to the disk the system comes to a crawl or freezes altogether. This happens even when the writing process

[ 001/105] netfilter: ipset: avoid use of kernel-only types

2012-10-28 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Engelhardt commit 5276e16bb6f35412583518d6f04651dd9dc114be upstream. When using the xt_set.h header in userspace, one will get these gcc reports: ipset/ip_set.h:184:1: error: unknown type

[ 003/105] samsung-laptop: make the dmi check less strict (part 2)

2012-10-28 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings commit 3be324a94df0c3f032178d04549dbfbf6cccb09a upstream. These are the hunks that I dropped when backporting for 3.2.24, which are applicable now that we also have commit f34cd9c

[ 009/105] drm/i915: dont pwrite tiled objects through the gtt

2012-10-28 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit c07496fa61f4c5cb2addd1c57f6b22fcaeea2eeb upstream. ... we will botch up the bit17 swizzling. Furthermore tiled pwrite is a (now) unused slowpath, so no one really cares. T

<    1   2   3   4   5   >