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

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_

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

[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

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

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

[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

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

[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

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 >

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

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

[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 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 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 14/15] tools lib api: Remove debugfs, tracefs and findfs objects

2015-09-02 Thread Jiri Olsa
We have all the functionality in fs.c, let's remove unneeded objects. Link: http://lkml.kernel.org/n/tip-4ylqs27bec3m6ofefqo0e...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/Build | 3 -- tools/lib/api/fs/debugfs.c | 77 - tools/l

[PATCH 10/15] tools lib api: Add tracefs into fs.c object

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

[PATCH 08/15] tools lib api: Move SYSFS_MAGIC PROC_SUPER_MAGIC into fs.c

2015-09-02 Thread Jiri Olsa
There's no need to export SYSFS_MAGIC PROC_SUPER_MAGIC in fs.h. Leave them in the fs.c. Link: http://lkml.kernel.org/n/tip-b2cd1bb7yvbazq5oua24o...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/fs.c | 8 tools/lib/api/fs/fs.h | 8 2 files changed, 8 insertions(+)

[PATCH 06/15] tools lib api: Make tracing_path_strerror_open message generic

2015-09-02 Thread Jiri Olsa
Making tracing_path__strerror_open_tp message generic by mentioning both debugfs/tracefs words in error message plus the tracing_path instead of debugfs_mountpoint. Link: http://lkml.kernel.org/n/tip-5y7nboe2xe619hp649ry5...@git.kernel.org Signed-off-by: Jiri Olsa --- tools/lib/api/fs/tracing_pa

[PATCH 05/15] tools lib api: Move debugfs__strerror_open into tracing_path.c object

2015-09-02 Thread Jiri Olsa
Moving debugfs__strerror_open out of api/fs/debugfs.c, because it's not debugfs specific. It'll be changed to consider tracefs mount as well in following patches. Renaming it into tracing_path__strerror_open_tp to fit into the namespace. No functional change is intended. Link: http://lkml.kernel.

[PATCH 03/15] perf tools: Move tracing_path stuff under same namespace

2015-09-02 Thread Jiri Olsa
Renaming all functions touching tracing_path under same namespace. New interface is: char tracing_path[]; - tracing mount path char tracing_events_path[]; - tracing mount/events path void tracing_path_set(const char *mountpoint); - setting directly tracing_path(_events), used by --de

Re: [PATCH v2 2/2] ARM: dts: Add exynos5422-odroidxu4 board

2015-09-02 Thread Javier Martinez Canillas
Hello Krzysztof, On 09/02/2015 03:30 AM, Krzysztof Kozlowski wrote: > Add Hardkernel Odroid XU4 board Device Tree sources. The board differs > from Odroid XU3 and XU3-Lite by: > 1. No green and red leds (except standard red power led). > 2. No audio codec. > 3. Two USB3 ports in host mode (no micr

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

2015-09-02 Thread Jiri Olsa
On Wed, Sep 02, 2015 at 09:56:30AM +0200, Jiri Olsa wrote: > 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

[PATCH] rtc: Abracon ABX8XX write RTC fix

2015-09-02 Thread Mitja Spes
Fixed RTC write bit as per application manual Signed-off-by: Mitja Spes --- drivers/rtc/rtc-abx80x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-abx80x.c b/drivers/rtc/rtc-abx80x.c index 4337c3b..afea84c 100644 --- a/drivers/rtc/rtc-abx80x.c +++ b/drivers/

Re: [PATCH v4 2/2] dt: power: st: Provide bindings for ST's OPPs

2015-09-02 Thread Viresh Kumar
On 26-08-15, 13:06, Lee Jones wrote: > On Wed, 12 Aug 2015, Viresh Kumar wrote: > > > On 11-08-15, 16:17, Lee Jones wrote: > > > This would work if we only had a single variable to contend with, but > > > what I showed you in my previous example is that we have 3 variables > > > to consider; cut (

Re: [PATCH 5/8] mmc: dw_mmc: dt-binding: Add tuning related things

2015-09-02 Thread Heiko Stuebner
Hi Jaehoon, Am Mittwoch, 2. September 2015, 14:01:52 schrieb Jaehoon Chung: > Hi, Heiko. > > On 09/01/2015 03:24 AM, Heiko Stuebner wrote: > > From: Alexandru M Stan > > > > Add ciu_drv, ciu_sample clocks and default-sample-phase. This will later > > be used by tuning code. > > As i know, ciu_

Re: [PATCH v4 5/5] sched: add two functions for att(det)aching a task to(from) a cfs_rq

2015-09-02 Thread Peter Zijlstra
On Wed, Sep 02, 2015 at 11:33:15AM +0900, Byungchul Park wrote: > +++ b/kernel/sched/fair.c > @@ -7920,14 +7920,14 @@ prio_changed_fair(struct rq *rq, struct task_struct > *p, int oldprio) > > static inline bool vruntime_normalized(struct task_struct *p) > { > struct sched_entity *se = &

linux-next: Tree for Sep 2

2015-09-02 Thread Stephen Rothwell
Hi all, There will be no linux-next release this Friday or Monday. Please do not add material for v4.4 until after v4.3-rc1 is out. Changes since 20150901: I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The block tree gained a confl

Re: [PATCH v4 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread ygardi
> On Sun, Aug 30, 2015 at 9:52 AM, Yaniv Gardi > wrote: >> This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS >> a platform device. >> In order to do so a few additional changes are required: >> 1. The ufshcd-pltfrm is no longer serves as a platform device. >>Now it only serves as a

[PATCH v2 2/4] perf tests: make objdump disassemble zero blocks

2015-09-02 Thread Jan Stancek
Add -z parameter to avoid skipping zero blocks: 816704fe : 816704fe: 7b 34 jnp 81670534 ... 81670501 : 81670501: 0f ba e2 03 bt $0x3,%edx 81670505: 73 11 jae 81670518 Signed-off-by: Jan Stancek Cc: Arnald

[PATCH v2 4/4] perf tests: print objdump/dso buffers if they don't match

2015-09-02 Thread Jan Stancek
Signed-off-by: Jan Stancek Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Adrian Hunter Cc: David Ahern Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra --- tools/perf/tests/code-reading.c | 16 1 file chan

[PATCH v2 1/4] perf tests: take into account address of each objdump line

2015-09-02 Thread Jan Stancek
objdump output can contain repeated bytes. At the moment test reads all output sequentially, assuming each address is represented in output only once: 8164efb3 : 8164efb3: c1 5d 00 ebrcrl $0xeb,0x0(%rbp) 8164efb7: 00 4c 8b 5cadd%cl,0x5c(%rbx,%r

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

2015-09-02 Thread Vaibhav Hiremath
On Wednesday 02 September 2015 12:34 PM, Jisheng Zhang wrote: 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

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-02 Thread Stefan Hajnoczi
On Mon, Aug 31, 2015 at 10:11 AM, Marc Marí wrote: > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > Signed-off-by: Marc Marí > --- > Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 > +++- > 1 file changed, 50 insertions(+), 1 deletion(-) > > di

[PATCH v2 3/4] perf tests: stop reading if objdump output crossed sections

2015-09-02 Thread Jan Stancek
objdump output can span across multiple sections: Disassembly of section .text: 0008 : 8: 48 89 e5mov%rsp,%rbp b: 53 push %rbx c: 8b 01 mov(%rcx),%eax 6b: 90

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

2015-09-02 Thread Ding Tianhong
On 2015/9/2 15:58, Marc Zyngier wrote: > [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 documentat

RE: [PATCH] [v2] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-02 Thread Chen, Yu C
Hi, all, I'll do some small modifications on this patch and will send out a v3 version later. Because: 1.some boudary conditions need to be adjusted and 2.the page frame validation code will be moved to the place where Joey once put in his patch(which would look more reasonable) Please refer to

Re: [PATCH v4 5/5] sched: add two functions for att(det)aching a task to(from) a cfs_rq

2015-09-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Sep 02, 2015 at 11:33:15AM +0900, Byungchul Park wrote: > > +++ b/kernel/sched/fair.c > > @@ -7920,14 +7920,14 @@ prio_changed_fair(struct rq *rq, struct task_struct > > *p, int oldprio) > > > > static inline bool vruntime_normalized(struct task_struct *p) >

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 13:49:53 +0530 Vaibhav Hiremath wrote: > > > On Wednesday 02 September 2015 12:34 PM, Jisheng Zhang wrote: > > On Wed, 2 Sep 2015 01:02:17 +0530 > > Vaibhav Hiremath wrote: > > > >> Currently, the sdhci_do_start_signal_voltage_switch() function invokes > >> controller specif

[PATCH v5 0/8] Fix error message and present UFS variant

2015-09-02 Thread Yaniv Gardi
V5: removed a redundant null check V4: add file Documentation/devicetree/bindings/ufs/ufs-qcom.txt and modify the compatible strings in Documentation/devicetree/bindings/ufs/ufshcd-pltfrm.txt V3: fixes a few minor issues. V2: fixes a few issues of unnecessary EXPORT_SYMBOL, types of parameters i

Re: [PATCH] ahci: added a new driver for supporting Freescale AHCI sata

2015-09-02 Thread Hans de Goede
Hi, On 02-09-15 04:25, yuantian.t...@freescale.com wrote: From: Tang Yuantian Currently Freescale QorIQ series SATA is supported by ahci_platform driver. Some SoC specific settings have been put in uboot. So whether SATA works or not heavily depends on uboot. This patch will add a new driver t

[PATCH v5 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-09-02 Thread Yaniv Gardi
Export the following functions in order to avoid build errors when the component PHY_QCOM_UFS is compiled as a module: ERROR: "ufs_qcom_phy_disable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERROR: "ufs_qcom_phy_enable_ref_clk" [drivers/scsi/ufs/ufs-qcom.ko] undefined! ERRO

[PATCH v5 4/8] add ufshcd_get_variant ufshcd_set_variant

2015-09-02 Thread Yaniv Gardi
Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 34 +- drivers/scsi/ufs/ufshcd.h | 21 + 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/drivers/scsi/ufs/ufs-qcom.c b/drivers/scsi/ufs/ufs-qcom.c index 6c23bbf..64

[PATCH v5 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations

2015-09-02 Thread Yaniv Gardi
New revisions of UFS host controller supports the new UniPro hardware controller (referred as QUniPro). This patch adds the support to enable this new UniPro controller hardware. This change also adds power optimization for bus scaling feature, as well as support for HS-G3 power mode. Signed-off-

[PATCH v5 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-09-02 Thread Yaniv Gardi
This change fixes a compilation warning that happens if SCSI_UFS_QCOM is compiled as a module. Also this patch fixes an error happens when insmod the module: "ufs_qcom: module license 'unspecified' taints kernel." Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 7 ++- 1 file ch

[PATCH v5 5/8] scsi: ufs: creates wrapper functions for vops

2015-09-02 Thread Yaniv Gardi
In order to simplify the code a set of wrapper functions is created to test and call each of the variant operations. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 1 - drivers/scsi/ufs/ufshcd.c | 104 +--- drivers/scsi/ufs/ufshcd.h |

[PATCH v5 6/8] scsi: ufs: make the UFS variant a platform device

2015-09-02 Thread Yaniv Gardi
This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS a platform device. In order to do so a few additional changes are required: 1. The ufshcd-pltfrm is no longer serves as a platform device. Now it only serves as a group of platform APIs such as PM APIs (runtime suspend/resume, syste

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

2015-09-02 Thread Paul E. McKenney
On Wed, Sep 02, 2015 at 09:29:18AM +0200, Ingo Molnar wrote: > > * 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() n

Re: [PATCH v2] QEMU fw_cfg DMA interface documentation

2015-09-02 Thread Marc Marí
On Wed, 2 Sep 2015 09:20:12 +0100 Stefan Hajnoczi wrote: > On Mon, Aug 31, 2015 at 10:11 AM, Marc Marí wrote: > > Add fw_cfg DMA interface specfication in the fw_cfg documentation. > > > > Signed-off-by: Marc Marí > > --- > > Documentation/devicetree/bindings/arm/fw-cfg.txt | 51 > > ++

[PATCH v5 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-09-02 Thread Yaniv Gardi
Adds support for configuring and reading the test bus and debug registers. This change also adds another vops in order to print the debug registers. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/ufs-qcom.c | 165 +++- drivers/scsi/ufs/ufs-qcom.h | 37 +

Re: [PATCH v4 09/16] drm: rockchip: add bpc and color mode setting

2015-09-02 Thread Thierry Reding
On Wed, Sep 02, 2015 at 10:06:36AM +0800, Yakir Yang wrote: > 在 09/02/2015 05:00 AM, Heiko Stuebner 写道: > >Am Dienstag, 1. September 2015, 14:01:48 schrieb Yakir Yang: [...] > >>diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop.c > >>b/drivers/gpu/drm/rockchip/rockchip_drm_vop.c index 34b78e7.

[PATCH v5 3/8] scsi: ufs-qcom: update configuration option of SCSI_UFS_QCOM component

2015-09-02 Thread Yaniv Gardi
This change is required in order to be able to build the component as a module. Signed-off-by: Yaniv Gardi --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig index e945383..5f45307 100644 --- a/dri

[PATCH] [PATCH v3] add stealth mode

2015-09-02 Thread Matteo Croce
Add option to disable any reply not related to a listening socket, like RST/ACK for TCP and ICMP Port-Unreachable for UDP. Also disables ICMP replies to echo request and timestamp. The stealth mode can be enabled selectively for a single interface. Signed-off-by: Matteo Croce --- Documentation/n

Re: [PATCH] irqchip/gicv3-its: comfort build warnings

2015-09-02 Thread Alex Shi
On 09/02/2015 03:52 PM, Marc Zyngier wrote: > On 02/09/15 06:16, Alex Shi wrote: >> There are some warnings in gicv3-its. >> It looks like they are set in its_lpi_alloc_chunks(), but >> in fact, both of them(lpi_base/nr_lpis) still have some chances >> as unset variables. Anyway to comfort gcc if

[PATCH v17 2/4] ARM: power-domain: rockchip: add all the domain type on RK3288 SoCs

2015-09-02 Thread Caesar Wang
According to a description from TRM, add all the power domains. At the moment, we can support some domains on RK3288. We can add more types on RK3288 in the future, that's need to do. Signed-off-by: Caesar Wang --- Changes in v17: - delete the ugly chart in the commit. Changes in v16: - Add m

[PATCH v17 1/4] dt-bindings: add document of Rockchip power domains

2015-09-02 Thread Caesar Wang
This add the necessary binding documentation for the power domains found on Rockchip SoCs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v17: - add the decription in detail for RK3288 SoCs. Changes in v16: - remove the pmu node. Changes in v15: None Changes in v14: Non

[PATCH v17 0/4] ARM: rk3288: Add PM Domain support

2015-09-02 Thread Caesar Wang
Thank you all for providing inputs and comments on previous versions of this patchset. Especially thanks to the (Kevin, Heiko, Dmitry, Doug, ULF, Michael). Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288 SoCs. Verified on url = https://chro

[PATCH v17 3/4] soc: rockchip: power-domain: Add power domain driver

2015-09-02 Thread Caesar Wang
This driver is found on RK3288 SoCs. In order to meet high performance and low power requirements, a power management unit is designed or saving power when RK3288 in low power mode. The RK3288 PMU is dedicated for managing the power of the whole chip. PMU can work in the Low Power Mode by setting

[PATCH v17 4/4] ARM: dts: add the support power-domain node on RK3288 SoCs

2015-09-02 Thread Caesar Wang
We can add more domains node in the future. This patch add the needed clocks into power-controller. As the discuess about all the device clocks being listed in the power-domains itself. There are several reasons as follows: Firstly, the clocks need be turned off to save power when the system ente

Re: [PATCH V4] mm: memory hot-add: memory can not be added to movable zone defaultly

2015-09-02 Thread Changsheng Liu
On 9/1/2015 23:37, Yasuaki Ishimatsu wrote: On Mon, 31 Aug 2015 01:58:40 -0400 Changsheng Liu wrote: From: Changsheng Liu After the user config CONFIG_MOVABLE_NODE and movable_node kernel option, When the memory is hot added, should_add_memory_movable() return 0 because all zones including

[PATCH 1/3] cpufreq: dt: Check OPP count before marking them shared

2015-09-02 Thread Viresh Kumar
We need to explicitly mark OPPs as shared, when they are not defined with OPP-v2 bindings. But this isn't required to be done if we failed to initialize OPP table. Reorder code to verify OPP count before marking them shared. Fixes: 2e02d8723edf ("cpufreq: dt: Add support for operating-points-v2

[PATCH 2/3] cpufreq: dt: Print error on failing to mark OPPs as shared

2015-09-02 Thread Viresh Kumar
We need to explicitly mark OPPs as shared, when they are not defined with OPP-v2 bindings. This operation can potentially fail, and in that case we should at least print an error message. Fixes: 2e02d8723edf ("cpufreq: dt: Add support for operating-points-v2 bindings") Signed-off-by: Viresh Kumar

[PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Viresh Kumar
Tolerance applies on both sides of the target voltage, i.e. both min and max sides. But while checking if a voltage is supported by the regulator or not, we haven't taken care of tolerance on the lower side. Fix that. Cc: Lucas Stach Fixes: 045ee45c4ff2 ("cpufreq: cpufreq-dt: disable unsupported

Re: [BUG 4.2-rc8] Interrupt occurs while apply_alternatives() is patching the handler

2015-09-02 Thread Thomas Gleixner
On Tue, 1 Sep 2015, Richard W.M. Jones wrote: > On Sun, Aug 30, 2015 at 10:37:57PM -0400, Chuck Ebbert wrote: > > This is from https://bugzilla.redhat.com/show_bug.cgi?id=1258223 > > > > [0.036000] BUG: unable to handle kernel paging request at 55501e06 > [...] > > [0.036000] [] ? add_nop

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Kirill A. Shutemov
On Wed, Sep 02, 2015 at 08:49:22AM +1000, Dave Chinner wrote: > On Tue, Sep 01, 2015 at 01:08:04PM +0300, Kirill A. Shutemov wrote: > > On Tue, Sep 01, 2015 at 09:38:03AM +1000, Dave Chinner wrote: > > > On Mon, Aug 31, 2015 at 12:59:44PM -0600, Ross Zwisler wrote: > > > Even for DAX, msync has to

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-09-02 Thread Stas Sergeev
02.09.2015 08:12, Andy Lutomirski пишет: On Wed, Aug 19, 2015 at 9:30 AM, Stas Sergeev wrote: 19.08.2015 18:46, Andy Lutomirski пишет: On Wed, Aug 19, 2015 at 2:35 AM, Stas Sergeev wrote: Incidentally, I tried implementing the sigaction flag approach. I think it's no good. When we return f

Re: [PATCH] ASoC: bcm2835-i2s: Fix module autoload for OF platform drivers

2015-09-02 Thread Lee Jones
On Thu, 27 Aug 2015, Luis de Bethencourt wrote: > These platform drivers have a OF device ID table but the OF module > alias information is not created so module autoloading won't work. > > Signed-off-by: Luis de Bethencourt > --- > sound/soc/bcm/bcm2835-i2s.c | 2 ++ > 1 file changed, 2 insert

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Xiao Guangrong
On 09/02/2015 11:50 AM, Markus Trippelsdorf wrote: On 2015.09.02 at 06:31 +0800, Xiao Guangrong wrote: On 09/01/2015 09:56 PM, Markus Trippelsdorf wrote: On 2015.09.01 at 21:00 +0800, Xiao Guangrong wrote: Did it trigger the BUG()/BUG_ON() in mtrr2protval()/fallback_mtrr_type()? If yes, c

[PATCH] virtio-gpu: fix compilation warnings

2015-09-02 Thread Mike Rapoport
Update snprintf format in virtgpu_fence.c and virtgpu_debugfs.c to fix the following compilation warnings: C [M] drivers/gpu/drm/virtio/virtgpu_fence.o drivers/gpu/drm/virtio/virtgpu_fence.c: In function ‘virtio_timeline_value_str’ : drivers/gpu/drm/virtio/virtgpu_fence.c:64:2: warning: format ‘

Re: [PATCH 2/6] sched/fair: Convert arch_scale_cpu_capacity() from weak function to #define

2015-09-02 Thread Vincent Guittot
Hi Morten, On 14 August 2015 at 18:23, Morten Rasmussen wrote: > Bring arch_scale_cpu_capacity() in line with the recent change of its > arch_scale_freq_capacity() sibling in commit dfbca41f3479 ("sched: > Optimize freq invariant accounting") from weak function to #define to > allow inlining of t

Re: [PATCH 0/2] Fix memcg/memory.high in case kmem accounting is enabled

2015-09-02 Thread Vladimir Davydov
[ I'll try to summarize my point in one hunk instead of spreading it all over the e-mail, because IMO it's becoming a kind of difficult to follow. If you think that there's a question I dodge, please let me now and I'll try to address it separately. Also, adding Johannes to Cc (I noticed

Re: [PATCH 01/10] irqchip: irq-mips-gic: export gic_send_ipi

2015-09-02 Thread Qais Yousef
On 08/28/2015 03:22 PM, Thomas Gleixner wrote: On Fri, 28 Aug 2015, Qais Yousef wrote: Thanks a lot for the detailed explanation. I wasn't looking for a quick and dirty solution but my view of the problem is much simpler than yours so my idea of a solution would look quick and dirty. I have a be

Re: [PATCH v2 0/3] Disable sched_numa_balancing on uma systems

2015-09-02 Thread Peter Zijlstra
On Tue, Aug 11, 2015 at 04:30:10PM +0530, Srikar Dronamraju wrote: > With recent commit 2a1ed24 ("sched/numa: Prefer NUMA hotness over cache > hotness") sets sched feature NUMA to true. This can enable numa hinting > faults on a uma system. > > This patchset ensures that numa hinting faults occur

stop breaking dosemu (Re: x86/kconfig/32: Rename CONFIG_VM86 and default it to 'n')

2015-09-02 Thread Stas Sergeev
https://lkml.org/lkml/2015/7/21/208 Guys, you gonna be kidding. Is this a new trend of breaking dosemu, or what? VM86 is entirely broken if ptrace, syscall auditing, or NOHZ_FULL is in use. The code is a big undocumented mess, it's a real PITA to test, and it looks like a big chunk of vm86_32.

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:13 PM, Kirill A. Shutemov wrote: > On Wed, Sep 02, 2015 at 08:49:22AM +1000, Dave Chinner wrote: >> On Tue, Sep 01, 2015 at 01:08:04PM +0300, Kirill A. Shutemov wrote: >>> On Tue, Sep 01, 2015 at 09:38:03AM +1000, Dave Chinner wrote: On Mon, Aug 31, 2015 at 12:59:44PM -0600, R

Re: [PATCH 1/2] nohz: Affine unpinned timers to housekeepers

2015-09-02 Thread Mike Galbraith
On Tue, 2015-09-01 at 22:47 +0200, Frederic Weisbecker wrote: > On Tue, Sep 01, 2015 at 07:14:13PM +, Jiang, Yunhong wrote: > > > diff --git a/kernel/sched/core.c b/kernel/sched/core.c > > > index 8b864ec..0902e4d 100644 > > > --- a/kernel/sched/core.c > > > +++ b/kernel/sched/core.c > > > @@ -

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Ard Biesheuvel
On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: > From: "Suzuki K. Poulose" > > We use section maps with 4K page size to create the > swapper/idmaps. So far we have used !64K or 4K checks > to handle the case where we use the section maps. This > patch adds a symbol to make it clear those ca

Only 1 cpu scheduled in 4.2.0

2015-09-02 Thread Martin van Es
Hi, I recently compiled 4.2.0 based on my previous 4.1.6 config (make oldconfig). On 4.1.6 all cores are equally scheduled. This new 4.2.0 kernel however only schedules cpu0 on my 4 cpu i7-3537U (which is actually 2 cores x 2HT, as far as I understand the specs). CPU1 is scheduled for 0.5% now an

Re: commit 3c2e7f7de3 (KVM use NPT page attributes) causes boot failures

2015-09-02 Thread Markus Trippelsdorf
On 2015.09.02 at 17:17 +0800, Xiao Guangrong wrote: > > > > No. PAT is of course enabled and booting is successful sometimes even > > with the BUG() in allback_mtrr_type(). I suspect a setup (timing) issue. > > Thanks for your confirmation. > > > > > markus@x4 linux % cat .config | grep X86_PAT

Re: [PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Lucas Stach
Am Mittwoch, den 02.09.2015, 14:36 +0530 schrieb Viresh Kumar: > Tolerance applies on both sides of the target voltage, i.e. both min and > max sides. While I'm not really comfortable with the above, it is exactly how OPPv1 and the voltage tolerance property are specified. Reviewed-by: Lucas Stac

Re: [PATCH] dax, pmem: add support for msync

2015-09-02 Thread Boaz Harrosh
On 09/02/2015 12:37 PM, Boaz Harrosh wrote: >> >> + /* >> +* Make sure that for VM_MIXEDMAP VMA has both >> +* vm_ops->page_mkwrite and vm_ops->pfn_mkwrite or has none. >> +*/ >> + if ((vma->vm_ops->page_mkwrite || vma->v

Re: [PATCH 02/14] arm64: Handle section maps for swapper/idmap

2015-09-02 Thread Suzuki K. Poulose
On 02/09/15 10:38, Ard Biesheuvel wrote: On 13 August 2015 at 13:33, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" We use section maps with 4K page size to create the swapper/idmaps. So far we have used !64K or 4K checks to handle the case where we use the section maps. This patch adds a

Re: [PATCH 3/3] cpufreq: dt: Tolerance applies on both sides of target voltage

2015-09-02 Thread Viresh Kumar
On 02-09-15, 11:39, Lucas Stach wrote: > Am Mittwoch, den 02.09.2015, 14:36 +0530 schrieb Viresh Kumar: > > Tolerance applies on both sides of the target voltage, i.e. both min and > > max sides. > > While I'm not really comfortable with the above, it is exactly how OPPv1 > and the voltage toleran

  1   2   3   4   5   6   7   8   >