Re: [PATCH] cpufreq: governors: Remove duplicate check of target freq in supported range

2013-08-26 Thread Viresh Kumar
On 27 August 2013 00:07, Stratos Karafotis wrote: > drivers/cpufreq/cpufreq_conservative.c | 4 Get rid of few more checks.. /* if we are already at full speed then break out early */ if (dbs_info->requested_freq == policy->max) return; /* * if we cannot reduce the frequency anymore,

Re: linux-next: build failure after merge of the libata tree

2013-08-26 Thread Aaron Lu
On 08/27/2013 10:50 AM, Stephen Rothwell wrote: > Hi Tejun, > > After merging the libata tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > In file included from drivers/ata/libata-pmp.c:14:0: > drivers/ata/libata.h:136:1: error: unknown type name 'acpi_handle' >

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Rusty Russell
Chen Gang writes: > If this implementation is correct, the implementation still can be > improved (at least, it is not quite well to hard code the architecture > related code in "kernel/" and "usr/" sub-directory). > > But it seems, I have no right to add or move files, so welcome any > members

Re: [RFC PATCH v2 next]module: Fix mod->mkobj.kobj potentially freed too early

2013-08-26 Thread Rusty Russell
Greg KH writes: > On Thu, Aug 22, 2013 at 03:37:55PM +0800, Li Zhong wrote: >> DEBUG_KOBJECT_RELEASE helps to find the issue attached below. > People are starting to hit these types of issues, and I'd like to take > this one out of the picture. > > Rusty, any objection to me taking this through

[PATCH net-next] drivers:net: Convert dma_alloc_coherent(...__GFP_ZERO) to dma_zalloc_coherent

2013-08-26 Thread Joe Perches
__GFP_ZERO is an uncommon flag and perhaps is better not used. static inline dma_zalloc_coherent exists so convert the uses of dma_alloc_coherent with __GFP_ZERO to the more common kernel style with zalloc. Remove memset from the static inline dma_zalloc_coherent and add just one use of

Re: unused swap offset / bad page map.

2013-08-26 Thread Cyrill Gorcunov
On Mon, Aug 26, 2013 at 04:15:00PM -0700, Linus Torvalds wrote: > On Mon, Aug 26, 2013 at 3:08 PM, Hugh Dickins wrote: > > > > I just did a quick diff of 3.11-rc7/mm against 3.10, and here's > > a line in mremap which worries me. That set_pte_at() is operating > > on anything that isn't

Re: [PATCH v8 0/7] cpufreq:boost: CPU Boost mode support

2013-08-26 Thread Viresh Kumar
On 26 August 2013 21:20, Lukasz Majewski wrote: > This patch series introduces support for CPU overclocking technique > called Boost. > > It is a follow up of a LAB governor proposal. Boost is a LAB component: > http://thread.gmane.org/gmane.linux.kernel/1484746/match=cpufreq > > Boost unifies

Re: [trivial PATCH] treewide: Fix printks with 0x%#

2013-08-26 Thread Mike Frysinger
On Thursday 25 July 2013 14:53:25 Joe Perches wrote: > Using 0x%# emits 0x0x. Only one is necessary. sounds like a job for checkpatch.pl :) -mike signature.asc Description: This is a digitally signed message part.

linux-next: manual merge of the regulator tree with the pm tree

2013-08-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the regulator tree got a conflict in drivers/cpufreq/cpufreq-cpu0.c between commit f837a9b5ab05 ("cpufreq: cpufreq-cpu0: remove device tree parsing for cpu nodes") from the tree and commit 7d748971c0c0 ("cpufreq: cpufreq-cpu0: Use

[PATCH v2] h8300: Makefile: add "-no-warn-mismatch" to linker to avoid linking error.

2013-08-26 Thread Chen Gang
Need add "-no-warn-mismatch" to avoid the linking error, or assembly files which are outside of the "arch/h8300" can not pass compiling. The related error (allmodconfig for h8300): /usr/local/bin/h8300-gchen-elf-ld: h8300 architecture of input file `usr/initramfs_data.o' is incompatible with

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
After check binutils-2.22 source code, can pass "-no-warn-mismatch" to 'ld' to avoid this error. I will send patch v2 for it. :-) On 08/27/2013 10:14 AM, Chen Gang wrote: > On 08/26/2013 06:46 PM, Chen Gang wrote: >> >> If this implementation is correct, the implementation still can be >>

Re: [RFC PATCH v2 04/11] pstore: Add compression support to pstore

2013-08-26 Thread Aruna Balakrishnaiah
On Friday 23 August 2013 04:47 AM, Luck, Tony wrote: <1>[ 383.209057] RIP [] sysrq_handle_crash+0x16/0x20 <4>[ 383.209057] RSP <4>[ 383.209057] CR2: <4>[ 383.209057] ---[ end trace 04a1cddad37b4b33 ]--- <3>[ 383.209057] pstore: compression failed for Part 2 returned -5

Re: [guv 00/16] [RFC] percpu: Replace __get_cpu_var uses throughout the kernel

2013-08-26 Thread Stephen Rothwell
Hi Christoph, On Fri, 23 Aug 2013 19:01:56 + Christoph Lameter wrote: > > At the end of the patchset all uses of __get_cpu_var have been removed so the > macro is removed too. However you get these to Linus, please do not do this last step until the following merge window. I can pretty

Re: [PATCH] f2fs: fix omitting to update inode page

2013-08-26 Thread Gu Zheng
On 08/26/2013 08:28 PM, Jaegeuk Kim wrote: > The f2fs_set_link updates its parent inode number, so we should sync this to > the inode block. > Otherwise, the data can be lost after sudden-power-off. > > Signed-off-by: Jaegeuk Kim > --- > fs/f2fs/namei.c | 1 + > 1 file changed, 1 insertion(+)

[PATCH v5 1/3] arm: mvebu: add missing of_node_put() to fix reference leak

2013-08-26 Thread Jisheng Zhang
Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang Reviewed-by: Ezequiel Garcia --- arch/arm/mach-mvebu/armada-370-xp.c | 1 + arch/arm/mach-mvebu/coherency.c | 8 +++- arch/arm/mach-mvebu/platsmp.c | 1

[PATCH v5 0/3] arm: mvebu: fix resource leak

2013-08-26 Thread Jisheng Zhang
These patches try to fix resource leak by adding missing of_node_put(), iounmap or using devm_ioremap_resource() if available. v5: - rebase against mvebu/fixes-non-critical v4: - re-generate since Ezequiel's patches add DT support to the mvebu-mbus driver v3: - remove the clk patch since

[PATCH v5 3/3] pinctrl: mvebu: Convert to use devm_ioremap_resource

2013-08-26 Thread Jisheng Zhang
The resource mapped by of_iomap() isn't unmapped in error path. This patch fix the resource leakage by using devm_ioremap_resource() instead of of_iomap(). Signed-off-by: Jisheng Zhang Reviewed-by: Ezequiel Garcia Acked-by: Jason Cooper --- drivers/pinctrl/mvebu/pinctrl-mvebu.c | 11

[PATCH v5 2/3] bus: mvebu: add missing of_node_put() to fix reference leak

2013-08-26 Thread Jisheng Zhang
Add of_node_put to properly decrement the refcount when we are done using a given node. Signed-off-by: Jisheng Zhang Reviewed-by: Ezequiel Garcia --- drivers/bus/mvebu-mbus.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/bus/mvebu-mbus.c

linux-next: manual merge of the wireless-next tree with the tree

2013-08-26 Thread Stephen Rothwell
Hi John, Today's linux-next merge of the wireless-next tree got a conflict in net/mac80211/ibss.c between commit 75a423f493ff ("mac80211: ibss: fix ignored channel parameter") from the wireless tree and commit d51b70ff5122 ("mac80211: move ibss presp generation in own function") from the

Re: [ 00/74] 3.10.10-stable review

2013-08-26 Thread Guenter Roeck
On 08/26/2013 06:07 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.10 release. There are 74 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 02/10] KVM: PPC: reserve a capability number for multitce support

2013-08-26 Thread Benjamin Herrenschmidt
On Tue, 2013-08-27 at 14:19 +1000, Benjamin Herrenschmidt wrote: > On Mon, 2013-08-26 at 15:37 +0300, Gleb Natapov wrote: > > > Gleb, any chance you can put this (and the next one) into a tree to > > > "lock in" the numbers ? > > > > > Applied it. Sorry for slow response, was on vocation and

Re: [ 00/13] 3.4.60-stable review

2013-08-26 Thread Guenter Roeck
On 08/26/2013 06:08 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.60 release. There are 13 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 02/10] KVM: PPC: reserve a capability number for multitce support

2013-08-26 Thread Benjamin Herrenschmidt
On Mon, 2013-08-26 at 15:37 +0300, Gleb Natapov wrote: > > Gleb, any chance you can put this (and the next one) into a tree to > > "lock in" the numbers ? > > > Applied it. Sorry for slow response, was on vocation and still go > through the email backlog. Thanks. Since it's not in a topic branch

Re: [ 0/9] 3.0.94-stable review

2013-08-26 Thread Guenter Roeck
On 08/26/2013 06:04 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.0.94 release. There are 9 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH] h8300: include: asm: Kbuild: add gpio.h for pass compiling

2013-08-26 Thread Chen Gang
On 08/26/2013 06:59 PM, Chen Gang wrote: > On 08/26/2013 06:21 PM, Geert Uytterhoeven wrote: >> On Mon, Aug 26, 2013 at 12:16 PM, Chen Gang wrote: >>> Need add default "gpio.h" for h8300, or can not pass compiling. >>> >>> The related error (allmodconfig for h8300): >>> >>>

linux-next: manual merge of the net-next tree with the wireless tree

2013-08-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in net/mac80211/ibss.c between commit 75a423f493ff ("mac80211: ibss: fix ignored channel parameter") from the wireless tree and commit 7ca15a0ae865 ("mac80211: allow scanning for 5/10 MHz channels in IBSS") from the net-next

Re: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-08-26 Thread Stephen Warren
On 08/26/2013 09:48 PM, Xiubo Li-B47053 wrote: > Hi Stephen, > > >> Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for >> Freescale FTM PWM >> >> On 08/25/2013 11:35 PM, Xiubo Li-B47053 wrote: Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for >> ...

[PATCH v7 00/10] tracing: trace event triggers

2013-08-26 Thread Tom Zanussi
Hi, This is v7 of the trace event triggers patchset. This version mainly moves some code between patches to fix some bisectibity problems, but also adds a couple minor cleanups and variable naming changes mentioned by Masami Hiramatsu. v7: - moved find_event_file() extern declartion to patch

[PATCH v7 02/10] tracing: add basic event trigger framework

2013-08-26 Thread Tom Zanussi
Add a 'trigger' file for each trace event, enabling 'trace event triggers' to be set for trace events. 'trace event triggers' are patterned after the existing 'ftrace function triggers' implementation except that triggers are written to per-event 'trigger' files instead of to a single file such

[PATCH v7 03/10] tracing: add 'traceon' and 'traceoff' event trigger commands

2013-08-26 Thread Tom Zanussi
Add 'traceon' and 'traceoff' ftrace_func_command commands. traceon and traceoff event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'traceon' and 'traceoff' ftrace function commands, but instead of writing to the

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-26 Thread Stephen Warren
On 08/26/2013 11:17 AM, boris brezillon wrote: > On 26/08/2013 18:53, Stephen Warren wrote: >> On 08/24/2013 03:37 PM, Boris BREZILLON wrote: >>> Add support for generic pin configuration to pinctrl-at91 driver. >>> diff --git >>> a/Documentation/devicetree/bindings/pinctrl/atmel,at91-pinctrl.txt

[PATCH v7 07/10] tracing: add and use generic set_trigger_filter() implementation

2013-08-26 Thread Tom Zanussi
Add a generic event_command.set_trigger_filter() op implementation and have the current set of trigger commands use it - this essentially gives them all support for filters. Syntactically, filters are supported by adding 'if ' just after the command, in which case only events matching the filter

[PATCH v7 05/10] tracing: add 'stacktrace' event trigger command

2013-08-26 Thread Tom Zanussi
Add 'stacktrace' ftrace_func_command. stacktrace event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'stacktrace' ftrace function command, but instead of writing to the set_ftrace_filter file, the stacktrace event trigger

[PATCH v7 06/10] tracing: add 'enable_event' and 'disable_event' event trigger commands

2013-08-26 Thread Tom Zanussi
Add 'enable_event' and 'disable_event' event_command commands. enable_event and disable_event event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'enable_event' and 'disable_event' ftrace function commands, but instead of

[PATCH v7 09/10] tracing: add documentation for trace event triggers

2013-08-26 Thread Tom Zanussi
Provide a basic overview of trace event triggers and document the available trigger commands, along with a few simple examples. Signed-off-by: Tom Zanussi --- Documentation/trace/events.txt | 207 + 1 file changed, 207 insertions(+) diff --git

[PATCH v7 10/10] tracing: make register/unregister_ftrace_command __init

2013-08-26 Thread Tom Zanussi
register/unregister_ftrace_command() are only ever called from __init functions, so can themselves be made __init. Also make register_snapshot_cmd() __init for the same reason. Signed-off-by: Tom Zanussi --- include/linux/ftrace.h | 4 ++-- kernel/trace/ftrace.c | 12 ++--

[PATCH v7 08/10] tracing: update event filters for multibuffer

2013-08-26 Thread Tom Zanussi
The trace event filters are still tied to event calls rather than event files, which means you don't get what you'd expect when using filters in the multibuffer case: Before: # echo 'count > 65536' > /sys/kernel/debug/tracing/events/syscalls/sys_enter_read/filter # cat

[PATCH v7 04/10] tracing: add 'snapshot' event trigger command

2013-08-26 Thread Tom Zanussi
Add 'snapshot' ftrace_func_command. snapshot event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'snapshot' ftrace function command, but instead of writing to the set_ftrace_filter file, the snapshot event trigger is

[PATCH v7 01/10] tracing: Add support for SOFT_DISABLE to syscall events

2013-08-26 Thread Tom Zanussi
The original SOFT_DISABLE patches didn't add support for soft disable of syscall events; this adds it and paves the way for future patches allowing triggers to be added to syscall events, since triggers are built on top of SOFT_DISABLE. Add an array of ftrace_event_file pointers indexed by

Re: [RFC PATCH 1/3] pinctrl: add new generic pinconf config for deglitch filter

2013-08-26 Thread Stephen Warren
On 08/26/2013 11:01 AM, boris brezillon wrote: > Hello Stephen, > > On 26/08/2013 18:50, Stephen Warren wrote: >> On 08/24/2013 03:35 PM, Boris BREZILLON wrote: >>> Add a new parameter to support deglitch filter configuration. >>> A deglitch filter works like a debounce filter but with a smaller

Re: [RFC PATCH 2/3] pinctrl: at91: add support for generic pinconf

2013-08-26 Thread Stephen Warren
On 08/26/2013 12:45 PM, boris brezillon wrote: > Hello Jean-Christophe, > > Le 26/08/2013 19:53, Jean-Christophe PLAGNIOL-VILLARD a écrit : >> On 23:37 Sat 24 Aug , Boris BREZILLON wrote: >>> Add support for generic pin configuration to pinctrl-at91 driver. ... >>>

[PATCH 0/3] perf trace enhancements

2013-08-26 Thread David Ahern
Arnaldo: A couple of enhancements to perf-trace: ability to analyze events from a file and when processing a file limit the analysis to a given set of pid and tids. David Ahern (3): perf evlist: Add tracepoint lookup by name perf trace: Add option to analyze events in a file versus live

[PATCH 2/3] perf trace: Add option to analyze events in a file versus live

2013-08-26 Thread David Ahern
Allows capture of raw_syscall:* events and analyzed at a later time. Signed-off-by: David Ahern Cc: Adrian Hunter Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/Documentation/perf-trace.txt |4 ++

[PATCH 1/3] perf evlist: Add tracepoint lookup by name

2013-08-26 Thread David Ahern
Will be used by upcoming perf-trace replay option. Signed-off-by: David Ahern Cc: Adrian Hunter Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/util/evlist.c | 15 +++ tools/perf/util/evlist.h |4

[PATCH 3/3] perf trace: Honor target pid / tid options when analyzing a file

2013-08-26 Thread David Ahern
Allows capture of raw_syscall events for all processes or threads in a task and then analyzing specific ones. Signed-off-by: David Ahern Cc: Adrian Hunter Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian --- tools/perf/builtin-trace.c |

Re: [BUG] 3.7-rc regression bisected: s2disk fails to resume image: Processes could not be frozen, cannot continue resuming

2013-08-26 Thread Andrew Savchenko
Hello, On Mon, 12 Aug 2013 23:44:15 +0400 Andrew Savchenko wrote: > after a kernel update from 3.5.7 to the latest stable I found that > user-space resume (from suspend-1.0 aka uswsusp) no longer works. > Kernel-space suspend and resume work fine (e.g. echo disk > > /sys/power/state), problem is

RE: [PATCH 4/4] Documentation: Add device tree bindings for Freescale FTM PWM

2013-08-26 Thread Xiubo Li-B47053
Hi Stephen, > Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for > Freescale FTM PWM > > On 08/25/2013 11:35 PM, Xiubo Li-B47053 wrote: > >> Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for > ... > >>> Why do you need to manipulate the pinctrl to en/disable

[PATCH] h8300: include: asm: add marco VM_DATA_DEFAULT_FLAGS in page.h

2013-08-26 Thread Chen Gang
Need add VM_DATA_DEFAULT_FLAGS definition just like another platforms has done (e.g. xtensa), or can not pass compiling. The related error (allmodconfig for h8300): CC security/selinux/hooks.o security/selinux/hooks.c: In function 'selinux_init': security/selinux/hooks.c:5866:21:

Re: Re: Re: [PATCH] [BUGFIX] crash/ioapic: Prevent crash_kexec() from deadlocking of ioapic_lock

2013-08-26 Thread Yoshihiro YUNOMAE
Hi Don, Sorry for the late reply. (2013/08/22 22:11), Don Zickus wrote: On Thu, Aug 22, 2013 at 05:38:07PM +0900, Yoshihiro YUNOMAE wrote: So, I agree with Eric, let's remove the disable_IO_APIC() stuff and keep the code simpler. Thank you for commenting about my patch. I didn't know you

Re: [PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-26 Thread Naoya Horiguchi
On Tue, Aug 27, 2013 at 11:38:27AM +0800, Wanpeng Li wrote: > Hi Naoya, > On Mon, Aug 26, 2013 at 11:28:16PM -0400, Naoya Horiguchi wrote: > >On Tue, Aug 27, 2013 at 10:39:31AM +0800, Wanpeng Li wrote: > >> The return value outside for loop is always zero which means > >> madvise_hwpoison > >>

Re: [PATCH tip/core/rcu 8/9] nohz_full: Add full-system-idle state machine

2013-08-26 Thread Lai Jiangshan
On 08/27/2013 12:24 AM, Paul E. McKenney wrote: > On Mon, Aug 26, 2013 at 01:45:32PM +0800, Lai Jiangshan wrote: >> On 08/20/2013 10:47 AM, Paul E. McKenney wrote: >>> From: "Paul E. McKenney" >>> >>> This commit adds the state machine that takes the per-CPU idle data >>> as input and produces a

Re: [PATCH] driver core / ACPI: Avoid device removal locking problems

2013-08-26 Thread Gu Zheng
Hi Rafael, On 08/26/2013 11:02 PM, Rafael J. Wysocki wrote: > On Monday, August 26, 2013 04:43:26 PM Rafael J. Wysocki wrote: >> On Monday, August 26, 2013 02:42:09 PM Rafael J. Wysocki wrote: >>> On Monday, August 26, 2013 11:13:13 AM Gu Zheng wrote: Hi Rafael, > > [...] > >> >> OK, so

Re: [PATCH v4 0/3] arm: mvebu: fix resource leak

2013-08-26 Thread Jisheng Zhang
Dear Jason, On Mon, 26 Aug 2013 20:22:37 -0700 Jason Cooper wrote: > On Tue, Aug 27, 2013 at 11:01:20AM +0800, Jisheng Zhang wrote: > > Dear Jason, > > > > On Mon, 26 Aug 2013 13:45:23 -0700 > > Jason Cooper wrote: > > > > > On Mon, Aug 26, 2013 at 07:36:55PM +0800, Jisheng Zhang wrote: > >

Re: [PATCH v2 1/3] mm/hwpoison: fix bug triggered by unpoison empty zero page

2013-08-26 Thread Naoya Horiguchi
On Tue, Aug 27, 2013 at 10:39:29AM +0800, Wanpeng Li wrote: > v1 -> v2: > * ignore empty zero page for madvise_hwpoison directly > > [ 57.579580] Injecting memory failure for page 0x19d0 at 0xb77d2000 > [ 57.579824] MCE 0x19d0: non LRU page recovery: Ignored > [ 91.290453] MCE:

Re: [PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-26 Thread Naoya Horiguchi
On Tue, Aug 27, 2013 at 10:39:31AM +0800, Wanpeng Li wrote: > The return value outside for loop is always zero which means madvise_hwpoison > return success, however, this is not truth for soft_offline_page w/ failure > return value. I don't understand what you want to do for what reason. Could

Re: TPM: STMicroelectronics st33 driver SPI

2013-08-26 Thread Ashley Lai
Please see my comments below. Did you get a chance to run the trousers testsuite? git://trousers.git.sourceforge.net/gitroot/trousers/testsuite +static u8 spi_read8_reg(struct tpm_chip *tpm, u8 tpm_register, + u8 *tpm_data, u16 tpm_size) +{ + ... + + /* header

Re: [PATCH 12/18] Hibernate: generate and verify signature of snapshot

2013-08-26 Thread joeyli
Hi Pavel, Thanks for your time to review my patches. 於 日,2013-08-25 於 18:36 +0200,Pavel Machek 提到: > On Thu 2013-08-22 19:01:51, Lee, Chun-Yi wrote: > > This patch add the code for generate/verify signature of snapshot, it > > put the signature to snapshot header. This approach can support both

Re: [PATCH v4 0/3] arm: mvebu: fix resource leak

2013-08-26 Thread Jason Cooper
On Tue, Aug 27, 2013 at 11:01:20AM +0800, Jisheng Zhang wrote: > Dear Jason, > > On Mon, 26 Aug 2013 13:45:23 -0700 > Jason Cooper wrote: > > > On Mon, Aug 26, 2013 at 07:36:55PM +0800, Jisheng Zhang wrote: > > > These patches try to fix resource leak by adding missing of_node_put(), > > >

[PATCH] usb: ohci-at91: remove unnecessary dev_set_drvdata()

2013-08-26 Thread Libo Chen
Unnecessary dev_set_drvdata() is removed, because the driver core clears the driver data to NULL after device_release or on probe failure. Signed-off-by: Libo Chen --- drivers/usb/host/ohci-at91.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git

Re: [PATCH RFC 3/5] ARM: samsung: add clock setup for FIMC and FIMD

2013-08-26 Thread Jingoo Han
On Tuesday, August 27, 2013 3:38 AM, Sylwester Nawrocki wrote: > On 08/26/2013 06:19 PM, Bartlomiej Zolnierkiewicz wrote: > > On Monday, August 26, 2013 01:38:32 PM Mateusz Krawczuk wrote: > >> This patch adds code that sets correct parents and rates for clocks > >> used by FIMC and FIMD on Goni

Re: [PATCH v4 0/3] arm: mvebu: fix resource leak

2013-08-26 Thread Jisheng Zhang
Dear Jason, On Mon, 26 Aug 2013 13:45:23 -0700 Jason Cooper wrote: > On Mon, Aug 26, 2013 at 07:36:55PM +0800, Jisheng Zhang wrote: > > These patches try to fix resource leak by adding missing of_node_put(), > > iounmap or using devm_ioremap_resource() if available. > > > > v4: > > -

Re: [PATCH 11/12] pid: rewrite task helper functions avoiding task->pid and task->tgid

2013-08-26 Thread Richard Guy Briggs
On Fri, Aug 23, 2013 at 09:28:07PM +0200, Oleg Nesterov wrote: > On 08/22, Richard Guy Briggs wrote: > > > > On Thu, Aug 22, 2013 at 10:05:55PM +0200, Peter Zijlstra wrote: > > > > > > Why would you ever want to do this? It just makes these tests more > > > expensive for no gain what so ff'ing

linux-next: manual merge of the pm tree with the powerpc tree

2013-08-26 Thread Stephen Rothwell
Hi Rafael, Today's linux-next merge of the pm tree got a conflict in arch/powerpc/kernel/prom.c between commit dc0e643afc50 ("powerpc: Make prom.c device tree accesses endian safe") from the powerpc tree and commits 819d596568d8 ("powerpc: refactor of_get_cpu_node to support other architectures")

linux-next: build failure after merge of the libata tree

2013-08-26 Thread Stephen Rothwell
Hi Tejun, After merging the libata tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: In file included from drivers/ata/libata-pmp.c:14:0: drivers/ata/libata.h:136:1: error: unknown type name 'acpi_handle' static inline acpi_handle ata_dev_acpi_handle(struct ata_device

Re: [PATCH] driver core / ACPI: Avoid device removal locking problems

2013-08-26 Thread Gu Zheng
Hi Rafael, On 08/26/2013 10:43 PM, Rafael J. Wysocki wrote: > On Monday, August 26, 2013 02:42:09 PM Rafael J. Wysocki wrote: >> On Monday, August 26, 2013 11:13:13 AM Gu Zheng wrote: >>> Hi Rafael, >> >> Hi, >> >>> On 08/26/2013 04:09 AM, Rafael J. Wysocki wrote: >>> From: Rafael J.

[PATCH/RFC v2] perf list: Skip unsupported events

2013-08-26 Thread Namhyung Kim
From: Namhyung Kim Some hardware events might not be supported on a system. Listing those events seems meaningless and confusing to users. Let's skip them. Before: $ perf list cache | wc -l 33 After: $ perf list cache | wc -l 27 Signed-off-by: Namhyung Kim --- * fixed a build error

[PATCH v2 2/3] mm/hwpoison: change permission of corrupt-pfn/unpoison-pfn to 0200

2013-08-26 Thread Wanpeng Li
Hwpoison inject doesn't implement read method for corrupt-pfn/unpoison-pfn attributes: # cat /sys/kernel/debug/hwpoison/corrupt-pfn cat: /sys/kernel/debug/hwpoison/corrupt-pfn: Permission denied # cat /sys/kernel/debug/hwpoison/unpoison-pfn cat: /sys/kernel/debug/hwpoison/unpoison-pfn: Permission

[PATCH v2 3/3] mm/hwpoison: fix return value of madvise_hwpoison

2013-08-26 Thread Wanpeng Li
The return value outside for loop is always zero which means madvise_hwpoison return success, however, this is not truth for soft_offline_page w/ failure return value. Signed-off-by: Wanpeng Li --- mm/madvise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/madvise.c

[PATCH v2 1/3] mm/hwpoison: fix bug triggered by unpoison empty zero page

2013-08-26 Thread Wanpeng Li
v1 -> v2: * ignore empty zero page for madvise_hwpoison directly [ 57.579580] Injecting memory failure for page 0x19d0 at 0xb77d2000 [ 57.579824] MCE 0x19d0: non LRU page recovery: Ignored [ 91.290453] MCE: Software-unpoisoned page 0x19d0 [ 91.290456] BUG: Bad page state in process bash

Re: [RFC PATCH 0/4] add support for gcov format introduced in gcc 4.7

2013-08-26 Thread LF.Tan
Hi Peter I can get the gcda for the kernel loadable module now. Yes, the virtual file is with size 0 and I saw the file is empty with 'vi' command. But, it has data with 'cat' or 'hexdump' command. Thanks. On Mon, Aug 26, 2013 at 10:19 PM, Peter Oberparleiter wrote: > On 26.08.2013 13:39,

Re: [PATCH 11/12] pid: rewrite task helper functions avoiding task->pid and task->tgid

2013-08-26 Thread Richard Guy Briggs
On Fri, Aug 23, 2013 at 08:36:21AM +0200, Peter Zijlstra wrote: > On Thu, Aug 22, 2013 at 05:43:47PM -0400, Richard Guy Briggs wrote: > > On Thu, Aug 22, 2013 at 10:05:55PM +0200, Peter Zijlstra wrote: > > > On Tue, Aug 20, 2013 at 05:32:03PM -0400, Richard Guy Briggs wrote: > > > > This stops

[PATCH/RFC] perf list: Skip unsupported events

2013-08-26 Thread Namhyung Kim
From: Namhyung Kim Some hardware events might not be supported on a system. Listing those events seems meaningless and confusing to users. Let's skip them. Before: $ perf list cache | wc -l 33 After: $ perf list cache | wc -l 27 Signed-off-by: Namhyung Kim ---

Re: [PATCH v14 0/6] LSM: Multiple concurrent LSMs

2013-08-26 Thread Casey Schaufler
On 8/6/2013 3:36 PM, Kees Cook wrote: > On Tue, Aug 6, 2013 at 3:25 PM, Casey Schaufler > wrote: >> On 8/5/2013 11:30 PM, Kees Cook wrote: >>> On Thu, Jul 25, 2013 at 11:52 PM, Casey Schaufler >>> wrote: The /proc/*/attr interfaces are given to one LSM. This can be done by setting

[PATCH] ARM: EDMA: Fix clearing of unused list for DT DMA resources

2013-08-26 Thread Joel Fernandes
HWMOD removal for MMC is breaking edma_start as the events are being manually triggered due to unused channel list not being clear. This patch fixes the issue, by reading the "dmas" property from the DT node if it exists and clearing the bits in the unused channel list. For this purpose we use

[GIT PATCH] USB fixe for 3.11-rc8

2013-08-26 Thread Greg KH
The following changes since commit d8dfad3876e438b759da3c833d62fb8b2267: Linux 3.11-rc7 (2013-08-25 17:43:22 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-3.11-rc8 for you to fetch changes up to

Re: [PATCH] kernel: Assembly: need add prefix for h8300 architecture.

2013-08-26 Thread Chen Gang
On 08/26/2013 06:46 PM, Chen Gang wrote: > > If this implementation is correct, the implementation still can be > improved (at least, it is not quite well to hard code the architecture > related code in "kernel/" and "usr/" sub-directory). > > But it seems, I have no right to add or move files,

Re: [ARM ATTEND] catching up on exploit mitigations

2013-08-26 Thread Laura Abbott
On 8/26/2013 12:56 PM, Mark Brown wrote: On Mon, Aug 12, 2013 at 09:51:59PM -0700, Laura Abbott wrote: On 7/30/2013 12:05 PM, Kees Cook wrote: - RO and W^X kernel page table protections (similar to x86's DEBUG_RODATA and DEBUG_SET_MODULE_RONX; it's not clear to me how much LPAE and PXN is

Re: [PATCH] driver core / ACPI: Avoid device removal locking problems

2013-08-26 Thread Gu Zheng
Hi Rafael, On 08/26/2013 10:43 PM, Rafael J. Wysocki wrote: > On Monday, August 26, 2013 02:42:09 PM Rafael J. Wysocki wrote: >> On Monday, August 26, 2013 11:13:13 AM Gu Zheng wrote: >>> Hi Rafael, >> >> Hi, >> >>> On 08/26/2013 04:09 AM, Rafael J. Wysocki wrote: >>> From: Rafael J.

Re: [PATCH] h8300/kernel/setup.c: add "linux/initrd.h" to pass compiling

2013-08-26 Thread Chen Gang
On 08/27/2013 06:12 AM, Guenter Roeck wrote: > On Mon, Aug 26, 2013 at 07:19:38PM +0800, Chen Gang wrote: >> On 08/26/2013 07:08 PM, Geert Uytterhoeven wrote: >>> On Mon, Aug 26, 2013 at 1:06 PM, Chen Gang wrote: On 08/26/2013 07:00 PM, Geert Uytterhoeven wrote: > On Mon, Aug 26, 2013 at

linux-next: build failure after merge of the f2fs tree

2013-08-26 Thread Stephen Rothwell
Hi Jaegeuk, After merging the f2fs tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/f2fs/namei.c: In function 'f2fs_rename': fs/f2fs/namei.c:450:31: error: expected ';' before ':' token update_inode_page(old_inode): ^ Caused by commit

Re: [PATCH v4 8/10] mm/hwpoison: fix memory failure still hold reference count after unpoison empty zero page

2013-08-26 Thread Naoya Horiguchi
On Tue, Aug 27, 2013 at 09:17:29AM +0800, Wanpeng Li wrote: > On Mon, Aug 26, 2013 at 08:46:54PM -0400, Naoya Horiguchi wrote: > >On Tue, Aug 27, 2013 at 08:21:05AM +0800, Wanpeng Li wrote: > >> Hi Naoya, > >> On Mon, Aug 26, 2013 at 08:12:29PM -0400, Naoya Horiguchi wrote: > >> >Hi Wanpeng, > >>

[PATCH 2/3] mm/hwpoison: change permission of corrupt-pfn/unpoison-pfn to 0200

2013-08-26 Thread Wanpeng Li
Hwpoison inject doesn't implement read method for corrupt-pfn/unpoison-pfn attributes: # cat /sys/kernel/debug/hwpoison/corrupt-pfn cat: /sys/kernel/debug/hwpoison/corrupt-pfn: Permission denied # cat /sys/kernel/debug/hwpoison/unpoison-pfn cat: /sys/kernel/debug/hwpoison/unpoison-pfn: Permission

[PATCH 1/3] mm/hwpoison: fix memory failure still hold reference count after unpoison empty zero page

2013-08-26 Thread Wanpeng Li
madvise hwpoison inject will poison the read-only empty zero page if there is no write access before poison. Empty zero page reference count will be increased for hwpoison, subsequent poison zero page will return directly since page has already been set PG_hwpoison, however, page reference

[PATCH 3/3] mm/hwpoison: fix bug triggered by unpoison empty zero page

2013-08-26 Thread Wanpeng Li
[ 57.579580] Injecting memory failure for page 0x19d0 at 0xb77d2000 [ 57.579824] MCE 0x19d0: non LRU page recovery: Ignored [ 91.290453] MCE: Software-unpoisoned page 0x19d0 [ 91.290456] BUG: Bad page state in process bash pfn:019d0 [ 91.290466] page:f3461a00 count:0 mapcount:0 mapping:

[ 01/13] workqueue: fix possible stall on try_to_grab_pending() of a delayed work item

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan commit 3aa62497594430ea522050b75c033f71f2c60ee6 upstream. Currently, when try_to_grab_pending() grabs a delayed work item, it leaves its linked work items alone on the

[ 04/13] xen/events: initialize local per-cpu mask for all possible events

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 84ca7a8e45dafb49cd5ca90a343ba033e2885c17 upstream. The sizeof() argument in init_evtchn_cpu_bindings() is incorrect resulting in only the first 64 (or 32 in 32-bit guests)

[ 02/13] workqueue: consider work function when searching for busy work items

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit a2c1c57be8d9fd5b716113c8991d3d702eeacf77 upstream. To avoid executing the same work item concurrenlty, workqueue hashes currently busy workers according to their current work

[ 03/13] zd1201: do not use stack as URB transfer_buffer

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Kivilinna commit 1206ff4ff9d2ef7468a355328bc58ac6ebf5be44 upstream. Patch fixes zd1201 not to use stack as URB transfer_buffer. URB buffers need to be DMA-able, which stack is not.

[ 13/13] x86/xen: do not identity map UNUSABLE regions in the machine E820

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 3bc38cbceb85881a8eb789ee1aa56678038b1909 upstream. If there are UNUSABLE regions in the machine memory map, dom0 will attempt to map them 1:1 which is not permitted by Xen

[ 06/13] of: fdt: fix memory initialization for expanded DT

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Wladislav Wiebe commit 9e40127526e857fa3f29d51e83277204fbdfc6ba upstream. Already existing property flags are filled wrong for properties created from initial FDT. This could cause problems if

[ 05/13] drm/i915: Invalidate TLBs for the rings after a reset

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Chris Wilson commit 884020bf3d2a3787a1cc6df902e98e0eec60330b upstream. After any "soft gfx reset" we must manually invalidate the TLBs associated with each ring. Empirically, it seems that a

[ 11/13] SCSI: zfcp: fix lock imbalance by reworking request queue locking

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Martin Peschke commit d79ff142624e1be080ad8d09101f7004d79c36e1 upstream. This patch adds wait_event_interruptible_lock_irq_timeout(), which is a straight-forward descendant of

[ 12/13] SCSI: zfcp: fix schedule-inside-lock in scsi_device list loops

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Martin Peschke commit 924dd584b198a58aa7cb3efefd8a03326550ce8f upstream. BUG: sleeping function called from invalid context at kernel/workqueue.c:2752 in_atomic(): 1, irqs_disabled(): 1, pid:

[ 07/13] nilfs2: remove double bio_put() in nilfs_end_bio_write() for BIO_EOPNOTSUPP error

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 2df37a19c686c2d7c4e9b4ce1505b5141e3e5552 upstream. Remove double call of bio_put() in nilfs_end_bio_write() for the case of BIO_EOPNOTSUPP error detection. The issue

[ 08/13] nilfs2: fix issue with counting number of bio requests for BIO_EOPNOTSUPP error detection

2013-08-26 Thread Greg Kroah-Hartman
3.4-stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko commit 4bf93b50fd04118ac7f33a3c2b8a0a1f9fa80bc9 upstream. Fix the issue with improper counting number of flying bio requests for BIO_EOPNOTSUPP error detection case. The

[ 13/74] iwlwifi: mvm: take the seqno from packet if transmit failed

2013-08-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit ebea2f32e814445f94f9e087b646f1cf4d55fa5a upstream. The fw is unreliable in all the cases in which the packet wasn't sent. Signed-off-by: Emmanuel Grumbach

[ 12/74] iwlwifi: mvm: dont set the MCAST queue in STAs queue list

2013-08-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 837fb69f10588caafc883c4473a864660e1403ce upstream. The MCAST queue should be enabled after DTIM only. According to fw API, the MCAST must not be attached to any

[ 14/74] iwlwifi: mvm: unregister leds when registration failed

2013-08-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit b7327d89ae694a89f9934d428bde520b77b3131c upstream. This was missing and prevented any further attempts to load the module. Signed-off-by: Emmanuel Grumbach

[ 15/74] iwlwifi: bump required firmware API version for 3160/7260

2013-08-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit a2d0909a687b4d250cc2b7481072e361678745ba upstream. As the firmware API has changed significantly and we don't have support code for the old APIs, bump the version to be

[ 16/74] iwlwifi: mvm: adjust firmware D3 configuration API

2013-08-26 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit dfcb4c3aacedee6838e436fb575b31e138505203 upstream. The D3 firmware API changed to include a new field, adjust the driver to it to avoid getting an NMI when configuring.

  1   2   3   4   5   6   7   8   9   10   >