Re: [RFC PATCH] futex: Remove requirement for lock_page in get_futex_key

2013-11-01 Thread Mel Gorman
On Tue, Oct 29, 2013 at 02:48:27PM -0400, Chris Mason wrote: Quoting Mel Gorman (2013-10-29 13:38:14) Thomas Gleixner and Peter Zijlstra discussed off-list that real-time users currently have a problem with the page lock being contended for unbounded periods of time during futex operations.

[PATCH] perf tool: remove an unnecessary function call while process pipe events

2013-11-01 Thread Chenggang Qin
From: Chenggang Qin chenggang@taobao.com perf_session_free_sample_buffers() can be removed from __perf_session__process_pipe_events(), since the ordered_samples buffer is not used while samples are read from the pipe. __perf_session__process_pipe_events() is only used while process the events

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Paul E. McKenney
On Thu, Oct 31, 2013 at 04:19:55PM +0100, Peter Zijlstra wrote: On Thu, Oct 31, 2013 at 08:07:56AM -0700, Paul E. McKenney wrote: On Thu, Oct 31, 2013 at 10:04:57AM +0100, Peter Zijlstra wrote: On Wed, Oct 30, 2013 at 09:32:58PM -0700, Paul E. McKenney wrote: Before C/C++11, the closest

Re: [RFC/PATCHSET 00/14] perf report: Add support to accumulate hist periods (v2)

2013-11-01 Thread Ingo Molnar
* Namhyung Kim namhy...@kernel.org wrote: 2) Is it possible to configure the default 'report -g' style, so that people who'd like to use it all the time don't have to type '-g cumulative' all the time? Hmm.. maybe I can add support for the 'report.call-graph' config option.

[PATCH 0/4] perf report: add parameters 'start' 'end' to specify analysis interval

2013-11-01 Thread Chenggang Qin
This patch set introduced a feature to analysis the samples in a specified time interval. After perf.data file was generated by perf record, the user could want to analysis a sub time interval of the whole record period. For some functions, the percent of its samples in a certain sub time interval

[PATCH 4/4] perf tools: add the feature to assign analysis interval to perf report

2013-11-01 Thread Chenggang Qin
Only process the samples whose timestamp is in [start, end). Cc: David Ahern dsah...@gmail.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Paul Mackerras pau...@samba.org Cc: Ingo Molnar mi...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Arjan van de Ven

[PATCH 1/4] perf report: add parameter 'start' 'end' to perf report

2013-11-01 Thread Chenggang Qin
perf report --start time1 --end time2 The unit of time1 time2 are millsecond. Cc: David Ahern dsah...@gmail.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Paul Mackerras pau...@samba.org Cc: Ingo Molnar mi...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Arjan van de Ven

[PATCH 2/4] perf tools: relate 'start' 'end' to perf_session

2013-11-01 Thread Chenggang Qin
Copy the value to start and end to struct perf_session. Cc: David Ahern dsah...@gmail.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Paul Mackerras pau...@samba.org Cc: Ingo Molnar mi...@redhat.com Cc: Arnaldo Carvalho de Melo a...@ghostprotocols.net Cc: Arjan van de Ven ar...@linux.intel.com

[PATCH 3/4] perf tools: record min_timestamp of samples queue in ordered_samples

2013-11-01 Thread Chenggang Qin
Add a field 'min_timestamp' in struct ordered_samples to record the minimial timestamp of the samples in ordered_samples-samples. Cc: David Ahern dsah...@gmail.com Cc: Peter Zijlstra a.p.zijls...@chello.nl Cc: Paul Mackerras pau...@samba.org Cc: Ingo Molnar mi...@redhat.com Cc: Arnaldo Carvalho

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Ingo Molnar
* Michel Lespinasse wal...@google.com wrote: On Fri, Nov 1, 2013 at 1:43 AM, Peter Zijlstra pet...@infradead.org wrote: AFAICT this isn't correct at all. We used to protect the vma interval tree with the root lock, now we don't. All we've got left is the mmap_sem, but anon_vma chains

Re: [PATCH] NFC: mei_phy: using kfree_skb() instead of kfree()

2013-11-01 Thread Samuel Ortiz
Hi Salil, On Thu, Oct 31, 2013 at 11:17:46PM +0530, Salil Kapur wrote: using kfree_skb() instead of kfree() for struct sk_buff Signed-off-by: Salil Kapur salilkapu...@gmail.com --- drivers/nfc/mei_phy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to nfc-next, thanks.

[PATCH v3] can: c_can: Speed up rx_poll function

2013-11-01 Thread Markus Pargmann
This patch speeds up the rx_poll function by reducing the number of register reads. Replace the 32bit register read by a 16bit register read. Currently the 32bit register read is implemented by using 2 16bit reads. This is inefficient as we only use the lower 16bit in rx_poll. The for loop reads

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Yuanhan Liu
On Fri, Nov 01, 2013 at 09:43:29AM +0100, Peter Zijlstra wrote: On Fri, Nov 01, 2013 at 03:54:24PM +0800, Yuanhan Liu wrote: @@ -497,15 +495,20 @@ static void vma_rb_erase(struct vm_area_struct *vma, struct rb_root *root) * anon_vma_interval_tree_post_update_vma(). * * The entire

Re: [PATCH net-next V3 1/2] net: introduce skb_coalesce_rx_frag()

2013-11-01 Thread Eric Dumazet
On Fri, 2013-11-01 at 14:07 +0800, Jason Wang wrote: Sometimes we need to coalesce the rx frags to avoid frag list. One example is virtio-net driver which tries to use small frags for both MTU sized packet and GSO packet. So this patch introduce skb_coalesce_rx_frag() to do this. Cc: Rusty

Re: [PATCH v4 0/4] Add dual-fifo mode support of i.MX ssi

2013-11-01 Thread Nicolin Chen
On Fri, Nov 01, 2013 at 05:11:58PM +0800, Shawn Guo wrote: Nicolin, The dmaengine maintainer Vinod Koul should be copied on the series. (Just added). Ah, I was careless last night when I sent these patches. My VPN connection was pretty laggy :( Please forgive me, Vinod. Thank Shawn for

Re: [PATCH 0/4] perf report: add parameters 'start' 'end' to specify analysis interval

2013-11-01 Thread Ingo Molnar
* Chenggang Qin chenggang@gmail.com wrote: This patch set introduced a feature to analysis the samples in a specified time interval. After perf.data file was generated by perf record, the user could want to analysis a sub time interval of the whole record period. For some functions,

Re: [PATCH net-next V3 2/2] virtio-net: coalesce rx frags when possible during rx

2013-11-01 Thread Eric Dumazet
On Fri, 2013-11-01 at 14:07 +0800, Jason Wang wrote: Commit 2613af0ed18a11d5c566a81f9a6510b73180660a (virtio_net: migrate mergeable rx buffers to page frag allocators) try to increase the payload/truesize for MTU-sized traffic. But this will introduce the extra overhead for GSO packets

Re: [PATCH net] net: flow_dissector: fail on evil iph-ihl

2013-11-01 Thread Eric Dumazet
On Fri, 2013-11-01 at 15:01 +0800, Jason Wang wrote: We don't validate iph-ihl which may lead a dead loop if we meet a IPIP skb whose iph-ihl is zero. Fix this by failing immediately when iph-ihl is evil (less than 5). This issue were introduced by commit

[PATCH] extcon-gpio: add devicetree support.

2013-11-01 Thread NeilBrown
As this device is not vendor specific, I haven't included any vendor, prefixes. For my model I used regulator-gpio which takes a similar approach. Signed-off-by: NeilBrown ne...@suse.de diff --git a/Documentation/devicetree/bindings/extcon/extcon-gpio.txt

[tip:sched/core] sched/wait: Fix __wait_event_interruptible_lock_irq_timeout()

2013-11-01 Thread tip-bot for Heiko Carstens
Commit-ID: 7d716456a0ee4e9bd63be9234f886d20382ac950 Gitweb: http://git.kernel.org/tip/7d716456a0ee4e9bd63be9234f886d20382ac950 Author: Heiko Carstens heiko.carst...@de.ibm.com AuthorDate: Thu, 31 Oct 2013 12:48:14 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 1 Nov 2013

[GIT PULL] perf fixes

2013-11-01 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: e8a923cc1fff6e627f906655ad52ee694ef2f6d7 perf/x86: Fix NMI measurements Two fixes: - Fix 'NMI handler took too long to run' false

Subject: [PATCH 0/2] wm8962: Add ALC and EQ coefficients

2013-11-01 Thread Richard Fitzgerald
Two patches to expose the coefficient blocks for the ALC and EQ filters. Richard Fitzgerald (2): ASoC: wm8962: Add ALC coefficient support ASoC: wm8962: Add EQ coefficient support sound/soc/codecs/wm8962.c |8 1 files changed, 8 insertions(+), 0 deletions(-) -- 1.7.2.5 -- To

[PATCH 1/2] ASoC: wm8962: Add ALC coefficient support

2013-11-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- sound/soc/codecs/wm8962.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index c9ff713..2b04497 100644 --- a/sound/soc/codecs/wm8962.c +++

[PATCH] drivers/net: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2013-11-01 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong duanj.f...@cn.fujitsu.com --- drivers/net/appletalk/ipddp.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/appletalk/ipddp.c

[PATCH 2/2] ASoC: wm8962: Add EQ coefficient support

2013-11-01 Thread Richard Fitzgerald
Signed-off-by: Richard Fitzgerald r...@opensource.wolfsonmicro.com --- sound/soc/codecs/wm8962.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c index 2b04497..150d003 100644 --- a/sound/soc/codecs/wm8962.c +++

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Yuanhan Liu
On Fri, Nov 01, 2013 at 02:22:25AM -0700, Michel Lespinasse wrote: On Fri, Nov 1, 2013 at 1:43 AM, Peter Zijlstra pet...@infradead.org wrote: AFAICT this isn't correct at all. We used to protect the vma interval tree with the root lock, now we don't. All we've got left is the mmap_sem, but

[GIT PULL] sound fixes #2 for 3.12-final

2013-11-01 Thread Takashi Iwai
Linus, please pull another sound fixes for v3.12-final from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.12 The topmost commit is a4461f41b94cb52e0141af717dcf4ef6558c8e2e sound fixes #2 for

[PATCH] drivers: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2013-11-01 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong duanj.f...@cn.fujitsu.com --- drivers/misc/carma/carma-fpga.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/misc/carma/carma-fpga.c

[PATCH] fs/buffer.c: exit if already confirmed page has dirty and writeback buffers

2013-11-01 Thread Gu Zheng
Stop the loop of iterating bh if we have confirmed page has dirty and writeback buffers. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/buffer.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/buffer.c b/fs/buffer.c index 6024877..519cc5c 100644 ---

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Peter Zijlstra
On Fri, Nov 01, 2013 at 06:07:07PM +0800, Yuanhan Liu wrote: I also want to point out that lately we've seen several changes sent out that relax locking with no accompanying explanation of why the relaxed locking would be safe. Please don't do that - having a lot of performance data is

Re: [PATCH 0/4] per anon_vma lock and turn anon_vma rwsem lock to rwlock_t

2013-11-01 Thread Yuanhan Liu
On Fri, Nov 01, 2013 at 09:21:46AM +0100, Ingo Molnar wrote: * Yuanhan Liu yuanhan@linux.intel.com wrote: Btw., another _really_ interesting comparison would be against the latest rwsem patches. Mind doing such a comparison? Sure. Where can I get it? Are they on some git tree?

Re: [PATCHv2 5/8] ASoC: SGTL5000: Enhance the SGTL5000 codec driver about regulator.

2013-11-01 Thread Nicolin Chen
On Fri, Nov 01, 2013 at 03:04:52PM +0800, Xiubo Li wrote: On VF610 series there are no regulators used, and now whether the CONFIG_REGULATOR mirco is enabled or not, for the VF610 audio micro? or macro? patch series, the board cannot be probe successfully. And this patch will solve this

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Peter Zijlstra
On Fri, Nov 01, 2013 at 05:38:44PM +0800, Yuanhan Liu wrote: On Fri, Nov 01, 2013 at 09:43:29AM +0100, Peter Zijlstra wrote: On Fri, Nov 01, 2013 at 03:54:24PM +0800, Yuanhan Liu wrote: @@ -497,15 +495,20 @@ static void vma_rb_erase(struct vm_area_struct *vma, struct rb_root *root)

[patch] quota: info leak in quota_getquota()

2013-11-01 Thread Dan Carpenter
The if_dqblk struct has a 4 byte hole at the end of the struct so uninitialized stack information is leaked to user space. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/fs/quota/quota.c b/fs/quota/quota.c index dea86e8..2b363e2 100644 --- a/fs/quota/quota.c +++

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Peter Zijlstra
On Fri, Nov 01, 2013 at 02:28:14AM -0700, Paul E. McKenney wrote: This is a completely untenable position. Indeed it is! C/C++ never was intended to be used for parallel programming, And yet pretty much all kernels ever written for SMP systems are written in it; what drugs are those

[PATCH] xfs: simplify kmem_{zone_}zalloc

2013-11-01 Thread Gu Zheng
Introduce flag KM_ZERO which is used to alloc zeroed entry, and convert kmem_{zone_}zalloc to call kmem_{zone_}alloc() with KM_ZERO directly, in order to avoid the setting to zero step. Signed-off-by: Gu Zheng guz.f...@cn.fujitsu.com --- fs/xfs/kmem.c | 14 ++ fs/xfs/kmem.h |7

Re: [ANNOUNCE] Git v1.8.5-rc0

2013-11-01 Thread Duy Nguyen
On Thu, Oct 31, 2013 at 5:17 AM, Junio C Hamano gits...@pobox.com wrote: * Magic pathspecs like :(icase)makefile that matches both Makefile and makefile can be used in more places. :(glob)foo/**/bar is another nice thing that could be announced. -- Duy -- To unsubscribe from this list:

Re: [PATCHv2 6/8] ASoC: fsl: add SGTL5000 based audio machine driver.

2013-11-01 Thread Nicolin Chen
Hi Xiubo, On Fri, Nov 01, 2013 at 03:04:53PM +0800, Xiubo Li wrote: This is the SGTL5000 codec based audio driver supported with both playback and capture dai link implemention. This implementation is only compatible with device tree definition. Signed-off-by: Alison Wang

Re: [PATCHv2 6/8] ASoC: fsl: add SGTL5000 based audio machine driver.

2013-11-01 Thread Oskar Schirmer
Not that it would improve functionality, but: On Fri, Nov 01, 2013 at 15:04:53 +0800, Xiubo Li wrote: [...] diff --git a/sound/soc/fsl/fsl-sgtl5000-vf610.c b/sound/soc/fsl/fsl-sgtl5000-vf610.c new file mode 100644 index 000..f535b42 --- /dev/null +++

Re: [PATCH net-next RFC 0/5] xen-netback: TX grant mapping instead of copy

2013-11-01 Thread Ian Campbell
On Wed, 2013-10-30 at 00:50 +, Zoltan Kiss wrote: This patch series use SKBTX_DEV_ZEROCOPY flags to tell the stack it needs to know when the skb is freed up. Does this always avoid copying when bridging/openvswitching/forwarding (e.g. masquerading etc)? For both domU-domU and domU-physical

Re: [PATCH v4 2/4] perf stat: add event unit and scale support

2013-11-01 Thread Jiri Olsa
On Thu, Oct 31, 2013 at 03:59:40PM +0100, Stephane Eranian wrote: This patch adds perf stat support fo rhandling event units and scales as exported by the kernel. The kernel can export PMU events actual unit and scaling factor via sysfs: $ ls -1 /sys/devices/power/events/energy-*

Re: [PATCH] KVM: x86: fix emulation of movzbl %bpl, %eax

2013-11-01 Thread Gleb Natapov
On Thu, Oct 31, 2013 at 11:05:24PM +0100, Paolo Bonzini wrote: When I was looking at RHEL5.9's failure to start with unrestricted_guest=0/emulate_invalid_guest_state=1, I got it working with a slightly older tree than kvm.git. I now debugged the remaining failure, which was introduced by

Re: [PATCH -tip] fix race between stop_two_cpus and stop_cpus

2013-11-01 Thread Mel Gorman
On Thu, Oct 31, 2013 at 04:31:44PM -0400, Rik van Riel wrote: There is a race between stop_two_cpus, and the global stop_cpus. What was the trigger for this? I want to see what was missing from my own testing. I'm going to go out on a limb and guess that CPU hotplug was also running in the

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Paul E. McKenney
On Thu, Oct 31, 2013 at 11:59:21AM +0200, Victor Kaplansky wrote: Paul E. McKenney paul...@linux.vnet.ibm.com wrote on 10/31/2013 06:32:58 AM: If you want to play the omit memory barriers game, then proving a negative is in fact the task before you. Generally it is not fair. Otherwise,

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Paul E. McKenney
On Wed, Oct 30, 2013 at 12:25:26PM +0100, Peter Zijlstra wrote: On Wed, Oct 30, 2013 at 02:27:25AM -0700, Paul E. McKenney wrote: On Mon, Oct 28, 2013 at 10:58:58PM +0200, Victor Kaplansky wrote: Oleg Nesterov o...@redhat.com wrote on 10/28/2013 10:17:35 PM: mb(); //

Re: perf events ring buffer memory barrier on powerpc

2013-11-01 Thread Paul E. McKenney
On Wed, Oct 30, 2013 at 04:52:05PM +0200, Victor Kaplansky wrote: Peter Zijlstra pet...@infradead.org wrote on 10/30/2013 01:25:26 PM: Also, I'm not entirely sure on C, that too seems like a dependency, we simply cannot read the buffer @tail before we've read the tail itself, now can we?

Re: [PATCH v5 1/4] i2c: busses: i2c-st: Add ST I2C controller

2013-11-01 Thread Wolfram Sang
Hi, On Mon, Oct 14, 2013 at 02:46:49PM +0200, Maxime COQUELIN wrote: This patch adds support to SSC (Synchronous Serial Controller) I2C driver. This IP also supports SPI protocol, but this is not the aim of this driver. This IP is embedded in all ST SoCs for Set-top box platorms, and

[Suggestion] about latest commit for scripts/get_maintainers.pl

2013-11-01 Thread Chen Gang
Hello Joe: I meet a failure about scripts/get_maintainers.pl, it is about the commit 750432d get_maintainer.pl incomplete output, if use original scripts/get_maintainer.pl, it will be OK. Please help check, thanks. The related information: -information

[PATCH -tip v2 3/3] [BUGFIX] kprobes: Prohibit probing on func_ptr_is_kernel_text

2013-11-01 Thread Masami Hiramatsu
Prohibit probing on func_ptr_is_kernel_text(). Since the func_ptr_is_kernel_text() is called from notifier_call_chain() which is called from int3 handler, probing it may cause double int3 fault and kernel will reboot. This happenes when the kernel built with CONFIG_DEBUG_NOTIFIERS=y.

[PATCH -tip v2 2/3] [BUGFIX] kprobes/x86: Prohibit probing on debug_stack_*

2013-11-01 Thread Masami Hiramatsu
Prohibit probing on debug_stack_reset and debug_stack_set_zero. Since the both functions are called from TRACE_IRQS_ON/OFF_DEBUG macros which run in int3 ist entry, probing it may cause a soft lockup. This happens when the kernel built with CONFIG_DYNAMIC_FTRACE=y and CONFIG_TRACE_IRQFLAGS=y.

[PATCH -tip v2 1/3] kprobes: Introduce nokprobe annotation for non-probe-able functions

2013-11-01 Thread Masami Hiramatsu
Instead of __kprobes annotation, introduce 'nokprobe' new annotation to annotate that the function is not probed by kprobes. Previously the '__kprobes' is used just for avoiding probes on kprobes-related functions which will be used from kprobes. However nowadays we use it for prohibiting probing

[PATCH -tip v2 0/3] kprobes: introduce nokprobe and updating blacklist

2013-11-01 Thread Masami Hiramatsu
According to Ingo's suggestion, I've introduced 'nokprobe' new annotation as like as 'notrace' annotation, since __kprobes annotation is too confusing to mark non-kprobe able functions. I took 'nokprobe' instead of 'noprobe' since we already have irq_set_noprobe() etc. Also, I've found that

Re: kernel 3.11.6 general protection fault

2013-11-01 Thread Borislav Petkov
On Fri, Nov 01, 2013 at 10:18:49AM +0100, MPhil. Emanoil Kotsev wrote: On Thursday 31 October 2013 17:44:03 you wrote: Please do not top-post. Sorry for top posting No probs :). Btw, one more thing: when you reply, make sure you hit reply-to-all so that CC list remains intact. I tried

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-11-01 Thread Rafał Miłecki
2013/11/1 Anssi Hannula anssi.hann...@iki.fi: Both are working for me. I've tested it using 2 movies: 1) English TrueHD.5.1 @ 1417 kbps 2) Audio Codec: DTSHD-MA Bitrate..: 3718 kbps kHz/bit..: 24-bit Channels.: 5.1 Language.:

Re: [patch 3/6] Cleanup efi_enter_virtual_mode function

2013-11-01 Thread Borislav Petkov
On Fri, Nov 01, 2013 at 09:18:25AM +0800, Dave Young wrote: Great, thank you. BTW, I have managed to test original patch set on a Macboot Air of my friend with usb boot, it works ok. Ok, that's actually a very good news - the apples tend to be special wrt uefi implementation. --

Re: [PATCH v12] i2c: exynos5: add High Speed I2C controller driver

2013-11-01 Thread Wolfram Sang
On Wed, Oct 16, 2013 at 11:00:42AM +0530, Naveen Krishna Chatradhi wrote: Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. Driver only supports Device Tree method. Signed-off-by: Naveen Krishna Chatradhi ch.nav...@samsung.com Signed-off-by: Taekgyun Ko

[PATCH 1/8] lib/genalloc: add a helper function for DMA buffer allocation

2013-11-01 Thread Nicolin Chen
When using pool space for DMA buffer, there might be duplicated calling of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation. Thus it's better to add a simple helper function, a compatible one to the common dma_alloc_coherent(), to save some code. Signed-off-by: Nicolin Chen

[PATCH 0/8] Add and implement gen_pool_dma_alloc()

2013-11-01 Thread Nicolin Chen
Previously, we don't have a specific gen_pool_alloc() for DMA usage; Instead, we need to use gen_pool_virt_to_phys() to convert the addr returned from gen_pool_alloc(). So each implementation of this has duplicated code. Thus add new helper function -- gen_pool_dma_alloc(). After

Re: [PATCH -tip] fix race between stop_two_cpus and stop_cpus

2013-11-01 Thread Rik van Riel
On 11/01/2013 07:08 AM, Mel Gorman wrote: On Thu, Oct 31, 2013 at 04:31:44PM -0400, Rik van Riel wrote: There is a race between stop_two_cpus, and the global stop_cpus. What was the trigger for this? I want to see what was missing from my own testing. I'm going to go out on a limb and guess

[PATCH 5/8] uio: uio_pruss: use gen_pool_dma_alloc() to allocate sram memory

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- drivers/uio/uio_pruss.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c index

[PATCH 4/8] [media] coda: use gen_pool_dma_alloc() to allocate iram buffer

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- drivers/media/platform/coda.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c

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

2013-11-01 Thread Bjørn Mork
Oliver Neukum oneu...@suse.de writes: On Mon, 2013-09-30 at 04:50 +, Enrico Mioso wrote: +static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on) +{ +struct huawei_cdc_ncm_state *drvstate = (void *)usbnet_dev-data; +int rv = 0; + +if ((on

[PATCH 6/8] ALSA: memalloc: use gen_pool_dma_alloc() to allocate iram buffer

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- sound/core/memalloc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index 9d93f02..5e1c7bc

[PATCH 7/8] ASoC: davinci: use gen_pool_dma_alloc() in davinci-pcm.c

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- sound/soc/davinci/davinci-pcm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c

[PATCH 8/8] ASoC: pxa: use gen_pool_dma_alloc() to allocate dma buffer

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- sound/soc/pxa/mmp-pcm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 8235e23..7929e19

[PATCH 3/8] dma: mmp_tdma: use gen_pool_dma_alloc() to allocate descriptor

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- drivers/dma/mmp_tdma.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index 2b4026d..3ddacc1

[PATCH 2/8] ARM: davinci: use gen_pool_dma_alloc() to sram.c

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- arch/arm/mach-davinci/sram.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci/sram.c b/arch/arm/mach-davinci/sram.c

Re: [PATCH -tip] fix race between stop_two_cpus and stop_cpus

2013-11-01 Thread Prarit Bhargava
On 11/01/2013 07:08 AM, Mel Gorman wrote: On Thu, Oct 31, 2013 at 04:31:44PM -0400, Rik van Riel wrote: There is a race between stop_two_cpus, and the global stop_cpus. What was the trigger for this? I want to see what was missing from my own testing. I'm going to go out on a limb and

Re: [PATCH v10 00/20] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-11-01 Thread Joerg Roedel
On Mon, Oct 07, 2013 at 10:52:12AM +0900, Cho KyongHo wrote: Patch summary: [PATCH 01/20] iommu/exynos: do not include removed header [PATCH 02/20] iommu/exynos: add missing cache flush for removed page table entries [PATCH 03/20] iommu/exynos: change error handling when page table update is

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Yuanhan Liu
On Fri, Nov 01, 2013 at 11:15:14AM +0100, Peter Zijlstra wrote: On Fri, Nov 01, 2013 at 06:07:07PM +0800, Yuanhan Liu wrote: I also want to point out that lately we've seen several changes sent out that relax locking with no accompanying explanation of why the relaxed locking would be

Re: [PATCH v2] efifb: prevent null-deref when iterating dmi_list

2013-11-01 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:17 Thu 31 Oct , David Herrmann wrote: Hi On Thu, Oct 31, 2013 at 11:45 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 18:40 Wed 02 Oct , David Herrmann wrote: The dmi_list array is initialized using gnu designated initializers, and therefore may

[PATCH][RESEND 0/8] Add and implement gen_pool_dma_alloc()

2013-11-01 Thread Nicolin Chen
Previously, we don't have a specific gen_pool_alloc() for DMA usage; Instead, we need to use gen_pool_virt_to_phys() to convert the addr returned from gen_pool_alloc(). So each implementation of this has duplicated code. Thus add new helper function -- gen_pool_dma_alloc(). After

[PATCH][RESEND 1/8] lib/genalloc: add a helper function for DMA buffer allocation

2013-11-01 Thread Nicolin Chen
When using pool space for DMA buffer, there might be duplicated calling of gen_pool_alloc() and gen_pool_virt_to_phys() in each implementation. Thus it's better to add a simple helper function, a compatible one to the common dma_alloc_coherent(), to save some code. Signed-off-by: Nicolin Chen

[PATCH][RESEND 2/8] ARM: davinci: use gen_pool_dma_alloc() to sram.c

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- arch/arm/mach-davinci/sram.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/arch/arm/mach-davinci/sram.c b/arch/arm/mach-davinci/sram.c

[PATCH][RESEND 3/8] dma: mmp_tdma: use gen_pool_dma_alloc() to allocate descriptor

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- drivers/dma/mmp_tdma.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/dma/mmp_tdma.c b/drivers/dma/mmp_tdma.c index 2b4026d..3ddacc1

[PATCH][RESEND 5/8] uio: uio_pruss: use gen_pool_dma_alloc() to allocate sram memory

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- drivers/uio/uio_pruss.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/uio/uio_pruss.c b/drivers/uio/uio_pruss.c index

[PATCH][RESEND 7/8] ASoC: davinci: use gen_pool_dma_alloc() in davinci-pcm.c

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- sound/soc/davinci/davinci-pcm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/davinci/davinci-pcm.c b/sound/soc/davinci/davinci-pcm.c

[PATCH][RESEND 8/8] ASoC: pxa: use gen_pool_dma_alloc() to allocate dma buffer

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- sound/soc/pxa/mmp-pcm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c index 8235e23..7929e19

[PATCH][RESEND 6/8] ALSA: memalloc: use gen_pool_dma_alloc() to allocate iram buffer

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- sound/core/memalloc.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c index 9d93f02..5e1c7bc

[PATCH][RESEND 4/8] [media] coda: use gen_pool_dma_alloc() to allocate iram buffer

2013-11-01 Thread Nicolin Chen
Since gen_pool_dma_alloc() is introduced, we implement it to simplify code. Signed-off-by: Nicolin Chen b42...@freescale.com --- drivers/media/platform/coda.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/media/platform/coda.c b/drivers/media/platform/coda.c

Re: [PATCH] vfio, iommu: Fixed interaction of VFIO_IOMMU_MAP_DMA with IOMMU address limits

2013-11-01 Thread Joerg Roedel
On Wed, Oct 09, 2013 at 10:03:52AM +0200, Julian Stecklina wrote: The BUG_ON in drivers/iommu/intel-iommu.c:785 can be triggered from userspace via VFIO by calling the VFIO_IOMMU_MAP_DMA ioctl on a vfio device with any address beyond the addressing capabilities of the IOMMU. The problem is

Re: [PATCH 01/14] perf tools: Consolidate __hists__add_*entry()

2013-11-01 Thread Jiri Olsa
On Thu, Oct 31, 2013 at 03:56:03PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The __hists__add_{branch,mem}_entry() did almost same thing that __hists__add_entry() does. Consolidate them into one. Cc: Jiri Olsa jo...@redhat.com Acked-by: Jiri Olsa jo...@redhat.com

Re: RFE?: why no 'bind' info in /proc/mounts?

2013-11-01 Thread Karel Zak
On Fri, Nov 01, 2013 at 01:49:08AM -0700, Linda Walsh wrote: Ah... didn't know about the other format file... thanks! Or use more user friendly findmnt(8) command: # mount --bind /usr/local/bin /mnt/test # findmnt /mnt/test TARGETSOURCEFSTYPE OPTIONS

Re: [PATCHv2 6/8] ASoC: fsl: add SGTL5000 based audio machine driver.

2013-11-01 Thread Shawn Guo
On Fri, Nov 01, 2013 at 06:28:05PM +0800, Nicolin Chen wrote: sound/soc/fsl/fsl-sgtl5000-vf610.c | 208 + I just doubt if this file naming is appropriate. Even if we might not have rigor rule for the file names, according to existing ones, they are all

Re: [PATCH 1/4] mm/rmap: per anon_vma lock

2013-11-01 Thread Peter Zijlstra
On Fri, Nov 01, 2013 at 07:44:29PM +0800, Yuanhan Liu wrote: commit 012f18004da33ba672e3c60838cc4898126174d3 Author: Rik van Riel r...@redhat.com Date: Mon Aug 9 17:18:40 2010 -0700 mm: always lock the root (oldest) anon_vma Always (and only) lock the root (oldest) anon_vma

Re: [PATCH 02/14] perf tools: Introduce struct add_entry_iter

2013-11-01 Thread Jiri Olsa
On Thu, Oct 31, 2013 at 03:56:04PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com SNIP + +static int +perf_evsel__add_entry(struct perf_evsel *evsel, struct addr_location *al, + struct perf_sample *sample, struct machine *machine, +

Re: [PATCH -tip] fix race between stop_two_cpus and stop_cpus

2013-11-01 Thread Prarit Bhargava
On 11/01/2013 07:36 AM, Rik van Riel wrote: On 11/01/2013 07:08 AM, Mel Gorman wrote: On Thu, Oct 31, 2013 at 04:31:44PM -0400, Rik van Riel wrote: There is a race between stop_two_cpus, and the global stop_cpus. What was the trigger for this? I want to see what was missing from my own

Re: [PATCH v2] efifb: prevent null-deref when iterating dmi_list

2013-11-01 Thread David Herrmann
Hi On Fri, Nov 1, 2013 at 12:10 PM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 17:17 Thu 31 Oct , David Herrmann wrote: Hi On Thu, Oct 31, 2013 at 11:45 AM, Jean-Christophe PLAGNIOL-VILLARD plagn...@jcrosoft.com wrote: On 18:40 Wed 02 Oct , David Herrmann

Re: [PATCH 02/14] perf tools: Introduce struct add_entry_iter

2013-11-01 Thread Jiri Olsa
On Thu, Oct 31, 2013 at 03:56:04PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com SNIP +} + +static int +iter_add_next_nop_entry(struct add_entry_iter *iter __maybe_unused, + struct addr_location *al __maybe_unused) +{ + return 0; +} +

Re: [PATCH 1/4] ALSA: hda - hdmi: Add ATI/AMD multi-channel audio support

2013-11-01 Thread Anssi Hannula
01.11.2013 13:29, Rafał Miłecki kirjoitti: 2013/11/1 Anssi Hannula anssi.hann...@iki.fi: Both are working for me. I've tested it using 2 movies: 1) English TrueHD.5.1 @ 1417 kbps 2) Audio Codec: DTSHD-MA Bitrate..: 3718 kbps kHz/bit..: 24-bit

[PATCH v3] ASoC: Add pinctrl PM to components of active DAIs

2013-11-01 Thread Nicolin Chen
It's quite popular that more drivers are using pinctrl PM, for example: (Documentation/devicetree/bindings/arm/primecell.txt). Just like what runtime PM does, it would de-active and en-active pin group depending on whether it's being used or not. And this pinctrl PM might be also beneficial to

Re: [PATCH 08/14] perf report: Cache cumulative callchains

2013-11-01 Thread Jiri Olsa
On Thu, Oct 31, 2013 at 03:56:10PM +0900, Namhyung Kim wrote: SNIP * double accounting. @@ -501,8 +528,29 @@ iter_add_next_cumulative_entry(struct add_entry_iter *iter, { struct perf_evsel *evsel = iter-evsel; struct perf_sample *sample = iter-sample; + struct

[PATCH] Staging: comedi: fix coding style issues in unioxx5.c

2013-11-01 Thread Conrad Gomes
This is a patch which fixes coding style issues in unioxx5.c found by checkpatch.pl 1) Replaced printk with pr_info and pr_err 2) Reinitialized n_subd before for loop to fix over 80 character warning 3) Reworded comment to fix 80 character warning Signed-off-by: Conrad Gomes

Re: [PATCH] vexpress: remove declaration of vexpress_clk_of_init()

2013-11-01 Thread Pawel Moll
On Tue, 2013-10-29 at 03:40 +, Kefeng Wang wrote: After commit:6e973d2c(clk: vexpress: Add separate SP810 driver), vexpress_clk_of_init() is unnecessary and removed, so kill it. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- include/linux/vexpress.h | 1 - 1 file changed, 1

VT-d and x2apic: broken resume after suspend to ram

2013-11-01 Thread Peter Senna Tschudin
I have one notebook that is failing to resume after suspend to ram. I've filled a bug report back on the 2.6.41 days: https://bugzilla.redhat.com/show_bug.cgi?id=787299 The issue is that trying to resume after suspending to ram freezes the computer. The resume starts well, but then it hangs.

Re: [PATCH v10 00/20] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2013-11-01 Thread Cho KyongHo
On Fri, 01 Nov 2013 12:42:24 +0100, Joerg Roedel wrote: On Mon, Oct 07, 2013 at 10:52:12AM +0900, Cho KyongHo wrote: Patch summary: [PATCH 01/20] iommu/exynos: do not include removed header [PATCH 02/20] iommu/exynos: add missing cache flush for removed page table entries [PATCH 03/20]

Re: mei: cancel stall timers in mei_reset

2013-11-01 Thread Eugene Shatokhin
Hi, In case my previous mail went to /dev/null, it is all about the flood of error messages in the system log, like these: mei_me :00:16.0: reset: wrong host start response mei_me :00:16.0: unexpected reset: dev_state = INIT_CLIENTS mei_me :00:16.0: reset: unexpected enumeration

Re: [RESEND PATCH 1/4] i2c: i2c-bcm-kona: Introduce Broadcom I2C Driver

2013-11-01 Thread Wolfram Sang
On Wed, Oct 16, 2013 at 03:01:46PM -0700, Tim Kryger wrote: Introduce support for Broadcom Serial Controller (BSC) I2C bus found in the Kona family of Mobile SoCs. FIFO hardware is utilized but only standard mode (100kHz), fast mode (400kHz), and fast mode plus (1MHz) bus speeds are

Re: [PATCH 10/11] EFI: Runtime services virtual mapping

2013-11-01 Thread Matt Fleming
On Fri, 01 Nov, at 11:35:08AM, Dave Young wrote: The conflict is caused by missing one commit in matt's efi next tree: commit 700870119f49084da004ab588ea2b799689efaf7 Author: Josh Boyer jwbo...@redhat.com Date: Thu Apr 18 07:51:34 2013 -0700 x86, efi: Don't map Boot Services

Re: [PATCH 07/14] perf tools: Update cpumode for each cumulative entry

2013-11-01 Thread Jiri Olsa
On Thu, Oct 31, 2013 at 03:56:09PM +0900, Namhyung Kim wrote: From: Namhyung Kim namhyung@lge.com The cpumode and level in struct addr_localtion was set for a sample and but updated as cumulative callchains were added. This led to have non-matching symbol and cpumode in the output.

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