[PATCH 3/4] rtc: rtc-jz4740: Use devm_ioremap_resource()

2014-02-06 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and move 'struct resource *mem' from 'struct jz4740_rtc' to jz4740_rtc_probe() because the 'mem' variable is used only in jz4740_rtc_probe(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-jz4740.c | 24 +++- 1 f

[PATCH 4/4] rtc: rtc-vt8500: Use devm_ioremap_resource()

2014-02-06 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and move 'struct resource *res' from 'struct vt8500_rtc' to vt8500_rtc_probe() because the 'res' variable is used only in vt8500_rtc_probe(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-vt8500.c | 28 +---

[PATCH 2/4] rtc: rtc-davinci: Use devm_ioremap_resource()

2014-02-06 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-davinci.c | 29 - 1 file changed,

[PATCH 1/4] rtc: rtc-coh901331: Use devm_ioremap_resource()

2014-02-06 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, and remove redundant return value check of platform_get_resource() because the value is checked by devm_ioremap_resource(). Signed-off-by: Jingoo Han --- drivers/rtc/rtc-coh901331.c | 18 +++--- 1 file changed, 3 insert

[PATCH 0/4] rtc: Use devm_ioremap_resource()

2014-02-06 Thread Jingoo Han
Use devm_ioremap_resource() in order to make the code simpler, because devm_ioremap_resource() includes devm_request_mem_region() and devm_ioremap(). Also, it checks the return value of platform_get_resource(). Jingoo Han (4): rtc: rtc-coh901331: Use devm_ioremap_resource() rtc: rtc-da

Re: [PATCH] perf,x86,p6: Add userspace RDPMC quirk for P6

2014-02-06 Thread Peter Zijlstra
On Thu, Feb 06, 2014 at 10:15:23PM +, Mark Davies wrote: > That fixed it. Booted patched 3.4.78 with CONFIG_APM=y with no problem. Awesome, thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo in

Re: [sched/fair] BUG: unable to handle kernel NULL pointer dereference at 0000000000000078

2014-02-06 Thread Peter Zijlstra
On Fri, Feb 07, 2014 at 10:23:32AM +0800, Fengguang Wu wrote: > Greetings, > > I got the below dmesg and the first bad commit is > > git://git.linaro.org/people/dlezcano/linux sched/idle-balance > commit e7b0e894d633a59a5de296b1ec45806993239799 > Author: Peter Zijlstra > AuthorDate: Sat Feb

[PATCH RESEND 1/2] spi: qup: Add device tree bindings information

2014-02-06 Thread Ivan T. Ivanov
From: "Ivan T. Ivanov" The Qualcomm Universal Peripheral (QUP) core is an AHB slave that provides a common data path (an output FIFO and an input FIFO) for serial peripheral interface (SPI) mini-core. Signed-off-by: Ivan T. Ivanov --- .../devicetree/bindings/spi/qcom,spi-qup.txt | 86 +

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-06 Thread Peter Zijlstra
On Thu, Feb 06, 2014 at 08:20:51PM -0800, Paul E. McKenney wrote: > Hopefully some discussion of out-of-thin-air values as well. Yes, absolutely shoot store speculation in the head already. Then drive a wooden stake through its hart. C11/C++11 should not be allowed to claim itself a memory model

Re: [PATCH,RFC] random: collect cpu randomness

2014-02-06 Thread Jörn Engel
On Thu, 6 February 2014 14:20:02 -0800, Kees Cook wrote: > On Sun, Feb 02, 2014 at 03:36:17PM -0500, Jörn Engel wrote: > > Collects entropy from random behaviour all modern cpus exhibit. The > > scheduler and slab allocator are instrumented for this purpose. How > > much randomness can be gathere

Re: [PATCH 1/2] spi: qup: Add device tree bindings information

2014-02-06 Thread Andy Gross
On Thu, Feb 06, 2014 at 06:57:47PM +0200, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > The Qualcomm Universal Peripheral (QUP) core is an > AHB slave that provides a common data path (an output > FIFO and an input FIFO) for serial peripheral interface > (SPI) mini-core. > > Signed-off-by:

Re: [PATCH 2/2] spi: Add Qualcomm QUP SPI controller support

2014-02-06 Thread Andy Gross
On Thu, Feb 06, 2014 at 06:57:48PM +0200, Ivan T. Ivanov wrote: > From: "Ivan T. Ivanov" > > Qualcomm Universal Peripheral (QUP) core is an AHB slave that > provides a common data path (an output FIFO and an input FIFO) > for serial peripheral interface (SPI) mini-core. SPI in master mode > suppo

Re: 3.12: ethernet controller missing after resuming from suspend to RAM

2014-02-06 Thread Francis Moreau
On 02/07/2014 12:15 AM, Bastien Traverse wrote: > > I was also hit by the rtsx driver bug > (https://bugs.archlinux.org/task/37720) and was delighted with its fast > resolution. I was hoping that its fix would also address the > disappearing Ethernet bug. yeah, but calling this "fast resolution"

Re: [sched/preempt] INFO: rcu_sched self-detected stall on CPU { 1}

2014-02-06 Thread Bockholdt Arne
On Thu, 2014-02-06 at 13:19 +0100, Peter Zijlstra wrote: > On Thu, Feb 06, 2014 at 12:08:54PM +, Bockholdt Arne wrote: > > This on a a Intel Rangeley Silvermont Atom 8 core machine running kernel > > 3.13.1/i386 as KVM host with several KVM guests. Tested with the same > > configuration on ker

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-06 Thread Preeti U Murthy
Hi Nicolas, Find below the patch that will need to be squashed with this one. This patch is based on the mainline.Adding Deepthi, the author of the patch which introduced the powernv cpuidle driver. Deepthi, do you think the below patch looks right? We do not need to do an explicit local_irq_enabl

Re: [f2fs-dev] [PATCH] f2fs: introduce ra_meta_pages to readahead CP/NAT/SIT pages

2014-02-06 Thread Jaegeuk Kim
Hi Chao, Sorry for the delay. When I tested this patch, a deadlock was occurred, so I couldn't afford to look inside in more detail. When I see again, there is a bug wrt blkno. Please see below. 2014-01-28 (화), 10:28 +0800, Chao Yu: > This patch help us to cleanup the readahead code by merging ra

[PATCH v2] firmware: give a protection when map page failed

2014-02-06 Thread jun . zhang
From: zhang jun >From the following oops log, we find firmware buffer is null, which caused by >memory alloc failed. so, we need give a protection and return a error value. [ 7341.474236] [drm:do_intel_finish_page_flip] *ERROR* invalid or inactive unpin_work! [ 7341.494464] atomisp-css2400b0_v2

[PATCH] USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800 Device Driver Support

2014-02-06 Thread liujunliang_ljl
From: Liu Junliang Signed-off-by: Liu Junliang --- drivers/net/usb/Kconfig | 16 + drivers/net/usb/Makefile |1 + drivers/net/usb/sr9800.c | 874 ++ drivers/net/usb/sr9800.h | 202 +++ 4 files changed, 1093 insertions(+) create mode

Re: [PATCH V4 6/8] phy: st-miphy-40lp: Add SPEAr1310 and SPEAr1340 PCIe phy support

2014-02-06 Thread Pratyush Anand
Hi Arnd, On Fri, Feb 07, 2014 at 11:54:30AM +0800, Pratyush ANAND wrote: > Hi Arnd, > > On Thu, Feb 06, 2014 at 11:37:05PM +0800, Arnd Bergmann wrote: > > On Thursday 06 February 2014, Pratyush Anand wrote: > > [...] > > I think it's better to make this code table-driven. Rather than checking

Re: [PATCH] net: use __GFP_NORETRY for high order allocations

2014-02-06 Thread David Miller
From: Eric Dumazet Date: Thu, 06 Feb 2014 10:42:42 -0800 > From: Eric Dumazet > > sock_alloc_send_pskb() & sk_page_frag_refill() > have a loop trying high order allocations to prepare > skb with low number of fragments as this increases performance. > > Problem is that under memory pressure/fr

Re: [PATCH 01/12] backlight: aat2870: Remove unnecessary OOM messages

2014-02-06 Thread jinyoungp
Signed-off-by: Jinyoung Park On 02/06/2014 05:16 PM, Jingoo Han wrote: > The site-specific OOM messages are unnecessary, because they > duplicate the MM subsystem generic OOM message. > > Signed-off-by: Jingoo Han > --- > drivers/video/backlight/aat2870_bl.c |2 -- > 1 file changed, 2 delet

Re: [PATCH v2] scsi: Add 'retry_timeout' to avoid infinite command retry

2014-02-06 Thread Libo Chen
On 2014/2/7 13:46, James Bottomley wrote: > On Fri, 2014-02-07 at 09:22 +0900, Eiichi Tsukata wrote: >> Currently, scsi error handling in scsi_io_completion() tries to >> unconditionally requeue scsi command when device keeps some error state. >> For example, UNIT_ATTENTION causes infinite retry wi

Re: [PATCH 0/4] w1: refcnt fix, skip non-error send, docs

2014-02-06 Thread David Fries
On Wed, Feb 05, 2014 at 03:48:45AM +0400, z...@ioremap.net wrote: > Hi > > 04.02.2014, 09:51, "David Fries" : > > Help me understand what the protocol is supposed to be.  Assuming > > there aren't any errors, is there supposed to be a > > w1_netlink_send_error generated reply per netlink packet (c

Re: [PATCH v2] scsi: Add 'retry_timeout' to avoid infinite command retry

2014-02-06 Thread James Bottomley
On Fri, 2014-02-07 at 09:22 +0900, Eiichi Tsukata wrote: > Currently, scsi error handling in scsi_io_completion() tries to > unconditionally requeue scsi command when device keeps some error state. > For example, UNIT_ATTENTION causes infinite retry with > action == ACTION_RETRY. > This is because

[PATCH] f2fs: clean up redundant function call

2014-02-06 Thread Jaegeuk Kim
This patch integrates inode_[inc|dec]_dirty_dents with inc_page_count to remove redundant calls. Signed-off-by: Jaegeuk Kim --- fs/f2fs/checkpoint.c | 1 - fs/f2fs/data.c | 11 ++- fs/f2fs/dir.c| 4 ++-- fs/f2fs/f2fs.h | 5 + fs/f2fs/gc.c | 7 +--

Re: [PATCH 1/2] PPC: powernv: remove redundant cpuidle_idle_call()

2014-02-06 Thread Preeti U Murthy
Hi Nicolas, On 02/07/2014 06:47 AM, Nicolas Pitre wrote: > On Thu, 6 Feb 2014, Preeti U Murthy wrote: > >> Hi Daniel, >> >> On 02/06/2014 09:55 PM, Daniel Lezcano wrote: >>> Hi Nico, >>> >>> >>> On 6 February 2014 14:16, Nicolas Pitre wrote: >>> The core idle loop now takes care of it.

[PATCH 9/9 v6] crypto:s5p-sss: Look for the next request in the queue

2014-02-06 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch Currently, the driver enqueues a request only if the busy bit is false. And every request initiates a dequeue. If 2 requests arrive simultaneously, only one of them will be dequeued. To avoid this senario, we will enqueue the next request irrespective of the system condit

[PATCH 8/9 v6] crypto:s5p-sss: Use clk_prepare/clk_unprepare

2014-02-06 Thread Naveen Krishna Chatradhi
This patch set adds use of clk_prepare/clk_unprepare as required by generic clock framework. Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa --- changes since v5: None drivers/crypto/s5p-sss.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dri

[PATCH 7/9 v6] crypto:s5p-sss: validate iv before memcpy

2014-02-06 Thread Naveen Krishna Chatradhi
This patch adds code to validate "iv" buffer before trying to memcpy the contents Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa --- changes since v5: None drivers/crypto/s5p-sss.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/crypto/s5p-sss

[PATCH 6/9 v6] ARM: dts: exynos5250/5420: add dt node for sss module

2014-02-06 Thread Naveen Krishna Chatradhi
This patch adds the device tree node for SSS module found on Exynos5420 and Exynos5250 Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa TO: CC: Kukjin Kim CC: --- changes since v5: 1. Added Reviewed-by: Tomasz Figa arch/arm/boot/dts/exynos5250.dtsi |8 arch/arm

[PATCH 5/9 v6] clk: samsung exynos5250/5420: Add gate clock for SSS module

2014-02-06 Thread Naveen Krishna Chatradhi
This patch adds gating clock for SSS(Security SubSystem) module on Exynos5250/5420. Signed-off-by: Naveen Krishna Chatradhi Reviewed-by: Tomasz Figa TO: CC: Kukjin Kim CC: --- changes since v5: 1. Added Reviewed-by: Tomasz Figa .../devicetree/bindings/clock/exynos5250-clock.txt |1 + d

[PATCH 4/9 v6] crypto:s5p-sss: Kconfig: Let Exynos SoCs select SSS driver

2014-02-06 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch modifies Kconfig such that ARCH_EXYNOS SoCs which includes (Exynos4210, Exynos5250 and Exynos5420) can also select Samsung SSS(Security SubSystem) driver. Signed-off-by: Naveen Krishna Ch Reviewed-by: Tomasz Figa CC: Herbert Xu CC: David S. Miller CC: Vladi

[PATCH 3/9 v6] crypto:s5p-sss: Add support for SSS module on Exynos

2014-02-06 Thread Naveen Krishna Chatradhi
This patch adds new compatible and variant struct to support the SSS module on Exynos4 (Exynos4210), Exynos5 (Exynos5420 and Exynos5250) for which 1. AES register are at an offset of 0x200 and 2. hash interrupt is not available Signed-off-by: Naveen Krishna Ch Reviewed-by: Tomasz Figa CC: Herber

[PATCH 2/9 v6] crypto:s5p-sss: Add device tree support

2014-02-06 Thread Naveen Krishna Chatradhi
This patch adds device tree support to the s5p-sss.c crypto driver. Signed-off-by: Naveen Krishna Ch CC: Herbert Xu CC: David S. Miller CC: Vladimir Zapolskiy TO: CC: --- Changes since v5: Rewritten the interrupt definition in the documentation .../devicetree/bindings/crypto/samsung-sss.tx

[PATCH 1/9 v6] crypto:s5p-sss: Use platform_get_irq() instead of _byname()

2014-02-06 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Ch This patch uses the platform_get_irq() instead of the platform_get_irq_byname(). Making feeder control interrupt as resource "0" and hash interrupt as "1". reasons for this change. 1. Cannot find any Arch which is currently using this driver 2. Samsung Exynos4 and 5 SoCs

Re: [PATCH 51/51] net/iucv/iucv.c: Fix CPU hotplug callback registration

2014-02-06 Thread David Miller
From: David Miller Date: Thu, 06 Feb 2014 20:39:35 -0800 (PST) > Applied. I just realized that this has a dependency not in the 'net' tree, so I reverted and assume you will merge this with the patch that provides the necessary interface(s). Signed-off-by: David S. Miller -- To unsubscribe fro

Re: [PATCH 50/51] net/core/flow.c: Fix CPU hotplug callback registration

2014-02-06 Thread David Miller
From: David Miller Date: Thu, 06 Feb 2014 20:39:21 -0800 (PST) > From: "Srivatsa S. Bhat" > Date: Thu, 06 Feb 2014 03:43:46 +0530 > >> Subsystems that want to register CPU hotplug callbacks, as well as perform >> initialization for the CPUs that are already online, often do it as shown >> below

http://www.xrefs.info: linux kernel source cross reference search & browse

2014-02-06 Thread xrefs.info Admin
hello, I made http://www.xrefs.info available to open source community to in the hope of make open source developers more productive. The site hosts many open source code projects' cross references based on OpenGrok, which is a very fast cross reference tool, and easy to use. Linux kernel as one

Re: [f2fs-dev] f2fs: f2fs unmount hangs if f2fs_init_acl() fails during mkdir syscall

2014-02-06 Thread Jaegeuk Kim
Hi, It turns out that make_bad_inode prior to iput sets i_mode to a regular file, so that f2fs_evict_inode -> truncate_inode_pages -> f2fs_invalidate_data_page doesn't decrement dirty_dents. This patch should resolve the bug. Thank you :) When a new directory is allocated, if an error is occ

Re: [PATCH v5 00/14] Add support for MSM's mmio clock/reset controller

2014-02-06 Thread Joe Perches
On Thu, 2014-02-06 at 20:15 -0800, Frank Rowand wrote: > On 1/15/2014 10:47 AM, Stephen Boyd wrote: > > The first breaks a reset-controller include ordering requirement. It got > > an ack so I think we're ok for it to go through the clock tree. > > > > < snip > > > checkpatch is whining about pa

[PATCH 4/5] mm/compaction: check pageblock suitability once per pageblock

2014-02-06 Thread Joonsoo Kim
isolation_suitable() and migrate_async_suitable() is used to be sure that this pageblock range is fine to be migragted. It isn't needed to call it on every page. Current code do well if not suitable, but, don't do well when suitable. It re-check it on every valid pageblock. This patch fix this situ

[PATCH 5/5] mm/compaction: clean-up code on success of ballon isolation

2014-02-06 Thread Joonsoo Kim
It is just for clean-up to reduce code size and improve readability. There is no functional change. Signed-off-by: Joonsoo Kim diff --git a/mm/compaction.c b/mm/compaction.c index 985b782..7a4e3b7 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -554,11 +554,7 @@ isolate_migratepages_range(

[PATCH 2/5] mm/compaction: do not call suitable_migration_target() on every page

2014-02-06 Thread Joonsoo Kim
suitable_migration_target() checks that pageblock is suitable for migration target. In isolate_freepages_block(), it is called on every page and this is inefficient. So make it called once per pageblock. suitable_migration_target() also checks if page is highorder or not, but it's criteria for hig

[PATCH 1/5] mm/compaction: disallow high-order page for migration target

2014-02-06 Thread Joonsoo Kim
Purpose of compaction is to get a high order page. Currently, if we find high-order page while searching migration target page, we break it to order-0 pages and use them as migration target. It is contrary to purpose of compaction, so disallow high-order page to be used for migration target. Addit

[PATCH 3/5] mm/compaction: change the timing to check to drop the spinlock

2014-02-06 Thread Joonsoo Kim
It is odd to drop the spinlock when we scan (SWAP_CLUSTER_MAX - 1) th pfn page. This may results in below situation while isolating migratepage. 1. try isolate 0x0 ~ 0x200 pfn pages. 2. When low_pfn is 0x1ff, ((low_pfn+1) % SWAP_CLUSTER_MAX) == 0, so drop the spinlock. 3. Then, to complete isolati

[PATCH 0/5] compaction related commits

2014-02-06 Thread Joonsoo Kim
This patchset is related to the compaction. patch 1 fixes contrary implementation of the purpose of compaction. patch 2~4 are for optimization. patch 5 is just for clean-up. I tested this patchset with stress-highalloc benchmark on Mel's mmtest and cannot find any regression in terms of success r

[PATCH 2/2 v4] i2c: exynos5: configure fifo_depth based on HSI2C module variant

2014-02-06 Thread Naveen Krishna Chatradhi
fifo_depth of the HSI2C is not constant Exynos5420 and Exynos5250 supports fifo_depth of 64bytes Exynos5260 supports fifo_depth of 16bytes. This patch configures the fifo_depth based on HSI2C modules version. Signed-off-by: Naveen Krishna Chatradhi [For finding out the difference and initial con

[PATCH 1/2 v4] i2c: exynos5: add support for HSI2C on Exynos5260 SoC

2014-02-06 Thread Naveen Krishna Chatradhi
This patch adds a new compatible and uses variant struct to support HSI2C module on Exynos5260. Updates the Documentation dt bindings. Also resets the module as an init sequence (Needed by Exynos5260). Signed-off-by: Naveen Krishna Chatradhi --- Changes since v3: 1. split patches as (v1 version d

Re: [PATCH] inet: defines IPPROTO_* needed for module alias generation

2014-02-06 Thread David Miller
From: Jan Moskyto Matejka Date: Thu, 6 Feb 2014 12:10:00 +0100 > Commit cfd280c91253 ("net: sync some IP headers with glibc") changed a set of > define's to an enum (with no explanation why) which introduced a bug > in module mip6 where aliases are generated using the IPPROTO_* defines; > mip6 d

Re: [PATCH net] r8152: fix the submission of the interrupt transfer

2014-02-06 Thread David Miller
From: Hayes Wang Date: Thu, 6 Feb 2014 11:55:48 +0800 > The submission of the interrupt transfer should be done after setting > the bit of WORK_ENABLE, otherwise the callback function would have > the opportunity to be returned directly. > > Clear the bit of WORK_ENABLE before killing the interr

Re: [PATCH 51/51] net/iucv/iucv.c: Fix CPU hotplug callback registration

2014-02-06 Thread David Miller
From: "Srivatsa S. Bhat" Date: Thu, 06 Feb 2014 03:43:55 +0530 > Subsystems that want to register CPU hotplug callbacks, as well as perform > initialization for the CPUs that are already online, often do it as shown > below: ... > This is wrong, since it is prone to ABBA deadlocks involving the

Re: [PATCH 50/51] net/core/flow.c: Fix CPU hotplug callback registration

2014-02-06 Thread David Miller
From: "Srivatsa S. Bhat" Date: Thu, 06 Feb 2014 03:43:46 +0530 > Subsystems that want to register CPU hotplug callbacks, as well as perform > initialization for the CPUs that are already online, often do it as shown > below: ... > This is wrong, since it is prone to ABBA deadlocks involving the

[PATCH v2 2/6] ARM: trusted_foundations: fallback when TF support is missing

2014-02-06 Thread Alexandre Courbot
When Trusted Foundations is detected as present on the system, but Trusted Foundations support is not built into the kernel, the kernel used to issue a panic very early during boot, leaving little clue to the user as to what is going wrong. It turns out that even without TF support built-in, the k

[PATCH v2 4/6] ARM: firmware: add prepare_idle() operation

2014-02-06 Thread Alexandre Courbot
Some firmwares do not put the CPU into idle mode themselves, but still need to be informed that the CPU is about to enter idle mode before this happens. Add a prepare_idle() operation to the firmware_ops structure to handle such cases. Signed-off-by: Alexandre Courbot --- arch/arm/include/asm/fi

[PATCH v2 5/6] ARM: trusted_foundations: implement prepare_idle()

2014-02-06 Thread Alexandre Courbot
Support the prepare_idle() firmware call, which is necessary to properly support CPU idling. Signed-off-by: Alexandre Courbot --- arch/arm/firmware/trusted_foundations.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/arch/arm/firmware/trusted_foundations

[PATCH v2 1/6] ARM: trusted_foundations: fix vendor prefix typos

2014-02-06 Thread Alexandre Courbot
of_register_trusted_foundations() and the firmware Kconfig used the wrong vendor prefix for Trusted Logic Mobility. Signed-off-by: Alexandre Courbot --- arch/arm/firmware/Kconfig | 2 +- arch/arm/include/asm/trusted_foundations.h | 2 +- 2 files changed, 2 insertions(+), 2 delet

[PATCH v2 3/6] ARM: firmware: enable Trusted Foundations by default

2014-02-06 Thread Alexandre Courbot
As discussed previously (https://lkml.org/lkml/2013/11/26/289), enable Trusted Foundation support by default since it already depends on a supporting architecture being selected. Signed-off-by: Alexandre Courbot --- arch/arm/firmware/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/ar

[PATCH v2 6/6] ARM: tegra: cpuidle: use firmware for power down

2014-02-06 Thread Alexandre Courbot
Attempt to invoke the prepare_idle() and do_idle() firmware calls to power down a CPU so an underlying firmware gets informed of the idle operation and performs it by itself if designed in such a way. Signed-off-by: Alexandre Courbot --- arch/arm/mach-tegra/cpuidle-tegra114.c | 11 ++- 1

[PATCH v2 0/6] ARM: firmware: improvements to Trusted Foundations support

2014-02-06 Thread Alexandre Courbot
These (mostly minor) patches fix a few typos, improve points that were agreed upon when the Trusted Foundation series was initially submitted, and more importantly add support for a prepare_idle() firmware operation that informs the firmware a CPU is doing idle. Tegra's cpuidle driver is then also

Re: [PATCH v5 00/14] Add support for MSM's mmio clock/reset controller

2014-02-06 Thread Frank Rowand
On 2/6/2014 8:15 PM, Frank Rowand wrote: > On 1/15/2014 10:47 AM, Stephen Boyd wrote: >> The first breaks a reset-controller include ordering requirement. It got >> an ack so I think we're ok for it to go through the clock tree. >> > > < snip > > > checkpatch is whining about patches > < snip >

[PATCH] tools lib traceevent: Use realpath for srctree and objtree

2014-02-06 Thread Wang Nan
If BUILD_SRC or CURDIR contains tailing '/', the file names passed to gcc will contain '//'. It will be contained .o's in debuginfo, then confuse debugedit: https://bugzilla.redhat.com/show_bug.cgi?id=304121 This patch uses realpath command to makesure potential tailing '/'s are removed. Signed-

Re: [Xen-devel] [PATCH v2 0/4] xen-blk: bug fixes

2014-02-06 Thread Matt Wilson
On Thu, Feb 06, 2014 at 11:20:04AM -0500, Konrad Rzeszutek Wilk wrote: > On Wed, Feb 05, 2014 at 08:57:30PM -0800, Matt Wilson wrote: > > On Tue, Feb 04, 2014 at 11:15:01AM -0400, Konrad Rzeszutek Wilk wrote: > > > On Tue, Feb 04, 2014 at 11:26:11AM +0100, Roger Pau Monne wrote: > > > > This series

Re: [PATCH v3 1/6] fat: add i_disksize to represent uninitialized size

2014-02-06 Thread Namjae Jeon
2014-02-06, OGAWA Hirofumi : > Namjae Jeon writes: > fat_fill_inode() just set i_disksize to i_size. So, it is not aligned by cluster size or block size. E.g. ->mmu_private = 500. Then, cont_write_begin() can set ->mmu_private to 512 on some case. In this case, f

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-06 Thread Paul E. McKenney
On Fri, Feb 07, 2014 at 12:44:48AM +0100, Torvald Riegel wrote: > On Thu, 2014-02-06 at 14:11 -0800, Paul E. McKenney wrote: > > On Thu, Feb 06, 2014 at 10:17:03PM +0100, Torvald Riegel wrote: > > > On Thu, 2014-02-06 at 11:27 -0800, Paul E. McKenney wrote: > > > > On Thu, Feb 06, 2014 at 06:59:10P

[PATCH] liblockdep: Use realpath for srctree and objtree

2014-02-06 Thread Wang Nan
If BUILD_SRC or CURDIR contains tailing '/', the file names passed to gcc will contain '//'. It will be contained .o's in debuginfo, then confuse debugedit: https://bugzilla.redhat.com/show_bug.cgi?id=304121 This patch uses realpath command to makesure potential tailing '/'s are removed. Signed-

Re: [PATCH v5 00/14] Add support for MSM's mmio clock/reset controller

2014-02-06 Thread Frank Rowand
On 1/15/2014 10:47 AM, Stephen Boyd wrote: > The first breaks a reset-controller include ordering requirement. It got > an ack so I think we're ok for it to go through the clock tree. > < snip > checkpatch is whining about patches 4 5 6 7 8 (Just for completeness if someone thinks I

[PATCH 15/21] perf report: Add --children option

2014-02-06 Thread Namhyung Kim
The --children option is for showing accumulated overhead (period) value as well as self overhead. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 5 + tools/perf/builtin-report.c | 10 ++ 2 fil

[PATCH 09/21] perf hists: Sort hist entries by accumulated period

2014-02-06 Thread Namhyung Kim
When callchain accumulation is requested, we need to sort the entries by accumulated period value. When accumulated periods of two entries are same (i.e. single path callchain) put the caller above since accumulation tends to put callers on higher position for obvious reason. Tested-by: Arun Shar

[PATCH 17/21] perf tools: Add callback function to hist_entry_iter

2014-02-06 Thread Namhyung Kim
The new ->add_entry_cb() will be called after an entry was added to the histogram. It's used for code sharing between perf report and perf top. Note that ops->add_*_entry() should set iter->he properly in order to call the ->add_entry_cb. Also pass @arg to the callback function. It'll be used b

[PATCH 12/21] perf ui/gtk: Add support to accumulated hist stat

2014-02-06 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 16 1 file changed, 16 insertions(+) diff --git a/tools/perf/ui/gtk/hists.c b/tools/perf/ui/gtk/hists.c index 5b95c4

[PATCH 07/21] perf callchain: Add callchain_cursor_snapshot()

2014-02-06 Thread Namhyung Kim
The callchain_cursor_snapshot() is for saving current status of the callchain. It'll be used to accumulate callchain information for each node. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/callchain.h | 9 + 1 file changed, 9 insertion

[PATCH 18/21] perf top: Convert to hist_entry_iter

2014-02-06 Thread Namhyung Kim
Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with hists.lock so tweak some internal functions not to deadlock or hold the lock too long. Tested-by: Arun Sharma Signed-off-by: Namhyung Kim --- tools/perf/builtin-top.c | 78 +++

Re: [PATCH 35/51] acpi-cpufreq: Fix CPU hotplug callback registration

2014-02-06 Thread Viresh Kumar
On 6 February 2014 03:40, Srivatsa S. Bhat wrote: > Subsystems that want to register CPU hotplug callbacks, as well as perform > initialization for the CPUs that are already online, often do it as shown > below: > > get_online_cpus(); > > for_each_online_cpu(cpu) >

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-06 Thread Paul E. McKenney
On Thu, Feb 06, 2014 at 11:58:22PM +0100, Torvald Riegel wrote: > On Thu, 2014-02-06 at 13:55 -0800, Paul E. McKenney wrote: > > On Thu, Feb 06, 2014 at 10:09:25PM +0100, Torvald Riegel wrote: > > > On Thu, 2014-02-06 at 18:59 +, Will Deacon wrote: > > > > On Thu, Feb 06, 2014 at 06:55:01PM +00

[PATCH 03/21] perf hists: Check if accumulated when adding a hist entry

2014-02-06 Thread Namhyung Kim
To support callchain accumulation, @entry should be recognized if it's accumulated or not when add_hist_entry() called. The period of an accumulated entry should be added to ->stat_acc but not ->stat. Add @sample_self arg for that. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: N

[PATCH 14/21] perf tools: Add more hpp helper functions

2014-02-06 Thread Namhyung Kim
Sometimes it needs to disable some columns at runtime. Add help functions to support that. Cc: Jiri Olsa Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 17 + tools/perf/util/hist.h | 3 +++ 2 files changed, 20 insertio

Re: [PATCHSET 00/21] perf tools: Add support to accumulate hist periods (v8)

2014-02-06 Thread Rodrigo Campos
On Fri, Feb 07, 2014 at 10:35:02AM +0900, Namhyung Kim wrote: > > Currently the perf enables both of --call-graph and --children when it > finds callchains in the samples. While this is useful for TUI or GTK, > I'm not sure for stdio as it'd consume so much lines. > > It does not handle all kind

Re: [PATCH] ipv4: Fix runtime WARNING in rtmsg_ifa()

2014-02-06 Thread David Miller
From: Geert Uytterhoeven Date: Wed, 5 Feb 2014 08:38:25 +0100 > On m68k/ARAnyM: ... > Adding some debugging code reveals that net_fill_ifaddr() fails in > > put_cacheinfo(skb, ifa->ifa_cstamp, ifa->ifa_tstamp, > preferred, valid)) > > nla_put complains: > >

[PATCH 10/21] perf ui/hist: Add support to accumulated hist stat

2014-02-06 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 45 + tools/perf/util/hist.h | 1 + 2 files changed, 46 insertions(+) diff --git a/tools/pe

[PATCH 08/21] perf tools: Save callchain info for each cumulative entry

2014-02-06 Thread Namhyung Kim
When accumulating callchain entry, also save current snapshot of the chain so that it can show the rest of the chain. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-)

[PATCH 16/21] perf report: Add report.children config option

2014-02-06 Thread Namhyung Kim
Add report.children config option for setting default value of callchain accumulation. It affects the report output only if perf.data contains callchain info. A user can write .perfconfig file like below to enable accumulation by default: $ cat ~/.perfconfig [report] children = true And i

[PATCH 04/21] perf hists: Accumulate hist entry stat based on the callchain

2014-02-06 Thread Namhyung Kim
Call __hists__add_entry() for each callchain node to get an accumulated stat for an entry. Introduce new cumulative_iter ops to process them properly. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 2 ++ tools/perf/util/callchain.

[PATCH 21/21] perf tools: Enable --children option by default

2014-02-06 Thread Namhyung Kim
Now perf top and perf report will show children column by default if it has callchain information. Requested-by: Ingo Molnar Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/symbol.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-

[PATCHSET 00/21] perf tools: Add support to accumulate hist periods (v8)

2014-02-06 Thread Namhyung Kim
Hello, This is a new attempt to implement cumulative hist period report. This work begins from Arun's SORT_INCLUSIVE patch [1] but I completely rewrote it from scratch. In this version, I separated out the --percentage patchset not to have dependency on it since it requires further works. Please

[PATCH 02/21] perf hists: Add support for accumulated stat of hist entry

2014-02-06 Thread Namhyung Kim
Maintain accumulated stat information in hist_entry->stat_acc if symbol_conf.cumulate_callchain is set. Fields in ->stat_acc have same vaules initially, and will be updated as callchain is processed later. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/pe

[PATCH 01/21] perf tools: Introduce struct hist_entry_iter

2014-02-06 Thread Namhyung Kim
There're some duplicate code when adding hist entries. They are different in that some have branch info or mem info but generally do same thing. So introduce new struct hist_entry_iter and add callbacks to customize each case in general way. The new perf_evsel__add_entry() function will look lik

[PATCH 13/21] perf tools: Apply percent-limit to cumulative percentage

2014-02-06 Thread Namhyung Kim
If -g cumulative option is given, it needs to show entries which don't have self overhead. So apply percent-limit to accumulated overhead percentage in this case. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 33 +++

[PATCH 20/21] perf top: Add top.children config option

2014-02-06 Thread Namhyung Kim
Add top.children config option for setting default value of callchain accumulation. It affects the output only if one of -g or --call-graph option is given as well. A user can write .perfconfig file like below to enable accumulation by default: $ cat ~/.perfconfig [top] children = true An

[PATCH 05/21] perf tools: Update cpumode for each cumulative entry

2014-02-06 Thread Namhyung Kim
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. Update it accordingly based on the fact whether the map is a part of the kernel or not. This is a reverse of wh

Re: [PATCH v4 1/1] watchdog: Add tegra watchdog

2014-02-06 Thread Guenter Roeck
On 02/06/2014 02:05 PM, Andrew Chew wrote: Add a driver for the hardware watchdogs in NVIDIA Tegra SoCs (Tegra30 and later). This driver will configure one watchdog timer that will reset the system in the case of a watchdog timeout. This driver binds to the nvidia,tegra30-timer device node and

[PATCH 11/21] perf ui/browser: Add support to accumulated hist stat

2014-02-06 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 17 + 1 file changed, 17 insertions(+) diff --git a/tools/perf/ui/browsers/hists.c b/tools/perf/ui/browsers/hist

[PATCH 19/21] perf top: Add --children option

2014-02-06 Thread Namhyung Kim
The --children option is for showing accumulated overhead (period) value as well as self overhead. It should be used with one of -g or --call-graph option. Tested-by: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-top.txt | 6 ++ tools/pe

[PATCH 06/21] perf report: Cache cumulative callchains

2014-02-06 Thread Namhyung Kim
It is possble that a callchain has cycles or recursive calls. In that case it'll end up having entries more than 100% overhead in the output. In order to prevent such entries, cache each callchain node and skip if same entry already cumulated. Tested-by: Arun Sharma Cc: Frederic Weisbecker Sig

Re: [PATCH V4 6/8] phy: st-miphy-40lp: Add SPEAr1310 and SPEAr1340 PCIe phy support

2014-02-06 Thread Pratyush Anand
Hi Arnd, On Thu, Feb 06, 2014 at 11:37:05PM +0800, Arnd Bergmann wrote: > On Thursday 06 February 2014, Pratyush Anand wrote: > > +static int spear1310_pcie_miphy_exit(struct st_miphy40lp_priv *phypriv) > > +{ > > + u32 mask; > > + > > + switch (phypriv->id) { > > + case 0: > > +

Re: [PATCH v1 1/3] net: stmmac:sti: Add STi SOC glue driver.

2014-02-06 Thread David Miller
From: Date: Mon, 3 Feb 2014 12:01:08 + > + res = platform_get_resource_byname(pdev, > + IORESOURCE_MEM, "sti-ethconf"); This is not the correct way to format multi-line function calls, you'll need to fix this up in this entire series. The arguments on the sec

Re: [PATCH] ACPI / video: Add HP EliteBook Revolve 810 to the blacklist

2014-02-06 Thread Aaron Lu
On 02/03/2014 06:59 PM, Mika Westerberg wrote: > On HP EliteBook Revolve 810 the ACPI backlight device doesn't work as > expected. For example when resuming from system sleep, it seems to lose > backlight settings. > > Forcing Intel driver fixes the problem so add this machine the ACPI > video det

Re: [PATCH v2 6/8] hwmon: da9055: Remove use of regmap_irq_get_virq()

2014-02-06 Thread Guenter Roeck
On 02/06/2014 10:03 AM, Adam Thomson wrote: Signed-off-by: Adam Thomson --- Applied (after adding the explanation from the introduction). Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [RFC] de-asmify the x86-64 system call slowpath

2014-02-06 Thread Linus Torvalds
On Thu, Feb 6, 2014 at 2:24 PM, Kirill A. Shutemov wrote: > > If we want to reduce number of page fault with less overhead we probably > should concentrate on minor page fault -- populate pte around fault > address which already in page cache. It should cover scripting use-case > pretty well. Tha

Re: Suspected Copy Paste error in rtnl_bridge_notify

2014-02-06 Thread David Miller
From: Tejun Heo Date: Fri, 31 Jan 2014 06:47:12 -0500 >> In above code isn't code line: >> err = br_dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, dev, 0); >> should be >> err = br_dev->netdev_ops->ndo_bridge_getlink(skb, 0, 0, br_dev, 0); >> >> If this needs to be changed then please review att

[PATCH 1/2] ALSA: hda/ca0132 - setup/cleanup streams

2014-02-06 Thread Hsin-Yu Chao
When a HDMI stream is opened with the same stream tag as a following opened stream to ca0132, audio will be heard from two ports simultaneously. Fix this issue by change to use snd_hda_codec_setup_stream and snd_hda_codec_cleanup_stream instead, so that an inactive stream can be marked as 'dirty' w

  1   2   3   4   5   6   >