Re: [PATCH 1/6] ARM: cpuidle: Remove duplicate header inclusion

2015-03-13 Thread Lorenzo Pieralisi
On Tue, Mar 03, 2015 at 12:29:32PM +, Daniel Lezcano wrote: The cpu_do_idle() function is always used by the cpuidle drivers. That led to have each driver including cpuidle.h and proc-fns.h, they are always paired. That makes a lot of duplicate headers inclusion. Instead of including

[PATCH 07/12] clocksource: qcom: Remove dead code

2015-03-13 Thread Stephen Boyd
This code is no longer used now that mach-msm has been removed. Delete it. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Signed-off-by: Stephen Boyd sb...@codeaurora.org --- This

[PATCH 2/2] net/9p: add a privport option for RDMA transport.

2015-03-13 Thread Dominique Martinet
RDMA can use the same kind of weak security as TCP by checking the client can bind to a privileged port, which is better than nothing if TAUTH isn't implemented. Signed-off-by: Dominique Martinet dominique.marti...@cea.fr --- YES, this does not checkpatch, but I'm not changing all the old Opt_*

[PATCH 05/12] net: smc91x: Remove dead code

2015-03-13 Thread Stephen Boyd
This config no longer exists now that mach-msm has been removed. Delete it and the associated code. Cc: David S. Miller da...@davemloft.net Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Signed-off-by: Stephen Boyd

Re: [PATCH 01/32] do_fork(): Rename 'stack_size' argument to reflect actual use

2015-03-13 Thread Aaron Tomlin
On Fri 2015-03-13 20:04 +0200, Alex Dowad wrote: The 'stack_size' argument is never used to pass a stack size. It's only used when forking a kernel thread, in which case it is an argument which should be passed to the 'main' function which the kernel thread executes. Hence, rename it to

[PATCH 14/32] m32r: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

Re: [PATCH 4/6] ARM64: cpuidle: Rename cpu_init_idle to a common function name

2015-03-13 Thread Catalin Marinas
On Tue, Mar 03, 2015 at 01:29:35PM +0100, Daniel Lezcano wrote: diff --git a/drivers/cpuidle/cpuidle-arm64.c b/drivers/cpuidle/cpuidle-arm64.c index 0cea244..6ef291c7 100644 --- a/drivers/cpuidle/cpuidle-arm64.c +++ b/drivers/cpuidle/cpuidle-arm64.c @@ -110,7 +110,7 @@ static int __init

Re: [PATCH 07/12] clocksource: qcom: Remove dead code

2015-03-13 Thread Stephen Boyd
On 03/13/15 11:14, Daniel Lezcano wrote: On 03/13/2015 07:09 PM, Stephen Boyd wrote: This code is no longer used now that mach-msm has been removed. Delete it. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc:

[PATCH] ath10k: mac: match wait_for_completion_timeout return type

2015-03-13 Thread Nicholas Mc Guire
+ CONFIG_ATH_CARDS=m, CONFIG_ATH10K=m Patch is against 4.0-rc3 (localversion-next is -next-20150313) drivers/net/wireless/ath/ath10k/mac.c | 20 +++- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/mac.c b/drivers/net/wireless/ath/ath10k/mac.c

[PATCH v2 1/2] drm/msm: update generated headers

2015-03-13 Thread Stephane Viau
From: Beeresh Gopal gbeer...@codeaurora.org To avoid ambiguity rename FRAME_SIZE to SSTILE_FRAME_SIZE Signed-off-by: Beeresh Gopal gbeer...@codeaurora.org --- drivers/gpu/drm/msm/mdp/mdp4/mdp4.xml.h | 36 + 1 file changed, 14 insertions(+), 22 deletions(-) diff

[PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Nicholas Mc Guire
, NULL, t_fops); and t_file = debugfs_create_file(id, S_IWOTH | S_IXOTH, t_dir, NULL, t_fops); Patch is against 4.0-rc3 (localversion-next is -next-20150313) scripts/checkpatch.pl | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts

Re: [PATCH v10 16/21] irqchip: Add GICv2 specific ACPI boot support

2015-03-13 Thread Jason Cooper
Hanjun, Catalin, On Thu, Mar 12, 2015 at 03:31:57PM +0800, Hanjun Guo wrote: On 2015/3/12 13:12, Jason Cooper wrote: On Thu, Mar 12, 2015 at 09:46:39AM +0800, Hanjun Guo wrote: On 2015/3/12 7:11, Jason Cooper wrote: Hey Grant, On Wed, Mar 11, 2015 at 06:04:50PM +, Grant Likely

Re: [PATCH v3 02/12] irqchip: nvic: support hierarchy irq domain

2015-03-13 Thread Maxime Coquelin
2015-03-13 0:36 GMT+01:00 Stefan Agner ste...@agner.ch: Add support for hierarchy irq domain. Use to support the interrupt router found in Vybrid SoC, which is between the NVIC and the peripherals. Signed-off-by: Stefan Agner ste...@agner.ch --- drivers/irqchip/irq-nvic.c | 28

[GIT PULL] xen: bug fixes for 4.0-rc3

2015-03-13 Thread David Vrabel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Linus, Please git pull the following tag: git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip.git stable/for-linus-4.0-rc3-tag xen: bug fixes for 4.0-rc3 - - Fix a PV regression in 3.19. - - Fix a dom0 crash on hosts with large numbers of

[PATCH] [RFC] firewire: nosy: simplify grabbing context pointer in open()

2015-03-13 Thread Martin Kepplinger
Signed-off-by: Martin Kepplinger mart...@posteo.de --- This is a question: What's the real difference between the two solutions? I'm not sure if they are equivalent :( drivers/firewire/nosy.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/firewire/nosy.c

[GIT PULL] cpuidle: 4.0-rc3 fixes

2015-03-13 Thread Daniel Lezcano
Hi Rafael, this pull request contains a couple of fixes: - Fix the cpu_pm_enter/exit symmetry in the mvebu driver (Gregory Clement) - Fix the mvebu drivers latency/residency values to reach an acceptable tradeoff between perf / power (Sebastian Rannou) Thanks ! -- Daniel ps: I took

Re: [PATCH 00/12] Increased clocksource validation and cleanups (v4)

2015-03-13 Thread John Stultz
On Fri, Mar 13, 2015 at 1:58 AM, Ingo Molnar mi...@kernel.org wrote: * John Stultz john.stu...@linaro.org wrote: On Thu, Mar 12, 2015 at 2:19 AM, Ingo Molnar mi...@kernel.org wrote: * John Stultz john.stu...@linaro.org wrote: New in v4: * Lots and lots of typo corrections and minor

[PATCH 5/6] dts: msm8974: Add blsp2_bam dma node

2015-03-13 Thread Sricharan R
Signed-off-by: Sricharan R sricha...@codeaurora.org --- arch/arm/boot/dts/qcom-msm8974.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index e265ec1..3f648ae 100644 ---

[PATCH 1/2] net/9p: Initialize opts-privport as it should be.

2015-03-13 Thread Dominique Martinet
We're currently using an uninitialized value if option privport is not set, thus (almost) always using a privileged port. Signed-off-by: Dominique Martinet dominique.marti...@cea.fr --- net/9p/trans_fd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/9p/trans_fd.c b/net/9p/trans_fd.c

[PATCH 0/1] x86/cpu: don't allocate fpu-state for swapper/0

2015-03-13 Thread Oleg Nesterov
Hello. This patch is out of order a bit, but since Borislav mentioned this during review... And I was going to send the 2nd one (below), but it turns out that __init_refok is not discarded? So is there any way to do void __init init_function(); void non_init_func() {

[PATCH 1/1] x86/cpu: don't allocate fpu-state for swapper/0

2015-03-13 Thread Oleg Nesterov
Now that kthreads do not use FPU until exec swpper/0 doesn't need to allocate fpu-state. Signed-off-by: Oleg Nesterov o...@redhat.com --- arch/x86/kernel/xsave.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/x86/kernel/xsave.c b/arch/x86/kernel/xsave.c index

Re: [PATCH 0/6] ARM: cpuidle: Unify the ARM64/ARM DT approach

2015-03-13 Thread Catalin Marinas
On Thu, Mar 12, 2015 at 03:25:34PM +0100, Daniel Lezcano wrote: do you agree with this patchset ? In principle yes, apart from some function naming and I'm waiting for Lorenzo's ack as well. Do you plan to upstream this directly via your tree? If yes, I'll look in more detail and give some acks.

Re: [PATCH 9/9] tulip_core.c : out-of-bounds check.

2015-03-13 Thread Sergei Shtylyov
Hello. On 03/13/2015 05:15 PM, Ameen Ali wrote: Array index 'j' is used before limits check. Suggest put limit check before index use. Signed-off-by : ameenali...@gmail.com --- drivers/net/ethernet/dec/tulip/tulip_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v2 net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Alexei Starovoitov
introduce user accessible mirror of in-kernel 'struct sk_buff': struct __sk_buff { __u32 len; __u32 pkt_type; __u32 mark; __u32 queue_mapping; }; bpf programs can do: int bpf_prog(struct __sk_buff *skb) { __u32 var = skb-pkt_type; which will be compiled to bpf assembler as:

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Eric B Munson
On Fri, 13 Mar 2015, Rik van Riel wrote: On 03/13/2015 01:26 PM, Eric B Munson wrote: --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1046,6 +1046,8 @@ typedef enum { ISOLATE_SUCCESS,/* Pages isolated, migrate */ } isolate_migrate_t; +int

[PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Eric B Munson
Currently, pages which are marked as unevictable are protected from compaction, but not from other types of migration. The POSIX real time extension explicitly states that mlock() will prevent a major page fault, but the spirit of is is that mlock() should give a process the ability to control

Re: [PATCH] ath10k: match wait_for_completion_timeout return type

2015-03-13 Thread Nicholas Mc Guire
On Fri, 13 Mar 2015, Kalle Valo wrote: Nicholas Mc Guire hof...@osadl.org writes: Return type of wait_for_completion_timeout is unsigned long not int. An appropriately named unsigned long is added and the assignments fixed up. Signed-off-by: Nicholas Mc Guire hof...@osadl.org

[PATCH 2/2] cpuidle: mvebu: Update cpuidle thresholds for Armada XP SOCs

2015-03-13 Thread Daniel Lezcano
From: Sebastien Rannou m...@sbrk.org Originally, the thresholds used in the cpuidle driver for Armada SOCs were temporarily chosen, leaving room for improvements. This commit updates the thresholds for the Armada XP SOCs with values that positively impact performances:

[PATCH 1/2] cpuidle: mvebu: Fix the CPU PM notifier usage

2015-03-13 Thread Daniel Lezcano
From: Gregory CLEMENT gregory.clem...@free-electrons.com As stated in kernel/cpu_pm.c, Platform is responsible for ensuring that cpu_pm_enter is not called twice on the same CPU before cpu_pm_exit is called.. In the current code in case of failure when calling mvebu_v7_cpu_suspend, the function

[PATCH 0/6] i2c: qup: Add support for v2 tags and bam dma

2015-03-13 Thread Sricharan R
QUP from version 2.1.1 onwards, supports a new format of i2c command tags. Tag codes instructs the controller to perform a operation like read/write. This new tagging version supports and is required for adding bam dma capabilities. v2 tags supports transfer of more than 256 bytes in a single i2c

[PATCH 2/6] i2c: qup: Add V2 tags support

2015-03-13 Thread Sricharan R
From: Andy Gross agr...@codeaurora.org QUP from version 2.1.1 onwards, supports a new format of i2c command tags. Tag codes instructs the controller to perform a operation like read/write. This new tagging version supports bam dma and transfers of more than 256 bytes without 'stop' in between.

[PATCH 4/6] i2c: qup: Transfer every i2c_msg in i2c_msgs without stop

2015-03-13 Thread Sricharan R
The definition of i2c_msg says that If this is the last message in a group, it is followed by a STOP. Otherwise it is followed by the next @i2c_msg transaction segment, beginning with a (repeated) START So the expectation is that there is no 'STOP' bit inbetween individual i2c_msg segments

Re: [RFC] capabilities: Ambient capabilities

2015-03-13 Thread Andy Lutomirski
On Mar 13, 2015 6:24 AM, Andrew G. Morgan mor...@kernel.org wrote: It's to preserve the invariant that pA is always a subset of pI. But since a user can always raise a bit in pI if it is present in pP, what does this invariant add to your model other than inconvenience? The useful part is

Re: [PATCH] PM / Domains: If an OF node is found but no device probed yet, defer.

2015-03-13 Thread Kevin Hilman
Geert Uytterhoeven ge...@linux-m68k.org writes: On Wed, Mar 11, 2015 at 11:08 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: More CCes. On Wednesday, March 11, 2015 08:27:28 AM Eric Anholt wrote: If we've declared a power domain in the OF, and the OF node is found but the requested

[PATCH 07/32] blackfin: copy_thread(): rename 'topstk' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
'topstk' is a misnomer: it is not a pointer to the top of a stack. Rather, it is an argument passed to the main function executed by a new kernel thread. Signed-off-by: Alex Dowad alexinbeij...@gmail.com --- arch/blackfin/kernel/process.c | 9 +++-- 1 file changed, 7 insertions(+), 2

[PATCH 10/32] cris/arch-v32: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 17/32] microblaze: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 21/32] openrisc: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH] perf/builtin-diff: remove unnecessary error output

2015-03-13 Thread Alexander Kuleshov
This patch prevents duplicated error output. per_session__new function calls perf_data_file__open which will print error message if it can not open the file and we will get duplicated output of the error message: failed to open perf.data.old: No such file or directory Failed to open perf.data.old

[PATCH 19/32] mn10300: copy_thread(): rename 'ustk_size' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
'ustk_size' is misleading, since this argument is never used for a user stack size. Rather, it is an argument passed to the main function executed by a new kernel thread. Therefore, rename it to 'kthread_arg'. Signed-off-by: Alex Dowad alexinbeij...@gmail.com --- arch/mn10300/kernel/process.c |

Re: [PATCH 3/6] ARM64: cpuidle: Replace cpu_suspend by the common ARM/ARM64 function

2015-03-13 Thread Catalin Marinas
On Tue, Mar 03, 2015 at 01:29:34PM +0100, Daniel Lezcano wrote: Call the common ARM/ARM64 'arm_cpuidle_suspend' instead of cpu_suspend function which is specific to ARM64. Signed-off-by: Daniel Lezcano daniel.lezc...@linaro.org --- drivers/cpuidle/cpuidle-arm64.c | 2 +- 1 file changed,

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Rik van Riel
On 03/13/2015 01:26 PM, Eric B Munson wrote: --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1046,6 +1046,8 @@ typedef enum { ISOLATE_SUCCESS,/* Pages isolated, migrate */ } isolate_migrate_t; +int sysctl_compact_unevictable; + /* * Isolate all pages that can be

[PATCH v2 net-next 2/2] samples: bpf: add skb-field examples and tests

2015-03-13 Thread Alexei Starovoitov
- modify sockex1 example to count number of bytes in outgoing packets - modify sockex2 example to count number of bytes and packets per flow - add 4 stress tests that exercise 'skb-field' code path of verifier Signed-off-by: Alexei Starovoitov a...@plumgrid.com --- samples/bpf/sockex1_kern.c |

[PATCH v2 net-next 0/2] bpf: allow eBPF access skb fields

2015-03-13 Thread Alexei Starovoitov
Hi All, V1-V2: - refactored field access converter into common helper convert_skb_access() used in both classic and extended BPF - added missing build_bug_on for field 'len' - added comment to uapi/linux/bpf.h as suggested by Daniel - dropped exposing 'ifindex' field for now classic BPF has a

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-13 Thread Shuah Khan
On 03/10/2015 10:06 PM, Michael Ellerman wrote: This adds make install support to selftests. The basic usage is: $ cd tools/testing/selftests $ make install That installs into tools/testing/selftests/install, which can then be copied where ever necessary. The install destination is

[PATCH 05/32] arm64: copy_thread(): rename 'stk_sz' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
'stk_sz' is a misnomer: it is never used for a stack size. Rather, it is an argument which is passed to the main function executed by a kernel thread, when forking a new kthread. The most appropriate name is 'kthread_arg'. Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 03/32] arc: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 02/32] alpha: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 04/12] tty: serial: msm_serial: Remove dead code

2015-03-13 Thread Stephen Boyd
This config no longer exists now that mach-msm has been removed. Delete it and the associated code. Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Signed-off-by: Stephen Boyd

[PATCH 08/12] ehci-msm: Remove dead dependency

2015-03-13 Thread Stephen Boyd
This dependency no longer exists now that mach-msm has been removed. Delete it. Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Alan Stern st...@rowland.harvard.edu Cc: linux-...@vger.kernel.org Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker

Re: [PATCH net-next 1/2] bpf: allow extended BPF programs access skb fields

2015-03-13 Thread Alexei Starovoitov
On 3/13/15 9:43 AM, Daniel Borkmann wrote: On 03/13/2015 05:22 PM, Alexei Starovoitov wrote: On 3/13/15 2:57 AM, Daniel Borkmann wrote: On 03/13/2015 03:21 AM, Alexei Starovoitov wrote: introduce user accessible mirror of in-kernel 'struct sk_buff': For each member, I'd also add

[PATCH 10/12] phy: qcom-ufs: Switch dependency to ARCH_QCOM

2015-03-13 Thread Stephen Boyd
This phy only exists on platforms under ARCH_QCOM, not ARCH_MSM. Cc: Yaniv Gardi yga...@codeaurora.org Cc: Dov Levenglick d...@codeaurora.org Cc: Christoph Hellwig h...@lst.de Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com

[PATCH 02/12] gpio: Remove gpio-msm-v1 driver

2015-03-13 Thread Stephen Boyd
This driver is orphaned now that mach-msm has been removed. Delete it. Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Cc: Linus Walleij linus.wall...@linaro.org Cc: Alexandre Courbot gnu...@gmail.com Signed-off-by: Stephen Boyd

[PATCH 22/32] parisc: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 13/32] ia64: copy_thread(): rename 'user_stack_size' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
'user_stack_size' is very misleading, since the argument is never used for the size of the user stack. Rather, it is an argument which is passed to the main function executed by a newly forked kernel thread. Hence, rename it to 'kthread_arg'. When forking a new user thread, the kernel thread arg

[PATCH 12/32] hexagon: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 15/32] m68k: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 20/32] nios2: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 24/32] s390: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 16/32] metag: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 18/32] mips: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

[PATCH 11/32] frv: copy_thread(): rename 'arg' argument to 'kthread_arg'

2015-03-13 Thread Alex Dowad
The 'arg' argument to copy_thread() is only ever used when forking a new kernel thread. Hence, rename it to 'kthread_arg' for clarity (and consistency with do_fork() and other arch-specific implementations of copy_thread()). Signed-off-by: Alex Dowad alexinbeij...@gmail.com ---

Re: [PATCH 07/12] clocksource: qcom: Remove dead code

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 07:09 PM, Stephen Boyd wrote: This code is no longer used now that mach-msm has been removed. Delete it. Cc: Daniel Lezcano daniel.lezc...@linaro.org Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker dwal...@fifo99.com Signed-off-by:

[PATCH] rnndb: update generated headers

2015-03-13 Thread Stephane Viau
From: Beeresh Gopal gbeer...@codeaurora.org To avoid ambiguity rename register FRAME_SIZE to SSTILE_FRAME_SIZE. Signed-off-by: Beeresh Gopal gbeer...@codeaurora.org --- rnndb/mdp/mdp4.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rnndb/mdp/mdp4.xml b/rnndb/mdp/mdp4.xml

[Patch] dt: OF_UNITTEST make dependency broken

2015-03-13 Thread Frank Rowand
From: Frank Rowand frank.row...@sonymobile.com If CONFIG_OF_UNITTEST=y then a kernel image make will always cause .version to be incremented, even if there are not source changes. This is caused by a lack of dependency tracking and checking for drivers/of/unittest-data/testcases.dtb.o.

[GIT PULL] sound fixes for 4.0-rc4

2015-03-13 Thread Takashi Iwai
Linus, please pull sound fixes for v4.0-rc4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.0-rc4 The topmost commit is ef403edb75580a3ec5d155f5de82155f0419c621 sound fixes for 4.0-rc4 This

Re: [Cocci] [PATCH v13 3/6] clk: Make clk API return per-user struct clk instances

2015-03-13 Thread Stephen Boyd
On 03/12/15 20:29, Shawn Guo wrote: On Thu, Mar 12, 2015 at 12:43:40PM -0700, Stephen Boyd wrote: On 03/12/15 10:20, Sebastian Andrzej Siewior wrote: On 2015-02-17 14:01:04 [-0800], Stephen Boyd wrote: diff = --- arch/arm/mach-imx/mach-imx6q.c +++ /tmp/cocci-output-11792-b62223-mach-imx6q.c

[PATCH 6/6] dts: msm8974: Add dma channels for blsp2_i2c1 node

2015-03-13 Thread Sricharan R
Signed-off-by: Sricharan R sricha...@codeaurora.org --- arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi b/arch/arm/boot/dts/qcom-msm8974.dtsi index 3f648ae..1ec7ec5 100644 --- a/arch/arm/boot/dts/qcom-msm8974.dtsi +++

Re: [RFC] capabilities: Ambient capabilities

2015-03-13 Thread Andy Lutomirski
On Fri, Mar 13, 2015 at 9:06 AM, Christoph Lameter c...@linux.com wrote: On Fri, 13 Mar 2015, Andrew G. Morgan wrote: prctl(PR_CAP_AMBIENT, PR_CAP_AMBIENT_RAISE, CAP_SYS_ADMIN); system(/bin/bash); Let's call the above two lines [a] and [b]. With this patch, you are encouraging folk to

Re: [PATCH] ARM: at91: force CPU selection

2015-03-13 Thread Alexandre Belloni
On 10/03/2015 at 14:42:24 +0100, Arnd Bergmann wrote : On Tuesday 10 March 2015 10:42:09 Alexandre Belloni wrote: I actually added a bunch of these in other places, but have stopped doing so because Russell didn't like them, and I tend to follow his argument now that it's actually

Re: [PATCH V5] Allow compaction of unevictable pages

2015-03-13 Thread Michal Hocko
On Fri 13-03-15 15:09:15, Eric B Munson wrote: On Fri, 13 Mar 2015, Rik van Riel wrote: On 03/13/2015 01:26 PM, Eric B Munson wrote: --- a/mm/compaction.c +++ b/mm/compaction.c @@ -1046,6 +1046,8 @@ typedef enum { ISOLATE_SUCCESS,/* Pages isolated, migrate */ }

Re: [PATCH] mmc: dw_mmc: Consider HLE errors to be data and command errors

2015-03-13 Thread Doug Anderson
Hi, On Fri, Mar 13, 2015 at 4:30 AM, Jaehoon Chung jh80.ch...@samsung.com wrote: Hi, Doug. On 03/11/2015 12:48 AM, Doug Anderson wrote: The dw_mmc driver enables HLE errors as part of DW_MCI_ERROR_FLAGS but nothing in the interrupt handler actually handles them and ACKs them. That means

Re: [PATCH v4 4/9] selftests: Add install target

2015-03-13 Thread Shuah Khan
On 03/13/2015 11:20 AM, Shuah Khan wrote: On 03/10/2015 10:06 PM, Michael Ellerman wrote: This adds make install support to selftests. The basic usage is: $ cd tools/testing/selftests $ make install That installs into tools/testing/selftests/install, which can then be copied where ever

Re: [PATCH 12/12] crypto/sha-mb/sha1_mb.c : Syntax error

2015-03-13 Thread Tim Chen
On Fri, 2015-03-13 at 23:13 +0200, Ameen Ali wrote: fixing a syntax-error . Signed-off-by : Ameen Ali ameenali...@gmail.com --- arch/x86/crypto/sha-mb/sha1_mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/crypto/sha-mb/sha1_mb.c

Re: [GIT PULL] cpuidle: 4.0-rc3 fixes

2015-03-13 Thread Rafael J. Wysocki
On Friday, March 13, 2015 06:42:30 PM Daniel Lezcano wrote: Hi Rafael, this pull request contains a couple of fixes: - Fix the cpu_pm_enter/exit symmetry in the mvebu driver (Gregory Clement) - Fix the mvebu drivers latency/residency values to reach an acceptable tradeoff between

Re: [GIT PULL] cpuidle: 4.0-rc3 fixes

2015-03-13 Thread Daniel Lezcano
On 03/13/2015 10:56 PM, Rafael J. Wysocki wrote: On Friday, March 13, 2015 06:42:30 PM Daniel Lezcano wrote: Hi Rafael, this pull request contains a couple of fixes: - Fix the cpu_pm_enter/exit symmetry in the mvebu driver (Gregory Clement) - Fix the mvebu drivers latency/residency

Re: [PATCH] phy: Add a driver for dm816x USB PHY

2015-03-13 Thread Tony Lindgren
* Matthijs van Duin matthijsvand...@gmail.com [150313 11:39]: Given that the documentation mentions the actual phy used, it may be worth mentioning this also in the driver? i.e. that it's not a dm816x phy but a SR70LX Synopsys USB 2.0 OTG nanoPHY (in contrast to the dm814x and am335x which

Re: [PATCH 01/12] ARM: Remove mach-msm and associated ARM architecture code

2015-03-13 Thread Paul Bolle
I've checked this series with my local Kconfig checker (for no other reason than that it removes board-sapphire.c and I had promised to do so too a week ago). On Fri, 2015-03-13 at 11:09 -0700, Stephen Boyd wrote: --- a/arch/arm/mach-msm/Kconfig +++ /dev/null -config MSM_SMD - bool After

Re: [PATCH 6/6] clone4: Introduce new CLONE_FD flag to get task exit notification via fd

2015-03-13 Thread josh
On Fri, Mar 13, 2015 at 05:21:13PM +0100, Oleg Nesterov wrote: Josh, I'll certainly try to read this series, but not before next week. Thanks for looking at it. but a couple of nits right now. On 03/12, Josh Triplett wrote: When passed CLONE_FD, clone4 will return a file descriptor

Re: [PATCH 00/12] Remove mach-msm and associated code

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 11:09:33 Stephen Boyd wrote: The maintainers for mach-msm no longer have any plans to support or test the platforms supported by this architecture[1]. Most likely there aren't any active users of this code anyway, so let's delete it and the associated drivers/code. We

Re: [PATCH 00/12] Remove mach-msm and associated code

2015-03-13 Thread Stephen Boyd
On 03/13/15 12:55, Arnd Bergmann wrote: On Friday 13 March 2015 11:09:33 Stephen Boyd wrote: The maintainers for mach-msm no longer have any plans to support or test the platforms supported by this architecture[1]. Most likely there aren't any active users of this code anyway, so let's delete

Re: [PATCH] Lock 7 is cpuidle specific, use non-generic value for locking

2015-03-13 Thread Lina Iyer
On Fri, Mar 13 2015 at 14:02 -0600, Andy Gross wrote: On Thu, Mar 12, 2015 at 04:16:00PM -0600, Lina Iyer wrote: snip It looks like the remote side unlocks it too? It doesn't seem like this will work with the framework very well. The framework has a kernel spinlock attached to the hwspinlock

Re: [PATCH 0/6] kbuild: mergeconfig: fix bugs, improve readability, and add generic entry point

2015-03-13 Thread Darren Hart
On 3/13/15, 1:27 AM, Josh Triplett j...@joshtriplett.org wrote: On Fri, Mar 13, 2015 at 03:21:37PM +0900, Masahiro Yamada wrote: This series is related to mergeconfig (scripts/kconfig/merge_config.sh): 1/6 and 2/6 fix bugs related to the parallel build. (-j option). 3/6 thru 5/6 are minor

Re: [PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:49:19 +0200 schrieb Tomi Valkeinen tomi.valkei...@ti.com: On 09/02/15 10:52, Maxime Ripard wrote: On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: +static struct device_attribute device_attrs[] = { +__ATTR(contrast, S_IRUGO|S_IWUSR,

[PATCH 10/12] x86: Restrict MSR access when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
Permitting write access to MSRs allows userspace to modify the running kernel. Prevent this if trusted_kernel is true. Based on a patch by Kees Cook. Cc: Kees Cook keesc...@chromium.org Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- arch/x86/kernel/msr.c | 8 1 file

[PATCH 11/12] asus-wmi: Restrict debugfs interface when trusted_kernel is true

2015-03-13 Thread Matthew Garrett
We have no way of validating what all of the Asus WMI methods do on a given machine, and there's a risk that some will allow hardware state to be manipulated in such a way that arbitrary code can be executed in the kernel. Prevent that if trusted_kernel is true. Signed-off-by: Matthew Garrett

Re: [PATCH 5/5] drm/msm/mdp5: Add hardware configuration for msm8x16

2015-03-13 Thread Stéphane Viau
Hi, Hi, On 03/09/2015 06:41 PM, Stephane Viau wrote: This change adds the hw configuration for msm8x16 chipsets in mdp5_cfg module. Note that only one external display interface is present in this configuration (DSI) but has not been enabled yet. It will be enabled once drm/msm driver

Re: [PATCH 05/12] net: smc91x: Remove dead code

2015-03-13 Thread Arnd Bergmann
On Friday 13 March 2015 11:09:38 Stephen Boyd wrote: This config no longer exists now that mach-msm has been removed. Delete it and the associated code. Cc: David S. Miller da...@davemloft.net Cc: David Brown dav...@codeaurora.org Cc: Bryan Huntsman bry...@codeaurora.org Cc: Daniel Walker

Re: [RFC] capabilities: Ambient capabilities

2015-03-13 Thread Kees Cook
On Fri, Mar 13, 2015 at 12:03 PM, Andy Lutomirski l...@amacapital.net wrote: On Fri, Mar 13, 2015 at 11:52 AM, Kees Cook keesc...@chromium.org wrote: All this said, almost half of the capabilities, if passed to flawed children with attacker controlled execution, can be elevated to full root

Re: [PATCH 6/6] dts: msm8974: Add dma channels for blsp2_i2c1 node

2015-03-13 Thread Andy Gross
On Fri, Mar 13, 2015 at 11:19:52PM +0530, Sricharan R wrote: Signed-off-by: Sricharan R sricha...@codeaurora.org --- Reviewed-by: Andy Gross agr...@codeaurora.org arch/arm/boot/dts/qcom-msm8974.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8974.dtsi

Re: [PATCH] checkpatch: catch all world writable debugfs_create_file

2015-03-13 Thread Joe Perches
On Fri, 2015-03-13 at 15:23 -0400, Nicholas Mc Guire wrote: Currently checkpatch will fuss if one uses world writable settings in debugfs files by passing S_IWUGO but not when passing S_IWOTH, S_IRWXUGO or S_IALLUGO. This patch extends the check to catches all cases exporting world writable

[PATCH v2 0/2] ARM: devicetree: Remove unused ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec in not parsed in omap-twl4030 sound driver. It's not necessary to specify this property in DT because ti,twl4030-audio which ti,codec was pointing to by phandle is mfd driver and device for ASoC ic created w/o any DT property (codec name is hardcoded in ASoC driver). Please see reply [1]

[PATCH v2 1/2] ARM: dts: omap3: Remove all references to ti,codec property

2015-03-13 Thread Marek Belisko
ti,codec property is not used (parsed) in omap-twl4030 driver. The ti,twl4030-audio which ti,codec points by phandle is mfd driver and device for ASoC codec is created w/o DT compatible string. Removing all references in DT files. Signed-off-by: Marek Belisko ma...@goldelico.com ---

Re: [PATCH v2] dgnc: Don't save boards in memory that have failed to initialize

2015-03-13 Thread Mark Hounschell
On 03/12/2015 12:14 PM, Giedrius Statkevičius wrote: On 2015.03.12 12:08, Greg KH wrote: On Mon, Mar 09, 2015 at 06:29:38PM +0200, Giedrius Statkevičius wrote: Remove BOARD_FAILED and don't save dgnc_boards which failed to initialize. Assign the result of kzalloc() to brd in

[PATCH] Documentation: Remove mentioning of block barriers

2015-03-13 Thread Leonid V. Fedorenchik
Remove mentioning of block barriers since they were removed. Signed-off-by: Leonid V. Fedorenchik leonids...@gmail.com --- Documentation/block/biodoc.txt | 36 +--- 1 file changed, 9 insertions(+), 27 deletions(-) diff --git a/Documentation/block/biodoc.txt

[PATCH v3 4/7] ARM: at91: remove useless mach/cpu.h

2015-03-13 Thread Alexandre Belloni
mach/cpu.h is not used anymore, remove it. Signed-off-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- arch/arm/mach-at91/include/mach/at91sam9_smc.h | 2 - arch/arm/mach-at91/include/mach/cpu.h | 216 - arch/arm/mach-at91/pm.c

[PATCH v3 7/7] ARM: at91: drop AT91_TIMER_HZ

2015-03-13 Thread Alexandre Belloni
Drop AT91_TIMER_HZ as this can be handled using HZ_FIXED. Initial help message was: On AT91rm9200 chips where you're using a system clock derived from the 32768 Hz hardware clock, this tick rate should divide it exactly: use a power-of-two value, such as 128 or 256, to reduce timing errors caused

Re: [GIT PULL] at91: cleanup for 4.1 #2

2015-03-13 Thread Alexandre Belloni
On 13/03/2015 at 18:12:29 +0100, Nicolas Ferre wrote : Another cleanup series on top of the previous one that I sent you this afternoon ;-) I think it is the last time that we can remove a whole bunch of files and legacy code... We were getting used to it! Actually, the switch to multiplatform

[PATCH 02/12] Enforce module signatures when trusted kernel is enabled

2015-03-13 Thread Matthew Garrett
If trusted_kernel is true, require that all modules have valid signatures. Signed-off-by: Matthew Garrett matthew.garr...@nebula.com --- include/linux/module.h| 6 ++ kernel/module.c | 6 ++ security/trusted_kernel.c | 6 +- 3 files changed, 17 insertions(+), 1

Re: [PATCH] tracing: add trace event for memory-failure

2015-03-13 Thread Steven Rostedt
On Fri, 13 Mar 2015 09:37:34 -0700 Tony Luck tony.l...@gmail.com wrote: int sysctl_memory_failure_early_kill __read_mostly = 0; @@ -837,6 +838,8 @@ static struct page_state { */ static void action_result(unsigned long pfn, char *msg, int result) { +

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