Re: [PATCH v2 2/2] perf tools: add attr-mmap2 support

2013-08-31 Thread Ingo Molnar
* Stephane Eranian eran...@google.com wrote: False alarm, the changes in builtin-inject.c are in V2. Nothing more to do. Sorry about the confusion. ok, I'll pick up the -v2 patches from Peter. Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in

Re: [PATCH] btrfs: use list_for_each_entry_safe() when delete items

2013-08-31 Thread Azat Khuzhin
On Tue, Jul 30, 2013 at 7:40 AM, Miao Xie mi...@cn.fujitsu.com wrote: On mon, 29 Jul 2013 11:48:32 +0400, Azat Khuzhin wrote: On Sat, Jul 27, 2013 at 2:12 PM, Azat Khuzhin a3at.m...@gmail.com wrote: Replace list_for_each_entry() by list_for_each_entry_safe() in __btrfs_close_devices() There

[PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Dan Aloni
A high setting of max_map_count, and a process core-dumping with a large enough vm_map_count could result in an NT_FILE note not being written, and the kernel crashing immediately later because it has assumed otherwise. Reproduction of the bug described here:

Re: linux-next: build warning after merge of the tip tree

2013-08-31 Thread Ingo Molnar
* Andi Kleen a...@linux.intel.com wrote: I've seen this pattern of deficient changelogs a dozen times in your patches this year alone ... Ping? I've re-sent the patch already last week. hpa was on vacation, if he doesn't pick it up I'll apply it. Some perf patches are also

Re: ipv4: warnings on sk_wmem_queued

2013-08-31 Thread Eric Wong
Eric Wong normalper...@yhbt.net wrote: I noticed these warnings on stock 3.10.9 running stress tests on cmogstored.git (git://bogomips.org/cmogstored.git) doing standard HTTP server stuff between lo and tmpfs: I'm still running the same test (in-place upgraded cmogstored a few times to fix

[PATCH 0/3] driver: input: fix missing of_node_put

2013-08-31 Thread Libo Chen
decrease np device_node refcount after task completion Libo Chen (3): driver: input: 88pm860x-ts: fix missing of_node_put driver: input: twl4030-vibra: fix missing of_node_put driver: input: twl6040-vibra: fix missing of_node_put drivers/input/misc/twl4030-vibra.c |4 +++-

Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture

2013-08-31 Thread Geert Uytterhoeven
On Fri, Aug 30, 2013 at 9:37 PM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Aug 30, 2013 at 12:14:20PM -0700, Linus Torvalds wrote: On Fri, Aug 30, 2013 at 12:11 PM, Guenter Roeck li...@roeck-us.net wrote: I would not mind if Linus would agree to pull it right away for 3.12, but that

[PATCH 1/3] driver: input: 88pm860x-ts: fix missing of_node_put

2013-08-31 Thread Libo Chen
decrease np device_node refcount after task completion Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/input/touchscreen/88pm860x-ts.c | 22 +++--- 1 files changed, 15 insertions(+), 7 deletions(-) diff --git a/drivers/input/touchscreen/88pm860x-ts.c

[PATCH 3/3] driver: input: twl6040-vibra: fix missing of_node_put

2013-08-31 Thread Libo Chen
decrease twl6040_core_node device_node refcount after task completion There are two ways to implement the function of_node_put through the marco CONFIG_OF_DYNAMIC, so it is save to call directly. Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/input/misc/twl6040-vibra.c |3 +++ 1

[PATCH 2/3] driver: input: twl4030-vibra: fix missing of_node_put

2013-08-31 Thread Libo Chen
decrease node device_node refcount after task completion Signed-off-by: Libo Chen libo.c...@huawei.com --- drivers/input/misc/twl4030-vibra.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/input/misc/twl4030-vibra.c b/drivers/input/misc/twl4030-vibra.c

Re: [PATCH] Fix the race between the fget() and close()

2013-08-31 Thread Al Viro
On Sat, Aug 31, 2013 at 05:53:11AM +, Liu, Chuansheng wrote: I think I found one of possible race here(two processes P1 and P2): P1 has the the files_struct pointer FILES1, P2 has the files_struct pointer FILES2, When P1 open file, the new struct file pointer SHARE_FILE will be

RE: [PATCH] Fix the race between the fget() and close()

2013-08-31 Thread Liu, Chuansheng
-Original Message- From: Al Viro [mailto:v...@ftp.linux.org.uk] On Behalf Of Al Viro Sent: Saturday, August 31, 2013 2:48 PM To: Liu, Chuansheng Cc: Eric Dumazet; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix the race between the fget() and

Re: [PATCH] Fix the race between the fget() and close()

2013-08-31 Thread Al Viro
On Sat, Aug 31, 2013 at 07:01:33AM +, Liu, Chuansheng wrote: My scenario is: P1 files_struct refcount is 1, P2's is 1 also. P1 get_files_struct(P2) P1 install one file into P2's files_struct P1 put_files_struct(P2) Then P1 and P2's files_struct refcount are 1, then when P1 is doing

RE: [PATCH] Fix the race between the fget() and close()

2013-08-31 Thread Liu, Chuansheng
-Original Message- From: Al Viro [mailto:v...@ftp.linux.org.uk] On Behalf Of Al Viro Sent: Saturday, August 31, 2013 3:36 PM To: Liu, Chuansheng Cc: Eric Dumazet; linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] Fix the race between the fget() and

[REGRESSION 3.11-rc1+] wm8775 9-001b: I2C: cannot write ??? to register R??

2013-08-31 Thread Knut Petersen
Hi Linus! It would be nice to have head cx88fix of git.linuxtv.org/hverkuil/media_tree.git (git.linuxtv.org/hverkuil/media_tree.git/commit/5dce3635bf803cfe9dde84e00f5f9594439e6c02) in 3.11 as it is a trivial and tested fix for a regression introduced between 3.10 and 3.11-rc1. see

Re: [GIT PULL 00/15] perf/core improvements and fixes

2013-08-31 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@infradead.org wrote: From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 00e4cb1ced1b17c35465defafe86d156cbd7544e: Merge tag 'perf-core-for-mingo' of

Re: kernel deadlock

2013-08-31 Thread Gerlando Falauto
Hi Stephen, Just curious. Do you have this patch from 3.11 applied to your 3.10 kernel tree? Nope, I didn't. But I applied it, and it doesn't seem to make a difference, unfortunately. :-( Thanks for your help anyway! Gerlando commit 971ee28cbd1ccd87b3164facd9359a534c1d2892 Author: Peter

[tip:perf/core] perf tools: Add support for PERF_SAMPLE_IDENTIFIER

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: 75562573bab35b129cfd342fc2bcf89da84a6644 Gitweb: http://git.kernel.org/tip/75562573bab35b129cfd342fc2bcf89da84a6644 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:09 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf tools: Expand perf_event__synthesize_sample( )

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: d03f2170546d2f0c236a42706d211e15ffb64184 Gitweb: http://git.kernel.org/tip/d03f2170546d2f0c236a42706d211e15ffb64184 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:11 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf: make events stream always parsable

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: ff3d527cebc1fa3707c617bfe9e74f53fcfb0955 Gitweb: http://git.kernel.org/tip/ff3d527cebc1fa3707c617bfe9e74f53fcfb0955 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:07 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf evlist: Add tracepoint lookup by name

2013-08-31 Thread tip-bot for David Ahern
Commit-ID: a2f2804a7142b043dafd39f21b86777840e1a78c Gitweb: http://git.kernel.org/tip/a2f2804a7142b043dafd39f21b86777840e1a78c Author: David Ahern dsah...@gmail.com AuthorDate: Wed, 28 Aug 2013 22:29:51 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29 Aug

[tip:perf/core] perf tools: Add a function to calculate sample event size

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: b1cf6f65aa7096984836addab7cec6b5b6d4393a Gitweb: http://git.kernel.org/tip/b1cf6f65aa7096984836addab7cec6b5b6d4393a Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:12 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf tests: Add a sample parsing test

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: 045f8cd8542d2fcd424a32fa10fcd3dd29c6d374 Gitweb: http://git.kernel.org/tip/045f8cd8542d2fcd424a32fa10fcd3dd29c6d374 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:13 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf trace: Handle missing HUGEPAGE defines

2013-08-31 Thread tip-bot for David Ahern
Commit-ID: f2935f3e585226b8203ec3861907e1cb16ad3d6a Gitweb: http://git.kernel.org/tip/f2935f3e585226b8203ec3861907e1cb16ad3d6a Author: David Ahern dsah...@gmail.com AuthorDate: Tue, 27 Aug 2013 10:50:40 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Fri, 30 Aug

[tip:perf/core] perf trace: Add option to analyze events in a file versus live

2013-08-31 Thread tip-bot for David Ahern
Commit-ID: 6810fc915f7a89d8134edb3996dbbf8eac386c26 Gitweb: http://git.kernel.org/tip/6810fc915f7a89d8134edb3996dbbf8eac386c26 Author: David Ahern dsah...@gmail.com AuthorDate: Wed, 28 Aug 2013 22:29:52 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29 Aug

[tip:perf/core] perf trace: Honor target pid / tid options when analyzing a file

2013-08-31 Thread tip-bot for David Ahern
Commit-ID: bdc896617b4fcaa9c89da9a9c5b72660f6741d46 Gitweb: http://git.kernel.org/tip/bdc896617b4fcaa9c89da9a9c5b72660f6741d46 Author: David Ahern dsah...@gmail.com AuthorDate: Wed, 28 Aug 2013 22:29:53 -0600 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29 Aug

[tip:perf/core] perf evlist: Move perf_evlist__config() to a new source file

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: faf967068e8c4d8df52f01f9361241101b3065a0 Gitweb: http://git.kernel.org/tip/faf967068e8c4d8df52f01f9361241101b3065a0 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:08 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf tools: Add missing 'abi' member to ' struct regs_dump'

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: 5b95a4a3b52a1de84022dfaf580df4b5251f4a15 Gitweb: http://git.kernel.org/tip/5b95a4a3b52a1de84022dfaf580df4b5251f4a15 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:10 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf tools: Remove references to struct ip_event

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: ef89325f773bc9f2f4e6019bd7f3d968ba85df9a Gitweb: http://git.kernel.org/tip/ef89325f773bc9f2f4e6019bd7f3d968ba85df9a Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:06 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf callchain: Remove unnecessary validation

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: 07940293ba7a43070cdebda952b0e6025d80a383 Gitweb: http://git.kernel.org/tip/07940293ba7a43070cdebda952b0e6025d80a383 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:05 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf evsel: Tidy up sample parsing overflow checking

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: 03b6ea9b91e0914caa847a1ade759af549555298 Gitweb: http://git.kernel.org/tip/03b6ea9b91e0914caa847a1ade759af549555298 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:04 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

[tip:perf/core] perf tools: change machine__findnew_thread() to set thread pid

2013-08-31 Thread tip-bot for Adrian Hunter
Commit-ID: 314add6b1f045b59ca39683bd0cbc5310cd203f2 Gitweb: http://git.kernel.org/tip/314add6b1f045b59ca39683bd0cbc5310cd203f2 Author: Adrian Hunter adrian.hun...@intel.com AuthorDate: Tue, 27 Aug 2013 11:23:03 +0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 29

Re: [PATCH] Avoid useless inodes and dentries reclamation

2013-08-31 Thread Dave Chinner
On Fri, Aug 30, 2013 at 09:21:34AM -0700, Tim Chen wrote: On Fri, 2013-08-30 at 11:40 +1000, Dave Chinner wrote: The new shrinker infrastructure has a -count_objects() callout to specifically return the number of objects in the cache. shrink_slab_node() can check that return value

[RFC PATCH v1 1/1] powerpc/85xx: Wakeup kexec smp slave cpus in second kernel

2013-08-31 Thread Yu Chen
From 1ccf579b871dfd5938ce958f729361a203485c74 Mon Sep 17 00:00:00 2001 From: Yu Chen chenyu...@gmail.com Date: Sat, 31 Aug 2013 23:52:31 +0800 Subject: [PATCH] powerpc/85xx: Wakeup kexec smp slave cpus in second kernel In current 85xx smp kexec implementation,master cpu reset slave cpus by

3.11-rc2: unpriviledged user crashes kernel using bluetooth

2013-08-31 Thread Pavel Machek
Hi! While trying to set up serial bluetooth connection between two machines, the server machine died rather hard. This is what I got on ssh: Message from syslogd@duo at Aug 31 11:50:07 ... kernel:Hardware name: LENOVO 17097HU/17097HU, BIOS 7BETD8WW (2.19 ) 03/31/2011 Message from syslogd@duo

Re: perf_event: rdpmc self-monitoring overhead issue

2013-08-31 Thread Mikael Pettersson
Vince Weaver writes: On Fri, 30 Aug 2013, Stephane Eranian wrote: You mean that the high cost in your first example comes from the fact that you are averaging over all the iterations and not n-1 (where 1 is the first). I don't see a flag in mmap() to fault it in immediately. But

Re: 3.11-rc2: unpriviledged user crashes kernel using bluetooth

2013-08-31 Thread Pavel Machek
Hi! . Python sources for client/server are at http://tui.cvs.sourceforge.net/viewvc/tui/tui/liveview/ . My kernels like to warn about Aug 31 11:46:37 duo kernel: WARNING: CPU: 1 PID: 1 at net/wireless/reg.c:423 regulatory_init+0x92/0xff() Aug 31 11:46:37 duo kernel: db.txt is empty,

3.10: unpriviledged user crashes kernel using bluetooth

2013-08-31 Thread Pavel Machek
On Sat 2013-08-31 12:09:33, Pavel Machek wrote: Hi! . Python sources for client/server are at http://tui.cvs.sourceforge.net/viewvc/tui/tui/liveview/ . My kernels like to warn about Aug 31 11:46:37 duo kernel: WARNING: CPU: 1 PID: 1 at net/wireless/reg.c:423

Re: 3.11-rc2: unpriviledged user crashes kernel using bluetooth

2013-08-31 Thread Pavel Machek
On Sat 2013-08-31 12:09:33, Pavel Machek wrote: Hi! . Python sources for client/server are at http://tui.cvs.sourceforge.net/viewvc/tui/tui/liveview/ . My kernels like to warn about System is debian stable with gnome2. And no, it is not fixed in 3.11-rc7.

[PATCH 1/6] ACPI / processor: Introduce apic_id in struct processor to save parsed APIC id

2013-08-31 Thread Hanjun Guo
From: Jiang Liu jiang@huawei.com For cpu hot add, we evaluate _MAT or parse MADT twice to get APIC id, here is the code logic: acpi_processor_add() acpi_processor_get_info() acpi_get_cpuid() will evaluate _MAT or parse MADT; acpi_processor_hotadd_init()

[PATCH 2/6] ACPI / processor: use apic_id and remove duplicated _MAT evaluation

2013-08-31 Thread Hanjun Guo
From: Jiang Liu jiang@huawei.com Since APIC id is saved in processor struct, just use it and remove the duplicated _MAT evaluation. Signed-off-by: Jiang Liu jiang@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- arch/ia64/kernel/acpi.c | 38

[PATCH 3/6] x86: simplify _acpi_map_lsapic()

2013-08-31 Thread Hanjun Guo
From: Jiang Liu jiang@huawei.com In acpi_register_lapic(), it will generates a new logical cpu number and maps to the local APIC id, this logical cpu number can be returned to simplify _acpi_map_lsapic() implementation. Signed-off-by: Jiang Liu jiang@huawei.com Signed-off-by: Hanjun Guo

[PATCH 4/6] ACPI / processor: remove some dead code in acpi_processor_get_info()

2013-08-31 Thread Hanjun Guo
From: Jiang Liu jiang@huawei.com errata.smp is used by anywhere, so variable assignment is meanless, remove it. Signed-off-by: Jiang Liu jiang@huawei.com Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/acpi_processor.c |3 --- 1 file changed, 3 deletions(-) diff

[PATCH 5/6] ACPI / processor: remove unnecessary if (!pr) check

2013-08-31 Thread Hanjun Guo
acpi_processor_errata() is only called in acpi_processor_get_info(), and the argument 'pr' passed to acpi_processor_errata() will be never NULL, so the if (!pr) check is unnecessary. Since the 'pr' argument is not used by acpi_processor_errata() any more, so change the argument into void.

[PATCH 6/6] ACPI / processor: Remove outdated comments

2013-08-31 Thread Hanjun Guo
acpi_get_processor_id() can be find nowhere, and the acpi id is synchronized to APIC id when acpi_get_cpuid() is called, so the comments can be removed. Signed-off-by: Hanjun Guo hanjun@linaro.org --- drivers/acpi/acpi_processor.c |5 - 1 file changed, 5 deletions(-) diff --git

Re: 3.11-rc7: unpriviledged user crashes kernel using bluetooth

2013-08-31 Thread Pavel Machek
On Sat 2013-08-31 12:14:51, Pavel Machek wrote: On Sat 2013-08-31 12:09:33, Pavel Machek wrote: Hi! . Python sources for client/server are at http://tui.cvs.sourceforge.net/viewvc/tui/tui/liveview/ . My kernels like to warn about System is debian stable with gnome2.

Re: [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT

2013-08-31 Thread Jean-Francois Moine
On Wed, 28 Aug 2013 12:14:24 +0200 Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: +i2s1 { + status = okay; + pinctrl-0 = pmx_audio1_i2s1_spdifo; + pinctrl-names = default; +}; Please also add the external clock connected from si5351. Hi Sebastian and Russell,

[PATCH 3/4] regulator: wm831x-isink: Use devm_request_threaded_irq()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org devm guarantees that resources are freed in the opposite order to that in which they are allocated. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-isink.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 2/4] regulator: wm831x-dcdc: Convert to devm_request_threaded_irq()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org devm guarantees that resources are freed in the opposite order to that in which they are registered. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-dcdc.c | 36 ++-- 1 file changed, 14 insertions(+),

Re: [PATCH] Staging:BCM:DDRInit.c:Renaming __FUNCTION__

2013-08-31 Thread Dan Carpenter
On Fri, Aug 30, 2013 at 06:49:16PM +0100, Paul McQuade wrote: From c21d0da84c92d351f37b70c0d9c01a66fcb84e88 Mon Sep 17 00:00:00 2001 From: Paul McQuade paulmcq...@gmail.com Date: Thu, 15 Aug 2013 20:00:50 +0100 Subject: [PATCH] Staging:BCM:DDRInit.c:Renaming __FUNCTION__ Don't put these in

[PATCH 4/4] regulator: wm831x-ldo: Use devm_request_threaded_irq()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org devm guarantees that resources are freed in the oposite order to that in which they are allocated. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-ldo.c | 16 +++- 1 file changed, 7 insertions(+), 9 deletions(-) diff

[PATCH 1/4] regulator: wm831x-dcdc: Convert to devm_gpio_request_one()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Saves code in the unwind path. Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-dcdc.c | 18 -- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/drivers/regulator/wm831x-dcdc.c

RE: [RFC][PATCH 17/18 v2] ftrace/cpuidle/x86: Mark functions that are RCU unsafe

2013-08-31 Thread Wysocki, Rafael J
Acked-by: Rafael J. Wysocki rafael.j.wyso...@intel.com Sent from a tablet, I apologize for formatting issues. Steven Rostedt rost...@goodmis.org wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Some callbacks of the function tracer use rcu_read_lock(). This means that there's places

[PATCH 01/11] regulator: core: Provide managed regulator registration

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Many regulator drivers have a remove function that consists solely of calling regulator_unregister() so provide a devm_regulator_register() in order to allow this repeated code to be removed and help eliminate error handling code. Signed-off-by: Mark Brown

[PATCH 07/11] regulator: wm831x-isink: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-isink.c | 17 +++-- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/drivers/regulator/wm831x-isink.c b/drivers/regulator/wm831x-isink.c index 841cb52..0339b88

[PATCH 05/11] regulator: s5m8767: Covert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/s5m8767.c | 24 +++- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c index c24448b..2297fdf 100644

[PATCH 06/11] regulator: wm831x-dcdc: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-dcdc.c | 66 - 1 file changed, 12 insertions(+), 54 deletions(-) diff --git a/drivers/regulator/wm831x-dcdc.c b/drivers/regulator/wm831x-dcdc.c

[PATCH 09/11] regulator: wm8350: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm8350-regulator.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/wm8350-regulator.c b/drivers/regulator/wm8350-regulator.c index 835b5f0..a438e93

[PATCH 02/11] regulator: arizona-ldo1: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/arizona-ldo1.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/regulator/arizona-ldo1.c b/drivers/regulator/arizona-ldo1.c index 81d8681..4f6c205 100644

[PATCH 03/11] regulator: arizona-micsupp: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/arizona-micsupp.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/regulator/arizona-micsupp.c b/drivers/regulator/arizona-micsupp.c index

[PATCH 04/11] regulator: s2mps11: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/s2mps11.c | 20 +--- 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 5eba2ff..d7c241e 100644 ---

[PATCH 08/11] regulator: wm831x-ldo: Convert to devm_regulator_register()

2013-08-31 Thread Mark Brown
From: Mark Brown broo...@linaro.org Signed-off-by: Mark Brown broo...@linaro.org --- drivers/regulator/wm831x-ldo.c | 47 +++--- 1 file changed, 8 insertions(+), 39 deletions(-) diff --git a/drivers/regulator/wm831x-ldo.c b/drivers/regulator/wm831x-ldo.c

Re: [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT

2013-08-31 Thread Russell King - ARM Linux
On Sat, Aug 31, 2013 at 12:51:28PM +0200, Jean-Francois Moine wrote: Hi Sebastian and Russell, I tried it on my Cubox (si5351 2), and I have problems with HDMI output and some audio streams like webradios with sample rates 32 or 22.05 kHz. Some TVs will only accept certain sample rates - my

[PATCH 00/10] autofs4 - rename autofs4 to autofs

2013-08-31 Thread Ian Kent
The autofs4 kernel module provides function for autofs version 3, 4 and 5 and autofs module has long since been removed. Now we're left with a misnamed module. Appart from the name another problem this presents is that module autoload doesn't work because of the mismatch of the directory name and

[PATCH 03/10] autofs4 - move linux/auto_dev-ioctl.h to uapi/linux

2013-08-31 Thread Ian Kent
Since linux/auto_dev-ioctl.h wasn't included in include/linux/Kbuild (although I should have added it) it wasn't moved to uapi/linux as part of the uapi series. Signed-off-by: Ian Kent ra...@themaw.net --- include/linux/auto_dev-ioctl.h | 224 ---

[PATCH 01/10] autofs4 - coding style fixes

2013-08-31 Thread Ian Kent
Try and make the coding style completely consistent throughtout the autofs module and inline with kernel coding style recommendations. Signed-off-by: Ian Kent ra...@themaw.net --- fs/autofs4/autofs_i.h | 30 +++--- fs/autofs4/expire.c | 38

[PATCH 00/10] autofs4 - rename autofs4 to autofs

2013-08-31 Thread Ian Kent
The autofs4 kernel module provides function for autofs version 3, 4 and 5 and autofs module has long since been removed. Now we're left with a misnamed module. Appart from the name another problem this presents is that module autoload doesn't work because of the mismatch of the directory name and

[PATCH 02/10] autofs4 - fix string.h include in auto_dev-ioctl.h

2013-08-31 Thread Ian Kent
Since including linux/string.h will now do the right thing remove the conditional check. Signed-off-by: Ian Kent ra...@themaw.net --- include/linux/auto_dev-ioctl.h |5 - 1 file changed, 5 deletions(-) diff --git a/include/linux/auto_dev-ioctl.h b/include/linux/auto_dev-ioctl.h index

[PATCH 04/10] autofs - merge auto_fs.h and auto_fs4.h

2013-08-31 Thread Ian Kent
The autofs module has long since been removed so there's no need to have two separate include files for autofs. Signed-off-by: Ian Kent ra...@themaw.net --- fs/autofs4/autofs_i.h |2 - fs/compat_ioctl.c |1 include/uapi/linux/auto_fs.h | 156

[PATCH 09/10] autofs - update fs/autofs4/Makefile

2013-08-31 Thread Ian Kent
Update Makefile to build from source in fs/autofs instead of fs/autofs4. Signed-off-by: Ian Kent ra...@themaw.net --- fs/autofs4/Makefile |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/autofs4/Makefile b/fs/autofs4/Makefile index a811c1f..417dd72 100644 ---

[PATCH 08/10] autofs - update fs/autofs4/Kconfig

2013-08-31 Thread Ian Kent
Update Kconfig and add a depricated warning. Signed-off-by: Ian Kent ra...@themaw.net --- fs/autofs4/Kconfig | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/fs/autofs4/Kconfig b/fs/autofs4/Kconfig index 1204d63..f74d317 100644 ---

[PATCH 07/10] autofs - create autofs Kconfig and Makefile

2013-08-31 Thread Ian Kent
Create Makefile and Kconfig for autofs module. Signed-off-by: Ian Kent ra...@themaw.net --- fs/Kconfig |1 + fs/Makefile|1 + fs/autofs/Kconfig | 19 +++ fs/autofs/Makefile |7 +++ 4 files changed, 28 insertions(+) create mode 100644

Re: [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT

2013-08-31 Thread Jean-Francois Moine
On Sat, 31 Aug 2013 12:24:31 +0100 Russell King - ARM Linux li...@arm.linux.org.uk wrote: According to the Dove specification, the audio controller works with the samples rates 44.1, 48 and 96 kHz, so, I don't see the usage of the external clock, except when using the two audio controllers

Re: [-next] openvswitch BUILD_BUG_ON failed

2013-08-31 Thread Geert Uytterhoeven
On Fri, Aug 30, 2013 at 3:11 AM, Jesse Gross je...@nicira.com wrote: On Thu, Aug 29, 2013 at 3:10 PM, David Miller da...@davemloft.net wrote: From: Jesse Gross je...@nicira.com Date: Thu, 29 Aug 2013 14:42:22 -0700 On Thu, Aug 29, 2013 at 2:21 PM, Geert Uytterhoeven ge...@linux-m68k.org

Re: [PATCH 2/2] ARM: Dove: Add the audio device to the Cubox DT

2013-08-31 Thread Russell King - ARM Linux
On Sat, Aug 31, 2013 at 01:55:19PM +0200, Jean-Francois Moine wrote: The last case was when using the two audio controllers with different sample rates (I should have added in the set [44.1, 48, 96 kHz]). Then, with or without the availability of external clocks, both controllers will set the

[PATCH 0/5] Remove ASoC-level I/O functions from cq93vc

2013-08-31 Thread Mark Brown
This patch series removes the use of the ASoC-level read and write functions from the cq93vc driver as part of a wider push to remove them completely and just use regmap for all register I/O. Since the driver is essentially doing what regmap-mmio is doing this is done by adding a MMIO regmap to

Re: [PATCH] bcache: Fix a shrinker deadlock

2013-08-31 Thread Stefan Priebe
thanks applied to my local kernel git Stefan Am 30.08.2013 23:15, schrieb Kent Overstreet: GFP_NOIO means we could be getting called recursively - mca_alloc() - mca_data_alloc() - definitely can't use mutex_lock(bucket_lock) then. Whoops. Signed-off-by: Kent Overstreet k...@daterainc.com ---

[PATCH 2/4] perf, x86: Report TSX transaction abort cost as weight v2

2013-08-31 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Use the existing weight reporting facility to report the transaction abort cost, that is the number of cycles wasted in aborts. Haswell reports this in the PEBS record. This was in fact the original user for weight. This is a very useful sort key to

[PATCH 1/4] perf, x86: Avoid checkpointed counters causing excessive TSX aborts v5

2013-08-31 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com With checkpointed counters there can be a situation where the counter is overflowing, aborts the transaction, is set back to a non overflowing checkpoint, causes interupt. The interrupt doesn't see the overflow because it has been checkpointed. This is then

[PATCH 3/4] perf, x86: Add Haswell TSX event aliases v6

2013-08-31 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Add TSX event aliases, and export them from the kernel to perf. These are used by perf stat -T and to allow more user friendly access to events. The events are designed to be fairly generic and may also apply to other architectures implementing HTM. They

perf, x86: Add parts of the remaining haswell PMU functionality v4

2013-08-31 Thread Andi Kleen
[v2: Added Peter's changes to the PEBS handler] [v3: Addressed Arnaldo's feedback for the perf stat -T change and avoid conflict] [v4: Remove XXX comment in checkpoint patch. Add Arnaldo's ack for tools patch] Add some more TSX functionality to the basic Haswell PMU. A lot of the

[PATCH 4/4] perf, tools: Add perf stat --transaction v5

2013-08-31 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com Add support to perf stat to print the basic transactional execution statistics: Total cycles, Cycles in Transaction, Cycles in aborted transsactions using the in_tx and in_tx_checkpoint qualifiers. Transaction Starts and Elision Starts, to compute the average

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Martin MOKREJŠ
Hi Dan, thank you for your work on my issue. I would like to test it on 3.10.9 where I faced the problem initially. linux-3.10.9 # patch -p1 ../patches/vm_map_count.patch patching file fs/binfmt_elf.c Hunk #1 succeeded at 1415 (offset -14 lines). Hunk #2 succeeded at 1430 (offset -14 lines).

Re: [PATCH linux-next] Prevent a coredump with a large vm_map_count from Oopsing

2013-08-31 Thread Dan Aloni
On Sat, Aug 31, 2013 at 03:38:33PM +0200, Martin MOKREJŠ wrote: Hi Dan, thank you for your work on my issue. I would like to test it on 3.10.9 where I faced the problem initially. Sure, see the attached patch for 3.10.9. -- Dan Aloni From e323d3b4fdc1e61c3c39dfb3733d8b8c56f63b00 Mon Sep 17

[PATCH v2 2/9] cgroup: css iterations and css_from_dir() are safe under cgroup_mutex

2013-08-31 Thread Tejun Heo
Currently, all css iterations and css_from_dir() require RCU read lock whether the caller is holding cgroup_mutex or not, which is unnecessarily restrictive. They are all safe to use under cgroup_mutex without holding RCU read lock. Factor out cgroup_assert_mutex_or_rcu_locked() from

Re: [PATCH 0/7] Drop support for Renesys H8/300 architecture

2013-08-31 Thread Guenter Roeck
On 08/30/2013 11:44 PM, Geert Uytterhoeven wrote: On Fri, Aug 30, 2013 at 9:37 PM, Guenter Roeck li...@roeck-us.net wrote: On Fri, Aug 30, 2013 at 12:14:20PM -0700, Linus Torvalds wrote: On Fri, Aug 30, 2013 at 12:11 PM, Guenter Roeck li...@roeck-us.net wrote: I would not mind if Linus would

[PATCH v2 3/9] cgroup: make for_each_subsys() useable under cgroup_root_mutex

2013-08-31 Thread Tejun Heo
We want to use for_each_subsys() in cgroupfs_root handling where only cgroup_root_mutex is held. The only way cgroup_subsys[] can change is through module load/unload, make cgroup_[un]load_subsys() grab cgroup_root_mutex too and update the lockdep annotation in for_each_subsys() to allow either

Re: [dm-devel] [RFC] dm-writeboost: plan to go to staging

2013-08-31 Thread Akira Hayakawa
Hi. Progress report for staging dm-writeboost. (1) Renaming to dm-writeboost Thanks for comments on renaming. By a simple democratic, dm-lc will be renamed to dm-writeboost. I am really happy with the new name. (2) Idea for smelling limitation on the kind of backing store Now I am tackling on

Re: [PATCH] checkpatch: Add test for positional misuse of section specifiers like __initdata

2013-08-31 Thread Andi Kleen
A similar patch was suggested by Andi Kleen https://lkml.org/lkml/2013/8/5/648 My patch checked for const - initdata / non const initconst mistakes. I don't think your patch does that? -Andi -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [dm-devel] [RFC] dm-writeboost: plan to go to staging

2013-08-31 Thread Akira Hayakawa
Thanks, Alasdair. I will reply to some of your comments that is not answered up to now. The documentation file will eventually need rewriting to follow the same format as the other targets recently added to the kernel. We document the kernel interface rather than any particular userspace

Crashes on 3.0.11-rc7: nouveau?

2013-08-31 Thread ael
Aug 31 11:31:53 conquest2 kernel: [ cut here ] Aug 31 11:31:53 conquest2 kernel: WARNING: CPU: 0 PID: 4566 at drivers/gpu/drm/nouveau/nouveau_bo.c:151 nouveau_bo_del_ttm+0x62/0x70 [nouveau]() Aug 31 11:31:53 conquest2 kernel: Modules linked in: snd_hrtimer

Re: [PATCH] rwsem: add rwsem_is_contended

2013-08-31 Thread Peter Zijlstra
On Fri, Aug 30, 2013 at 10:14:01AM -0400, Josef Bacik wrote: Btrfs uses an rwsem to control access to its extent tree. Threads will hold a read lock on this rwsem while they scan the extent tree, and if need_resched() they will drop the lock and schedule. The transaction commit needs to take

Re: [PATCH 1/4] perf, x86: Avoid checkpointed counters causing excessive TSX aborts v4

2013-08-31 Thread Peter Zijlstra
On Fri, Aug 30, 2013 at 01:44:45PM -0700, Andi Kleen wrote: On Fri, Aug 30, 2013 at 06:02:15PM +0200, Peter Zijlstra wrote: On Wed, Aug 21, 2013 at 04:47:23PM -0700, Andi Kleen wrote: @@ -1224,6 +1240,15 @@ again: x86_pmu.drain_pebs(regs); } + /* + * To avoid

Re: [PATCH 1/4] perf, x86: Avoid checkpointed counters causing excessive TSX aborts v4

2013-08-31 Thread Andi Kleen
So can just drop the XXX comment. Ok? How about hiding the entire thing in a hsw function. I'm fairly sure that eventually we'll need to check all counters for this nonsense. AFAIK there are no plans to do so. Something like so perhaps? It's ok for me, except it's not for TSX (that's

Re: [PATCH] Documentation/memory-barriers: fix a error that mistakes a CPU notion in Section Transitivity

2013-08-31 Thread Paul E. McKenney
On Sat, Aug 31, 2013 at 12:34:01PM +0800, Zhan Jianyu wrote: Hi, Rob, thanks reviewing and I'm sorry for my careless writing. I resend the revised patch below: --- The memory-barriers document may has an error in Section TRANSITIVITY. For transitivity, see an example below, given

Re: [RFC][PATCH 00/18 v2] ftrace/rcu: Handle unsafe RCU functions and ftrace callbacks

2013-08-31 Thread Steven Rostedt
On Sat, 31 Aug 2013 01:11:17 -0400 Steven Rostedt rost...@goodmis.org wrote: This is my final draft of the patches. I'm starting to run them through my formal tests now. They may change depending on the outcome of the tests. Update: All my formal tests passed. I'm also a bit tired, and I

Re: Crashes on 3.0.11-rc7: nouveau?

2013-08-31 Thread Ilia Mirkin
On Sat, Aug 31, 2013 at 10:43 AM, ael law_ence@ntlworld.com wrote: Aug 31 11:31:53 conquest2 kernel: [ cut here ] Aug 31 11:31:53 conquest2 kernel: WARNING: CPU: 0 PID: 4566 at drivers/gpu/drm/nouveau/nouveau_bo.c:151 nouveau_bo_del_ttm+0x62/0x70 [nouveau]() Aug 31

Re: [PATCH 1/2] w1: w1-gpio: use dev_get_platdata()

2013-08-31 Thread Evgeniy Polyakov
Hi 30.08.2013, 08:17, Jingoo Han jg1@samsung.com: Use the wrapper function for retrieving the platform data instead of accessing dev-platform_data directly. This is a cosmetic change to make the code simpler and enhance the readability. Both patches look good, thank you Signed-off-by:

Re: [PATCH] checkpatch: Add test for positional misuse of section specifiers like __initdata

2013-08-31 Thread Joe Perches
On Sat, 2013-08-31 at 16:31 +0200, Andi Kleen wrote: A similar patch was suggested by Andi Kleen https://lkml.org/lkml/2013/8/5/648 My patch checked for const - initdata / non const initconst mistakes. I don't think your patch does that? Hi Andi. No it doesn't. This patch is just

[PATCH] i2c: i2c-dev: Create 'name' attribute automatically

2013-08-31 Thread Guenter Roeck
The 'name' attribute is needed for all i2c-dev class devices, meaning it can be created automatically by pointing to it in the class data structure. This simplifies the code and reduces the probability for race conditions. Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/i2c/i2c-dev.c

  1   2   3   4   >