[PATCH 11/15] tools lib api: Add mount support for fs

2015-09-02 Thread Jiri Olsa
Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) interface that tries to mount the filesystem in case no mount is found. Link: http://lkml.kernel.org/n/tip-ja49vwfiq2qqkmoxx9yk2...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 44 ++

Re: [PATCH 2/2] arm64: dts: add dts files for Hisilicon Hip05-D02 Development Board

2015-09-02 Thread Marc Zyngier
[Don't top-post, this is very annoying] On 02/09/15 05:28, Ding Tianhong wrote: > Hi,Marc: > > Can you check this, I am not sure whether the GIC_CPU_MASK_SIMPLE(xx) > is used for gic-v3, maybe we should remove it, thanks. The binding documentation (Documentation/devicetree/bindings/arm/gic-v3.tx

[PATCH 09/15] tools lib api: Add debugfs into fs.c object

2015-09-02 Thread Jiri Olsa
Adding debugfs support into fs.c framework. It'll replace the debugfs object functionality in following patches. Link: http://lkml.kernel.org/n/tip-6n8d5bxn47oqcvlhzqw09...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 31 +-- tools/lib/api/fs/fs

[PATCH 12/15] tools lib api: Add configured support for fs

2015-09-02 Thread Jiri Olsa
Adding name__mount (where name is in sysfs,procfs,debugfs,tracefs) interface that returns bool state of the filesystem mount: true - mounted, false - not mounted It will not try to mount the filesystem. Link: http://lkml.kernel.org/n/tip-csvlq2hr43ys3u7nfs2up...@git.kernel.org Signed-off-by: Ji

[PATCH 13/15] tools lib api: Replace debugfs/tracefs objects interface with fs.c

2015-09-02 Thread Jiri Olsa
Switching to the fs.c related filesystem framework. Link: http://lkml.kernel.org/n/tip-csvlq2hr43ys3u7nfs2up...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 1 - tools/lib/api/fs/tracing_path.c| 15 +++ tools/perf/builtin-kvm.c

[PATCH 07/15] tools lib api: Add STR and PATH_MAX macros to fs object

2015-09-02 Thread Jiri Olsa
We're going to get rid of findfs.h in following patches, but we'll still need these macros. Link: http://lkml.kernel.org/n/tip-mrjj0llsem9pjakkrx9o0...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 3 +++ tools/lib/api/fs/fs.h | 8 2 files changed, 11 insertions(+)

[PATCH 15/15] perf tools: Switch to tracing_path interface on appropriate places

2015-09-02 Thread Jiri Olsa
Using tracing_path interface on several places, that more or less copy the functionality of tracing_path interface. Link: http://lkml.kernel.org/n/tip-nvxvjo2bpsjf3hhz3ylul...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/tests/openat-syscall-all-cpus.c | 9 +++-- tools/perf/tests/

[PATCH 01/15] perf tools: Fix parse_events_add_pmu caller

2015-09-02 Thread Jiri Olsa
Following commit changed parse_events_add_pmu interface: 36adec85a86f perf tools: Change parse_events_add_pmu interface but forgot to change one caller. Because of lessen compilation rules for the bison parser, the compiler did not warn on that. Link: http://lkml.kernel.org/n/tip-fda5a524tfapmp

[PATCH 02/15] perf tools: Remove mountpoint arg from perf_debugfs_mount

2015-09-02 Thread Jiri Olsa
It's not used by any caller. We either detect the mountpoint or use hardcoded one. Link: http://lkml.kernel.org/n/tip-7bbr92o7gwv5bkpancqoy...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/perf/perf.c | 2 +- tools/perf/util/util.c | 14 +++--- tools/perf/util/util.h | 2 +- 3

[PATCH 04/15] perf tools: Move tracing_path interface into api/fs/tracing_path.c

2015-09-02 Thread Jiri Olsa
Moving tracing_path interface into api/fs/tracing_path.c out of util.c. It seems generic enough to be used by others, and I couldn't think of better place. Link: http://lkml.kernel.org/n/tip-xqvrud2e3z4uynvnu3iml...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/Build |

[PATCH 00/15] perf tools: Cleanup filesystem api

2015-09-02 Thread Jiri Olsa
hi, this patchset moves all filesystem we use under api/fs/fs.c framework and adds new tracing_path object to get tracing area (path). It unifies the way we use debugfs/tracefs paths and removes some redundant code. It's base for the tracepoint parsing error reporting I posted recently. jirka

Re: [PATCH v2 1/2] ARM: dts: Split audio configuration to separate exynos5422-odroidxu3-audio

2015-09-02 Thread Javier Martinez Canillas
Hello Krzysztof, On 09/02/2015 03:30 AM, Krzysztof Kozlowski wrote: > The Odroid XU4 board does not have audio codec so before adding DTS for > new board split the audio codec to separate DTSI file. Include the audio codec > DTSI in Odroid XU3 and XU3-Lite boards. > > Signed-off-by: Krzysztof Koz

[PATCH v6 3/3] KVM: trace kvm_halt_poll_ns grow/shrink

2015-09-02 Thread Wanpeng Li
Tracepoint for dynamic halt_pool_ns, fired on every potential change. Signed-off-by: Wanpeng Li --- include/trace/events/kvm.h | 30 ++ virt/kvm/kvm_main.c| 8 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/include/trace/events/kvm.h

Re: [PATCH 0/4] x86/insn: perf tools: Add a few new x86 instructions

2015-09-02 Thread Ingo Molnar
* 平松雅巳 / HIRAMATU,MASAMI wrote: > > sure, np you can use my ack > > I'm also OK for this patch. I just concern that is OK for Adrian too? > Since this ensures all the copied code should be dead copy (not modified > anymore), > if we want a different instruction decoding routine, we have to br

Re: [PATCH 1/2] mmc: sdhci-pxav3: Fix tabbing issue

2015-09-02 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 12:24 PM, Jisheng Zhang wrote: On Wed, 2 Sep 2015 00:54:13 +0530 Vaibhav Hiremath wrote: There were some coding style issues where spaces have been used instead of tabs, for example, in macro definitions, alignment of function declarations/definitions, etc...

Re: Regression: can't apply frequency offsets above 1000ppm.

2015-09-02 Thread Miroslav Lichvar
On Wed, Sep 02, 2015 at 02:14:21AM +0100, Nuno Gonçalves wrote: > On Wed, Sep 2, 2015 at 2:03 AM, John Stultz wrote: > > On Tue, Sep 1, 2015 at 5:36 PM, Nuno Gonçalves wrote: > >> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dc491596f6394382fbc74ad331156207d619fa0a >

[tip:x86/urgent] x86/mm/srat: Print non-volatile flag in SRAT

2015-09-02 Thread tip-bot for Linda Knippers
Commit-ID: 31e09b18c863718939e3e9c30eee55f9011d85ee Gitweb: http://git.kernel.org/tip/31e09b18c863718939e3e9c30eee55f9011d85ee Author: Linda Knippers AuthorDate: Tue, 1 Sep 2015 15:41:55 -0400 Committer: Ingo Molnar CommitDate: Wed, 2 Sep 2015 09:33:25 +0200 x86/mm/srat: Print non-vola

[PATCH v6 1/3] KVM: make halt_poll_ns per-vCPU

2015-09-02 Thread Wanpeng Li
Change halt_poll_ns into per-vCPU variable, seeded from module parameter, to allow greater flexibility. Signed-off-by: Wanpeng Li --- include/linux/kvm_host.h | 1 + virt/kvm/kvm_main.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/linux/kvm_host.h b/incl

[PATCH v6 2/3] KVM: dynamic halt_poll_ns adjustment

2015-09-02 Thread Wanpeng Li
There is a downside of always-poll since poll is still happened for idle vCPUs which can waste cpu usage. This patch adds the ability to adjust halt_poll_ns dynamically, to grow halt_poll_ns when shot halt is detected, and to shrink halt_poll_ns when long halt is detected. There are two new ke

[PATCH v6 0/3] KVM: Dynamic Halt-Polling

2015-09-02 Thread Wanpeng Li
v5 -> v6: * fix wait_ns and poll_ns v4 -> v5: * set base case 10us and max poll time 500us * handle short/long halt, idea from David, many thanks David ;-) v3 -> v4: * bring back grow vcpu->halt_poll_ns when interrupt arrives and shrinks when idle VCPU is detected v2 -> v3: * grow/shri

Re: linux-next: build failure after merge of the rcu tree

2015-09-02 Thread Ingo Molnar
* Paul E. McKenney wrote: > On Tue, Sep 01, 2015 at 11:40:51PM -0700, Davidlohr Bueso wrote: > > On Tue, 2015-09-01 at 22:26 -0700, Paul E. McKenney wrote: > > > Davidlohr, the error is due to sched_setscheduler_nocheck() not being > > > exported, so that Stephen gets this failure when building

[tip:perf/urgent] perf tools: Fix link time error with sample_reg_masks on non x86

2015-09-02 Thread tip-bot for Stephane Eranian
Commit-ID: af4aeadd8c04303c0aa2d112145c3627e2ebd026 Gitweb: http://git.kernel.org/tip/af4aeadd8c04303c0aa2d112145c3627e2ebd026 Author: Stephane Eranian AuthorDate: Tue, 1 Sep 2015 11:30:14 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Sep 2015 13:04:41 -0300 perf tools:

[tip:perf/urgent] perf build: Fix Intel PT instruction decoder dependency problem

2015-09-02 Thread tip-bot for Wang Nan
Commit-ID: 04aa90b529ee45c5ee88997bc214202e07b26979 Gitweb: http://git.kernel.org/tip/04aa90b529ee45c5ee88997bc214202e07b26979 Author: Wang Nan AuthorDate: Tue, 1 Sep 2015 05:56:45 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Sep 2015 13:03:46 -0300 perf build: Fix Inte

[tip:perf/urgent] perf dwarf: Fix potential array out of bounds access

2015-09-02 Thread tip-bot for Wang Nan
Commit-ID: 3b27d13940c3710a1128527c43719cb0bb05d73b Gitweb: http://git.kernel.org/tip/3b27d13940c3710a1128527c43719cb0bb05d73b Author: Wang Nan AuthorDate: Tue, 1 Sep 2015 03:29:44 + Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 1 Sep 2015 11:33:48 -0300 perf dwarf: Fix pote

Re: [PATCH V2 Resend 2/5] PM / OPP: Prefix exported opp routines with dev_pm_opp_

2015-09-02 Thread Viresh Kumar
On 02-09-15, 12:52, Viresh Kumar wrote: > On 01-09-15, 21:03, Pavel Machek wrote: > > Is ..._free_table opposite of ..._init_opp? If so, you might want to > > name them such that it is clear... > > Yes, it is opposite of that. Okay, so here is a new patch for this, > lemme know if this looks fine.

Re: [GIT PULL 0/3] perf/urgent fixes

2015-09-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 532026612455a4a6fd27c1b2e7111263f63218a2: > > Merge tag 'perf-core-for-mingo' of > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent

Re: [PATCH V2 Resend 2/5] PM / OPP: Prefix exported opp routines with dev_pm_opp_

2015-09-02 Thread Viresh Kumar
On 01-09-15, 21:03, Pavel Machek wrote: > Is ..._free_table opposite of ..._init_opp? If so, you might want to > name them such that it is clear... Yes, it is opposite of that. Okay, so here is a new patch for this, lemme know if this looks fine. I will then resend the whole series again.. @Steph

Re: linux-next: build failure after merge of the rcu tree

2015-09-02 Thread Paul E. McKenney
On Tue, Sep 01, 2015 at 11:40:51PM -0700, Davidlohr Bueso wrote: > On Tue, 2015-09-01 at 22:26 -0700, Paul E. McKenney wrote: > > Davidlohr, the error is due to sched_setscheduler_nocheck() not being > > exported, so that Stephen gets this failure when building modules. > > This is 04be76a9b067 (lo

Re: [PATCH V2 Resend 3/5] PM / OPP: Move opp core to its own directory

2015-09-02 Thread Viresh Kumar
On 01-09-15, 15:51, Stephen Boyd wrote: > It's odd that we use CONFIG_DEBUG_DRIVER here when that's talking > about debugging the driver core. I wonder why this wouldn't be > some OPP specific debug config option instead. But that was > already there before so this topic is for another patch. I ag

Re: [RFC 2/3] mmc: sdhci: add host_ops->voltage_switch callback for all other voltages

2015-09-02 Thread Jisheng Zhang
On Wed, 2 Sep 2015 01:02:17 +0530 Vaibhav Hiremath wrote: > Currently, the sdhci_do_start_signal_voltage_switch() function invokes > controller specific voltage switch configuration only for 1.8v usecase; > but it is required for others as well. > > For example, in case of PXA1928 SDH controller

Re: [PATCH 2/3] rhashtable-test: retry insert operations in threads

2015-09-02 Thread Thomas Graf
On 09/02/15 at 10:00am, Herbert Xu wrote: > On Tue, Sep 01, 2015 at 04:51:24PM +0200, Thomas Graf wrote: > > > > 1. The current in-kernel self-test > > 2. bind_netlink.c: https://github.com/tgraf/rhashtable > > Thanks, I will try to reproduce this. The path in question is: int rhashtable_insert_

[PATCH] kvm: irqchip: fix memory leak

2015-09-02 Thread Sudip Mukherjee
We were taking the exit path after checking ue->flags and return value of setup_routing_entry(), but 'e' was not freed incase of a failure. Signed-off-by: Sudip Mukherjee --- virt/kvm/irqchip.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/virt/kvm/irqchip.c b/virt/

<    3   4   5   6   7   8