[PATCH 2/4] ASoC: simple-card: simple audio card widgets getting

2014-01-08 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/generic/simple-card.c | 9 + 1 file changed, 9 insertions(+) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index e473dc9..e7cd9bb 100644 --- a/sound/soc/generic/simple-card.c +++

[PATCH 4/4] ARM: dts: Enable SGTL5000 codec based audio driver node for VF610 TOWER.

2014-01-08 Thread Xiubo Li
This patch adds and enables SGTL5000 codec support, and also specified the corresponding SAI node. Signed-off-by: Xiubo Li li.xi...@freescale.com --- arch/arm/boot/dts/vf610-twr.dts | 47 + 1 file changed, 47 insertions(+) diff --git

[PATCH 3/4] ASoC: fsl: Add VF610 simple audio card widgets driver.

2014-01-08 Thread Xiubo Li
This is the SGTL5000 codec based off-CODEC widgets supports. Signed-off-by: Xiubo Li li.xi...@freescale.com --- sound/soc/fsl/Kconfig | 25 ++ sound/soc/fsl/Makefile| 3 +++ sound/soc/fsl/snd-soc-simple-card-vf610.c | 44

[PATCH 1/4] ASoC: simple-card: add simple audio card widgets support

2014-01-08 Thread Xiubo Li
For many audio cards there need to add some off-CODEC widgets, and this is hard to be supported by dts only, because maybe some widgets need one or more call backs, such as wevent. Signed-off-by: Xiubo Li li.xi...@freescale.com --- .../devicetree/bindings/sound/simple-card.txt | 1 +

Re: [numa shrinker] 9b17c62382: -36.6% regression on sparse file copy

2014-01-08 Thread Dave Chinner
On Mon, Jan 06, 2014 at 04:20:48PM +0800, fengguang...@intel.com wrote: Hi Dave, We noticed throughput drop in test case vm-scalability/300s-lru-file-readtwice (*) between v3.11 and v3.12, and it's still low as of v3.13-rc6: v3.11 v3.12

Re: [PATCH 2/3] Add shrink_pagecache_parent

2014-01-08 Thread Dave Chinner
On Thu, Jan 02, 2014 at 03:55:34PM -0800, Andrew Morton wrote: On Mon, 30 Dec 2013 21:45:17 +0800 Li Wang liw...@ubuntukylin.com wrote: Analogous to shrink_dcache_parent except that it collects inodes. It is not very appropriate to be put in dcache.c, but d_walk can only be invoked from

Re: linux-next: manual merge of the gpio tree with the xtensa tree

2014-01-08 Thread Linus Walleij
On Wed, Jan 8, 2014 at 5:14 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Linus, Today's linux-next merge of the gpio tree got a conflict in arch/xtensa/Kconfig between commit dbacef090841 (xtensa: add SMP support) from the xtensa tree and commit a1a2bdec4772 (gpio: xtensa: depend on

[PATCH v3] vb2: Check if there are buffers before streamon

2014-01-08 Thread Ricardo Ribalda Delgado
This patch adds a test preventing streamon() if there is no buffer ready. Without this patch, a user could call streamon() before preparing any buffer. This leads to a situation where if he calls close() before calling streamoff() the device is kept streaming. Signed-off-by: Ricardo Ribalda

Re: am335x: IIO/ADC fixes if used together with TSC, v2

2014-01-08 Thread Dmitry Torokhov
On Tue, Jan 07, 2014 at 08:54:56AM +, Lee Jones wrote: Dmitry, Jonathan, This is for you. The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at:

Re: [PATCH 08/11] ASoC: twl4030: Remove local reg cache

2014-01-08 Thread Lee Jones
Depend on the regmap reg cache implementation for register caching done in the twl-core driver. The local register cache can be removed and we can keep only shadow copies of certain ctl registers for pop noise reduction. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com ---

Re: [PATCH 2/2] perf, tools: Add --delay support to perf record

2014-01-08 Thread Namhyung Kim
Hi Andi, On Tue, 7 Jan 2014 14:14:07 -0800, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com perf stat has a --delay option to delay measuring the workload. This is useful to skip measuring the startup phase of the program, which is often very different from the main workload. The

Re: am335x: IIO/ADC fixes if used together with TSC, v2

2014-01-08 Thread Lee Jones
Dmitry, Jonathan, This is for you. The following changes since commit 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae: Linux 3.13-rc1 (2013-11-22 11:30:55 -0800) are available in the git repository at: git://git.linaro.org/people/ljones/mfd.git tags/ib-iio-input-3.13-1

[git pull] drm fixes

2014-01-08 Thread Dave Airlie
Hi Linus, LCA fixes tree, i915 and nouveau fixes, a revert for i915 gm45 backlight, and a MAINTAINERS update for the i915 driver, as it now has a co-maintainer. Dave. The following changes since commit ef350bb7c5e0748f7d17f1d70c6b0eec5f64f446: Merge tag 'ext4_for_linus_stable' of

Re: [PATCH v2 3/7] mfd: pm8921: Migrate to irqdomains

2014-01-08 Thread Lee Jones
On Tue, 07 Jan 2014, Stephen Boyd wrote: On 01/07, Lee Jones wrote: + return of_platform_populate(pdev-dev.of_node, NULL, NULL, pdev-dev); +} Can't you use the MFD core instead? Are you suggesting using mfd_add_devices()? At first glance it looks like that

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-08 Thread Han Pingtian
On Mon, Jan 06, 2014 at 05:46:04PM +0100, Michal Hocko wrote: On Sun 05-01-14 08:35:01, Han Pingtian wrote: [...] From f4d085a880dfae7638b33c242554efb0afc0852b Mon Sep 17 00:00:00 2001 From: Han Pingtian ha...@linux.vnet.ibm.com Date: Fri, 3 Jan 2014 11:10:49 +0800 Subject: [PATCH] mm:

Re: [PATCH 6/7] ath10k: Use new interfaces for MSI enablement

2014-01-08 Thread Kalle Valo
Alexander Gordeev agord...@redhat.com writes: This update also fixes a stylistic (naming and messaging only) confusion of MSI-X vs multiple MSIs which are not the same. Signed-off-by: Alexander Gordeev agord...@redhat.com Looks good to me. Acked-by: Kalle Valo kv...@qca.qualcomm.com Do you

Re: [RFC PATCH V3] mm readahead: Fix the readahead fail in case of empty numa node

2014-01-08 Thread Raghavendra K T
On 01/06/2014 04:26 PM, Jan Kara wrote: On Mon 06-01-14 15:51:55, Raghavendra K T wrote: Currently, max_sane_readahead returns zero on the cpu with empty numa node, fix this by checking for potential empty numa node case during calculation. We also limit the number of readahead pages to 4k.

Re: [PATCH v2 4/6] ARM: tegra: rework fuse.c

2014-01-08 Thread Peter De Schrijver
On Tue, Jan 07, 2014 at 09:47:05PM +0100, Stephen Warren wrote: On 01/07/2014 07:10 AM, Peter De Schrijver wrote: On Mon, Jan 06, 2014 at 09:50:42PM +0100, Stephen Warren wrote: On 12/24/2013 06:32 AM, Peter De Schrijver wrote: Reduce fuse.c to the minimum functionality required for the

Re: [PATCH v0 04/71] itrace: Infrastructure for instruction flow tracing units

2014-01-08 Thread Peter Zijlstra
restoring the list.. I really should drop all emails you send off list into /dev/null. On Wed, Jan 08, 2014 at 09:28:40AM +0100, Peter Zijlstra wrote: On Tue, Jan 07, 2014 at 10:23:22PM +0100, Andi Kleen wrote: Yes we very much rely on the FREEZE bits for LBR. PT and LBR being mutually

Re: [RFC] sched: CPU topology try

2014-01-08 Thread Alex Shi
On 01/08/2014 04:49 AM, Peter Zijlstra wrote: On Tue, Jan 07, 2014 at 03:41:54PM +, Morten Rasmussen wrote: I think that could work if we sort of the priority scaling issue that I mentioned before. We talked a bit about this on IRC a month or so ago, right? My memories from that are

Re: [PATCH] comedi: Humusoft MF634 and MF624 DAQ cards driver

2014-01-08 Thread Rostislav Lisovy
Hello Dan; On Wed, 2014-01-08 at 10:47 +0300, Dan Carpenter wrote: On Tue, Jan 07, 2014 at 11:24:57PM +0100, Rostislav Lisovy wrote: This patch adds Comedi driver for Humusoft MF634 (PCIe) and MF624 (PCI) data acquisition cards. The legacy card Humusoft MF614 is not supported. More info

Re: [RFC] sched: CPU topology try

2014-01-08 Thread Peter Zijlstra
On Wed, Jan 08, 2014 at 04:32:18PM +0800, Alex Shi wrote: In my old power aware scheduling patchset, I had tried the 95 to 99. But all those values will lead imbalance when we test while(1) like cases. like in a 24LCPUs groups, 24*5% 1. So, finally use 100% as overload indicator. And in

Re: [RFC] sched: CPU topology try

2014-01-08 Thread Alex Shi
On 01/07/2014 11:37 PM, Morten Rasmussen wrote: So something like: avg = runnable + p(i) * blocked; where p(i) \e [0,1] could maybe be used to replace the cpu_load array and still represent the concept of looking at a bigger picture for larger sets. Leaving open the

Re: [RFC PATCH V3] mm readahead: Fix the readahead fail in case of empty numa node

2014-01-08 Thread Raghavendra K T
On 01/07/2014 03:43 AM, Andrew Morton wrote: On Mon, 6 Jan 2014 15:51:55 +0530 Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: + /* +* Readahead onto remote memory is better than no readahead when local +* numa node does not have memory. We sanitize readahead

[RFC] mm: prevent set a value less than 0 to min_free_kbytes

2014-01-08 Thread Han Pingtian
If echo -1 /proc/vm/sys/min_free_kbytes, the system will hang. Changing proc_dointvec() to proc_dointvec_minmax() in the min_free_kbytes_sysctl_handler() can prevent this to happen. Signed-off-by: Han Pingtian ha...@linux.vnet.ibm.com --- mm/page_alloc.c |7 ++- 1 files changed, 6

[PATCH 27/28] perf top: Add top.children config option

2014-01-08 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

[PATCH 09/28] perf tools: Update cpumode for each cumulative entry

2014-01-08 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

[PATCH 22/28] perf tools: Factor out fill_callchain_info()

2014-01-08 Thread Namhyung Kim
The fill_callchain_info() will be shared with perf top --children. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c | 38 +- tools/perf/util/callchain.c |

[PATCH 03/28] perf tools: Remove symbol_conf.use_callchain check

2014-01-08 Thread Namhyung Kim
The machine__resolve_callchain() is called only if symbol_conf. use_callchain is set so no need to check it again. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/machine.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/util/machine.c

[PATCH 01/28] perf tools: Insert filtered entries to hists also

2014-01-08 Thread Namhyung Kim
Currently if a sample was filtered by command line option, it just dropped. But this affects final output in that the percentage can be different since the filtered entries were not included to the total. For example, if an original output looked like below: $ perf report --stdio -s comm #

[PATCH 12/28] perf tools: Save callchain info for each cumulative entry

2014-01-08 Thread Namhyung Kim
When accumulating callchain entry, also save current snapshot of the chain so that it can show the rest of the chain. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c | 21

[PATCH 08/28] perf hists: Accumulate hist entry stat based on the callchain

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 25/28] perf top: Convert to hist_entry_iter

2014-01-08 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. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-top.c | 75

[PATCH 02/28] perf tools: Do not update total period of a hists when filtering

2014-01-08 Thread Namhyung Kim
When filtering by thread, dso or symbol on TUI it also update total period so that the output shows different result than no filter - the percentage changed to relative to filtered entries only. Sometimes (always?) this is not desired since users might expect same results with filter.

[PATCH 11/28] perf callchain: Add callchain_cursor_snapshot()

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 23/28] perf tools: Factor out hist_entry_iter code

2014-01-08 Thread Namhyung Kim
Now the hist_entry_iter code will be shared with perf top code base. So move it to util/hist.c and do some necessary cleanups and renames. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/builtin-report.c |

[PATCH 24/28] perf tools: Add callback function to hist_entry_iter

2014-01-08 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. Also pass @arg to the callback function. It'll be used by perf top later. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com

[PATCH 10/28] perf report: Cache cumulative callchains

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic

[PATCH 21/28] perf tools: Factor out sample__resolve_callchain()

2014-01-08 Thread Namhyung Kim
The report__resolve_callchain() can be shared with perf top code as it doesn't really depend on the perf report code. Factor it out as sample__resolve_callchain(). The same goes to the hist_entry__append_ callchain() too. Acked-by: Jiri Olsa jo...@redhat.com Cc: Arun Sharma asha...@fb.com Cc:

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

2014-01-08 Thread Namhyung Kim
Hello, This is my third attempt to implement cumulative hist period report. This work begins from Arun's SORT_INCLUSIVE patch [1] but I completely rewrote it from scratch. The patch 01 to 03 are independent cleanups and can be applied separately. Please see the patch 04/28. I refactored

[PATCH 1/2] Revert ARM: dts: imx: use dual-fifo sdma script for ssi

2014-01-08 Thread Nicolin Chen
This reverts commit b1d27c79c8377df1880447375deffa3bb82c7bd3. Previously we switched the SSI scriprt to dual-fifo mode to reduce playback underrun issue, which is only included by SDMA firmware version 2. However, there are quite a lot people still using version 1 or default firmware in the ROM

Re: [Patch Part1 V3 09/20] iommu/vt-d: mark internal functions as static

2014-01-08 Thread Jiang Liu
Hi Joerg, Thanks for fix up this issue! I forgot to test the changes against IA64 platform. There's another issue related to IA64, I will send out the patch soon. I have setup cross compilation environment for IA64 and verified all changes passing compilation tests. Thanks! Gerry On

[PATCH 0/2] Fix SSI audio function regression when using ROM firmware

2014-01-08 Thread Nicolin Chen
Previously we added dual-fifo script support for SSI and SDMA, meanwhile, we switched the default script in DT to this new script. However, there're still quite a few people using the old version or even ROM firmware which means they don't provide any firmware to SDMA driver. In these cases, the

[PATCH 2/2] dma: imx-sdma: Assign a default script number for ROM firmware cases

2014-01-08 Thread Nicolin Chen
i.MX series have inner firmware in its ROM code: when SDMA isn't provided any firmware from Kernel or rootfs, the default inner ROM firmware will be activated. However the current driver doesn't assign any script number to this situation, and those platform running in this case would be broken.

Re: [PATCH 6/7] ath10k: Use new interfaces for MSI enablement

2014-01-08 Thread Alexander Gordeev
On Wed, Jan 08, 2014 at 10:23:18AM +0200, Kalle Valo wrote: Looks good to me. Acked-by: Kalle Valo kv...@qca.qualcomm.com Thanks, Kalle. Do you want me to take this patch to my ath.git tree or how were you planning to handle it? I see no option other than pushing it thru pci.git tree at

[RFC PATCH V2] ARM: compressed: Move ramdisk forward to reserve more memory for kernel image

2014-01-08 Thread falcon
From: Wu Zhangjin fal...@meizu.com During embedded linux system booting, before decompressing the kernel image, the bootloader(E.g. Uboot) loads the compressed kernel image and ramdisk into two contiguous memory space, these two memory space are fixed after the Uboot is released, as a result, the

Re: [PATCH] i2c: i801: fix memleak on probe error

2014-01-08 Thread Jean Delvare
Hi Peter, Joining the discussion late as I was on vacation... On Mon, 23 Dec 2013 11:43:21 +0100, Peter Wu wrote: Nevermind this patch, it does not really fix the memleak because i2c_set_adapdata() calls dev_set_drvdata() which allocates memory. (I must have ran kmemleak too early, right

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Sebastian Reichel
On Wed, Jan 08, 2014 at 11:45:38AM +0530, Roger Quadros wrote: diff --git a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt b/Documentation/devicetree/bindings/mfd/omap-usb-host.txt index b381fa6..5635202 100644 --- a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt +++

Re: [PATCH 0/2] video: mxsfb: fix broken videomode selection

2014-01-08 Thread Tomi Valkeinen
On 2014-01-06 15:17, Lothar Waßmann wrote: The first patch in this set converts some messages that are printed in case of errors to be error messages rather than debug messages. The second patch fixes a bug in the video selection code that incorrectly OR's together the 'pixelclk-active' and

Re: [PATCH 1/3] mfd: Add support for S2MPA01 device

2014-01-08 Thread Lee Jones
Add the necessary entries required for S2MPA01 multi-function device. While at it also convert whitespaces to tabs in core.h. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- drivers/mfd/sec-core.c | 39 +++ include/linux/mfd/samsung/core.h| 16 ++-

Re: [Query]: trace-cmd crashing with '-e syscalls' on 3.13-rc1

2014-01-08 Thread Viresh Kumar
On 7 January 2014 13:20, Viresh Kumar viresh.ku...@linaro.org wrote: Ping!! Two things: - I didn't had CONFIG_FTRACE_SYSCALLS enabled earlier - On latest linux, b4a839b Add linux-next specific files for 20140106 I don't see that crash anymore with our without CONFIG_FTRACE_SYSCALLS enabled. --

Re: [PATCH v2] mfd: omap-usb-tll: Don't hold lock during pm_runtime_get/put_sync()

2014-01-08 Thread Lee Jones
pm_runtime_get/put_sync() can sleep so don't hold spinlock while calling them. This patch prevents a BUG() during system suspend when CONFIG_DEBUG_ATOMIC_SLEEP is enabled. Bug is present in Kernel versions v3.9 onwards. Reported-by: Tomi Valkeinen tomi.valkei...@ti.com Signed-off-by:

Re: [PATCH] pinctrl/lantiq: fix typo

2014-01-08 Thread Linus Walleij
On Sun, Dec 29, 2013 at 10:48 PM, Antonios Vamporakis a...@area128.com wrote: Signed-off-by: Antonios Vamporakis a...@area128.com CC: John Crispin blo...@openwrt.org Patch is obviously correct, applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/3] mfd: Add support for S2MPA01 device

2014-01-08 Thread Sachin Kamat
Hi Lee, Thanks for the review. On 8 January 2014 14:32, Lee Jones lee.jo...@linaro.org wrote: Add the necessary entries required for S2MPA01 multi-function device. While at it also convert whitespaces to tabs in core.h. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org ---

Re: [PATCH 3.10 126/129] clocksource: arch_timer: use virtual counters

2014-01-08 Thread Mark Rutland
On Tue, Jan 07, 2014 at 06:50:40PM +, Greg Kroah-Hartman wrote: On Tue, Jan 07, 2014 at 10:09:50AM +, Mark Rutland wrote: Hi Greg, On Mon, Jan 06, 2014 at 10:39:15PM +, Greg Kroah-Hartman wrote: 3.10-stable review patch. If anyone has any objections, please let me know.

Re: [PATCH v3] vb2: Check if there are buffers before streamon

2014-01-08 Thread Marek Szyprowski
Hello, On 2014-01-08 09:01, Ricardo Ribalda Delgado wrote: This patch adds a test preventing streamon() if there is no buffer ready. Without this patch, a user could call streamon() before preparing any buffer. This leads to a situation where if he calls close() before calling streamoff() the

Re: [PATCH 1/3] mfd: Add support for S2MPA01 device

2014-01-08 Thread Lee Jones
@@ -92,7 +93,7 @@ struct sec_platform_data { int buck3_default_idx; int buck4_default_idx; - int buck_ramp_delay; + int buck_ramp_delay; What's this?

[PATCH 07/28] perf hists: Check if accumulated when adding a hist entry

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker

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

2014-01-08 Thread Namhyung Kim
Now perf top and perf report will show children column by default if it has callchain information. Requested-by: Ingo Molnar mi...@kernel.org Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/util/symbol.c |

[PATCH 20/28] perf report: Add report.children config option

2014-01-08 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

[PATCH] iommu/vt-d: fix compilation error when CONFIG_INTEL_IOMMU is unset

2014-01-08 Thread Jiang Liu
commit: 3b3dc052f79731f4a7389b760060928da18823c0 [6/22] iommu/vt-d: fix PCI device reference leakage on error recovery path config: x86_64-randconfig-r0-01080757 (attached as .config) All error/warnings: drivers/iommu/dmar.c: In function 'dmar_parse_dev_scope': drivers/iommu/dmar.c:153:5:

[PATCH 18/28] perf tools: Add more hpp helper functions

2014-01-08 Thread Namhyung Kim
Sometimes it needs to disable some columns at runtime. Add help functions to support that. Cc: Jiri Olsa jo...@redhat.com Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/hist.c | 17 +

[PATCH 16/28] perf ui/gtk: Add support to accumulated hist stat

2014-01-08 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/gtk/hists.c | 16 1 file changed, 16 insertions(+) diff --git

[PATCH 17/28] perf tools: Apply percent-limit to cumulative percentage

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 14/28] perf ui/hist: Add support to accumulated hist stat

2014-01-08 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/hist.c | 45 + tools/perf/util/hist.h | 1 + 2 files

[PATCH 15/28] perf ui/browser: Add support to accumulated hist stat

2014-01-08 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 17 + 1 file changed, 17 insertions(+) diff --git

[PATCH] iommu/vt-d: fix compilation error for IA64 platform

2014-01-08 Thread Jiang Liu
commit: ecd1c02e9fea1c684c9698e8ce6a552656ba0871 [21/22] iommu/vt-d, trivial: clean sparse warnings config: make ARCH=ia64 defconfig All error/warnings: arch/ia64/kernel/built-in.o: In function `pci_iommu_alloc': (.init.text+0xb541): undefined reference to `intel_dma_ops'

[PATCH 05/28] perf hists: Convert hist entry functions to use struct he_stat

2014-01-08 Thread Namhyung Kim
hist_entry__add_cpumode_period() and hist_entry__decay() are dealing with hist_entry's stat fields only. So make them use the struct directly. Acked-by: Jiri Olsa jo...@redhat.com Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim

[PATCH 26/28] perf top: Add --children option

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org ---

[PATCH 13/28] perf hists: Sort hist entries by accumulated period

2014-01-08 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. Cc: Arun Sharma

[PATCH 19/28] perf report: Add --children option

2014-01-08 Thread Namhyung Kim
The --children option is for showing accumulated overhead (period) value as well as self overhead. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Documentation/perf-report.txt | 5 +

[PATCH 04/28] perf tools: Introduce struct hist_entry_iter

2014-01-08 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

[PATCH 06/28] perf hists: Add support for accumulated stat of hist entry

2014-01-08 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. Cc: Arun Sharma asha...@fb.com Cc: Frederic Weisbecker fweis...@gmail.com Signed-off-by:

[Patch] Linux Security Module - SMACK bugfix patch

2014-01-08 Thread Pankaj Kumar
Hi all Please find attached bugfix patch for SMACK Linux security module. This patch fixes following bugs in smack_lsm.c file : 1. In order to remove any SMACK extended attribute from a file, a user should have CAP_MAC_ADMIN capability. But user without this capability is able to remove

Re: [RFC PATCH] gpio: add GPIO hogging mechanism

2014-01-08 Thread Linus Walleij
On Thu, Dec 19, 2013 at 3:34 PM, Boris BREZILLON b.brezil...@overkiz.com wrote: GPIO hogging is a way to request and configure specific GPIO without explicitly requesting it in the device driver. The request and configuration procedure is handled in the core device driver code before the

Re: [RFC] mm: prevent set a value less than 0 to min_free_kbytes

2014-01-08 Thread Michal Hocko
On Wed 08-01-14 16:42:42, Han Pingtian wrote: If echo -1 /proc/vm/sys/min_free_kbytes, the system will hang. Changing proc_dointvec() to proc_dointvec_minmax() in the min_free_kbytes_sysctl_handler() can prevent this to happen. You can still do echo $BIG_VALUE /proc/vm/sys/min_free_kbytes

Re: [PATCH 3/3] Documentation: mfd: Add binding document for S2MPA01

2014-01-08 Thread Mark Rutland
On Wed, Jan 08, 2014 at 06:26:30AM +, Sachin Kamat wrote: Added initial binding documentation for S2MPA01 MFD. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org --- Documentation/devicetree/bindings/mfd/s2mpa01.txt | 91 + 1 file changed, 91 insertions(+)

Re: [RFC PATCH] gpio: add GPIO hogging mechanism

2014-01-08 Thread Linus Walleij
On Mon, Dec 30, 2013 at 10:48 AM, boris brezillon b.brezil...@overkiz.com wrote: On 19/12/2013 19:22, Felipe Balbi wrote: that's quite a weird argument from Linus W, considering you _do_ have a discrete mux on the board. We have quite a few of such crazy scenarios here at TI and we were

[PATCH v3 2/3] ata: ahci_platform: Manage SATA PHY

2014-01-08 Thread Roger Quadros
From: Balaji T K balaj...@ti.com Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the PHY framework. [Roger Q] Cleaned up. CC: Tejun Heo t...@kernel.org Signed-off-by: Balaji T K balaj...@ti.com

[PATCH v3 0/3] ata: ahci_platform: Add PHY support and OMAP support

2014-01-08 Thread Roger Quadros
Hi, Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the Generic PHY framework in PATCH 2. In order to support SATA on the OMAP platforms we need to runtime resume the device before use. PATCH 3 takes

[PATCH v3 3/3] ata: ahci_platform: runtime resume the device before use

2014-01-08 Thread Roger Quadros
On OMAP platforms the device needs to be runtime resumed before it can be accessed. The OMAP HWMOD framework takes care of enabling the module and its resources based on the device's runtime PM state. In this patch we runtime resume during .probe() and runtime suspend during .remove() (i.e.

[PATCH v3 1/3] ata: ahci_platform: Update DT compatible list

2014-01-08 Thread Roger Quadros
The ahci_platform driver supports snps,exynos5440-ahci and ibm,476gtr-ahci. Add this to the DT binding information. Also add compatible string snps,dwc-ahci, which should be used for Synopsis Designware SATA cores. e.g. on TI OMAP5 and DRA7 platforms. Signed-off-by: Roger Quadros rog...@ti.com

Re: [PATCH] fbcon: trivial optimization for fbcon_exit

2014-01-08 Thread Tomi Valkeinen
On 2013-12-27 04:39, Wang YanQing wrote: Break out as soon as we find a mapped entry con2fb_map. Signed-off-by: Wang YanQing udkni...@gmail.com --- drivers/video/console/fbcon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/video/console/fbcon.c

Re: [PATCH] fbcon: Fix memory leak in fbcon_exit().

2014-01-08 Thread Tomi Valkeinen
On 2013-12-25 16:47, Masami Ichikawa wrote: kmemleak reported a memory leak as below. unreferenced object 0x880036ca84c0 (size 16): comm swapper/0, pid 1, jiffies 4294877407 (age 4434.633s) hex dump (first 16 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ff ff

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Mark Rutland
On Wed, Jan 08, 2014 at 06:15:38AM +, Roger Quadros wrote: The omap-usb-host driver expects the 60MHz functional clock of the USB host module to be named as init_60m_fclk. Add this information in the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz

Re: [PATCH v3 2/3] ata: ahci_platform: Manage SATA PHY

2014-01-08 Thread Kishon Vijay Abraham I
Hi Roger, On Wednesday 08 January 2014 03:17 PM, Roger Quadros wrote: From: Balaji T K balaj...@ti.com Some platforms have a PHY hooked up to the SATA controller. The PHY needs to be initialized and powered up for SATA to work. We do that using the PHY framework. [Roger Q] Cleaned up.

Re: [PATCH v3 2/3] ata: ahci_platform: Manage SATA PHY

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 15:29:18 Kishon Vijay Abraham I wrote: + hpriv-phy = devm_phy_get(dev, sata-phy); + if (IS_ERR(hpriv-phy)) { + dev_dbg(dev, can't get sata-phy\n); + /* return only if -EPROBE_DEFER */ + if (PTR_ERR(hpriv-phy) ==

Re: [PATCH v4 4/6] devicetree: bindings: Document Krait L1/L2 EDAC

2014-01-08 Thread Lorenzo Pieralisi
On Tue, Jan 07, 2014 at 08:12:39PM +, Stephen Boyd wrote: On 01/07, Lorenzo Pieralisi wrote: Not sure this binding (cache node) belongs in cpus.txt I am working on defining cache bindings for ARM within the C-state standardization effort:

Re: [PATCH V2 1/6] Documentation: add dts binding for X-Gene reboot dts node.

2014-01-08 Thread Mark Rutland
On Tue, Jan 07, 2014 at 10:50:36PM +, Feng Kan wrote: Add X-Gene reboot device tree node documentation. Signed-off-by: Feng Kan f...@apm.com --- .../devicetree/bindings/arm64/xgene/reboot.txt | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) create mode 100644

Re: [PATCH V2 1/6] Documentation: add dts binding for X-Gene reboot dts node.

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 10:05:50 Mark Rutland wrote: + +Example: + + reboot@0 { + compatible = apm,xgene-reboot; + reg = 0x0 0x1714 0x0 0x4; + }; Given this seems to be a 64-bit address, the unit address should preferably be 0,1714

Re: could you clarify mm/mempolicy: fix !vma in new_vma_page()

2014-01-08 Thread Michal Hocko
On Wed 08-01-14 08:56:44, Bob Liu wrote: On Wed, Jan 8, 2014 at 1:30 AM, Michal Hocko mho...@suse.cz wrote: On Tue 07-01-14 11:22:12, Michal Hocko wrote: On Tue 07-01-14 13:29:31, Bob Liu wrote: On Mon, Jan 6, 2014 at 10:18 PM, Michal Hocko mho...@suse.cz wrote: On Mon 06-01-14

Re: [PATCH v4 1/5] mfd: omap-usb-host: Update DT clock binding information

2014-01-08 Thread Roger Quadros
+Tero Hi Sebastian, On 01/08/2014 02:38 PM, Sebastian Reichel wrote: On Wed, Jan 08, 2014 at 11:45:38AM +0530, Roger Quadros wrote: diff --git a/Documentation/devicetree/bindings/mfd/omap-usb-host.txt b/Documentation/devicetree/bindings/mfd/omap-usb-host.txt index b381fa6..5635202 100644

[PATCH -next] ASoC: ux500: Fix sparse non static symbol warning

2014-01-08 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fixes the following sparse warning: sound/soc/ux500/ux500_msp_i2s.c:649:5: warning: symbol 'ux500_msp_i2s_of_init_msp' was not declared. Should it be static? Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn ---

Re: [PATCH -next] ASoC: ux500: Fix sparse non static symbol warning

2014-01-08 Thread Arnd Bergmann
On Wednesday 08 January 2014 18:13:35 Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fixes the following sparse warning: sound/soc/ux500/ux500_msp_i2s.c:649:5: warning: symbol 'ux500_msp_i2s_of_init_msp' was not declared. Should it be static? Signed-off-by: Wei

Re: [RFC] mm: show message when updating min_free_kbytes in thp

2014-01-08 Thread Michal Hocko
On Wed 08-01-14 16:20:01, Han Pingtian wrote: On Mon, Jan 06, 2014 at 05:46:04PM +0100, Michal Hocko wrote: On Sun 05-01-14 08:35:01, Han Pingtian wrote: [...] From f4d085a880dfae7638b33c242554efb0afc0852b Mon Sep 17 00:00:00 2001 From: Han Pingtian ha...@linux.vnet.ibm.com Date:

[PATCH v2 0/2] perf/x86: various RAPL improvements and fixes

2014-01-08 Thread Stephane Eranian
This short patch series provides the following improvements to the RAPL support for perf_events: - support for RAPL PP1 energy counter - fix struct perf_event active_list field initialization The PP1 counter maps to the builtin graphic card for client processors. that is why it is called

Re: [PATCH v3 4/6] gpio / ACPI: register to ACPI events automatically

2014-01-08 Thread Mika Westerberg
On Tue, Jan 07, 2014 at 06:50:00PM +0100, Linus Walleij wrote: On Tue, Nov 26, 2013 at 11:05 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: Instead of asking each driver to register to ACPI events we can just call acpi_gpiochip_register_interrupts() for each chip that has an

Re: [PATCH] spi: atmel: add support for changing message transfer speed

2014-01-08 Thread Richard Genoud
2013/11/8 Mark Brown broo...@kernel.org: On Thu, Nov 07, 2013 at 10:34:06AM +0100, Richard Genoud wrote: The only speed available was max_speed (the maximum speed declared for a device). This patch adds the support for spi_tranfer-speed_hz parameter. We can now set a different speed for each

[PATCH v2 1/2] perf/x86: fix active_entry initialization

2014-01-08 Thread Stephane Eranian
This patch fixes a problem with the initialization of the struct perf_event active_entry field. It is defined inside an anonymous union and was initialized in perf_event_alloc() using INIT_LIST_HEAD(). However at that time, we do not know whether the event is going to use active_entry or

Re: [PATCH -next] ASoC: ux500: Fix sparse non static symbol warning

2014-01-08 Thread Linus Walleij
On Wed, Jan 8, 2014 at 11:13 AM, Wei Yongjun weiyj...@gmail.com wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn Fixes the following sparse warning: sound/soc/ux500/ux500_msp_i2s.c:649:5: warning: symbol 'ux500_msp_i2s_of_init_msp' was not declared. Should it be static?

  1   2   3   4   5   6   7   8   9   10   >