Re: [RFC/PATCH] perf sched: Implement 'perf sched runtime' command

2015-08-25 Thread Namhyung Kim
Hi David, On Mon, Aug 24, 2015 at 11:19:44PM -0700, David Ahern wrote: > On 8/24/15 11:11 PM, Namhyung Kim wrote: > > > >+static int perf_sched__read_runtime_events(struct perf_sched *sched) > >+{ > >+const struct perf_evsel_str_handler handlers[] = { > >+{ "sched:sched_switch",

RE: [PATCH v6 1/3] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-08-25 Thread Zhao Qiang
On 08/25/2015 12:01 PM, Laura Abbott wrote: > -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Tuesday, August 25, 2015 12:01 PM > To: Zhao Qiang-B45475; Wood Scott-B07421 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; >

Re: [PATCH] dma/ipu: change ipu_irq_handler() to remove compile warning

2015-08-25 Thread Thomas Gleixner
On Tue, 25 Aug 2015, yalin wang wrote: > Change ipu_irq_handler() to avoid gcc warning: > > drivers/dma/ipu/ipu_irq.c:305:4: warning: 'irq' may be used > uninitialized in this function [-Wmaybe-uninitialized] > generic_handle_irq(irq); That's a false positive from GCC. irq is always

Re: [PATCH v11 00/20] Compile-time stack validation

2015-08-25 Thread Ingo Molnar
* Josh Poimboeuf wrote: > lib/Kconfig.debug | 11 + > scripts/Makefile | 1 + > scripts/Makefile.build| 37 +- > scripts/mod/Makefile | 2 + > scripts/stackvalidate/Makefile| 24 + >

Re: [PATCH v1 3/3] arm64: dts: add Hi6220 mailbox node

2015-08-25 Thread Haojian Zhuang
On Mon, 2015-08-24 at 13:48 +0100, Mark Rutland wrote: > > > > > I don't see why you need reserved-memory here, given you're not > > > > > referring to > > > > > these regions by phandle anyway. > > > > > > > > - Now we have enabled EFI_STUB, so the memory node will be removed in > > > >

Re: [Patch v3] ACPI, PCI: Penalize legacy IRQ used by ACPI SCI

2015-08-25 Thread Thomas Gleixner
On Fri, 21 Aug 2015, Jiang Liu wrote: > --- > Hi Nick, > Rafael and Thomas have concerns about the way to solve the > regression by quirk, so could you please help to test this patch? Nick, can you please confirm that this works? Thanks, tglx -- To unsubscribe from this list: send

[PATCH] dma/ipu: change ipu_irq_handler() to remove compile warning

2015-08-25 Thread yalin wang
Change ipu_irq_handler() to avoid gcc warning: drivers/dma/ipu/ipu_irq.c:305:4: warning: 'irq' may be used uninitialized in this function [-Wmaybe-uninitialized] generic_handle_irq(irq); Signed-off-by: yalin wang --- drivers/dma/ipu/ipu_irq.c | 6 ++ 1 file changed, 2 insertions(+), 4

[PATCH] sched: fix tsk->pi_lock isn't held when do_set_cpus_allowed()

2015-08-25 Thread Wanpeng Li
[ 15.273708] [ cut here ] [ 15.274097] WARNING: CPU: 0 PID: 13 at kernel/sched/core.c:1156 do_set_cpus_allowed+0x7e/0x80() [ 15.274857] Modules linked in: [ 15.275101] CPU: 0 PID: 13 Comm: migration/0 Not tainted 4.2.0-rc1-00049-g25834c7 #2 [ 15.275674]

Re: [PATCH-v2 3/5] mfd: devicetree: bindings: Add clock subdevice node information

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Vaibhav Hiremath wrote: > This patch updates the binding documentation for optional > clocks node and related information for buffered 32KHz clock. > > Signed-off-by: Vaibhav Hiremath > Reviewed-by: Krzysztof Kozlowski > Acked-by: Rob Herring > --- >

[PATCH] sched: fix tsk->pi_lock isn't held when do_set_cpus_allowed()

2015-08-25 Thread Wanpeng Li
[ 15.273708] [ cut here ] [ 15.274097] WARNING: CPU: 0 PID: 13 at kernel/sched/core.c:1156 do_set_cpus_allowed+0x7e/0x80() [ 15.274857] Modules linked in: [ 15.275101] CPU: 0 PID: 13 Comm: migration/0 Not tainted 4.2.0-rc1-00049-g25834c7 #2 [ 15.275674]

[PATCH RFC 2/2] net: Optimize snmp stat aggregation by walking all the percpu data at once

2015-08-25 Thread Raghavendra K T
Docker container creation linearly increased from around 1.6 sec to 7.5 sec (at 1000 containers) and perf data showed 50% ovehead in snmp_fold_field. reason: currently __snmp6_fill_stats64 calls snmp_fold_field that walks through per cpu data of an item (iteratively for around 90 items). idea:

[PATCH RFC 1/2] net: Introduce helper functions to get the per cpu data

2015-08-25 Thread Raghavendra K T
Signed-off-by: Raghavendra K T --- include/net/ip.h | 10 ++ net/ipv4/af_inet.c | 41 +++-- 2 files changed, 37 insertions(+), 14 deletions(-) diff --git a/include/net/ip.h b/include/net/ip.h index d5fe9f2..93bf12e 100644 --- a/include/net/ip.h +++

[PATCH RFC 0/2] Optimize the snmp stat aggregation for large cpus

2015-08-25 Thread Raghavendra K T
While creating 1000 containers, perf is showing lot of time spent in snmp_fold_field on a large cpu system. The current patch tries to improve by reordering the statistics gathering. Please note that similar overhead was also reported while creating veth pairs

Re: [PATCH-v2 2/5] mfd: 88pm800: Update the header file with 32K clk related macros

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Vaibhav Hiremath wrote: > Update header file with required macros for 32KHz buffered clock > output of 88PM800 family of device. > These macros will be used in clk provider driver. > > Signed-off-by: Vaibhav Hiremath > --- > include/linux/mfd/88pm80x.h | 12 >

[PATCH] drivers: i2c: exynos5: irq spinlock rt-safe

2015-08-25 Thread Anders Roxell
The exynos5_i2c_message_start enables interrupts while holding the i2c lock which is sought by the irq handler. If an IRQ is received before this lock is released then a deadlock occurs. This is only seen on an RT patched kernel, due to the transformation of spinlocks into sleeping locks. By

[PATCH] mm/backing-dev: Check return value of the debugfs_create_dir()

2015-08-25 Thread Alexander Kuleshov
The debugfs_create_dir() function may fail and return error. If the root directory not created, we can't create anything inside it. This patch adds check for this case. Signed-off-by: Alexander Kuleshov --- mm/backing-dev.c | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-)

[RESEND PATCH v1] ASoC: rockchip: fix a misjudgement by return

2015-08-25 Thread Xing Zheng
Being careless, judge the return value of snd_soc_card_jack_new is opposite, so it should be fixed. --- Changes in v1: Signed-off-by: Xing Zheng Reviewed-by: Dylan Reid sound/soc/rockchip/rockchip_rt5645.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH] mm/cma_debug: Check return value of the debugfs_create_dir()

2015-08-25 Thread Alexander Kuleshov
The debugfs_create_dir() function may fail and return error. If the root directory not created, we can't create anything inside it. This patch adds check for this case. Signed-off-by: Alexander Kuleshov --- mm/cma_debug.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mm/cma_debug.c

[tip:locking/urgent] tools: Restore export.h

2015-08-25 Thread tip-bot for Sasha Levin
Commit-ID: 92e25fd9be82a37247e587415ff9a9e773008d56 Gitweb: http://git.kernel.org/tip/92e25fd9be82a37247e587415ff9a9e773008d56 Author: Sasha Levin AuthorDate: Tue, 25 Aug 2015 01:19:43 -0400 Committer: Ingo Molnar CommitDate: Tue, 25 Aug 2015 09:44:22 +0200 tools: Restore export.h

[RESEND PATCH v1 0/1] A misjudgement should be fixed

2015-08-25 Thread Xing Zheng
Hi, Being careless, judge the return value of snd_soc_card_jack_new is opposite, so it should be fixed. Thanks. Changes in v1: Signed-off-by: Xing Zheng Reviewed-by: Dylan Reid Xing Zheng (1): ASoC: rockchip: fix a misjudgement by return sound/soc/rockchip/rockchip_rt5645.c |2 +- 1

Re: [PATCH v4 10/11] dma: rename dma_*_writecombine() to dma_*_wc()

2015-08-25 Thread Ingo Molnar
* Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Rename dma_*_writecombine() to dma_*_wc(), so that the naming > is coherent across the various write-combining APIs. > > The following Coccinelle SmPL patch was used for this simple > transformation: > > @

Re: [PATCH-v2 1/5] mfd: 88pm800: Fix tabbing issue

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Vaibhav Hiremath wrote: > Driver had coding style issues where spaces were used instead > of tabs. This patch fixes them all. > > Signed-off-by: Vaibhav Hiremath > --- > drivers/mfd/88pm800.c | 125 > -- > 1 file changed, 61

RE: [PATCH v6 3/3] qe_common: add qe_muram_ functions to manage muram

2015-08-25 Thread Zhao Qiang
On Tue, 2015-08-25 at 12:35 +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Tuesday, August 25, 2015 12:35 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061;

Re: [PATCH-v2 1/5] mfd: 88pm800: Fix tabbing issue

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Vaibhav Hiremath wrote: > Driver had coding style issues where spaces were used instead > of tabs. This patch fixes them all. That's not all it's doing though is it? Please describe all of your changes. > Signed-off-by: Vaibhav Hiremath > --- > drivers/mfd/88pm800.c |

[tip:locking/urgent] tools/liblockdep: Correct macro for WARN

2015-08-25 Thread tip-bot for Sasha Levin
Commit-ID: 62b989de598c486df65a14dfd9bb4a9953c75568 Gitweb: http://git.kernel.org/tip/62b989de598c486df65a14dfd9bb4a9953c75568 Author: Sasha Levin AuthorDate: Tue, 25 Aug 2015 01:19:44 -0400 Committer: Ingo Molnar CommitDate: Tue, 25 Aug 2015 09:44:22 +0200 tools/liblockdep: Correct

Re: [PATCH] kernel/sysctl.c: If "count" including the terminating byte '\0' the write system call should retrun success.

2015-08-25 Thread Sean Fu
On Tue, Aug 25, 2015 at 10:24 AM, Eric W. Biederman wrote: > > > On August 24, 2015 6:57:57 PM MDT, Sean Fu wrote: >>An application from HuaWei which works fine on 2.6 encounters this >>issue on 3.0 or later kernel. > > My sympathies. Being stuck with a 3rd party application you can barely talk

[tip:locking/urgent] tools/liblockdep: Use the rbtree header provided by common tools headers

2015-08-25 Thread tip-bot for Sasha Levin
Commit-ID: 33fef662d20a8a98bafa6b2430b845def30f616a Gitweb: http://git.kernel.org/tip/33fef662d20a8a98bafa6b2430b845def30f616a Author: Sasha Levin AuthorDate: Tue, 25 Aug 2015 01:19:45 -0400 Committer: Ingo Molnar CommitDate: Tue, 25 Aug 2015 09:44:23 +0200 tools/liblockdep: Use the

Re: [PATCH-v2 5/5] mfd: 88pm800: Add support for clk subdevice

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Krzysztof Kozlowski wrote: > On 25.08.2015 03:56, Vaibhav Hiremath wrote: > > This patch adds mfd_cell/clk-subdevice for 88PM800 MFD > > (and family of devices). > > > > Signed-off-by: Vaibhav Hiremath > > --- > > drivers/mfd/88pm800.c | 25 + > > 1

Re: [PATCH] ARC: add negative dependency for VGA_CONSOLE

2015-08-25 Thread Vineet Gupta
On Monday 17 August 2015 09:51 PM, Geert Uytterhoeven wrote: > On Mon, Aug 17, 2015 at 5:52 PM, Yuriy Kolerov > wrote: >> Architectures which support VGA console must define screen_info >> structurture from "uapi/linux/screen_info.h". Otherwise undefined >> symbol error occurs. Usually it's

[PATCH V2 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-08-25 Thread Jason Wang
We register wildcard mmio eventfd on two buses, one for KVM_MMIO_BUS and another is KVM_FAST_MMIO_BUS. This leads to issue: - kvm_io_bus_destroy() knows nothing about the devices on two buses points to a single dev. Which will lead double free [1] during exit. - wildcard eventfd ignores data

[PATCH V2 1/3] kvm: use kmalloc() instead of kzalloc() during iodev register/unregister

2015-08-25 Thread Jason Wang
All fields of kvm_io_range were initialized or copied explicitly afterwards. So switch to use kmalloc(). Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- virt/kvm/kvm_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH V2 3/3] kvm: add tracepoint for fast mmio

2015-08-25 Thread Jason Wang
Cc: Gleb Natapov Cc: Paolo Bonzini Cc: Michael S. Tsirkin Signed-off-by: Jason Wang --- arch/x86/kvm/trace.h | 17 + arch/x86/kvm/vmx.c | 1 + arch/x86/kvm/x86.c | 1 + 3 files changed, 19 insertions(+) diff --git a/arch/x86/kvm/trace.h b/arch/x86/kvm/trace.h index

Re: [GIT PULL rcu/next] Additional RCU commit for 4.3

2015-08-25 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This additional series contains a single change: > > 1.Privatize smp_mb__after_unlock_lock(). This commit moves the > definition of smp_mb__after_unlock_lock() to kernel/rcu/tree.h, > in recognition of the fact that RCU is the only

[tip:timers/core] time: Fix spelling in comments

2015-08-25 Thread tip-bot for Zhen Lei
Commit-ID: 922ba733b7fbe6dfb300feaf16d4fa25382c2823 Gitweb: http://git.kernel.org/tip/922ba733b7fbe6dfb300feaf16d4fa25382c2823 Author: Zhen Lei AuthorDate: Tue, 25 Aug 2015 14:42:53 +0800 Committer: Ingo Molnar CommitDate: Tue, 25 Aug 2015 09:42:13 +0200 time: Fix spelling in comments

Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h

2015-08-25 Thread Chen-Yu Tsai
On Tue, Aug 25, 2015 at 2:59 PM, Michal Kubecek wrote: > On Tue, Aug 25, 2015 at 10:55:28AM +0800, Chen-Yu Tsai wrote: >> On Tue, Aug 25, 2015 at 5:28 AM, Stephen Boyd wrote: >> > On 08/18, Chen-Yu Tsai wrote: >> >> of_clk_set_defaults uses the type 'bool', but clk-conf.h does not >> >> include

[RFC] arm: change some function and data to init section

2015-08-25 Thread yalin wang
This patch change some function and the related data to init section, they are only called by free_initmem(), can be freed safely after boot up. Signed-off-by: yalin wang --- arch/arm/mm/init.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mm/init.c

Re: [PATCH 2/3] kvm: don't register wildcard MMIO EVENTFD on two buses

2015-08-25 Thread Jason Wang
On 08/25/2015 11:04 AM, Jason Wang wrote: [...] > @@ -900,10 +899,11 @@ kvm_deassign_ioeventfd(struct kvm *kvm, struct > kvm_ioeventfd *args) > if (!p->wildcard && p->datamatch != args->datamatch) > continue; > > -

RE: [PATCH v6 3/3] qe_common: add qe_muram_ functions to manage muram

2015-08-25 Thread Zhao Qiang
On 08/25/2015 12:15 PM, Laura Abbott wrote > -Original Message- > From: Laura Abbott [mailto:labb...@redhat.com] > Sent: Tuesday, August 25, 2015 12:15 PM > To: Zhao Qiang-B45475; Wood Scott-B07421 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org;

[PATCH RESEND 2/5] ARC: futex cosmetics

2015-08-25 Thread Vineet Gupta
Cc: Peter Zijlstra (Intel) Cc: Thomas Gleixner Cc: Michel Lespinasse Signed-off-by: Vineet Gupta --- arch/arc/include/asm/futex.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/arch/arc/include/asm/futex.h b/arch/arc/include/asm/futex.h index

Re: [PATCH] mfd: cros_ec: i2c: Add OF match table

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Javier Martinez Canillas wrote: > The Documentation/devicetree/bindings/mfd/cros-ec.txt DT binding doc lists > "google,cros-ec-i2c" as a compatible string but the corresponding driver > does not have an OF match table. Add the table to the driver so the I2C > core can do an

[PATCH RESEND 1/5] ARC: add barriers to futex code

2015-08-25 Thread Vineet Gupta
The atomic ops on futex need to provide the full barrier just like regular atomics in kernel. Also remove pagefault_enable/disable in futex_atomic_cmpxchg_inatomic() as core code already does that Cc: David Hildenbrand Cc: Peter Zijlstra (Intel) Cc: Thomas Gleixner Cc: Michel Lespinasse

[PATCH RESEND 3/5] ARC: make futex_atomic_cmpxchg_inatomic() return bimodal

2015-08-25 Thread Vineet Gupta
Callers of cmpxchg_futex_value_locked() in futex code expect bimodal return value: !0 (essentially -EFAULT as failure) 0 (success) Before this patch, the success return value was old value of futex, which could very well be non zero, causing caller to possibly take the failure path

[PATCH RESEND 5/5] ARC: ensure futex ops are atomic in !LLSC config

2015-08-25 Thread Vineet Gupta
W/o hardware assisted atomic r-m-w the best we can do is to disable preemption. Cc: David Hildenbrand Cc: Peter Zijlstra (Intel) Cc: Thomas Gleixner Cc: Michel Lespinasse Signed-off-by: Vineet Gupta --- arch/arc/include/asm/futex.h | 12 1 file changed, 12 insertions(+) diff

Re: [RESEND PATCH 2/7] backlight: tosa: Export I2C module alias information

2015-08-25 Thread Lee Jones
On Tue, 25 Aug 2015, Javier Martinez Canillas wrote: > The I2C core always reports the MODALIAS uevent as "i2c:" > regardless of the mechanism that was used to register the device > (i.e: OF or board code) and the table that is used later to match > the driver with the device (i.e: I2C id table

[PATCH RESEND 4/5] ARC: Enable HAVE_FUTEX_CMPXCHG

2015-08-25 Thread Vineet Gupta
ARC doesn't need the runtime detection of futex cmpxchg op Cc: Peter Zijlstra (Intel) Cc: Thomas Gleixner Signed-off-by: Vineet Gupta --- arch/arc/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arc/Kconfig b/arch/arc/Kconfig index e119d42f92ce..78c0621d5819 100644 ---

[PATCH RESEND 0/5] ARC futex fixes

2015-08-25 Thread Vineet Gupta
Hi Thomas/Peter, Of late I've been debugging a seeming lost wakeup when running a specific EEMBC Multibench workload (4M-check -w4) on a quad core HS38 config on FPGA CONFIG_SMP, CONFIG_PREEMPT. I've yet to nail that issue down, but in the process found some deficinecies in ARC futex backend.

Re: [PATCH v3 3/4] Add support for driver cross-timestamp to PTP_SYS_OFFSET ioctl

2015-08-25 Thread Richard Cochran
On Mon, Aug 24, 2015 at 08:16:51PM +, Hall, Christopher S wrote: > > This means: remove code changes from the PTP_SYS_OFFSET ioctl and call > getsynctime64() from a new ioctl PTP_SYS_OFFSET_PRECISE. Right? Yes. > And use the same type (struct ptp_sys_offset) for the new ioctl? Or should

Re: Proposal for finishing the 64-bit x86 syscall cleanup

2015-08-25 Thread Jan Beulich
>>> Andy Lutomirski 08/24/15 11:14 PM >>> >Thing 1: partial pt_regs > >64-bit fast path syscalls don't fully initialize pt_regs: bx, bp, and >r12-r15 are uninitialized. Some syscalls require them to be >initialized, and they have special awful stubs to do it. The entry >and exit tracing code

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

2015-08-25 Thread Caesar Wang
According to a description from TRM, the following table lists all the power domains. - |VD_CORE | |VD_LOGIC| PD_VIO | | | |---| | | | |

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

2015-08-25 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

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

2015-08-25 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

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

2015-08-25 Thread Caesar Wang
Add power domain drivers based on generic power domain for Rockchip platform, and support RK3288 SoCs. Verified on url = https://chromium.googlesource.com/chromiumos/third_party/kernel/+/v3.14 localhost / # cat /sys/kernel/debug/pm_genpd/pm_genpd_summary domain

[RESEND PATCH v16 1/4] dt-bindings: add document of Rockchip power domain

2015-08-25 Thread Caesar Wang
This add the necessary binding documentation for the power domain found on Rockchip Socs. Signed-off-by: jinkun.hong Signed-off-by: Caesar Wang --- Changes in v16: - remove the pmu node. Changes in v15: None Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: None

Re: [PATCH] arch/sh: provide unified syscall trap compatible with all SH models

2015-08-25 Thread Rich Felker
On Tue, Aug 25, 2015 at 09:18:44AM +0200, Geert Uytterhoeven wrote: > Hi Rich, > > On Tue, Aug 25, 2015 at 5:03 AM, Rich Felker wrote: > > From: Rich Felker > > > > Historically SH-2 Linux (and originally uClinux) used a syscall > > calling convention incompatible with the established SH-3/4

Re: Build failure due to Intel PT

2015-08-25 Thread Adrian Hunter
On 24/08/15 23:04, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 24, 2015 at 11:51:31AM -0700, Sukadev Bhattiprolu escreveu: >> >> I am trying to build perf tool on Powerpc and get this: >> >> util/intel-pt-decoder/intel-pt-insn-decoder.c: In function >> ‘intel_pt_insn_decoder’: >>

[PATCH v1 0/1] A misjudgement should be fixed

2015-08-25 Thread Xing Zheng
Hi, Being careless, judge the return value of snd_soc_card_jack_new is opposite, so it should be fixed. Thanks. Changes in v1: Signed-off-by: Xing Zheng Reviewed-by: Dylan Reid Xing Zheng (1): ASoC: rockchip: fix a misjudgement by return sound/soc/rockchip/rockchip_rt5645.c |2 +- 1

[PATCH v1] ASoC: rockchip: fix a misjudgement by return

2015-08-25 Thread Xing Zheng
Being careless, judge the return value of snd_soc_card_jack_new is opposite, so it should be fixed. --- Changes in v1: Signed-off-by: Xing Zheng Reviewed-by: Dylan Reid sound/soc/rockchip/rockchip_rt5645.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 2/3] x86/asm/entry/32: Remove most of SYSCALL32 code, part 1

2015-08-25 Thread Andy Lutomirski
On Mon, Jul 27, 2015 at 12:26 PM, Andy Lutomirski wrote: > On Mon, Jul 27, 2015 at 12:19 PM, Denys Vlasenko wrote: >> On 07/24/2015 07:50 PM, Andy Lutomirski wrote: >>> On Fri, Jul 24, 2015 at 6:47 AM, Denys Vlasenko wrote: SYSCALL32 code is nearly identical to SYSCALL32, except for

Re: [PATCH] arch/sh: provide unified syscall trap compatible with all SH models

2015-08-25 Thread Geert Uytterhoeven
Hi Rich, On Tue, Aug 25, 2015 at 5:03 AM, Rich Felker wrote: > From: Rich Felker > > Historically SH-2 Linux (and originally uClinux) used a syscall > calling convention incompatible with the established SH-3/4 Linux ABI. > This choice was made because the trap range used by the existing ABI, >

Re: [PATCH 2/3] drm:msm: Initial Add Writeback Support (V2)

2015-08-25 Thread Daniel Vetter
On Wed, Aug 19, 2015 at 03:00:04PM -0400, Rob Clark wrote: > On Tue, Apr 7, 2015 at 2:09 PM, Jilai Wang wrote: > So one thing that I wanted sorting out before we let userspace see > streaming writeback (where I do think v4l is the right interface), is > a way to deal w/ permissions/security..

Re: [PATCH] clk: Add missing header for 'bool' definition to clk-conf.h

2015-08-25 Thread Michal Kubecek
On Tue, Aug 25, 2015 at 10:55:28AM +0800, Chen-Yu Tsai wrote: > On Tue, Aug 25, 2015 at 5:28 AM, Stephen Boyd wrote: > > On 08/18, Chen-Yu Tsai wrote: > >> of_clk_set_defaults uses the type 'bool', but clk-conf.h does not > >> include its definition. > >> > >> This results in a compile error when

[PATCH] pinctrl: sh-pfc: Add R8A7795 PFC support

2015-08-25 Thread Kuninori Morimoto
From: Takeshi Kihara Add PFC support for the R8A7795 SoC including pin groups. It is including EthernetAVB, DU, HDMI, MSOIF, SDHI, USB2.0, USB3.0 Signed-off-by: Takeshi Kihara Signed-off-by: Kuninori Morimoto --- > Laurent, LinusW I guess upstream ML can't accept it, because this is very

[PATCH 6/6] fix android/timed_gpio.c several coding style issues

2015-08-25 Thread Peng Sun
Corrections based on checkpatch.pl with --strict 1) Please don't use multiple blank lines 2) spinlock_t definition without comment 3) Alignment should match open parenthesis Signed-off-by: Peng Sun --- drivers/staging/android/timed_gpio.c | 15 --- 1 file changed, 8 insertions(+), 7

[PATCH 3/6] fix android/sw_sync.c several coding style issues

2015-08-25 Thread Peng Sun
Corrections based on checkpatch.pl with --strict 1) Comparison to NULL could be written "!obj" 2) Comparison to NULL could be written "!pt" 3) Comparison to NULL could be written "!fence" Signed-off-by: Peng Sun --- drivers/staging/android/sw_sync.c | 6 +++--- 1 file changed, 3 insertions(+),

[PATCH 4/6] fix android/sync.c several coding style issues

2015-08-25 Thread Peng Sun
Corrections based on checkpatch.pl with --strict 1) Comparison to NULL could be written "!*" 2) Alignment should match open parenthesis Signed-off-by: Peng Sun --- drivers/staging/android/sync.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git

[PATCH 5/6] fix android/sync.h several coding style issues

2015-08-25 Thread Peng Sun
Corrections based on checkpatch.pl with --strict 1) spinlock_t definition without comment 2) Alignment should match open parenthesis Signed-off-by: Peng Sun --- drivers/staging/android/sync.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/sync.h

Re: [PATCH] spi: ti-qspi: use 128 bit transfer mode for writing to flash

2015-08-25 Thread Vignesh R
On 08/20/2015 11:25 PM, Mark Brown wrote: > On Thu, Aug 20, 2015 at 04:00:59PM +0530, Vignesh R wrote: > >> -writeb(*txbuf, qspi->base + QSPI_SPI_DATA_REG); >> +if (count >= QSPI_WLEN_MAX_BYTES) { >> +u32 *txp = (u32 *)txbuf;

[PATCH 1/6] fix android/ashmem.c several coding style issues

2015-08-25 Thread Peng Sun
Corrections based on checkpatch.pl with --strict 1) spaces preferred around that '-' 2) No space is necessary after a case 3) Alignment should match open parenthesis Signed-off-by: Peng Sun --- drivers/staging/android/ashmem.c | 15 --- 1 file changed, 8 insertions(+), 7

[PATCH 0/6] fix drivers/staging/android several coding issues

2015-08-25 Thread Peng Sun
patches based on linux-next next-20150824 Corrections based on checkpatch.pl with --strict Peng Sun (6): fix android/ashmem.c several coding style issues fix android/lowmemorykiller.c several coding style issues fix android/sw_sync.c several coding style issues fix android/sync.c several

[PATCH 2/6] fix android/lowmemorykiller.c several coding style issues

2015-08-25 Thread Peng Sun
Corrections based on checkpatch.pl with --strict 1) Prefer kernel type 'u32' over 'uint32_t' 2) Please use a blank line after function/struct/union/enum declarations 3) Alignment should match open parenthesis Signed-off-by: Peng Sun --- drivers/staging/android/lowmemorykiller.c | 8 +--- 1

Re: [PATCH v5 4/6] drm: bridge/dw_hdmi-i2s-audio: add audio driver

2015-08-25 Thread Mark Brown
On Sat, Aug 08, 2015 at 04:35:41PM +0100, Russell King - ARM Linux wrote: > On Sat, Jun 20, 2015 at 12:28:15AM +0800, Yakir Yang wrote: > > Add ALSA based HDMI I2S audio driver for dw_hdmi. Sound card > > driver could connect to this codec through the codec dai name > > "dw-hdmi-i2s-audio". > I'm

[PATCH] serial: sh-sci: Add device tree support for r8a7795

2015-08-25 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto Acked-by: Geert Uytterhoeven --- > Greg Renesas r8a7795 initial SoC/board support patch-set depends on this patch. Renesas SoC series maintainer is Simon and Magnus. Simon can accept (?) this patch as part of Renesas new SoC if Greg can

Re: [PATCH v4 1/2] Documentation: dt: Add Xilinx zynqmp dma device tree binding documentation

2015-08-25 Thread punnaiah choudary kalluri
Hi Rob, On Tue, Aug 25, 2015 at 12:23 AM, Rob Herring wrote: > On Wed, Aug 5, 2015 at 10:19 PM, Punnaiah Choudary Kalluri > wrote: >> Device-tree binding documentation for Xilinx zynqmp dma engine used in >> Zynq UltraScale+ MPSoC. >> >> Signed-off-by: Punnaiah Choudary Kalluri >> --- >>

[PATCH 1/1] time: It seems spell mistake

2015-08-25 Thread Zhen Lei
Sorry, English is not my native language. I don't known whether my judgement is right or not. Personally, use "than" feels more comfortable. Signed-off-by: Zhen Lei --- kernel/time/clocksource.c | 2 +- kernel/time/hrtimer.c | 2 +- kernel/time/timekeeping.c | 4 ++-- 3 files changed, 4

[PATCH 2/2] clk: shmobile: Add r8a7795 SoC to MSTP bindings

2015-08-25 Thread Kuninori Morimoto
From: Kuninori Morimoto Signed-off-by: Kuninori Morimoto --- Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/clock/renesas,cpg-mstp-clocks.txt

[PATCH 1/2] clk: shmobile: add Renesas R-Car Gen3 CPG support

2015-08-25 Thread Kuninori Morimoto
From: Gaku Inami This patch adds very initial CPG support. R-Car Gen3 write function should use CPG write protection method which is shared with MSTP driver. This patch has it but not used. Signed-off-by: Gaku Inami Signed-off-by: Kuninori Morimoto ---

[PATCH 0/2] clk: shmobile: add Renesas R-Car Gen3 CPG support

2015-08-25 Thread Kuninori Morimoto
Hi Stephen, Michael Cc: Simon, Magnus, Geert These are Renesas R-Car Gen3 clock support patches. We need incremental update for it, but it is good enough for initial booting. Renesas R-Car Gen3 initial SoC/board support patch-set depends on these patches. Renesas SoC series maintainer is Simon

RE: [f2fs-dev] [PATCH 2/2] f2fs: fix to release inode correctly

2015-08-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, August 25, 2015 6:53 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/2] f2fs: fix to release inode correctly >

Re: [PATCH-v3] mfd: 88pm80x: Add 88pm860 chip type support

2015-08-25 Thread Mark Brown
On Mon, Aug 24, 2015 at 12:32:17PM +0530, Vaibhav Hiremath wrote: > On Monday 20 July 2015 05:22 PM, Vaibhav Hiremath wrote: > >Add chip identification support for 88PM860 device > >to the pm80x_chip_mapping table. > Last update/understanding which I have on this patch is, > > Lee is OK with

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

2015-08-25 Thread Wanpeng Li
There is a downside of halt_poll_ns since poll is still happen for idle VCPU which can waste cpu usage. This patch adds the ability to adjust halt_poll_ns dynamically. There are two new kernel parameters for changing the halt_poll_ns: halt_poll_ns_grow and halt_poll_ns_shrink. A third new

[PATCH v2 1/3] KVM: make halt_poll_ns per-VCPU

2015-08-25 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

Re: [PATCH 12/17] ARM: dts: am57xx-beagle-x15: Fix regulator populated in MMC1 dt node

2015-08-25 Thread Kishon Vijay Abraham I
Hi Tony, On Thursday 30 July 2015 01:07 AM, Nishanth Menon wrote: > On 07/29/2015 06:09 AM, Kishon Vijay Abraham I wrote: >> For beagle x15, both the vdd and io lines are connected to the >> same regulator (ldo1_reg). However vmmc_aux is populated to vdd_3v3. >> Remove it. >> >> Signed-off-by:

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

2015-08-25 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, 38 insertions(+) diff --git a/include/trace/events/kvm.h

[PATCH v2 0/3] KVM: Dynamic halt_poll_ns

2015-08-25 Thread Wanpeng Li
v1 -> v2: * change kvm_vcpu_block to read halt_poll_ns from the vcpu instead of the module parameter * use the shrink/grow matrix which is suggested by David * set halt_poll_ns_max to 2ms There is a downside of halt_poll_ns since poll is still happen for idle VCPU which can waste cpu

[RESEND PATCH 1/7] i2c: core: Export I2C module alias information in dummy driver

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c:" regardless of the mechanism that was used to register the device (i.e: OF or board code) and the table that is used later to match the driver with the device (i.e: I2C id table or OF match table). So drivers needs to export the I2C id

[RESEND PATCH 0/7] Export I2C and OF module aliases in missing drivers

2015-08-25 Thread Javier Martinez Canillas
Hello, This is a resend of the patches that were not picked from the series "[PATCH 00/27] Export I2C and OF module aliases in missing drivers" [0] posted about a month ago. The patches have no dependencies and can be picked individually by the relevant maintainer. I preferred to resend instead

[RESEND PATCH 2/7] backlight: tosa: Export I2C module alias information

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c:" regardless of the mechanism that was used to register the device (i.e: OF or board code) and the table that is used later to match the driver with the device (i.e: I2C id table or OF match table). So drivers needs to export the I2C id

[RESEND PATCH 3/7] usb: phy: isp1301: Export I2C module alias information

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c: --- drivers/usb/phy/phy-isp1301.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/phy/phy-isp1301.c b/drivers/usb/phy/phy-isp1301.c index 8a55b37d1a02..db68156568e6 100644 --- a/drivers/usb/phy/phy-isp1301.c +++

[RESEND PATCH 7/7] regulator: isl9305: Export OF module alias information

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c:" regardless of the mechanism that was used to register the device (i.e: OF or board code) and the table that is used later to match the driver with the device (i.e: I2C id table or OF match table). So drivers needs to export the I2C id

[RESEND PATCH 4/7] ALSA: ppc: keywest: Export I2C module alias information

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c: --- sound/ppc/keywest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/ppc/keywest.c b/sound/ppc/keywest.c index 6120a067494a..f644a8c57e0a 100644 --- a/sound/ppc/keywest.c +++ b/sound/ppc/keywest.c @@ -101,6 +101,7 @@ static

[RESEND PATCH 5/7] extcon: Export OF module alias information in missing drivers

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c:" regardless of the mechanism that was used to register the device (i.e: OF or board code) and the table that is used later to match the driver with the device (i.e: I2C id table or OF match table). So drivers needs to export the I2C id

[RESEND PATCH 6/7] leds: Export OF module alias information in missing drivers

2015-08-25 Thread Javier Martinez Canillas
The I2C core always reports the MODALIAS uevent as "i2c:" regardless of the mechanism that was used to register the device (i.e: OF or board code) and the table that is used later to match the driver with the device (i.e: I2C id table or OF match table). So drivers needs to export the I2C id

Re: [PATCH-v3 2/2] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-08-25 Thread Vaibhav Hiremath
On Tuesday 25 August 2015 10:18 AM, Krzysztof Kozlowski wrote: On 24.08.2015 21:40, Vaibhav Hiremath wrote: 88PM860 device supports dual phase mode on BUCK1 output. In normal usecase, BUCK1A and BUCK1B operates independently with 3A capacity. And they both can work as a dual phase providing

Re: [PATCH] zswap: update docs for runtime-changeable attributes

2015-08-25 Thread Vlastimil Babka
On 25.8.2015 6:22, Sergey Senozhatsky wrote: i'd argue that neither zbud nor zsmalloc are responsible for reacting to memory pressure, they just store the pages. It's zswap that has to limit its size, which it does with max_percent_pool. >>> >>> Yeah but it's zbud that tracks the

Re: [RFC/PATCH] perf sched: Implement 'perf sched runtime' command

2015-08-25 Thread David Ahern
On 8/24/15 11:11 PM, Namhyung Kim wrote: +static int perf_sched__read_runtime_events(struct perf_sched *sched) +{ + const struct perf_evsel_str_handler handlers[] = { + { "sched:sched_switch", process_sched_switch_event, }, + {

[RFC/PATCH] perf sched: Implement 'perf sched runtime' command

2015-08-25 Thread Namhyung Kim
Currently 'perf sched record' commandsrecords various task stat info but other perf sched commands don't use them. This is a very simple implementation of showing those info to users. $ sudo perf sched record -a sleep 1 [ perf record: Woken up 1 times to write data ] [ perf record:

Re: [PATCH 1/7] phy: exynos-usb2: add vbus regulator support

2015-08-25 Thread Krzysztof Kozlowski
On 25.08.2015 14:47, Marek Szyprowski wrote: > Hello, > > On 2015-08-21 14:44, Kishon Vijay Abraham I wrote: >> On Friday 21 August 2015 06:08 PM, Marek Szyprowski wrote: >>> Exynos USB2 PHY has separate power supply, which is usually provided by >>> VBUS regulator. This patch adds support for

[PATCH 1/2] power:lp8727_charger: use the private data instead of updating I2C device platform data

2015-08-25 Thread Milo Kim
Currently, lp8727 charger driver parses the DT and copies values into the 'cl->dev.platform_data' if 'of_node' exists. This may have architectural issue. Platform data is configurable through the DT or I2C board info inside the platform area. However, lp8727 driver changes this configuration when

[PATCH 2/2] power:lp8727_charger: parsing child node after getting debounce-ms

2015-08-25 Thread Milo Kim
According to lp8727 bindings[*], charging parameter is optional. So parsing can be skipped in case those properties are undefined. However, 'debounce-ms' should be read prior to checking the properties. Otherwise, 'debounce-ms' property will be ignored even it is configured inside the DT. So,

[PATCH 2/2] net: sunrpc: fix trace print of >xpt_remote

2015-08-25 Thread Pratyush Anand
TP_printk() for svc_xprt_dequeue intends to print address of xprt->xpt_remote, however it prints address of another structure where xprt->xpt_remote has been copied. This patch fixes the above behaviour. Signed-off-by: Pratyush Anand --- include/trace/events/sunrpc.h | 10 +- 1 file

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