Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Sascha Hauer
On Tue, Sep 03, 2013 at 04:17:09AM +, Xiubo Li-B47053 wrote: > > Subject: Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support > > > > You simply don't need the available field. You don't need to track > > whether they are available. If a user enables a pwm which is not routed > > out o

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Zhi Yong Wu
On Tue, Sep 3, 2013 at 1:48 PM, Michel Lespinasse wrote: > On Mon, Sep 2, 2013 at 9:45 PM, Zhi Yong Wu wrote: >> On Mon, Sep 2, 2013 at 4:57 PM, Michel Lespinasse wrote: >>> Thanks for the link - I now better understand where you are coming >>> from with these fixes. >>> >>> Going back to the or

Re: [PATCH] Add WLI-UC-G300HP's Product ID.

2013-09-02 Thread Kalle Valo
Masami Ichikawa writes: > Support Bufallo WLI-UC-G300HP. > > Signed-off-by: Masami Ichikawa Please add "rt2x00: " prefix to the commit title. -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More maj

Re: OCFS2: ocfs2_read_blocks:285 ERROR: block 532737 had the JBD bit set while I was in lock_buffer!

2013-09-02 Thread Richard Weinberger
Hi! Am 03.09.2013 05:17, schrieb Jeff Liu: > Hello, > > It seems like Sunil has fixed a similar issue against ocfs2-1.4 > several years ago: > https://oss.oracle.com/git/?p=ocfs2-1.4.git;a=commitdiff_plain;h=2fd250839d0f5073af8d42e97f1db74beb621674;hp=e882faf84930431524f84598caea7d4e9a9529c5 > ht

Re: [RFC PATCH v3 09/35] mm: Track the freepage migratetype of pages accurately

2013-09-02 Thread Yasuaki Ishimatsu
(2013/08/30 22:16), Srivatsa S. Bhat wrote: Due to the region-wise ordering of the pages in the buddy allocator's free lists, whenever we want to delete a free pageblock from a free list (for ex: when moving blocks of pages from one list to the other), we need to be able to tell the buddy allocat

Re: [PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Yinghai Lu
On Mon, Sep 2, 2013 at 10:38 PM, Tang Chen wrote: > On 09/03/2013 10:48 AM, Yinghai Lu wrote: >> >> On Mon, Sep 2, 2013 at 6:06 PM, Tang Chen wrote: >>> >>> Hi Yinghai, >>> >>> On 09/03/2013 02:41 AM, Yinghai Lu wrote: >> >> >>> How about change the "for (from low to high)" in >>> init_range_memo

Re: [PATCH] ARM: DTS: DRA7: Add TPS659038 PMIC nodes

2013-09-02 Thread Keerthy
Benoit, On Monday 26 August 2013 11:06 AM, Keerthy wrote: The Patch adds nodes for TPS659038 PMIC for DRA7 boards. It is based on top of: http://comments.gmane.org/gmane.linux.ports.arm.omap/102459. Documentation: Documentation/devicetree/bindings/mfd/palmas.txt Documentation

Re: latest perf code fails to parse existing data file

2013-09-02 Thread Adrian Hunter
On 03/09/13 00:37, David Ahern wrote: > Arnaldo/Adrian: > > Latest acme core tree fails to parse an existing data file: > > $ perf trace -i perf.data > 0x16b8 [0x40]: failed to process type: 1 > Failed to process events, error -22 I can't reproduce this. The following works: $ perf --v

[PATCH 1/2] f2fs: trigger GC when there are prefree segments

2013-09-02 Thread Jaegeuk Kim
Previously, f2fs conducts SSR when free_sections() < overprovision_sections. But, even though there are a lot of prefree segments, it can consider SSR only. So, let's consider the number of prefree segments too for triggering SSR. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.h | 3 ++- 1 file

[PATCH 2/2] f2fs: avoid an overflow during utilization calculation

2013-09-02 Thread Jaegeuk Kim
The current f2fs uses all the block counts with 32 bit numbers, which is able to cover about 15TB volume. But in calculation of utilization, f2fs multiplies the count by 100 which can induce overflow. This patch fixes this. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.h | 2 +- 1 file changed

[PATCH 8/8] regulator: fan53555: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/fan53555.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/regulator/fan53555.c b/drivers/regulator/fan53555.c index f0e1ae5..3ce9663 100644 --- a/drivers/regulator/fan53555.c +++ b/drivers/regulator/fan53555.c

[PATCH 7/8] regulator: da9055: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/da9055-regulator.c | 24 +--- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c index 3022109..9565a35 100644 --- a/drivers/regulator/da9055-

[PATCH 6/8] regulator: da9052: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/da9052-regulator.c | 14 +++--- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/regulator/da9052-regulator.c b/drivers/regulator/da9052-regulator.c index 96b569a..25d3e47 100644 --- a/drivers/regulator/da9052-regulator.

[PATCH 5/8] regulator: da903x: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/da903x.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/regulator/da903x.c b/drivers/regulator/da903x.c index 2afa573..6de6885 100644 --- a/drivers/regulator/da903x.c +++ b/drivers/regulator/da903x.c @@ -488,7

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Zhi Yong Wu
On Tue, Sep 3, 2013 at 1:48 PM, Michel Lespinasse wrote: > On Mon, Sep 2, 2013 at 9:45 PM, Zhi Yong Wu wrote: >> On Mon, Sep 2, 2013 at 4:57 PM, Michel Lespinasse wrote: >>> Thanks for the link - I now better understand where you are coming >>> from with these fixes. >>> >>> Going back to the or

[PATCH 4/8] regulator: as3711: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/as3711-regulator.c | 22 ++ 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/drivers/regulator/as3711-regulator.c b/drivers/regulator/as3711-regulator.c index 3da6bd6..101fc2e 100644 --- a/drivers/regulator/as3711-re

[PATCH 3/8] regulator: ad5398: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/ad5398.c | 19 +++ 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/drivers/regulator/ad5398.c b/drivers/regulator/ad5398.c index 6b981b5..92f42fd 100644 --- a/drivers/regulator/ad5398.c +++ b/drivers/regulator/ad5398.c @

[PATCH 2/8] regulator: aat2870: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/aat2870-regulator.c | 11 +-- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/drivers/regulator/aat2870-regulator.c b/drivers/regulator/aat2870-regulator.c index 8b58763..1ca60ac 100644 --- a/drivers/regulator/aat2870-regulator.

[PATCH 1/8] regulator: 88pm8607: Convert to devm_regulator_register

2013-09-02 Thread Axel Lin
Signed-off-by: Axel Lin --- drivers/regulator/88pm8607.c | 12 ++-- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/drivers/regulator/88pm8607.c b/drivers/regulator/88pm8607.c index 8a7cb1f..e006e7e 100644 --- a/drivers/regulator/88pm8607.c +++ b/drivers/regulator/88pm8607.

[PATCH v3 1/3] mm/vmalloc: don't set area->caller twice

2013-09-02 Thread Wanpeng Li
Changelog: *v1 -> v2: rebase against mmotm tree The caller address has already been set in set_vmalloc_vm(), there's no need to set it again in __vmalloc_area_node. Reviewed-by: Zhang Yanfei Signed-off-by: Wanpeng Li --- mm/vmalloc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/vmall

[PATCH v3 3/3] mm/vmalloc: revert "mm/vmalloc.c: check VM_UNINITIALIZED flag in s_show instead of show_numa_info"

2013-09-02 Thread Wanpeng Li
Changelog: *v2 -> v3: revert commit d157a558 directly The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch mo

[PATCH v3 2/3] mm/vmalloc: revert "mm/vmalloc.c: emit the failure message before return"

2013-09-02 Thread Wanpeng Li
Changelog: *v2 -> v3: revert commit 46c001a2 directly Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if __vmalloc_area_node allocation failure. This patch revert commit 46c001a2 (mm/vmalloc.c: emit the failure message before return). Signed-off-by: Wanpeng Li --- mm/vmallo

[PATCH] uprobes: Fix limiting un-nested return probes

2013-09-02 Thread Hemant Kumar Shaw
Here is a sample program which shows a problem in uretprobes: #include int some_work(int num) { while (num != 0) num--; return 0; }; int main(int argc, char **argv) { if (argc != 2) return EXIT_FAILURE; int num = atoi(argv[1]);

[GIT PULL -v3] target fixes for v3.12-rc0 (was v3.11)

2013-09-02 Thread Nicholas A. Bellinger
Hi Linus, Now with DKIM + SPF in place on linux-iscsi.org (thanks for the help Ted & Co), here is another attempt at the target fixes PULL request for v3.11 that was missed. Given that the last PULL emails hit your spam folder, if/when you get this please give me a quick response to confirm. Ple

Re: [PATCH v7 1/4] spinlock: A new lockref structure for lockless update of refcount

2013-09-02 Thread Ingo Molnar
* Waiman Long wrote: > On 08/30/2013 10:42 PM, Al Viro wrote: > >On Sat, Aug 31, 2013 at 03:35:16AM +0100, Al Viro wrote: > > > >>Aha... OK, I see what's going on. We end up with shm_mnt *not* marked > >>as long-living vfsmount, even though it lives forever. See if the > >>following helps; if

Re: [PATCH trivial] UAPI: Kbuild: add/modify comments for "uapi/Kbuild" and "uapi/linux/Kbuild"

2013-09-02 Thread Chen Gang
Hello Maintainers: Maybe... I still miss some important mail addresses? or this patch is not suitable for applying? Hmm... but I still want to try the last time: "please help check this patch, when you have time". And next, I should not send additional tracing mail again, that will be really spa

Re: [RFC PATCH v3 06/35] mm: Add helpers to retrieve node region and zone region for a given page

2013-09-02 Thread Yasuaki Ishimatsu
(2013/08/30 22:15), Srivatsa S. Bhat wrote: Given a page, we would like to have an efficient mechanism to find out the node memory region and the zone memory region to which it belongs. Since the node is assumed to be divided into equal-sized node memory regions, the node memory region can be ob

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Michel Lespinasse
On Mon, Sep 2, 2013 at 9:45 PM, Zhi Yong Wu wrote: > On Mon, Sep 2, 2013 at 4:57 PM, Michel Lespinasse wrote: >> Thanks for the link - I now better understand where you are coming >> from with these fixes. >> >> Going back to the original message: >> >>> diff --git a/include/linux/rbtree_augmente

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

2013-09-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > From: Arnaldo Carvalho de Melo > > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818: > > perf: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node() (2013-09-02

[PATCH 03/13] tracing/kprobes: Move fetch functions to trace_kprobe.c

2013-09-02 Thread Namhyung Kim
From: Hyeoncheol Lee Move kprobes-specific fetch functions to the trace_kprobe.c file. Also define kprobes_fetch_type_table in the .c file. This table is shared with uprobes for now, but the uprobes will get its own table in the later patch. This is a preparation for supporting more fetch funct

[PATCH 04/13] tracing/kprobes: Add fetch{,_size} member into deref fetch method

2013-09-02 Thread Namhyung Kim
From: Hyeoncheol Lee The deref fetch methods access a memory region but it assumes that it's a kernel memory since uprobes does not support them. Add ->fetch and ->fetch_size member in order to provide a proper access methods for supporting uprobes. Acked-by: Masami Hiramatsu Cc: Srikar Dronam

[PATCH 02/13] tracing/probes: Fix basic print type functions

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim The print format of s32 type was "ld" and it's casted to "long". So it turned out to print 4294967295 for "-1" on 64-bit systems. Not sure whether it worked well on 32-bit systems. Anyway, it'd be better if we have exact format and type cast for each types on both of 32- and

[PATCH 01/13] tracing/uprobes: Fix documentation of uprobe registration syntax

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim The uprobe syntax requires an offset after a file path not a symbol. Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- Documentation/trace/uprobetracer.txt | 10 +

[PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim Fetching from user space should be done in a non-atomic context. So use a per-cpu buffer and copy its content to the ring buffer atomically. Note that we can migrate during accessing user memory thus use a per-cpu mutex to protect concurrent accesses. This is needed since we

[PATCH 05/13] tracing/kprobes: Staticize stack and memory fetch functions

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim Those fetch functions need to be implemented differently for kprobes and uprobes. Since the deref fetch functions don't call those directly anymore, we can make them static and implement them separately. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc

[PATCH 11/13] tracing/kprobes: Add priv argument to fetch functions

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim This argument is for passing private data structure to each fetch function and will be used by uprobes. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/trace_

[PATCHSET 00/13] tracing/uprobes: Add support for more fetch methods (v5)

2013-09-02 Thread Namhyung Kim
Hello, This patchset implements memory (address), stack[N], deference, bitfield and retval (it needs uretprobe tho) fetch methods for uprobes. It's based on the previous work [1] done by Hyeoncheol Lee. Now kprobes and uprobes have their own fetch_type_tables and, in turn, memory and stack acces

[PATCH 07/13] tracing/uprobes: Convert to struct trace_probe

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim Convert struct trace_uprobe to make use of the common trace_probe structure. Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/trace_uprobe.c | 151 +

[PATCH 12/13] tracing/uprobes: Add more fetch functions

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim Implement uprobe-specific stack and memory fetch functions and add them to the uprobes_fetch_type_table. Other fetch fucntions will be shared with kprobes. Original-patch-by: Hyeoncheol Lee Reviewed-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei

[PATCH 13/13] tracing/uprobes: Add support for full argument access methods

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim Enable to fetch other types of argument for the uprobes. IOW, we can access stack, memory, deref, bitfield and retval from uprobes now. The format for the argument types are same as kprobes (but @SYMBOL type is not supported for uprobes), i.e: @ADDR : Fetch memory at ADD

[PATCH 06/13] tracing/kprobes: Factor out struct trace_probe

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim There are functions that can be shared to both of kprobes and uprobes. Separate common data structure to struct trace_probe and use it from the shared functions. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de M

[PATCH 08/13] tracing/kprobes: Move common functions to trace_probe.h

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim The __get_data_size() and store_trace_args() will be used by uprobes too. Move them to a common location. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim --- kernel/trace/tra

RE: [PATCH v4 3/3] dma: Add Freescale eDMA engine driver support

2013-09-02 Thread Lu Jingchang-B35083
> > How about change the filter_fn to follow: > > static bool fsl_edma_filter_fn(struct dma_chan *chan, void *fn_param) > > { > > struct fsl_edma_filter_param *fparam = fn_param; > > struct fsl_edma_chan *fsl_chan = to_fsl_edma_chan(chan); > > unsigned char val; > > > >

[PATCH 09/13] tracing/kprobes: Integrate duplicate set_print_fmt()

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim The set_print_fmt() functions are implemented almost same for [ku]probes. Move it to a common place and get rid of the duplication. Acked-by: Masami Hiramatsu Cc: Srikar Dronamraju Cc: Oleg Nesterov Cc: zhangwei(Jovi) Cc: Arnaldo Carvalho de Melo Signed-off-by: Namhyung

Re: [GIT PULL rcu/next] RCU commits for 3.12

2013-09-02 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > The major changes for this series are: > > 1.Update RCU documentation. These were posted to LKML at > https://lkml.org/lkml/2013/8/19/611. > > 2.Miscellaneous fixes. These were posted to LKML at > https://lkml.org/lkml/2013/8/

Re: [PATCH] kernel/rcutree.c: deem to be lazy if there are no callbacks.

2013-09-02 Thread Chen Gang
Hello Maintainers: Is this issue finished ? If need additional help from me (e.g. some test things, or others, if you have no time, can let me try), please let me know, I should try. Thanks. On 08/26/2013 10:21 AM, Chen Gang F T wrote: > > Firstly, thank you for your reply with these details.

Re: [PATCH v2 3/3] mm/vmalloc: move VM_UNINITIALIZED just before show_numa_info

2013-09-02 Thread Zhang Yanfei
On 09/03/2013 11:00 AM, Wanpeng Li wrote: > The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid > null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid > accessing the pages field with unallocated page when show_numa_info() is > called. This patch move the

Re: [PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Tang Chen
On 09/03/2013 10:48 AM, Yinghai Lu wrote: On Mon, Sep 2, 2013 at 6:06 PM, Tang Chen wrote: Hi Yinghai, On 09/03/2013 02:41 AM, Yinghai Lu wrote: How about change the "for (from low to high)" in init_range_memory_mapping() to "for_rev(from high to low)" ? Then we can update min_pfn_mapped in

Re: [PATCH v2 2/3] mm/vmalloc: don't warning vmalloc allocation failure twice

2013-09-02 Thread Zhang Yanfei
On 09/03/2013 11:00 AM, Wanpeng Li wrote: > Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if > __vmalloc_area_node allocation failure. > > Signed-off-by: Wanpeng Li OK, I missed the warning in __vmalloc_area_node(), so you are right. You can just revert the commit 46c001a27

Re: [PATCH v2 1/3] mm/vmalloc: don't set area->caller twice

2013-09-02 Thread Zhang Yanfei
On 09/03/2013 11:00 AM, Wanpeng Li wrote: > Changelog: > * rebase against mmotm tree > > The caller address has already been set in set_vmalloc_vm(), there's no need > to set it again in __vmalloc_area_node. > > Signed-off-by: Wanpeng Li Reviewed-by: Zhang Yanfei > --- > mm/vmalloc.c |1

Re: [PATCH] mm/shmem.c: check the return value of mpol_to_str()

2013-09-02 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. If it need additional test, please let me know, I should try (better to provide some suggestions for test). Thanks. On 08/22/2013 09:04 AM, Chen Gang wrote: > mpol_to_str() may fail, and not fill the buffer (e.g. -EINVAL), so

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

2013-09-02 Thread Xiubo Li-B47053
> Subject: Re: [PATCH 4/4] Documentation: Add device tree bindings for > Freescale FTM PWM > > On 08/30/2013 01:19 PM, Kumar Gala wrote: > > Should have at least something w/regards to a commit message. > > > > On Aug 20, 2013, at 10:07 PM, Xiubo Li wrote: > > > >> Signed-off-by: Xiubo Li > >> --

Re: [PATCH] kernel/groups.c: consider about NULL for 'group_info' in all related extern functions

2013-09-02 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. If need a related test, please let me know, I should try (better to provide some suggestions for test). Thanks. On 08/20/2013 11:03 AM, Chen Gang wrote: > > If this patch is correct, also need modify the man page for the ret

[PATCH] kernel/sysctl.c: check return value after call proc_put_char() in __do_proc_doulongvec_minmax()

2013-09-02 Thread Chen Gang
Need check the return value of proc_put_char(), just like another have done in __do_proc_doulongvec_minmax(). Signed-off-by: Chen Gang --- kernel/sysctl.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/kernel/sysctl.c b/kernel/sysctl.c index b2f06f3..7453418 100644

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2013-09-02 Thread Arkadiusz Miskiewicz
On Sunday 18 of August 2013, Margarita Manterola wrote: > Hi, > > On Sat, Aug 17, 2013 at 5:28 PM, Pavel Machek wrote: > >> diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c > >> index 4bf0fc0..2ba7f4e 100644 > >> --- a/drivers/tty/n_tty.c > >> +++ b/drivers/tty/n_tty.c > >> @@ -149,7 +149,8

Re: [PATCH] kernel/futex.c: notice the return value after rt_mutex_finish_proxy_lock() fails

2013-09-02 Thread Chen Gang
Hello Maintainers: Please help check this patch, when you have time. Thanks. On 08/21/2013 11:48 AM, Chen Gang wrote: > On 08/21/2013 12:19 AM, Darren Hart wrote: >> HopingOn Tue, 2013-08-20 at 11:07 +0800, Chen Gang wrote: >> >> >> Hi Chen, >> >>> rt_mutex_finish_proxy_lock() can return failur

Re: [PATCH] kernel/taskstats.c: add nla_nest_cancel() for failure processing between nla_nest_start() and nla_nest_end()

2013-09-02 Thread Chen Gang
Hello maintainers: Please help check this patch, when you have time. Thanks. On 08/20/2013 10:44 AM, Chen Gang wrote: > When failure occurs between nla_nest_start() and nla_nest_end(), need > call nla_nest_cancel() to clean up related things. > > Signed-off-by: Chen Gang > --- > kernel/taskst

[RFC/PATCH] ftrace: add set_graph_notrace filter

2013-09-02 Thread Namhyung Kim
From: Namhyung Kim The set_graph_notrace filter is analogous to set_ftrace_notrace and can be used for eliminating uninteresting part of function graph trace output. It also works with set_graph_function nicely. # cd /sys/kernel/debug/tracing/ # echo do_page_fault > set_graph_function # p

[PATCH] kernel/delayacct.c: remove redundancy checking in __delayacct_add_tsk()

2013-09-02 Thread Chen Gang
The wrapper function delayacct_add_tsk() already checked 'tsk->delays', and __delayacct_add_tsk() has no another direct callers, so can remove the redundancy checking code. And the label 'done' is also useless, so remove it, too. Signed-off-by: Chen Gang --- kernel/delayacct.c |7 ---

Re: [PATCH 1/8] partitions/efi: use lba-aware partition records

2013-09-02 Thread Davidlohr Bueso
On Mon, 2013-09-02 at 12:10 +0200, Karel Zak wrote: > On Mon, Aug 05, 2013 at 10:21:09PM -0700, Davidlohr Bueso wrote: > > > > +typedef struct _gpt_record { > > +u8 boot_indicator; /* unused by EFI, set to 0x80 for bootable > > */ > > +u8 start_head; /* unused by EF

Re: [RFC PATCH v3 04/35] mm: Initialize node memory regions during boot

2013-09-02 Thread Yasuaki Ishimatsu
(2013/09/03 2:43), Srivatsa S. Bhat wrote: On 09/02/2013 11:50 AM, Yasuaki Ishimatsu wrote: (2013/08/30 22:15), Srivatsa S. Bhat wrote: Initialize the node's memory-regions structures with the information about the region-boundaries, at boot time. Based-on-patch-by: Ankita Garg Signed-off-by:

Re: [PATCH v4 2/6] dma: edma: Write out and handle MAX_NR_SG at a given time

2013-09-02 Thread Vinod Koul
On Thu, Aug 29, 2013 at 06:05:41PM -0500, Joel Fernandes wrote: > Process SG-elements in batches of MAX_NR_SG if they are greater > than MAX_NR_SG. Due to this, at any given time only those many > slots will be used in the given channel no matter how long the > scatter list is. We keep track of how

[PATCH 1/2] audit: flush_hold_queue(): don't drop queued SKBs

2013-09-02 Thread Luiz Capitulino
From: Luiz capitulino flush_hold_queue() first dequeues an SKB and then checks if auditd exists. If auditd doesn't exist, the SKB is silently dropped. Avoid this by not dequeing an SKB when we detected that auditd disappeared. Signed-off-by: Luiz capitulino --- kernel/audit.c | 19 +--

[PATCH 0/2] audit: fix soft lockup

2013-09-02 Thread Luiz Capitulino
The second patch fixes a softlockup which is fully described and now is 100% reproducible with simple steps. The first patch fixes a bug I found while working on the second patch. Chuck Anderson just posted a different solution for the same problem. I was about to post this solution when he posted

[PATCH 2/2] audit: kaudit_send_skb(): make non-blocking call to netlink_unicast()

2013-09-02 Thread Luiz Capitulino
From: Luiz capitulino Try this: 1. Download the readahead-collector program and build it 2. Run it with: # readahead-collector -f 3. From another terminal do: # pkill -SIGSTOP readahead-collector 4. Keep using the system, run top -d1, vmstat -S 1, etc 5. Eventually, you'll get somethi

Re: [PATCH 0/2] audit: fix soft lockups and udevd errors when audit is overrun

2013-09-02 Thread Luiz Capitulino
On Mon, 02 Sep 2013 20:45:14 -0700 Chuck Anderson wrote: > The two patches that follow in separate emails resolve soft lockups and > udevd reported errors that prevented a large memory 3.8 system from booting. > > The patches are based on 3.11-rc7. > > I believe it is the same issue recently po

Re: [PATCH] rbtree: Add some necessary condition checks

2013-09-02 Thread Zhi Yong Wu
On Mon, Sep 2, 2013 at 4:57 PM, Michel Lespinasse wrote: > On Sun, Sep 1, 2013 at 11:30 PM, Zhi Yong Wu wrote: >> In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wrote: >>> On Fri, Aug 23, 2013 at 7:45 AM, wrote: From: Zhi Yong Wu Signed-off-by: Zhi Yong Wu --- i

RE: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support

2013-09-02 Thread Xiubo Li-B47053
> Subject: Re: [PATCHv2 1/4] pwm: Add Freescale FTM PWM driver support > > On Mon, Sep 02, 2013 at 03:33:37AM +, Xiubo Li-B47053 wrote: > > > > > > +static void fsl_pwm_free(struct pwm_chip *chip, struct pwm_device > > > > +*pwm) { > > > > + struct fsl_pwm_chip *fpc; > > > > + stru

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

2013-09-02 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

[PATCH v8 07/10] tracing: Add and use generic set_trigger_filter() implementation

2013-09-02 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 v8 08/10] tracing: Update event filters for multibuffer

2013-09-02 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 v8 00/10] tracing: trace event triggers

2013-09-02 Thread Tom Zanussi
Hi, This is v8 of the trace event triggers patchset. This version addresses the comments and feedback from Steve Rostedt on v7. v8: - changed rcu_dereference_raw() to rcu_dereference() and moved synchronize_sched() out from under the syscall_trace_lock mutex. - got rid of the various void *

[PATCH 2/2] audit: Two efficiency fixes for audit mechanism

2013-09-02 Thread Chuck Anderson
audit: Two efficiency fixes for audit mechanism author: Dan Duval These and similar errors were seen on a patched 3.8 kernel when the audit subsystem was overrun during boot: udevd[876]: worker [887] unexpectedly returned with status 0x0100 udevd[876]: worker [887] failed while handling '

[PATCH v8 10/10] tracing: Make register/unregister_ftrace_command __init

2013-09-02 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 v8 04/10] tracing: Add 'snapshot' event trigger command

2013-09-02 Thread Tom Zanussi
Add 'snapshot' event_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 to th

[PATCH v8 06/10] tracing: Add 'enable_event' and 'disable_event' event trigger commands

2013-09-02 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 v8 05/10] tracing: Add 'stacktrace' event trigger command

2013-09-02 Thread Tom Zanussi
Add 'stacktrace' event_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 writt

Re: [PATCH v2 0/8] Drop support for Renesas H8/300 architecture

2013-09-02 Thread Chen Gang F T
On 09/03/2013 11:26 AM, Guenter Roeck wrote: > On 09/02/2013 07:53 PM, Chen Gang F T wrote: >> Hello Guenter Roeck: >> >> >> I don't care about whether I am in cc mailing list, but at least, >> please help confirm 2 things: >> >>Is what I had done for h8300 just making wastes and noisy in kerne

[PATCH v8 09/10] tracing: Add documentation for trace event triggers

2013-09-02 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 v8 02/10] tracing: Add basic event trigger framework

2013-09-02 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 v8 03/10] tracing: Add 'traceon' and 'traceoff' event trigger commands

2013-09-02 Thread Tom Zanussi
Add 'traceon' and 'traceoff' event_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_ftrace_filt

[PATCH 1/2] audit: fix soft lockups due to loop in audit_log_start() wh,en audit_backlog_limit exceeded

2013-09-02 Thread Chuck Anderson
audit: fix softlockups due to loop in audit_log_start() when audit_backlog_limit exceeded author: Dan Duval This patch fixes a bug in kernel/audit that can cause many soft lockups and prevent the boot of a large memory 3.8 system: BUG: soft lockup - CPU#66 stuck for 22s! [udevd:9559] RIP:

[PATCH 0/2] audit: fix soft lockups and udevd errors when audit is overrun

2013-09-02 Thread Chuck Anderson
The two patches that follow in separate emails resolve soft lockups and udevd reported errors that prevented a large memory 3.8 system from booting. The patches are based on 3.11-rc7. I believe it is the same issue recently posted as: [RFC] audit: avoid soft lockup in audit_log_start() http

Re: [PATCH v4:No Change] xHCI:Fixing xhci_readl definition and function call

2013-09-02 Thread Kumar Gaurav
I tried applying this patch on linux-next and it applies well. i used git apply --apply On Saturday 31 August 2013 11:02 PM, Kumar Gaurav wrote: This patch redefine function xhci_readl. xhci_readl function doesn't use xhci_hcd argument. Hence there is no need of keeping it in the function

Re: [guv v2 04/31] net: Replace __get_cpu_var uses

2013-09-02 Thread David Miller
From: David Howells Date: Mon, 02 Sep 2013 22:35:06 +0100 > Would it be possible to use __thread annotations for per-CPU > variables, I wonder? Paul Mackerras tried it on powerpc and you can't do it. The problem is that there is no way to tell the compiler that sched() and similar (potentially)

Re: [PATCH v2 2/4] mm/hwpoison: fix miss catch transparent huge page

2013-09-02 Thread Chen Gong
On Tue, Sep 03, 2013 at 07:36:44AM +0800, Wanpeng Li wrote: > Date: Tue, 3 Sep 2013 07:36:44 +0800 > From: Wanpeng Li > To: Andrew Morton > Cc: Andi Kleen , Fengguang Wu > , Naoya Horiguchi , > Tony Luck , gong.c...@linux.intel.com, > linux...@kvack.org, linux-kernel@vger.kernel.org, Wanpeng

Re: [PATCH v2 0/8] Drop support for Renesas H8/300 architecture

2013-09-02 Thread Guenter Roeck
On 09/02/2013 07:53 PM, Chen Gang F T wrote: > Hello Guenter Roeck: > > > I don't care about whether I am in cc mailing list, but at least, > please help confirm 2 things: > >Is what I had done for h8300 just making wastes and noisy in kernel and > related sub-system mailing list ? > >

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 08:16:45PM -0700, Josh Triplett wrote: > On Tue, Sep 03, 2013 at 10:46:40AM +0800, Fengguang Wu wrote: > > On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: > > > On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: > > > > CONFIG_EXPERIMENTAL > > > > CVS_KEYWO

Re: OCFS2: ocfs2_read_blocks:285 ERROR: block 532737 had the JBD bit set while I was in lock_buffer!

2013-09-02 Thread Jeff Liu
Hello, It seems like Sunil has fixed a similar issue against ocfs2-1.4 several years ago: https://oss.oracle.com/git/?p=ocfs2-1.4.git;a=commitdiff_plain;h=2fd250839d0f5073af8d42e97f1db74beb621674;hp=e882faf84930431524f84598caea7d4e9a9529c5 https://oss.oracle.com/git/?p=ocfs2-1.4.git;a=commitdiff_p

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Josh Triplett
On Tue, Sep 03, 2013 at 10:46:40AM +0800, Fengguang Wu wrote: > On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: > > On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: > > > CONFIG_EXPERIMENTAL > > > CVS_KEYWORD > > > > OK, but [...] > Thanks for both of your suggestions! I'll ad

Re: [PATCH] iommu: WARN_ON when removing a device with no iommu_group associated

2013-09-02 Thread Wei Yang
Any more comments? Or this one is not proper? On Thu, Aug 22, 2013 at 09:33:27PM -0600, Alex Williamson wrote: >[+cc iommu] > >On Fri, 2013-08-23 at 09:55 +0800, Wei Yang wrote: >> When removing a device from the system, iommu_group driver will try to >> disconnect it from its group. While in some

[PATCH v2 3/3] mm/vmalloc: move VM_UNINITIALIZED just before show_numa_info

2013-09-02 Thread Wanpeng Li
The VM_UNINITIALIZED/VM_UNLIST flag introduced by commit f5252e00(mm: avoid null pointer access in vm_struct via /proc/vmallocinfo) is used to avoid accessing the pages field with unallocated page when show_numa_info() is called. This patch move the check just before show_numa_info in order that so

[PATCH v2 2/3] mm/vmalloc: don't warning vmalloc allocation failure twice

2013-09-02 Thread Wanpeng Li
Don't warning twice in __vmalloc_area_node and __vmalloc_node_range if __vmalloc_area_node allocation failure. Signed-off-by: Wanpeng Li --- mm/vmalloc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index d78d117..e3ec8b4 100644 --- a/mm/v

[PATCH v2 1/3] mm/vmalloc: don't set area->caller twice

2013-09-02 Thread Wanpeng Li
Changelog: * rebase against mmotm tree The caller address has already been set in set_vmalloc_vm(), there's no need to set it again in __vmalloc_area_node. Signed-off-by: Wanpeng Li --- mm/vmalloc.c |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmal

Re: [PATCH] xtensa: Fix broken allmodconfig build

2013-09-02 Thread Guenter Roeck
On 08/27/2013 09:06 PM, Guenter Roeck wrote: xtansa allmodbuild fails with: arch/xtensa/kernel/xtensa_ksyms.c:129:1: error: '_mcount' undeclared here (not in a function) make[2]: *** [arch/xtensa/kernel/xtensa_ksyms.o] Error 1 make[1]: *** [arch/xtensa/kernel] Error 2 The breakage is due to co

Re: [PATCH v2 0/8] Drop support for Renesas H8/300 architecture

2013-09-02 Thread Chen Gang F T
Hello Guenter Roeck: I don't care about whether I am in cc mailing list, but at least, please help confirm 2 things: Is what I had done for h8300 just making wastes and noisy in kernel and related sub-system mailing list ? and is the disccusion about h8300 between us also wastes and noisy

Re: Linux 3.11

2013-09-02 Thread Nicholas A. Bellinger
Hi Ted, On Mon, 2013-09-02 at 22:17 -0400, Theodore Ts'o wrote: > On Mon, Sep 02, 2013 at 04:46:18PM -0700, Guenter Roeck wrote: > > I don't think it has anything to do with linux-iscsi.org. > > Possibly Nicholas' e-mail provider is not hosted in the US, meaning e-mail > > sent through it can not

Re: [PATCH RESEND 2/3] x86, mm: Update min_pfn_mapped in add_pfn_range_mapped().

2013-09-02 Thread Yinghai Lu
On Mon, Sep 2, 2013 at 6:06 PM, Tang Chen wrote: > Hi Yinghai, > > On 09/03/2013 02:41 AM, Yinghai Lu wrote: > How about change the "for (from low to high)" in init_range_memory_mapping() > to > "for_rev(from high to low)" ? > Then we can update min_pfn_mapped in add_pfn_range_mapped(). > > And a

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Fengguang Wu
On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: > On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: > > I'd suggest a couple more, which > > *should* always make sense, and to the best of my knowledge don't tend > > to generate false positives: > > > > C99_COMMENTS > > I don't

Re: [Ksummit-2013-discuss] [PATCH] checkpatch: Add comment about updating Documentation/CodingStyle

2013-09-02 Thread Joe Perches
On Mon, 2013-09-02 at 19:12 -0700, Josh Triplett wrote: > On Mon, Sep 02, 2013 at 06:52:45PM -0700, Joe Perches wrote: > > On Mon, 2013-09-02 at 18:34 -0700, Josh Triplett wrote: > > > I'd suggest a couple more, which > > > *should* always make sense, and to the best of my knowledge don't tend > >

  1   2   3   4   5   6   >