[PATCH 27/30] rtc: rtc-test: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-test.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-test.c b/drivers/rtc/rtc-test.c index b92e0f6..7746e65 100644 ---

Re: [PATCH 6/6] perf util: Change trace info output file name

2013-03-14 Thread Namhyung Kim
Hi David, On Wed, 13 Mar 2013 07:47:16 -0600, David Ahern wrote: > On 3/13/13 5:19 AM, Namhyung Kim wrote: >> -static const char *output_file = "trace.info"; >> +static const char *output_file = "perf.data"; >> static int output_fd; > > Not really needed. Only use is a couple of die() calls.

[PATCH 26/30] rtc: rtc-sun4v: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-sun4v.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-sun4v.c b/drivers/rtc/rtc-sun4v.c index 7c51c49..ce42e5f 100644

[PATCH 25/30] rtc: rtc-starfire: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-starfire.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-starfire.c b/drivers/rtc/rtc-starfire.c index db7d076..987b5ec

[PATCH 23/30] rtc: rtc-rx4581: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-rx4581.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-rx4581.c b/drivers/rtc/rtc-rx4581.c index 599ec73..d1b88db 100644

[PATCH 24/30] rtc: rtc-rx8581: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-rx8581.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-rx8581.c b/drivers/rtc/rtc-rx8581.c index b0c2726..07f3037 100644

[PATCH 22/30] rtc: rtc-rv3029c2: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-rv3029c2.c | 16 +++- 1 files changed, 3 insertions(+), 13 deletions(-) diff --git a/drivers/rtc/rtc-rv3029c2.c b/drivers/rtc/rtc-rv3029c2.c index

[PATCH 21/30] rtc: rtc-rs5c313: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-rs5c313.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-rs5c313.c b/drivers/rtc/rtc-rs5c313.c index d98ea5b..8089fc6 100644

[PATCH 19/30] rtc: rtc-r9701: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-r9701.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-r9701.c b/drivers/rtc/rtc-r9701.c index 7726f4a..0adf5b5 100644 ---

[PATCH 20/30] rtc: rtc-rc5t583: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-rc5t583.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/rtc-rc5t583.c b/drivers/rtc/rtc-rc5t583.c index eb3194d..518908d 100644

Re: Regression: Fixing recursive fault but reboot is needed at boot on HP 6730B - bisected

2013-03-14 Thread Roberto Oppedisano
Hi Il 11/03/2013 09:00, Roberto Oppedisano ha scritto: Hello I'm observing this kind of boot failure when my laptop is not docked; I didn't notice before because I seldom reboot it when it's not connected to a docking station. The failure is reproducible at 80-90%, meaning that one boot

[PATCH 17/30] rtc: rtc-max6902: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max6902.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-max6902.c b/drivers/rtc/rtc-max6902.c index 7d0bf69..7e4491b

[PATCH 18/30] rtc: rtc-ps3: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ps3.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/rtc-ps3.c b/drivers/rtc/rtc-ps3.c index 846722d..4bb825b 100644 ---

[PATCH 16/30] rtc: rtc-max6900: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-max6900.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-max6900.c b/drivers/rtc/rtc-max6900.c index a00e332..8669d6d

[PATCH 15/30] rtc: rtc-m48t86: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-m48t86.c | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-m48t86.c b/drivers/rtc/rtc-m48t86.c index 2ffbcac..33a91c4

[PATCH v2]Perf: Fix Makefile to clean all object files

2013-03-14 Thread chenggang
From: Chenggang Qin If we execute "make clean" in perf's directory, many object files cannot be cleaned in the current version. For example: While we run "make clean" in perf's directory, and run the command: "fine ./ -name "*.o"" we will get:

[PATCH 14/30] rtc: rtc-m41t94: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-m41t94.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-m41t94.c b/drivers/rtc/rtc-m41t94.c index 89266c6..cf655a9 100644

[PATCH 13/30] rtc: rtc-m41t93: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-m41t93.c |9 ++--- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-m41t93.c b/drivers/rtc/rtc-m41t93.c index 4916968..cfc21a1 100644

[PATCH 12/30] rtc: rtc-ls1x: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ls1x.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ls1x.c b/drivers/rtc/rtc-ls1x.c index f59b634..db82f91 100644 ---

[PATCH 11/30] rtc: hid-sensor-time: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-hid-sensor-time.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-hid-sensor-time.c b/drivers/rtc/rtc-hid-sensor-time.c

[PATCH 10/30] rtc: rtc-generic: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-generic.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-generic.c b/drivers/rtc/rtc-generic.c index 0bf4530..06279ce

Re: [PATCHv3 03/14] mailbox: OMAP: introduce mailbox framework

2013-03-14 Thread Linus Walleij
On Wed, Mar 13, 2013 at 10:34 PM, Anna, Suman wrote: >> On Wed, Mar 13, 2013 at 4:24 AM, Suman Anna wrote: >> >> > From: Omar Ramirez Luna >> (...) >> > >> > Signed-off-by: Omar Ramirez Luna >> > [s-a...@ti.com: Kconfig fixes for build errors] >> > Signed-off-by: Suman Anna >> > Acked-by:

[PATCH 09/30] rtc: rtc-em3027: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-em3027.c |7 +-- 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/drivers/rtc/rtc-em3027.c b/drivers/rtc/rtc-em3027.c index f6c24ce..3f9eb57 100644

[PATCH 08/30] rtc: rtc-efi: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-efi.c |6 +- 1 files changed, 1 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-efi.c b/drivers/rtc/rtc-efi.c index e706662..b3c8c0b 100644 ---

[PATCH 07/30] rtc: rtc-ds3234: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ds3234.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-ds3234.c b/drivers/rtc/rtc-ds3234.c index 7a4495e..a66efd4 100644

[PATCH 06/30] rtc: rtc-ds1672: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ds1672.c |8 +--- 1 files changed, 1 insertions(+), 7 deletions(-) diff --git a/drivers/rtc/rtc-ds1672.c b/drivers/rtc/rtc-ds1672.c index 45d65c0..3fc2a47 100644

[PATCH 05/30] rtc: rtc-ds1302: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ds1302.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-ds1302.c b/drivers/rtc/rtc-ds1302.c index 7d4c2b4..d139543 100644 ---

[PATCH 04/30] rtc: rtc-dm355evm: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-dm355evm.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-dm355evm.c b/drivers/rtc/rtc-dm355evm.c index b2ed2c9..1e1ca63

[PATCH 03/30] rtc: rtc-bq32k: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-bq32k.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-bq32k.c b/drivers/rtc/rtc-bq32k.c index 036cb89..fea78bc 100644 ---

[PATCH 02/30] rtc: rtc-au1xxx: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-au1xxx.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c index dfd6d66..7995abc 100644 ---

[PATCH 01/30] rtc: rtc-ab3100: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ab3100.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-ab3100.c b/drivers/rtc/rtc-ab3100.c index c2f12d3..47a4f2c 100644

[PATCH 2/2] rtc: rtc-fm3130: use dev_dbg() instead of pr_debug()

2013-03-14 Thread Jingoo Han
dev_dbg() is more preferred than pr_debug(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-fm3130.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index bff3cdc..4d4ad3f 100644 --- a/drivers/rtc/rtc-fm3130.c +++

[PATCH 1/2] rtc: rtc-ds1307: use dev_dbg() instead of pr_debug()

2013-03-14 Thread Jingoo Han
dev_dbg() is more preferred than pr_debug(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-ds1307.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index a65621c..b859d3c 100644 --- a/drivers/rtc/rtc-ds1307.c

Re: [PATCH] gpio: Renesas R-Car GPIO driver

2013-03-14 Thread Linus Walleij
On Thu, Mar 14, 2013 at 5:07 AM, Magnus Damm wrote: > On Thu, Mar 14, 2013 at 2:20 AM, Linus Walleij > wrote: >> It is quite common to request IRQ on *both* rising and falling edges, >> what happens then? (...) > I may be wrong, but the switch above does AND with IRQ_TYPE_SENSE_MASK > which

Re: [PATCH] ARM: OMAP: drop "select MACH_NOKIA_RM696"

2013-03-14 Thread Paul Bolle
On Mon, 2013-03-11 at 09:33 -0700, Tony Lindgren wrote: > * Paul Bolle [130309 11:52]: > > In the meantime, how do you prefer I solve the (trivial) issue of an > > useless select for MACH_NOKIA_RM696? Drop that select or add an (equally > > useless) config entry for MACH_NOKIA_RM696? Or should I

[PATCH 1/2] task_work: make FIFO task_work list

2013-03-14 Thread liguang
Signed-off-by: liguang --- kernel/task_work.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/kernel/task_work.c b/kernel/task_work.c index 65bd3c9..0bf4258 100644 --- a/kernel/task_work.c +++ b/kernel/task_work.c @@ -13,11 +13,12 @@ task_work_add(struct

[PATCH 2/2] task_work: check callback if it's NULL

2013-03-14 Thread liguang
Signed-off-by: liguang --- kernel/task_work.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/task_work.c b/kernel/task_work.c index 0bf4258..f458b08 100644 --- a/kernel/task_work.c +++ b/kernel/task_work.c @@ -75,7 +75,8 @@ void task_work_run(void)

[PATCH] ARM: tegra114: add speedo-based process identification

2013-03-14 Thread Danny Huang
Add speedo-based process identifictaion for Tegra114. Based on the work by: Alex Frid Signed-off-by: Danny Huang --- arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/fuse.c| 4 ++ arch/arm/mach-tegra/fuse.h| 7 +++

Re: [PATCH v5 0/3] mtd: use the full-id as the keyword for some nand chips

2013-03-14 Thread Brian Norris
On 03/14/2013 12:07 AM, Artem Bityutskiy wrote: On Wed, 2013-03-13 at 21:48 -0700, Brian Norris wrote: On Wed, Mar 13, 2013 at 7:59 PM, Huang Shijie wrote: As time goes on, we begin to meet the situation that we can not get enough information from some nand chips's id data. Take some

Re: [PATCH] ARM: hw_breakpoint: Enable debug powerdown only if system supports 'has_ossr'

2013-03-14 Thread Santosh Shilimkar
Will, On Wednesday 13 March 2013 05:59 PM, Lokesh Vutla wrote: > Hi Dietmar, > On Wednesday 13 March 2013 05:35 PM, Dietmar Eggemann wrote: >> On 13/03/13 06:52, Lokesh Vutla wrote: >>> Commit {9a6eb31 ARM: hw_breakpoint: Debug powerdown support for >>> self-hosted >>> debug} introduces debug

[PATCH v2] X.509: Support parse long form of length octets in Authority Key Identifier

2013-03-14 Thread Lee, Chun-Yi
From: Chun-Yi Lee Per X.509 spec in 4.2.1.1 section, the structure of Authority Key Identifier Extension is: AuthorityKeyIdentifier ::= SEQUENCE { keyIdentifier [0] KeyIdentifier OPTIONAL, authorityCertIssuer [1] GeneralNamesOPTIONAL,

Re: [PATCH v3] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-14 Thread Ingo Molnar
* Vinson Lee wrote: > The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with > glibc 2.12 and older. Define these tokens if they are not already > defined. > > This patch fixes these build errors with older versions of glibc. > > CC bench/numa.o > bench/numa.c: In function

Re: [PATCH] arch: s390: net: Replaced kmalloc and memset with kzalloc

2013-03-14 Thread Heiko Carstens
On Wed, Mar 13, 2013 at 08:59:17PM +0200, Alexandru Gheorghiu wrote: > Used kzalloc instead of kmalloc followed by memset with 0. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- > arch/s390/net/bpf_jit_comp.c |3 +-- > 1 file changed, 1 insertion(+), 2

Re: [PATCH v5 00/44] ldisc patchset

2013-03-14 Thread Michel Lespinasse
On Wed, Mar 13, 2013 at 6:12 PM, Peter Hurley wrote: > On Wed, 2013-03-13 at 04:36 -0700, Michel Lespinasse wrote: >> Have you considered building your ldlock based on lib/rwsem-spinlock.c >> instead ? i.e. having an internal spinlock to protect the ldisc >> reference count and the reader and

Re: [PATCH] arch: s390: hypfs: Use PTR_RET function

2013-03-14 Thread Heiko Carstens
On Wed, Mar 13, 2013 at 09:12:38PM +0200, Alexandru Gheorghiu wrote: > Used PTR_RET function instead of IS_ERR and PTR_ERR. > Patch found using coccinelle. > > Signed-off-by: Alexandru Gheorghiu > --- > arch/s390/hypfs/hypfs_dbfs.c |4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) >

Re: [PATCH] arch: s390: mm: Removed useless label

2013-03-14 Thread Heiko Carstens
On Wed, Mar 13, 2013 at 09:46:08PM +0200, Alexandru Gheorghiu wrote: > Rewrote conditional statement and eliminated the out_kthread label. > > Signed-off-by: Alexandru Gheorghiu > --- > arch/s390/mm/cmm.c |8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) Applied, thanks. --

Re: [PATCH 13/14] x86/UV: Update UV support for external NMI signals

2013-03-14 Thread Ingo Molnar
* Mike Travis wrote: > > There is an exception where the NMI_LOCAL notifier chain is used. When > the perf tools are in use, it's possible that our NMI was captured by > some other NMI handler and then ignored. We set a per_cpu flag for > those CPUs that ignored the initial NMI, and then

Re: [GIT PULL] sched: Cputime update for 3.10

2013-03-14 Thread Ingo Molnar
* Frederic Weisbecker wrote: > Ingo, > > Please pull the latest cputime accounting updates that can be found at: > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > sched/core > > HEAD: d9a3c9823a2e6a543eb7807fb3d15d8233817ec5 > > Some users are complaining

Re: [PATCH][GIT PULL][3.9] tracing: Fix free of probe entry by calling call_rcu_sched()

2013-03-14 Thread Ingo Molnar
* Steven Rostedt wrote: > Ingo, > > While testing my new code I stumbled upon this bug. This is a real > bug and has been in the kernel forever. Luckily, it's in a feature > that is seldom used. But it can cause a crash if the race is hit. > > I based this off of my last pull request of

Re: [PATCH v5 0/3] mtd: use the full-id as the keyword for some nand chips

2013-03-14 Thread Artem Bityutskiy
On Wed, 2013-03-13 at 21:48 -0700, Brian Norris wrote: > On Wed, Mar 13, 2013 at 7:59 PM, Huang Shijie wrote: > > As time goes on, we begin to meet the situation that we can not > > get enough information from some nand chips's id data. > > Take some Toshiba's nand chips for example. > > I have 4

linux-next: Tree for Mar 14

2013-03-14 Thread Stephen Rothwell
Hi all, Changes since 20130313: New tree: bcon The drm-intel tree lost its build failure. The gpio tree still had its build failure for which I reverted a commit. The cgroup tree lost its build failure and gained a conflict against Linus' tree. The workqueues tree gained a conflict against

Re: [PATCH 11/12] rwsem: wake all readers when first waiter is a reader

2013-03-14 Thread Michel Lespinasse
On Mon, Mar 11, 2013 at 04:36:47PM -0400, Peter Hurley wrote: > > On Wed, 2013-03-06 at 15:21 -0800, Michel Lespinasse wrote: > > + retry_reader_grants: > > + oldcount = rwsem_atomic_update(adjustment, sem) - adjustment; > > + if (unlikely(oldcount < RWSEM_WAITING_BIAS)) { > > + /*

Re: [RFC -next] linux/linkage.h: fix symbol prefix handling

2013-03-14 Thread Rusty Russell
Sam Ravnborg writes: >> actually, y'know, proof-read it. > Hmm.. >> + $(KERNELRELEASE) "$(patsubst >> y,_,$(CONFIG_HAVE_SYMBOL_PREFIX_UNDERSCORE))" >> >> +config HAVE_UNDERSCORE_SYMBOL_PREFIX > > HAVE_UNDERSCORE_... or HAVE_SYMBOL_... confusion. > I prefer the

Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-14 Thread Sachin Kamat
Hi Linus, On 4 March 2013 22:38, Tony Prisk wrote: > On Mon, 2013-03-04 at 14:39 +0530, Sachin Kamat wrote: >> Use the newly introduced devm_ioremap_resource() instead of >> devm_request_and_ioremap() which provides more consistent error handling. >> >> devm_ioremap_resource() provides its own

Re: [PATCH 1/1] module: fix symbol versioning with symbol prefixes

2013-03-14 Thread Rusty Russell
James Hogan writes: > Fix symbol versioning on architectures with symbol prefixes. Although > the build was free from warnings the actual modules still wouldn't load > as the versions table contained unprefixed symbol names, which were > being compared against the prefixed symbol names when

Re: [ 12/40] hw_random: make buffer usable in scatterlist.

2013-03-14 Thread Rusty Russell
Satoru Takeuchi writes: > Hi Rusty, > > At Tue, 12 Mar 2013 15:43:33 -0700, > Greg Kroah-Hartman wrote: >> @@ -307,6 +312,14 @@ int hwrng_register(struct hwrng *rng) >> >> mutex_lock(_mutex); >> >> +/* kmalloc makes this safe for virt_to_page() in virtio_rng.c */ >> +err =

RE: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-14 Thread Berg, Johannes
> > > /* and copy the data that needs to be copied */ > > > cmd_pos = offsetof(struct iwl_device_cmd, payload); > > > + copy_size = sizeof(out_cmd->hdr); > > > for (i = 0; i < IWL_MAX_CMD_TFDS; i++) { > > > - if (!cmd->len[i]) > > > + int copy = 0; > > > + > > > + if

linux-next: manual merge of the signal tree with the modules tree

2013-03-14 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in include/asm-generic/unistd.h between commit 837718bfd28b ("CONFIG_SYMBOL_PREFIX: cleanup") from the modules tree and commit e1b5bb6d1236 ("consolidate cond_syscall and SYSCALL_ALIAS declarations") from the signal tree. The

[PATCH v2 2/4] usb: otg: twl4030: use devres API for regulator get and request irq

2013-03-14 Thread Kishon Vijay Abraham I
Used devres APIs devm_request_threaded_irq and devm_regulator_get for requesting irq and for getting regulator respectively. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/otg/twl4030-usb.c | 28 1 file changed, 8 insertions(+), 20 deletions(-) diff --git

[PATCH v2 0/4] usb: musb/otg: cleanup and fixes

2013-03-14 Thread Kishon Vijay Abraham I
This series has some misc cleanup and fixes. The fix solves the cold plug issue in omap3 which some have reported. Developed these patches on fixes-for-v3.9-rc3 after applying http://www.spinics.net/lists/linux-usb/msg81563.html (Grazvydas Ignotas patch series) Tested for g_zero enumeration in

[PATCH v2 4/4] usb: otg: twl4030: fix cold plug on OMAP3

2013-03-14 Thread Kishon Vijay Abraham I
Having twl4030_usb_phy_init() (detects if a cable is connected before twl4030 is probed) in twl4030 probe makes cable connect events to be missed by musb glue, since it gets loaded after twl4030. Having twl4030_usb_phy_init as a usb_phy ops lets twl4030_usb_phy_init to be called when glue is

[PATCH v2 1/4] usb: musb: omap: remove the check before calling otg_set_vbus

2013-03-14 Thread Kishon Vijay Abraham I
No functional change. otg_set_vbus is already protected so removed the check before calling otg_set_vbus. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/omap2430.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/drivers/usb/musb/omap2430.c

[PATCH v2 3/4] usb: musb: omap: add usb_phy_init in omap2430_musb_init

2013-03-14 Thread Kishon Vijay Abraham I
Some PHYs load too early (twl4030) making omap glue to miss cable connect events if the board is booted with cable connected. So adding usb_phy_init in omap2430_musb_init lets PHYs to report events once glue is ready. Signed-off-by: Kishon Vijay Abraham I --- drivers/usb/musb/omap2430.c |2

Re: [PATCH] ARM: dts: add usb 2.0 clock references to exynos5250 device tree

2013-03-14 Thread Vivek Gautam
Hi Doug, On Wed, Mar 13, 2013 at 10:48 PM, Doug Anderson wrote: > This is a fixup to two device tree nodes that have already landed but > without clock nodes since the transition to common clock happened at > the same time. > > Signed-off-by: Doug Anderson > --- >

Re: [PATCH] ARM: dts: add usb 2.0 clock references to exynos5250 device tree

2013-03-14 Thread Vivek Gautam
Hi Doug, On Wed, Mar 13, 2013 at 10:48 PM, Doug Anderson diand...@chromium.org wrote: This is a fixup to two device tree nodes that have already landed but without clock nodes since the transition to common clock happened at the same time. Signed-off-by: Doug Anderson diand...@chromium.org

[PATCH v2 3/4] usb: musb: omap: add usb_phy_init in omap2430_musb_init

2013-03-14 Thread Kishon Vijay Abraham I
Some PHYs load too early (twl4030) making omap glue to miss cable connect events if the board is booted with cable connected. So adding usb_phy_init in omap2430_musb_init lets PHYs to report events once glue is ready. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH v2 1/4] usb: musb: omap: remove the check before calling otg_set_vbus

2013-03-14 Thread Kishon Vijay Abraham I
No functional change. otg_set_vbus is already protected so removed the check before calling otg_set_vbus. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/musb/omap2430.c |9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git

[PATCH v2 0/4] usb: musb/otg: cleanup and fixes

2013-03-14 Thread Kishon Vijay Abraham I
This series has some misc cleanup and fixes. The fix solves the cold plug issue in omap3 which some have reported. Developed these patches on fixes-for-v3.9-rc3 after applying http://www.spinics.net/lists/linux-usb/msg81563.html (Grazvydas Ignotas patch series) Tested for g_zero enumeration in

[PATCH v2 4/4] usb: otg: twl4030: fix cold plug on OMAP3

2013-03-14 Thread Kishon Vijay Abraham I
Having twl4030_usb_phy_init() (detects if a cable is connected before twl4030 is probed) in twl4030 probe makes cable connect events to be missed by musb glue, since it gets loaded after twl4030. Having twl4030_usb_phy_init as a usb_phy ops lets twl4030_usb_phy_init to be called when glue is

[PATCH v2 2/4] usb: otg: twl4030: use devres API for regulator get and request irq

2013-03-14 Thread Kishon Vijay Abraham I
Used devres APIs devm_request_threaded_irq and devm_regulator_get for requesting irq and for getting regulator respectively. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/otg/twl4030-usb.c | 28 1 file changed, 8 insertions(+), 20 deletions(-)

linux-next: manual merge of the signal tree with the modules tree

2013-03-14 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in include/asm-generic/unistd.h between commit 837718bfd28b (CONFIG_SYMBOL_PREFIX: cleanup) from the modules tree and commit e1b5bb6d1236 (consolidate cond_syscall and SYSCALL_ALIAS declarations) from the signal tree. The latter

RE: [ 031/100] iwlwifi: always copy first 16 bytes of commands

2013-03-14 Thread Berg, Johannes
/* and copy the data that needs to be copied */ cmd_pos = offsetof(struct iwl_device_cmd, payload); + copy_size = sizeof(out_cmd-hdr); for (i = 0; i IWL_MAX_CMD_TFDS; i++) { - if (!cmd-len[i]) + int copy = 0; + + if (!cmd-len)

Re: [PATCH 1/1] module: fix symbol versioning with symbol prefixes

2013-03-14 Thread Rusty Russell
James Hogan james.ho...@imgtec.com writes: Fix symbol versioning on architectures with symbol prefixes. Although the build was free from warnings the actual modules still wouldn't load as the versions table contained unprefixed symbol names, which were being compared against the prefixed

Re: [ 12/40] hw_random: make buffer usable in scatterlist.

2013-03-14 Thread Rusty Russell
Satoru Takeuchi satoru.takeu...@gmail.com writes: Hi Rusty, At Tue, 12 Mar 2013 15:43:33 -0700, Greg Kroah-Hartman wrote: @@ -307,6 +312,14 @@ int hwrng_register(struct hwrng *rng) mutex_lock(rng_mutex); +/* kmalloc makes this safe for virt_to_page() in virtio_rng.c */ +

Re: [PATCH 1/1] gpio/vt8500: Convert to devm_ioremap_resource()

2013-03-14 Thread Sachin Kamat
Hi Linus, On 4 March 2013 22:38, Tony Prisk li...@prisktech.co.nz wrote: On Mon, 2013-03-04 at 14:39 +0530, Sachin Kamat wrote: Use the newly introduced devm_ioremap_resource() instead of devm_request_and_ioremap() which provides more consistent error handling. devm_ioremap_resource()

Re: [RFC -next] linux/linkage.h: fix symbol prefix handling

2013-03-14 Thread Rusty Russell
Sam Ravnborg s...@ravnborg.org writes: actually, y'know, proof-read it. Hmm.. + $(KERNELRELEASE) $(patsubst y,_,$(CONFIG_HAVE_SYMBOL_PREFIX_UNDERSCORE)) +config HAVE_UNDERSCORE_SYMBOL_PREFIX HAVE_UNDERSCORE_... or HAVE_SYMBOL_... confusion. I prefer the

Re: [PATCH 11/12] rwsem: wake all readers when first waiter is a reader

2013-03-14 Thread Michel Lespinasse
On Mon, Mar 11, 2013 at 04:36:47PM -0400, Peter Hurley wrote: On Wed, 2013-03-06 at 15:21 -0800, Michel Lespinasse wrote: + retry_reader_grants: + oldcount = rwsem_atomic_update(adjustment, sem) - adjustment; + if (unlikely(oldcount RWSEM_WAITING_BIAS)) { + /* A writer

linux-next: Tree for Mar 14

2013-03-14 Thread Stephen Rothwell
Hi all, Changes since 20130313: New tree: bcon The drm-intel tree lost its build failure. The gpio tree still had its build failure for which I reverted a commit. The cgroup tree lost its build failure and gained a conflict against Linus' tree. The workqueues tree gained a conflict against

Re: [PATCH v5 0/3] mtd: use the full-id as the keyword for some nand chips

2013-03-14 Thread Artem Bityutskiy
On Wed, 2013-03-13 at 21:48 -0700, Brian Norris wrote: On Wed, Mar 13, 2013 at 7:59 PM, Huang Shijie b32...@freescale.com wrote: As time goes on, we begin to meet the situation that we can not get enough information from some nand chips's id data. Take some Toshiba's nand chips for example.

Re: [PATCH][GIT PULL][3.9] tracing: Fix free of probe entry by calling call_rcu_sched()

2013-03-14 Thread Ingo Molnar
* Steven Rostedt rost...@goodmis.org wrote: Ingo, While testing my new code I stumbled upon this bug. This is a real bug and has been in the kernel forever. Luckily, it's in a feature that is seldom used. But it can cause a crash if the race is hit. I based this off of my last pull

Re: [GIT PULL] sched: Cputime update for 3.10

2013-03-14 Thread Ingo Molnar
* Frederic Weisbecker fweis...@gmail.com wrote: Ingo, Please pull the latest cputime accounting updates that can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git sched/core HEAD: d9a3c9823a2e6a543eb7807fb3d15d8233817ec5 Some users are

Re: [PATCH 13/14] x86/UV: Update UV support for external NMI signals

2013-03-14 Thread Ingo Molnar
* Mike Travis tra...@sgi.com wrote: There is an exception where the NMI_LOCAL notifier chain is used. When the perf tools are in use, it's possible that our NMI was captured by some other NMI handler and then ignored. We set a per_cpu flag for those CPUs that ignored the initial NMI,

Re: [PATCH] arch: s390: mm: Removed useless label

2013-03-14 Thread Heiko Carstens
On Wed, Mar 13, 2013 at 09:46:08PM +0200, Alexandru Gheorghiu wrote: Rewrote conditional statement and eliminated the out_kthread label. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- arch/s390/mm/cmm.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-)

Re: [PATCH] arch: s390: hypfs: Use PTR_RET function

2013-03-14 Thread Heiko Carstens
On Wed, Mar 13, 2013 at 09:12:38PM +0200, Alexandru Gheorghiu wrote: Used PTR_RET function instead of IS_ERR and PTR_ERR. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- arch/s390/hypfs/hypfs_dbfs.c |4 +--- 1 file changed, 1 insertion(+),

Re: [PATCH v5 00/44] ldisc patchset

2013-03-14 Thread Michel Lespinasse
On Wed, Mar 13, 2013 at 6:12 PM, Peter Hurley pe...@hurleysoftware.com wrote: On Wed, 2013-03-13 at 04:36 -0700, Michel Lespinasse wrote: Have you considered building your ldlock based on lib/rwsem-spinlock.c instead ? i.e. having an internal spinlock to protect the ldisc reference count and

Re: [PATCH] arch: s390: net: Replaced kmalloc and memset with kzalloc

2013-03-14 Thread Heiko Carstens
On Wed, Mar 13, 2013 at 08:59:17PM +0200, Alexandru Gheorghiu wrote: Used kzalloc instead of kmalloc followed by memset with 0. Patch found using coccinelle. Signed-off-by: Alexandru Gheorghiu gheorghiuan...@gmail.com --- arch/s390/net/bpf_jit_comp.c |3 +-- 1 file changed, 1

Re: [PATCH v3] perf tools: Fix LIBNUMA build with glibc 2.12 and older.

2013-03-14 Thread Ingo Molnar
* Vinson Lee v...@twitter.com wrote: The tokens MADV_HUGEPAGE and MADV_NOHUGEPAGE are not available with glibc 2.12 and older. Define these tokens if they are not already defined. This patch fixes these build errors with older versions of glibc. CC bench/numa.o bench/numa.c: In

[PATCH v2] X.509: Support parse long form of length octets in Authority Key Identifier

2013-03-14 Thread Lee, Chun-Yi
From: Chun-Yi Lee j...@suse.com Per X.509 spec in 4.2.1.1 section, the structure of Authority Key Identifier Extension is: AuthorityKeyIdentifier ::= SEQUENCE { keyIdentifier [0] KeyIdentifier OPTIONAL, authorityCertIssuer [1] GeneralNames

Re: [PATCH] ARM: hw_breakpoint: Enable debug powerdown only if system supports 'has_ossr'

2013-03-14 Thread Santosh Shilimkar
Will, On Wednesday 13 March 2013 05:59 PM, Lokesh Vutla wrote: Hi Dietmar, On Wednesday 13 March 2013 05:35 PM, Dietmar Eggemann wrote: On 13/03/13 06:52, Lokesh Vutla wrote: Commit {9a6eb31 ARM: hw_breakpoint: Debug powerdown support for self-hosted debug} introduces debug powerdown

Re: [PATCH v5 0/3] mtd: use the full-id as the keyword for some nand chips

2013-03-14 Thread Brian Norris
On 03/14/2013 12:07 AM, Artem Bityutskiy wrote: On Wed, 2013-03-13 at 21:48 -0700, Brian Norris wrote: On Wed, Mar 13, 2013 at 7:59 PM, Huang Shijie b32...@freescale.com wrote: As time goes on, we begin to meet the situation that we can not get enough information from some nand chips's id

[PATCH] ARM: tegra114: add speedo-based process identification

2013-03-14 Thread Danny Huang
Add speedo-based process identifictaion for Tegra114. Based on the work by: Alex Frid af...@nvidia.com Signed-off-by: Danny Huang dahu...@nvidia.com --- arch/arm/mach-tegra/Makefile | 1 + arch/arm/mach-tegra/fuse.c| 4 ++ arch/arm/mach-tegra/fuse.h| 7 +++

[PATCH 1/2] task_work: make FIFO task_work list

2013-03-14 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- kernel/task_work.c | 15 +++ 1 files changed, 3 insertions(+), 12 deletions(-) diff --git a/kernel/task_work.c b/kernel/task_work.c index 65bd3c9..0bf4258 100644 --- a/kernel/task_work.c +++ b/kernel/task_work.c @@ -13,11 +13,12 @@

[PATCH 2/2] task_work: check callback if it's NULL

2013-03-14 Thread liguang
Signed-off-by: liguang lig.f...@cn.fujitsu.com --- kernel/task_work.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/task_work.c b/kernel/task_work.c index 0bf4258..f458b08 100644 --- a/kernel/task_work.c +++ b/kernel/task_work.c @@ -75,7 +75,8 @@ void

Re: [PATCH] ARM: OMAP: drop select MACH_NOKIA_RM696

2013-03-14 Thread Paul Bolle
On Mon, 2013-03-11 at 09:33 -0700, Tony Lindgren wrote: * Paul Bolle pebo...@tiscali.nl [130309 11:52]: In the meantime, how do you prefer I solve the (trivial) issue of an useless select for MACH_NOKIA_RM696? Drop that select or add an (equally useless) config entry for MACH_NOKIA_RM696?

Re: [PATCH] gpio: Renesas R-Car GPIO driver

2013-03-14 Thread Linus Walleij
On Thu, Mar 14, 2013 at 5:07 AM, Magnus Damm magnus.d...@gmail.com wrote: On Thu, Mar 14, 2013 at 2:20 AM, Linus Walleij linus.wall...@linaro.org wrote: It is quite common to request IRQ on *both* rising and falling edges, what happens then? (...) I may be wrong, but the switch above does

[PATCH 1/2] rtc: rtc-ds1307: use dev_dbg() instead of pr_debug()

2013-03-14 Thread Jingoo Han
dev_dbg() is more preferred than pr_debug(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-ds1307.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c index a65621c..b859d3c 100644 ---

[PATCH 2/2] rtc: rtc-fm3130: use dev_dbg() instead of pr_debug()

2013-03-14 Thread Jingoo Han
dev_dbg() is more preferred than pr_debug(). Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-fm3130.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index bff3cdc..4d4ad3f 100644 ---

[PATCH 01/30] rtc: rtc-ab3100: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-ab3100.c |7 ++- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/rtc/rtc-ab3100.c b/drivers/rtc/rtc-ab3100.c index

[PATCH 02/30] rtc: rtc-au1xxx: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-au1xxx.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-au1xxx.c b/drivers/rtc/rtc-au1xxx.c index

[PATCH 03/30] rtc: rtc-bq32k: use devm_rtc_device_register()

2013-03-14 Thread Jingoo Han
devm_rtc_device_register() is device managed and makes cleanup paths simpler. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-bq32k.c |5 + 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/rtc-bq32k.c b/drivers/rtc/rtc-bq32k.c index

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