Re: [guv v2 25/31] avr32: Replace __get_cpu_var uses

2013-08-26 Thread Hans-Christian Egtvedt
Around Mon 26 Aug 2013 20:56:16 + or thereabout, Christoph Lameter wrote: > Index: linux/arch/avr32/kernel/kprobes.c > === > --- linux.orig/arch/avr32/kernel/kprobes.c2013-08-26 13:25:18.0 > -0500 > +++ linux/arch/a

Re: [PATCH v4 26/28] PCI, x86, ACPI: Link acpi ioapic register to ioapic

2013-08-26 Thread Yinghai Lu
On Mon, Aug 26, 2013 at 11:44 PM, rui wang wrote: > On 8/27/13, Yinghai Lu wrote: >> On Fri, Aug 23, 2013 at 5:51 PM, rui wang wrote: >>> On 8/11/13, Yinghai Lu wrote: During ioapic hotplug, acpi_register_ioapic will be called. Now for x86, that function is blank. Fill that will

Re: [PATCH RESEND V3 net-next 2/3] net: huawei_cdc_ncm: Introduce the huawei_cdc_ncm driver

2013-08-26 Thread Enrico Mioso
Hi guys!! :) First of all - I would like to thank both of you for your interest and time in my patches. I agree with Joe's point of view, completely. The Coding style document tries to leverage on the developer's good sense, even when defining some rules. Apart from that - checkpatch.po informed

Re: [PATCH v4 26/28] PCI, x86, ACPI: Link acpi ioapic register to ioapic

2013-08-26 Thread rui wang
On 8/27/13, Yinghai Lu wrote: > On Fri, Aug 23, 2013 at 5:51 PM, rui wang wrote: >> On 8/11/13, Yinghai Lu wrote: >>> During ioapic hotplug, acpi_register_ioapic will be called. >>> Now for x86, that function is blank. >>> Fill that will update __mp_register_ioapic to use those ioapic. >>> >>> S

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

2013-08-26 Thread boris brezillon
On 27/08/2013 05:57, Stephen Warren wrote: 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/p

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

2013-08-26 Thread Gleb Natapov
On Tue, Aug 27, 2013 at 02:22:42PM +1000, Benjamin Herrenschmidt wrote: > 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 num

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

2013-08-26 Thread Gleb Natapov
On Tue, Aug 27, 2013 at 02:19:58PM +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 an

Re: [PATCH] cpufreq: Fix timer/workqueue corruption due to double queueing

2013-08-26 Thread Viresh Kumar
On 27 August 2013 04:15, Stephen Boyd wrote: > +++ b/drivers/cpufreq/cpufreq_governor.c > @@ -133,7 +133,7 @@ void gov_queue_work(struct dbs_data *dbs_data, struct > cpufreq_policy *policy, > { > int i; > > - if (!all_cpus) { > + if (!all_cpus || !policy->governor_enabled) {

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

2013-08-26 Thread boris brezillon
On 27/08/2013 05:55, Stephen Warren wrote: 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 debou

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

2013-08-26 Thread Chen Gang
On 08/27/2013 01:12 PM, Rusty Russell wrote: > 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 rig

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

2013-08-26 Thread Greg KH
On Tue, Aug 27, 2013 at 02:08:27PM +0930, Rusty Russell wrote: > 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

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

2013-08-26 Thread Stephen Rothwell
Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) failed like this: In file included from drivers/spi/spi-ti-qspi.c:19:0: include/linux/module.h:87:32: error: '__mod_of_device_table' aliased to undefined symbol 'dra7xxx_qspi_match' extern const struct gtype##_i

Re: [PATCH 1/2] mfd: 88pm800: Fix the bug that pdata may be NULL

2013-08-26 Thread Chao Xie
On Tue, Aug 20, 2013 at 9:40 AM, Samuel Ortiz wrote: > Hi Xie, > > On Sun, Aug 18, 2013 at 09:27:54PM -0400, Chao Xie wrote: >> User pass platform data to device, and platform data may be >> NULL. > In which case do you get that ? With DT ? > Should rtc_init fail when pdata is NULL ? > > You need

Re: [PATCH] drivers/base/memory.c: introduce help macro to_memory_block

2013-08-26 Thread Yasuaki Ishimatsu
(2013/08/26 19:32), Gu Zheng wrote: Introduce help macro to_memory_block to hide the conversion(device-->memory_block), just clean up. Signed-off-by: Gu Zheng --- It looks good to me. Reviewed-by: Yasuaki Ishimatsu Thanks, Yasuaki Ishimatsu drivers/base/memory.c | 27 --

Re: [PATCH v2] gpio: interrupt consistency check for OF GPIO IRQs

2013-08-26 Thread Andreas Larsson
On 2013-08-26 16:04, Lars Poeschel wrote: On Monday 26 August 2013 at 13:29:07, Andreas Larsson wrote: On 2013-08-26 12:56, Lars Poeschel wrote: This call to of_irq_find_parent breaks gpiolib-of for SPARC due to the fact that the function is undefined when !defined(CONFIG_OF_IRQ) && defined(CON

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

2013-08-26 Thread boris brezillon
On 27/08/2013 05:54, Stephen Warren wrote: 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.

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

2013-08-26 Thread Joe Perches
On Tue, 2013-08-27 at 01:39 -0400, Mike Frysinger wrote: > 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 :) Here. Submit it yourself... --- scripts/checkpatch.pl | 12 1 file changed,

Re: [PATCH] cpufreq: governor: Fix typos in comments

2013-08-26 Thread Viresh Kumar
On 27 August 2013 00:12, Stratos Karafotis wrote: > - 'Governer' should be 'Governor' > - 'S' is used for Siemens (electrical conductance) in SI units. > Use small 's' for seconds. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/cpufreq_governor.c | 2 +- > drivers/cpufreq/cpufreq_

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, brea

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' > st

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 he

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 my

[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 __GFP_ZER

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 pte_none(

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 har

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 devm_regulator_get_optional()"

[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 h

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 >> impr

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 <3

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 muc

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 i

[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 b/drivers/bus/mvebu-mb

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 wireless-

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 m

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 still

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 ma

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 mad

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): >>> >>> arch/h8300/kernel/h83

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 tree

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 06

[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 as

[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 set_ftrac

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 w

[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 is

[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 a/Documenta

[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 ++-- kernel/trac

[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 /sys/kernel/debug/trac

[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 written

[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 syscall

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. ... >>> a/Documentation/devicetree/b

[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 pe

[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 ++ tools/perf/builtin-

[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 2

[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 w

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: err

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 alr

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

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 f

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 th

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: Software-unp

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 y

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(), > > > iounm

[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 a/drivers/usb/host/ohci-at

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 bo

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-gener

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 ever

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 *d

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. Wysocki

[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 b/m

[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, LF.Ta

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 thes

[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 --- tools/perf/util/parse

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 CON

[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 the

[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 d3474049ab6cfcf1427

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, s

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 alr

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. Wysocki

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 2e

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

  1   2   3   4   5   6   7   8   >