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 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

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 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 >> --- >> drivers/mfd/sec-core.c | 39

Re: [PATCH] pinctrl/lantiq: fix typo

2014-01-08 Thread Linus Walleij
On Sun, Dec 29, 2013 at 10:48 PM, Antonios Vamporakis wrote: > Signed-off-by: Antonios Vamporakis > CC: John Crispin Patch is obviously correct, applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

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 > Signed-off-by: Roger

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 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. -- To unsubscribe from

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'

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 > --- > drivers/mfd/sec-core.c | 39 +++ > include/linux/mfd/samsung/core.h| 16 ++- >

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 > +++

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

2014-01-08 Thread falcon
From: Wu Zhangjin 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 maximum size of

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 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 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 this stage. > --

[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 Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 22 +++--- 1

[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 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

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 33

[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 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

[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 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/hists.c

[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 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 Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/symbol.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-)

[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 Cc: Frederic Weisbecker Signed-off-by:

[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 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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-top.txt | 6 ++

[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 Cc: 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 insertions(+)

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 5 + tools/perf/builtin-report.c | 10 ++ 2 files

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim ---

[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 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] 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 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 Cc: Arun Sharma Cc: Frederic Weisbecker

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 468 +---

[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 --- tools/perf/util/machine.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/util/machine.c b/tools/perf/util/machine.c index

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 21 +++-- 1 file changed, 15 insertions(+), 6

[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 --- 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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/callchain.h | 9 + 1 file changed, 9 insertions(+)

[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 Cc: Frederic Weisbecker

[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 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 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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 38 +- tools/perf/util/callchain.c | 42 ++

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/builtin-report.c | 95

[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 Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim ---

[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.

[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 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 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

[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 --- mm/page_alloc.c |7 ++- 1 files changed, 6 insertions(+), 1

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 wrote: + /* +* Readahead onto remote memory is better than no readahead when local +* numa node does not have memory. We sanitize readahead size depending +* on free

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

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: [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

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

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 > > >

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

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 6/7] ath10k: Use new interfaces for MSI enablement

2014-01-08 Thread Kalle Valo
Alexander Gordeev 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 Looks good to me. Acked-by: Kalle Valo Do you want me to take this patch to my ath.git tree or how

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 > > Date: Fri, 3 Jan 2014 11:10:49 +0800 > > Subject: [PATCH] mm: show message

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, > > > >> >dev); > > > >> +} > > > > Can't you use the MFD core instead? > > > > > > > > > > Are you suggesting using mfd_add_devices()? At first

[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: 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

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 > > 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 same is

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 > --- >

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: 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 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: [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 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 here. > >

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

[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 --- .../devicetree/bindings/sound/simple-card.txt | 1 + include/sound/simple_card.h

[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 --- sound/soc/fsl/Kconfig | 25 ++ sound/soc/fsl/Makefile| 3 +++ sound/soc/fsl/snd-soc-simple-card-vf610.c | 44 +++ 3 files

[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 --- arch/arm/boot/dts/vf610-twr.dts | 47 + 1 file changed, 47 insertions(+) diff --git a/arch/arm/boot/dts/vf610-twr.dts

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

2014-01-08 Thread Xiubo Li
Signed-off-by: Xiubo Li --- 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 +++ b/sound/soc/generic/simple-card.c @@

[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 |

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