Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Baoquan He
Hi both, Thanks for your patches. I tried to test your patches, first the 2nd one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and test Cong's patch, it failed to happen again. I remember this bug happened randomly at the very beginning, just after kernel compiling it

Re: [Intel-gfx] [PATCH 0/2] vgaarb: Fixes for partial VGA opt-out

2013-09-02 Thread Daniel Vetter
On Fri, Aug 30, 2013 at 03:41:19PM +0300, Ville Syrjälä wrote: On Thu, Aug 15, 2013 at 04:37:47PM -0600, Alex Williamson wrote: I'm trying to add support for VGA arbitration on newer Intel graphics devices. The existing code attempts to do this, but appear to have not been updated since

Re: [PATCH] batman: Remove reference to compare_ether_addr

2013-09-02 Thread Antonio Quartulli
On Sun, Sep 01, 2013 at 03:45:08PM -0700, Joe Perches wrote: This function is being removed, rename the reference. Signed-off-by: Joe Perches j...@perches.com Acked-by: Antonio Quartulli or...@autistici.org Thanks a lot Joe -- Antonio Quartulli ..each of us alone is worth nothing..

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

2013-09-02 Thread Yasuaki Ishimatsu
(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 gargank...@gmail.com Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com ---

Re: [Intel-gfx] [PATCH v3] i915: Update VGA arbiter support for newer devices

2013-09-02 Thread Daniel Vetter
On Fri, Aug 30, 2013 at 03:43:05PM +0300, Ville Syrjälä wrote: On Wed, Aug 28, 2013 at 09:39:08AM -0600, Alex Williamson wrote: This is intended to add VGA arbiter support for Intel HD graphics on Core processors. The old GMCH registers no longer exist, so even though it appears that i915

Re: UEFI Plugfest 2013 -- New Orleans

2013-09-02 Thread Matt Fleming
On Mon, 19 Aug, at 09:09:54PM, David Woodhouse wrote: 3. Even if we can't *remove* the code, sometimes we can disable it at runtime if we detect the BIOS is new enough that it shouldn't be broken. Yes, this is definitely something we should be looking to implement. It seems likely to me that

Question regarding list_for_each_entry_safe usage in move_one_task

2013-09-02 Thread Lei Wen
Hi Peter, I find one list API usage may not be correct in current fair.c code. In move_one_task function, it may iterate through whole cfs_tasks list to get one task to move. But in dequeue_task(), it would delete one task node from list without the lock protection. So that we could see from

Re: [PATCH V2 2/6] vhost_net: use vhost_add_used_and_signal_n() in vhost_zerocopy_signal_used()

2013-09-02 Thread Jason Wang
On 09/02/2013 01:50 PM, Michael S. Tsirkin wrote: On Fri, Aug 30, 2013 at 12:29:18PM +0800, Jason Wang wrote: We tend to batch the used adding and signaling in vhost_zerocopy_callback() which may result more than 100 used buffers to be updated in vhost_zerocopy_signal_used() in some cases.

Re: [PATCH V2 1/6] vhost_net: make vhost_zerocopy_signal_used() returns void

2013-09-02 Thread Jason Wang
On 09/02/2013 01:51 PM, Michael S. Tsirkin wrote: tweak subj s/returns/return/ On Fri, Aug 30, 2013 at 12:29:17PM +0800, Jason Wang wrote: None of its caller use its return value, so let it return void. Signed-off-by: Jason Wang jasow...@redhat.com --- Will correct it in v3. -- To

Re: [PATCH V2 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
On 09/02/2013 01:56 PM, Michael S. Tsirkin wrote: On Fri, Aug 30, 2013 at 12:29:22PM +0800, Jason Wang wrote: As Michael point out, We used to limit the max pending DMAs to get better cache utilization. But it was not done correctly since it was one done when there's no new buffers

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

2013-09-02 Thread Zhi Yong Wu
In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wal...@google.com wrote: On Fri, Aug 23, 2013 at 7:45 AM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu wu...@linux.vnet.ibm.com --- include/linux/rbtree_augmented.h | 3 ++-

Re: [PATCH v4 1/3] sched: Reduce overestimating rq-avg_idle

2013-09-02 Thread Srikar Dronamraju
* Jason Low jason.l...@hp.com [2013-08-29 13:05:34]: When updating avg_idle, if the delta exceeds some max value, then avg_idle gets set to the max, regardless of what the previous avg was. This can cause avg_idle to often be overestimated. This patch modifies the way we update avg_idle by

Re: [PATCH] rtl8187: fix use after free on failure path in rtl8187_init_urbs()

2013-09-02 Thread Hin-Tak Leung
-- On Mon, Sep 2, 2013 05:06 BST Alexey Khoroshilov wrote: On 01.09.2013 10:51, Hin-Tak Leung wrote: -- On Sat, Aug 31, 2013 22:18 BST Alexey Khoroshilov wrote: In case of __dev_alloc_skb() failure rtl8187_init_urbs() calls

Re: [PATCH v3 0/3] cleanup of gpio_pcf857x.c

2013-09-02 Thread Kuninori Morimoto
Hi Sorry for my many response. This patch series - removes the irq_demux_work - Uses devm_request_threaded_irq - Call the user handler iff gpio_to_irq is done. v1 -- v2 Split v1 to 3 patches v2 -- v3 Remove the unnecessary dts patches. George

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

2013-09-02 Thread Ingo Molnar
One thing I'm not seeing in the current Haswell code is the config set up for PERF_COUNT_HW_STALLED_CYCLES_FRONTEND/BACKEND. Both SB and IB has them configured. Thanks, Ingo -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [PATCH v4 2/3] sched: Consider max cost of idle balance per sched domain

2013-09-02 Thread Srikar Dronamraju
* Jason Low jason.l...@hp.com [2013-08-29 13:05:35]: + u64 curr_cost = 0; this_rq-idle_stamp = rq_clock(this_rq); - if (this_rq-avg_idle sysctl_sched_migration_cost) + if (this_rq-avg_idle this_rq-max_idle_balance_cost) return; Since

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: Hi both, Thanks for your patches. I tried to test your patches, first the 2nd one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and test Cong's patch, it failed to happen again. I remember this bug happened randomly at the very

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-09-02 Thread Xiao Guangrong
On 08/30/2013 07:38 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 07:26:40PM +0800, Xiao Guangrong wrote: On 08/29/2013 05:51 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 05:31:42PM +0800, Xiao Guangrong wrote: As Documentation/RCU/whatisRCU.txt says: As with

Re: [PATCH 00/18] ARM: s3c64xx: Let amba-pl08x driver handle DMA

2013-09-02 Thread Vinod Koul
On Sun, Aug 11, 2013 at 07:59:12PM +0200, Tomasz Figa wrote: This is first non-RFC version of my patches extending support of amba-pl08x DMA engine driver to PL080S DMA engine (PL080 modified by Samsung) found in Samsung S3C64xx SoCs. Due to changes scattered across different areas of

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

2013-09-02 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Sep 1, 2013 at 5:12 PM, Linus Torvalds torva...@linux-foundation.org wrote: It *is* one of the few locked accesses remaining, and it's clearly getting called a lot (three calls per system call: two mntput's - one for the

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

2013-09-02 Thread Lu Jingchang-B35083
-Original Message- From: Vinod Koul [mailto:vinod.k...@intel.com] Sent: Monday, September 02, 2013 12:51 PM To: Lu Jingchang-B35083 Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- ker...@lists.infradead.org; devicet...@vger.kernel.org Subject: Re: [PATCH v4 3/3]

Re: [PATCH 2/2] x86, apic: Disable BSP if boot cpu is AP

2013-09-02 Thread Borislav Petkov
On Mon, Sep 02, 2013 at 11:32:59AM +0900, HATAYAMA Daisuke wrote: As you suggest, boot_cpu seems more understandable also to me. BTW, please notice that it doesn't denote that the CPU we're booting on currently, but that the CPU with BSP flag set. Hmm, by BSP flag set you mean it is the first

Re: [RFC,v3] Add a driver for the Somagic smi2021 chip

2013-09-02 Thread Jon Arne Jørgensen
On Mon, Sep 02, 2013 at 03:50:14AM +0800, Wang Shilong wrote: Hi, Hello, Using checkpatch.pl, i get the following warnings(errors): WARNING: Avoid CamelCase: udev-descriptor.idProduct #1766: FILE: drivers/media/usb/smi2021/smi2021_main.c:790: + if (udev-descriptor.idProduct ==

Re: [PATCH] dma: imx-sdma: Staticize sdma_driver_data structures

2013-09-02 Thread Vinod Koul
On Sun, Sep 01, 2013 at 09:57:12PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Sparse report the following warnings: drivers/dma/imx-sdma.c:330:25: warning: symbol 'sdma_imx31' was not declared. Should it be static? drivers/dma/imx-sdma.c:351:25: warning:

Re: [PATCH] pch_dma: Add MODULE_DEVICE_TABLE

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 12:02:06AM +0100, Ben Hutchings wrote: pch_dma currently isn't auto-loaded if built as a module. Applied, thanks ~Vinod signature.asc Description: Digital signature

Re: [PATCH v3 0/3] cleanup of gpio_pcf857x.c

2013-09-02 Thread George Cherian
On 9/2/2013 12:25 PM, Kuninori Morimoto wrote: Hi Sorry for my many response. No Issues. and thanks for the review. This patch series - removes the irq_demux_work - Uses devm_request_threaded_irq - Call the user handler iff gpio_to_irq is done. v1 -- v2

Re: [PATCH 1/2] dma: sh: use devm_ioremap_resource() instead of devm_request_and_ioremap()

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 10:23:15AM +0900, Jingoo Han wrote: Use devm_ioremap_resource() because devm_request_and_ioremap() is obsoleted by devm_ioremap_resource(). Applied both, Thanks ~Vinod -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

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

2013-09-02 Thread Vinod Koul
On Mon, Sep 02, 2013 at 07:10:53AM +, Lu Jingchang-B35083 wrote: -Original Message- From: Vinod Koul [mailto:vinod.k...@intel.com] Sent: Monday, September 02, 2013 12:51 PM To: Lu Jingchang-B35083 Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm-

Re: [PATCH v4 1/5] ARM: add basic Trusted Foundations support

2013-09-02 Thread Alexandre Courbot
Hi Tomasz! On Fri, Aug 30, 2013 at 5:20 PM, Tomasz Figa tomasz.f...@gmail.com wrote: +Required properties: +- compatible : tl,trusted-foundations +- version-major : major version number of Trusted Foundations firmware +- version-minor: minor version number of Trusted Foundations firmware

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

2013-09-02 Thread Lu Jingchang-B35083
-Original Message- From: Vinod Koul [mailto:vinod.k...@intel.com] Sent: Monday, September 02, 2013 2:37 PM To: Lu Jingchang-B35083 Cc: shawn@linaro.org; linux-kernel@vger.kernel.org; linux-arm- ker...@lists.infradead.org; devicet...@vger.kernel.org Subject: Re: [PATCH v4 3/3]

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-09-02 Thread Matt Fleming
On Fri, 23 Aug, at 03:40:04PM, Roy Franz wrote: Hi Matt, Do you have a tree I can monitor to see if you have taken this? Would you like me to split out the x86/common only changes into a separate series from the ARM changes? I've just returned from my honeymoon. I'll reply to your emails

[tip:sched/core] sched/fair: Optimize find_busiest_queue()

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 6906a40839198f33dbb56d20e644c01e00663952 Gitweb: http://git.kernel.org/tip/6906a40839198f33dbb56d20e644c01e00663952 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Mon, 19 Aug 2013 15:20:21 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched/fair: Make group power more consistent

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 3ae11c90fd055ba1b1b03a014f851b395bdd26ff Gitweb: http://git.kernel.org/tip/3ae11c90fd055ba1b1b03a014f851b395bdd26ff Author: Peter Zijlstra pet...@infradead.org AuthorDate: Thu, 15 Aug 2013 20:37:48 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched/fair: Remove duplicate load_per_task computations

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 38d0f7708543bcfa03d5ee55e8346f801b4a59c9 Gitweb: http://git.kernel.org/tip/38d0f7708543bcfa03d5ee55e8346f801b4a59c9 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Thu, 15 Aug 2013 19:47:56 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched/fair: Rework and comment the group_imb code

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 30ce5dabc92b5a349a7d9e9cf499494d230e0691 Gitweb: http://git.kernel.org/tip/30ce5dabc92b5a349a7d9e9cf499494d230e0691 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Thu, 15 Aug 2013 20:29:29 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched: Clean-up struct sd_lb_stat

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 56cf515b4b1567c4e8fa9926175b40c66b9ec472 Gitweb: http://git.kernel.org/tip/56cf515b4b1567c4e8fa9926175b40c66b9ec472 Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 6 Aug 2013 17:36:43 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched/fair: Fix the sd_parent_degenerate() code

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 10866e62e8a6907d9072f10f9a0561db0c0cf50b Gitweb: http://git.kernel.org/tip/10866e62e8a6907d9072f10f9a0561db0c0cf50b Author: Peter Zijlstra pet...@infradead.org AuthorDate: Mon, 19 Aug 2013 16:57:04 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:perf/urgent] perf: Prevent race in unthrottling code

2013-09-02 Thread tip-bot for Jiri Olsa
Commit-ID: ae23bff1d71f8b416ed740bc458df67355c77c92 Gitweb: http://git.kernel.org/tip/ae23bff1d71f8b416ed740bc458df67355c77c92 Author: Jiri Olsa jo...@redhat.com AuthorDate: Sat, 24 Aug 2013 16:45:54 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013 08:13:24 +0200

[tip:perf/core] perf: Add attr-mmap2 attribute to an event

2013-09-02 Thread tip-bot for Stephane Eranian
Commit-ID: 13d7a2410fa637f450a29ecb515ac318ee40c741 Gitweb: http://git.kernel.org/tip/13d7a2410fa637f450a29ecb515ac318ee40c741 Author: Stephane Eranian eran...@google.com AuthorDate: Wed, 21 Aug 2013 12:10:24 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:perf/core] perf/x86: Add Silvermont (22nm Atom) support

2013-09-02 Thread tip-bot for Yan, Zheng
Commit-ID: 1fa64180fbf7a33b7a30636a2f174a5cad68d48f Gitweb: http://git.kernel.org/tip/1fa64180fbf7a33b7a30636a2f174a5cad68d48f Author: Yan, Zheng zheng.z@intel.com AuthorDate: Thu, 18 Jul 2013 17:02:24 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013 08:42:47

[tip:perf/core] perf: Convert kmalloc_node(...GFP_ZERO...) to kzalloc_node()

2013-09-02 Thread tip-bot for Joe Perches
Commit-ID: 7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818 Gitweb: http://git.kernel.org/tip/7bfb7e6bdd906f11ee9e751b3fec4f4fc728e818 Author: Joe Perches j...@perches.com AuthorDate: Thu, 29 Aug 2013 13:59:17 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013 08:42:49

[tip:perf/core] perf/x86: use INTEL_UEVENT_EXTRA_REG to define MSR_OFFCORE_RSP_X

2013-09-02 Thread tip-bot for Yan, Zheng
Commit-ID: 53ad0447208d3f5897f673ca0b16c776583eedba Gitweb: http://git.kernel.org/tip/53ad0447208d3f5897f673ca0b16c776583eedba Author: Yan, Zheng zheng.z@intel.com AuthorDate: Thu, 18 Jul 2013 17:02:23 +0800 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013 08:42:47

[tip:perf/core] perf: Export struct perf_branch_entry to userspace

2013-09-02 Thread tip-bot for Vince Weaver
Commit-ID: 274481de6cb69abdb49403ff32abb63c23743413 Gitweb: http://git.kernel.org/tip/274481de6cb69abdb49403ff32abb63c23743413 Author: Vince Weaver vincent.wea...@maine.edu AuthorDate: Fri, 23 Aug 2013 15:51:03 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched: Factor out code to should_we_balance()

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 23f0d2093c789e612185180c468fa09063834e87 Gitweb: http://git.kernel.org/tip/23f0d2093c789e612185180c468fa09063834e87 Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 6 Aug 2013 17:36:42 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched/fair: Shrink sg_lb_stats and play memset games

2013-09-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 147c5fc2bad780d8093b547f2baa204e78107faf Gitweb: http://git.kernel.org/tip/147c5fc2bad780d8093b547f2baa204e78107faf Author: Peter Zijlstra pet...@infradead.org AuthorDate: Mon, 19 Aug 2013 15:22:57 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

[tip:sched/core] sched: Remove one division operation in find_busiest_queue()

2013-09-02 Thread tip-bot for Joonsoo Kim
Commit-ID: 95a79b805b935f4a7b685aa8a117d916c638323e Gitweb: http://git.kernel.org/tip/95a79b805b935f4a7b685aa8a117d916c638323e Author: Joonsoo Kim iamjoonsoo@lge.com AuthorDate: Tue, 6 Aug 2013 17:36:41 +0900 Committer: Ingo Molnar mi...@kernel.org CommitDate: Mon, 2 Sep 2013

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Ding Tianhong
On 2013/9/2 14:06, Baoquan He wrote: Hi both, Thanks for your patches. I tried to test your patches, first the 2nd one, namely Hillf's patch, it's OK. Then when I wanted to reproduce and test Cong's patch, it failed to happen again. I remember this bug happened randomly at the very

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Adrian Hunter
On 01/09/13 13:36, Jiri Olsa wrote: split event data into multiple files based on the file size or time delta specified as an argument to the option. Adding multi file '-M' option for record command to store output perf.data into multiple files based on the size threshold. The threshold

[PATCH] drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()

2013-09-02 Thread Chen Gang
bmp085_get_of_properties() is called by bmp085_init_client() which is called by bmp085_probe() which is an EXPORT_SYMBOL_GPL function. bmp085_probe() is really used as a probe function by another modules (e.g. bmp085-i2c.c, bmp085-spi.c). Except bmp085_get_of_properties(), all functions have no

Re: [PATCH] drivers: misc: bmp085: remove '__init' from mp085_get_of_properties()

2013-09-02 Thread Chen Gang
It seems the ./scripts/get_maintainer.pl is not quite precise, it lead me to send this mail to kernel mailing list, not to drivers related mailing list. [root@gchenlinux linux-next]# ./scripts/get_maintainer.pl /tmp/0001-drivers-misc-bmp085-remove-__init-from-mp085_get_of_.patch Arnd

Re: [PATCHv6 1/2] ARM: sunxi: Initial support for Allwinner's Security ID fuses

2013-09-02 Thread Maxime Ripard
Hi Oliver, On Sun, Sep 01, 2013 at 01:30:18PM +0200, oliver+l...@schinagl.nl wrote: From: Oliver Schinagl oli...@schinagl.nl Allwinner has electric fuses (efuse) on their line of chips. This driver reads those fuses, seeds the kernel entropy and exports them as a sysfs node. These fuses

[PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sachin Kamat
kfree on a NULL pointer is a no-op. Null pointer check is not necessary. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Sascha Hauer s.ha...@pengutronix.de --- drivers/dma/imx-dma.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/imx-dma.c

Re: [RFC PATCH 02/14] drivers: thermal: introduce device tree parser

2013-09-02 Thread Wei Ni
On 08/30/2013 07:19 AM, Eduardo Valentin wrote: * PGP Signed: 08/29/2013 at 04:19:46 PM Mark, Pawel and Stephen, On 27-08-2013 14:17, Eduardo Valentin wrote: On 27-08-2013 12:23, Mark Rutland wrote: On Tue, Aug 27, 2013 at 02:44:40PM +0100, Eduardo Valentin wrote: Hello Mark, cut

Re: [PATCH 1/4] mfd: add STw481x driver

2013-09-02 Thread Lee Jones
Hi Linus, This adds a driver for the STw481x PMICs found in the Nomadik family of platforms. This one uses pure device tree probing. Print some of the OTP registers on boot and register a regulator MFD child. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- Hi Sam, I'm seeking

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Lee Jones
On Sat, 31 Aug 2013, Mark Brown wrote: From: Mark Brown broo...@linaro.org Rather then open coding a cache of the vibra control registers use the regmap cache code. Also cache the interrupt mask register, providing a small performance improvement for the interrupt code. Signed-off-by:

Re: [PATCH 1/1] dma: imx-dma: Remove redundant NULL check

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 01:21:18PM +0530, Sachin Kamat wrote: kfree on a NULL pointer is a no-op. Null pointer check is not necessary. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Sascha Hauer s.ha...@pengutronix.de Acked-by: Sascha Hauer s.ha...@pengutronix.de Sascha ---

Re: [edk2] Corrupted EFI region

2013-09-02 Thread Matt Fleming
On Thu, 08 Aug, at 06:46:02AM, Andrew Fish wrote: On Aug 8, 2013, at 3:17 AM, Matt Fleming m...@console-pimps.org wrote: On Wed, 07 Aug, at 02:10:28PM, Andrew Fish wrote: Well the issue I see is I don't think OS X or Windows are doing this. So I'm guessing there is some unique thing

Re: [PATCH v3] imx-drm: Fix probe failure

2013-09-02 Thread Sascha Hauer
On Fri, Aug 30, 2013 at 02:53:12PM -0300, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Since commit b5dc0d10 (drm/imx: kill firstopen callback) the following probe failure is seen: [drm] Supports vblank timestamp caching Rev 1 (10.10.2010). [drm] No driver support

Re: perf_event: rdpmc self-monitoring overhead issue

2013-09-02 Thread Stephane Eranian
On Mon, Sep 2, 2013 at 4:50 AM, Andi Kleen a...@firstfloor.org wrote: Stephane Eranian eran...@googlemail.com writes: I don't see a flag in mmap() to fault it in immediately. MAP_PRESENT I could not find this constant defined anywhere in the kernel source tree nor in /usr/include. Are you

Re: 3.11-rc7:BUG: soft lockup

2013-09-02 Thread Baoquan He
Hi Tianhong, I applied your patch and execute below cmd. Then keyboard inputting problems happened, I can't enter user/password correctly, then reboot again, it's OK now. The original bug still can't be reproduced. make SUBDIRS=net/bridge/netfilter/ cp /net/bridge/netfilter/ebtables.ko

linux-next: build warning after merge of the scsi tree

2013-09-02 Thread Stephen Rothwell
Hi James, After merging the scsi tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/scsi/ufs/ufshcd.c: In function 'ufshcd_eh_host_reset_handler': drivers/scsi/ufs/ufshcd.c:2740:3: warning: 'flush_work_sync' is deprecated (declared at

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Samuel Ortiz
Hi Lee, On Mon, Sep 02, 2013 at 09:17:59AM +0100, Lee Jones wrote: On Sat, 31 Aug 2013, Mark Brown wrote: From: Mark Brown broo...@linaro.org Rather then open coding a cache of the vibra control registers use the regmap cache code. Also cache the interrupt mask register, providing

[PATCH 2/2] dma: ste_dma40: Fix potential null pointer dereference

2013-09-02 Thread Sachin Kamat
kcalloc can return NULL. Check the pointer before dereferencing. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/dma/ste_dma40.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index df0a606..82d2b97 100644 ---

[PATCH 1/2] dma: ste_dma40: Remove duplicate const

2013-09-02 Thread Sachin Kamat
'const' was added twice. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/dma/ste_dma40.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c index 7bbcabb..df0a606 100644 --- a/drivers/dma/ste_dma40.c +++

Re: [PATCH V2 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
On 09/02/2013 02:30 PM, Jason Wang wrote: On 09/02/2013 01:56 PM, Michael S. Tsirkin wrote: On Fri, Aug 30, 2013 at 12:29:22PM +0800, Jason Wang wrote: As Michael point out, We used to limit the max pending DMAs to get better cache utilization. But it was not done correctly since it was

[PATCH] drivers: uio: mf624_disable_interrupt() can be static

2013-09-02 Thread Rostislav Lisovy
From: Fengguang Wu fengguang...@intel.com Signed-off-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Rostislav Lisovy lis...@gmail.com --- drivers/uio/uio_mf624.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uio/uio_mf624.c b/drivers/uio/uio_mf624.c

Re: [PATCH 24/25] perf tools: Add multi file '-M' option for record command

2013-09-02 Thread Jiri Olsa
On Mon, Sep 02, 2013 at 10:52:46AM +0300, Adrian Hunter wrote: On 01/09/13 13:36, Jiri Olsa wrote: split event data into multiple files based on the file size or time delta specified as an argument to the option. Adding multi file '-M' option for record command to store output

[PATCH 2/4] slab: introduce helper functions to get/set free object

2013-09-02 Thread Joonsoo Kim
In the following patches, to get/set free objects from the freelist is changed so that simple casting doesn't work for it. Therefore, introduce helper functions. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/mm/slab.c b/mm/slab.c index 9d4bad5..a0e49bb 100644 --- a/mm/slab.c +++

[PATCH 1/4] slab: factor out calculate nr objects in cache_estimate

2013-09-02 Thread Joonsoo Kim
This logic is not simple to understand so that making separate function helping readability. Additionally, we can use this change in the following patch which implement for freelist to have another sized index in according to nr objects. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff

[PATCH 3/4] slab: introduce byte sized index for the freelist of a slab

2013-09-02 Thread Joonsoo Kim
Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, since restriction for page order is at most 1 in default configuration. For example, consider a slab consisting of 32 byte sized objects on two continous pages. In this

Re: [RFC 00/24] perf tools: Add traceevent plugins support

2013-09-02 Thread Jiri Olsa
On Sun, Sep 01, 2013 at 12:48:25PM +0200, Jiri Olsa wrote: hi, backporting traceevent plugin support from trace-cmd. It's reachable here: git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git perf/core_plugins jirka -- To unsubscribe from this list: send the line unsubscribe

[PATCH 4/4] slab: make more slab management structure off the slab

2013-09-02 Thread Joonsoo Kim
Now, the size of the freelist for the slab management diminish, so that the on-slab management structure can waste large space if the object of the slab is large. Consider a 128 byte sized slab. If on-slab is used, 31 objects can be in the slab. The size of the freelist for this case would be 31

[PATCH 0/4] slab: implement byte sized indexes for the freelist of a slab

2013-09-02 Thread Joonsoo Kim
This patchset implements byte sized indexes for the freelist of a slab. Currently, the freelist of a slab consist of unsigned int sized indexes. Most of slabs have less number of objects than 256, so much space is wasted. To reduce this overhead, this patchset implements byte sized indexes for

[PATCH 1/1] dma: mv_xor: Fix incorrect error path

2013-09-02 Thread Sachin Kamat
Return directly if memory allocation fails. There is no need of dma_free_coherent(). Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Saeed Bishara sa...@marvell.com --- drivers/dma/mv_xor.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/dma/mv_xor.c

Re: [PATCH] mfd: twl6040: Use regmap for register cache

2013-09-02 Thread Lee Jones
On Mon, 02 Sep 2013, Samuel Ortiz wrote: Hi Lee, On Mon, Sep 02, 2013 at 09:17:59AM +0100, Lee Jones wrote: On Sat, 31 Aug 2013, Mark Brown wrote: From: Mark Brown broo...@linaro.org Rather then open coding a cache of the vibra control registers use the regmap cache code.

Re: [PATCH] Kconfig.debug: Add FRAME_POINTER anti-dependency for ARC

2013-09-02 Thread Vineet Gupta
On 08/30/2013 08:50 PM, Dave Hansen wrote: On 08/30/2013 12:48 AM, Vineet Gupta wrote: If we had ARCH_FRAME_POINTER_UNAVAILABLE (def_bool n), we could potentially remove ARCH_FRAME_POINTER too: The issue is some (sparc, c6x...) which are neither in #1 or #2, and not present in

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

2013-09-02 Thread Samuel Ortiz
Hi Chao, On Mon, Sep 02, 2013 at 09:21:04AM +0800, Chao Xie wrote: On Fri, Aug 30, 2013 at 8:30 PM, Samuel Ortiz sa...@linux.intel.com wrote: Hi Xie, On Tue, Aug 27, 2013 at 02:11:58PM +0800, Chao Xie wrote: On Tue, Aug 20, 2013 at 9:40 AM, Samuel Ortiz sa...@linux.intel.com wrote:

Re: [PATCH 09/12] KVM: MMU: introduce pte-list lockless walker

2013-09-02 Thread Xiao Guangrong
On 08/30/2013 07:44 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 08:02:30PM +0800, Xiao Guangrong wrote: On 08/29/2013 07:33 PM, Xiao Guangrong wrote: On 08/29/2013 05:31 PM, Gleb Natapov wrote: On Thu, Aug 29, 2013 at 02:50:51PM +0800, Xiao Guangrong wrote: After more thinking, I still

[PATCH V3 3/6] vhost: switch to use vhost_add_used_n()

2013-09-02 Thread Jason Wang
Let vhost_add_used() to use vhost_add_used_n() to reduce the code duplication. To avoid the overhead brought by __copy_to_user(). We will use put_user() when one used need to be added. Signed-off-by: Jason Wang jasow...@redhat.com --- drivers/vhost/vhost.c | 54

[PATCH V3 2/6] vhost_net: use vhost_add_used_and_signal_n() in vhost_zerocopy_signal_used()

2013-09-02 Thread Jason Wang
We tend to batch the used adding and signaling in vhost_zerocopy_callback() which may result more than 100 used buffers to be updated in vhost_zerocopy_signal_used() in some cases. So switch to use vhost_add_used_and_signal_n() to avoid multiple calls to vhost_add_used_and_signal(). Which means

[PATCH V3 5/6] vhost_net: poll vhost queue after marking DMA is done

2013-09-02 Thread Jason Wang
We used to poll vhost queue before making DMA is done, this is racy if vhost thread were waked up before marking DMA is done which can result the signal to be missed. Fix this by always polling the vhost thread before DMA is done. Signed-off-by: Jason Wang jasow...@redhat.com --- - The patch is

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

2013-09-02 Thread Sascha Hauer
On Mon, Sep 02, 2013 at 02:38:53AM +, Xiubo Li-B47053 wrote: Subject: Re: [PATCHv2 4/4] Documentation: Add device tree bindings for Freescale FTM PWM. ... + +pwm0: pwm@40038000 { + compatible = fsl,vf610-ftm-pwm; + reg = 0x40038000 0x1000; +

[PATCH V3 6/6] vhost_net: correctly limit the max pending buffers

2013-09-02 Thread Jason Wang
As Michael point out, We used to limit the max pending DMAs to get better cache utilization. But it was not done correctly since it was one done when there's no new buffers submitted from guest. Guest can easily exceeds the limitation by keeping sending packets. So this patch moves the check into

[PATCH 03/58] serial: mxs: fix buffer overflow

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Wolfram Sang w...@the-dreams.de commit 4829e7650f8a40645e4e32b26a37fb833a5e75f0 upstream. SMATCH correctly found an off-by-one error: drivers/tty/serial/mxs-auart.c:889

[PATCH V3 4/6] vhost_net: determine whether or not to use zerocopy at one time

2013-09-02 Thread Jason Wang
Currently, even if the packet length is smaller than VHOST_GOODCOPY_LEN, if upend_idx != done_idx we still set zcopy_used to true and rollback this choice later. This could be avoided by determining zerocopy once by checking all conditions at one time before. Signed-off-by: Jason Wang

[PATCH 56/58] powerpc/hvsi: Increase handshake timeout from 200ms to 400ms.

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Eugene Surovegin e...@ebshome.net commit d220980b701d838560a70de691b53be007e99e78 upstream. This solves a problem observed in kexec'ed kernel where 200ms timeout is too short and

[PATCH 36/58] Hostap: copying wrong data prism2_ioctl_giwaplist()

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit 909bd5926d474e275599094acad986af79671ac9 upstream. We want the data stored in addr and qual, but the extra ampersands mean we are copying

Re: [PATCH 13/25] mips: Use Kbuild infrastructure to handle asm-generic headers

2013-09-02 Thread James Hogan
On 13/10/12 03:26, Steven Rostedt wrote: From: Steven Rostedt srost...@redhat.com Use Kbuild infrastructure to handle the asm-generic headers and remove the wrapper headers that call them. This only affects headers that do nothing but include the generic equivalent. It does not touch any

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

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: David Vrabel david.vra...@citrix.com commit 3bc38cbceb85881a8eb789ee1aa56678038b1909 upstream. If there are UNUSABLE regions in the machine memory map, dom0 will attempt to map them 1:1

[PATCH 47/58] nilfs2: remove double bio_put() in nilfs_end_bio_write() for BIO_EOPNOTSUPP error

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Vyacheslav Dubeyko sl...@dubeyko.com commit 2df37a19c686c2d7c4e9b4ce1505b5141e3e5552 upstream. Remove double call of bio_put() in nilfs_end_bio_write() for the case of BIO_EOPNOTSUPP

[PATCH 0/4] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
This series is aimed to conserve on othewise wasted interrupt resources for 10 of 16 unused MSI vectors for AHCI devices on Intel chipsets. Alexander Gordeev (4): PCI/MSI: Introduce pci_enable_msi_block_part() interface MSI/x86: Support pci_enable_msi_block_part() interface AHCI: Conserve

[PATCH 58/58] x86 get_unmapped_area: Access mmap_legacy_base through mm_struct member

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Radu Caragea sinae...@gmail.com commit 41aacc1eea645c99edbe8fbcf78a97dc9b862adc upstream. This is the updated version of df54d6fa5427 (x86 get_unmapped_area(): use proper mmap base for

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

2013-09-02 Thread Samuel Ortiz
Hi Mark, On Sun, Sep 01, 2013 at 04:08:53PM +0100, Mark Brown wrote: On Sun, Sep 01, 2013 at 04:48:47PM +0200, Samuel Ortiz wrote: As I'd prefer to carry the MFD ones (Including the twl6040 one) through mfd-next, I can build a branch for you to pull from. Would that be fine with you ?

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

2013-09-02 Thread Sascha Hauer
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; + struct fsl_pwm_data *pwm_data; + + fpc = to_fsl_chip(chip); + + pwm_data = pwm_get_chip_data(pwm);

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

2013-09-02 Thread Michel Lespinasse
On Sun, Sep 1, 2013 at 11:30 PM, Zhi Yong Wu zwu.ker...@gmail.com wrote: In Tue, Aug 27, 2013 at 6:01 AM, Michel Lespinasse wal...@google.com wrote: On Fri, Aug 23, 2013 at 7:45 AM, zwu.ker...@gmail.com wrote: From: Zhi Yong Wu wu...@linux.vnet.ibm.com Signed-off-by: Zhi Yong Wu

[PATCH 1/4] PCI/MSI: Introduce pci_enable_msi_block_part() interface

2013-09-02 Thread Alexander Gordeev
There are PCI devices that require a particular value written to the Multiple Message Enable (MME) register while aligned on power of 2 boundary value of actually used MSI vectors 'nvec' is a lesser of that MME value: roundup_pow_of_two(nvec) 'Multiple Message Enable' However the

[PATCH 55/58] powerpc: Work around gcc miscompilation of __pa() on 64-bit

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras pau...@samba.org commit bdbc29c19b2633b1d9c52638fb732bcde7a2031a upstream. On 64-bit, __pa(static_var) gets miscompiled by recent versions of gcc as something like:

[PATCH 50/58] efivars: explicitly calculate length of VariableName

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming matt.flem...@intel.com commit ec50bd32f1672d38ddce10fb1841cbfda89cfe9a upstream. It's not wise to assume VariableNameSize represents the length of VariableName, as not all

[PATCH 57/58] drivers/base/memory.c: fix show_mem_removable() to handle missing sections

2013-09-02 Thread Luis Henriques
3.5.7.21 -stable review patch. If anyone has any objections, please let me know. -- From: Russ Anderson r...@sgi.com commit 21ea9f5ace3a7317cc3ba1fbc749758021a83136 upstream. cat /sys/devices/system/memory/memory*/removable crashed the system. The problem is that

[PATCH 4/4] PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

2013-09-02 Thread Alexander Gordeev
There are no consumers of pci_enable_msi_block_auto() interface have left. Eliminate it for now. Signed-off-by: Alexander Gordeev agord...@redhat.com --- Documentation/PCI/MSI-HOWTO.txt | 12 ++-- drivers/pci/msi.c | 25 - include/linux/pci.h

  1   2   3   4   5   6   >