[PATCH 3.12 45/63] arm/arm64: KVM: Complete WFI/WFE instructions

2015-04-30 Thread Jiri Slaby
From: Christoffer Dall 3.12-stable review patch. If anyone has any objections, please let me know. === commit 05e0127f9e362b36aa35f17b1a3d52bca9322a3a upstream. The architecture specifies that when the processor wakes up from a WFE or WFI instruction, the instruction is considered

[PATCH 3.12 42/63] KVM: ARM/arm64: avoid returning negative error code as bool

2015-04-30 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit 18d457661fb9fa69352822ab98d39331c3d0e571 upstream. is_valid_cache returns true if the specified cache is valid. Unfortunately, if the parameter passed it out of range, we retur

[PATCH 3.12 27/63] ARM: KVM: trap VM system registers until MMU and caches are ON

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8034699a42d68043b495c7e0cfafccd920707ec8 upstream. In order to be able to detect the point where the guest enables its MMU and caches, trap all the VM related system registers

[PATCH 3.12 38/63] ARM: virt: fix wrong HSCTLR.EE bit setting

2015-04-30 Thread Jiri Slaby
From: Li Liu 3.12-stable review patch. If anyone has any objections, please let me know. === commit af92394efc8be73edd2301fc15f9b57fd430cd18 upstream. HSCTLR.EE is defined as bit[25] referring to arm manual DDI0606C.b(p1590). Reviewed-by: Marc Zyngier Signed-off-by: Li Liu Sign

[PATCH 3.12 34/63] arm/arm64: KVM: Fix and refactor unmap_range

2015-04-30 Thread Jiri Slaby
From: Christoffer Dall 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4f853a714bf16338ff5261128e6c7ae2569e9505 upstream. unmap_range() was utterly broken, to quote Marc, and broke in all sorts of situations. It was also quite complicated to

[PATCH 3.12 39/63] ARM64: KVM: store kvm_vcpu_fault_info est_el2 as word

2015-04-30 Thread Jiri Slaby
From: Victor Kamensky 3.12-stable review patch. If anyone has any objections, please let me know. === commit ba083d20d8cfa9e999043cd89c4ebc964ccf8927 upstream. esr_el2 field of struct kvm_vcpu_fault_info has u32 type. It should be stored as word. Current code works in LE case beca

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-30 Thread Richard Weinberger
Am 30.04.2015 um 14:16 schrieb Łukasz Stelmach: > It was <2015-04-30 czw 12:40>, when Richard Weinberger wrote: >> Am 30.04.2015 um 12:19 schrieb Łukasz Stelmach: >>> It was <2015-04-30 czw 11:12>, when Richard Weinberger wrote: Am 30.04.2015 um 11:05 schrieb Łukasz Stelmach: > Regardless,

[PATCH 3.12 21/63] arm64: KVM: flush VM pages before letting the guest enable caches

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9d218a1fcf4c6b759d442ef702842fae92e1ea61 upstream. When the guest runs with caches disabled (like in an early boot sequence, for example), all the writes are diectly going to

[PATCH 3.12 43/63] KVM: vgic: return int instead of bool when checking I/O ranges

2015-04-30 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1fa451bcc67fa921a04c5fac8dbcde7844d54512 upstream. vgic_ioaddr_overlap claims to return a bool, but in reality it returns an int. Shut sparse up by fixing the type signature.

[PATCH 3.12 26/63] ARM: KVM: add world-switch for AMAIR{0,1}

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit af20814ee927ed888288d98917a766b4179c4fe0 upstream. HCR.TVM traps (among other things) accesses to AMAIR0 and AMAIR1. In order to minimise the amount of surprise a guest could

[PATCH 3.12 16/63] arm/arm64: KVM: detect CPU reset on CPU_PM_EXIT

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit b20c9f29c5c25921c6ad18b50d4b61e6d181c3cc upstream. Commit 1fcf7ce0c602 (arm: kvm: implement CPU PM notifier) added support for CPU power-management, using a cpu_notifier to re

[PATCH 3.12 08/63] arm64: KVM: Yield CPU when vcpu executes a WFE

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit d241aac798eb042e605f78c31a4122e583b2cd13 upstream. On an (even slightly) oversubscribed system, spinlocks are quickly becoming a bottleneck, as some vcpus are spinning, waitin

[PATCH 3.12 28/63] ARM: KVM: fix non-VGIC compilation

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6cbde8253a8143ada18ec0d1711230747a7c1934 upstream. Add a stub for kvm_vgic_addr when compiling without CONFIG_KVM_ARM_VGIC. The usefulness of this configurarion is extremely d

[PATCH 3.12 04/63] ARM: KVM: Fix MPIDR computing to support virtual clusters

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2d1d841bd44e24b58a3d3cc4fa793670aaa38fbf upstream. In order to be able to support more than 4 A7 or A15 CPUs, we need to fix the MPIDR computing to reflect the fact that both

[PATCH 3.12 22/63] ARM: KVM: force cache clean on page fault when caches are off

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 159793001d7d85af17855630c94f0a176848e16b upstream. In order for a guest with caches disabled to observe data written contained in a given page, we need to make sure that page

[PATCH 3.12 19/63] arm64: KVM: trap VM system registers until MMU and caches are ON

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4d44923b17bff283c002ed961373848284aaff1b upstream. In order to be able to detect the point where the guest enables its MMU and caches, trap all the VM related system registers

Re: [RFC] scripts: kerrno.sh - errno translator

2015-04-30 Thread David Sterba
On Thu, Apr 30, 2015 at 01:29:41PM +0200, Bartosz Golaszewski wrote: > 2015-04-30 13:04 GMT+02:00 Richard Weinberger : > > On Thu, Apr 30, 2015 at 12:53 PM, Bartosz Golaszewski > > wrote: > >> Shell script allowing to find errno definitions and descriptions in the > >> kernel source. > >> > >> Sig

[PATCH 3.12 25/63] ARM: KVM: introduce per-vcpu HYP Configuration Register

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit ac30a11e8e92a03dbe236b285c5cbae0bf563141 upstream. So far, KVM/ARM used a fixed HCR configuration per guest, except for the VI/VF/VA bits to control the interrupt in absence o

[PATCH 3.12 31/63] KVM: ARM: vgic: Fix the overlap check action about setting the GICD & GICC base address.

2015-04-30 Thread Jiri Slaby
From: Haibin Wang 3.12-stable review patch. If anyone has any objections, please let me know. === commit 30c2117085bc4e05d091cee6eba79f069b41a9cd upstream. Currently below check in vgic_ioaddr_overlap will always succeed, because the vgic dist base and vgic cpu base are still kept

[PATCH 3.12 32/63] arm64: kvm: use inner-shareable barriers for inner-shareable maintenance

2015-04-30 Thread Jiri Slaby
From: Will Deacon 3.12-stable review patch. If anyone has any objections, please let me know. === commit ee9e101c11478680d579bd20bb38a4d3e2514fe3 upstream. In order to ensure completion of inner-shareable maintenance instructions (cache and TLB) on AArch64, we can use the -ish suf

[PATCH 3.12 02/63] KVM: ARM: fix the size of TTBCR_{T0SZ,T1SZ} masks

2015-04-30 Thread Jiri Slaby
From: Jonathan Austin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5e497046f005528464f9600a4ee04f49df713596 upstream. The T{0,1}SZ fields of TTBCR are 3 bits wide when using the long descriptor format. Likewise, the T0SZ field of the HTCR

[PATCH 3.12 23/63] ARM: KVM: fix handling of trapped 64bit coprocessor accesses

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 46c214dd595381c880794413facadfa07fba5c95 upstream. Commit 240e99cbd00a (ARM: KVM: Fix 64-bit coprocessor handling) changed the way we match the 64bit coprocessor access from u

Re: [PATCH] iio: acpi: Add ACPI0008 Ambient Light Sensor

2015-04-30 Thread Daniel Baluta
Hi Gabriele, Please keep the version numbering from previous patches, I think this should be v8 :). On Wed, Apr 29, 2015 at 2:27 PM, Gabriele Mazzotta wrote: > Add basic implementation of the ACPI0008 Ambient Light Sensor driver. > This driver currently supports only the ALI property, yet is rea

[PATCH 3.12 18/63] arm64: KVM: allows discrimination of AArch32 sysreg access

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2072d29c46b73e39b3c6c56c6027af77086f45fd upstream. The current handling of AArch32 trapping is slightly less than perfect, as it is not possible (from a handler point of view)

[PATCH 3.12 15/63] arm: kvm: implement CPU PM notifier

2015-04-30 Thread Jiri Slaby
From: Lorenzo Pieralisi 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1fcf7ce0c60213994269fb59569ec161eb6e08d6 upstream. Upon CPU shutdown and consequent warm-reboot, the hypervisor CPU state must be re-initialized. This patch implements a

[PATCH 3.12 03/63] ARM: KVM: Yield CPU when vcpu executes a WFE

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1f5580986a3667e9d67b65d916bb4249fd86a400 upstream. On an (even slightly) oversubscribed system, spinlocks are quickly becoming a bottleneck, as some vcpus are spinning, waitin

[PATCH 3.12 12/63] arm64: KVM: Force undefined exception for Guest SMC intructions

2015-04-30 Thread Jiri Slaby
From: Anup Patel 3.12-stable review patch. If anyone has any objections, please let me know. === commit e5cf9dcdbfd26cd4e1991db08755da900454efeb upstream. The SMC-based PSCI emulation for Guest is going to be very different from the in-kernel HVC-based PSCI emulation hence for now

[PATCH 3.12 20/63] ARM: KVM: introduce kvm_p*d_addr_end

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit a3c8bd31af260a17d626514f636849ee1cd1f63e upstream. The use of p*d_addr_end with stage-2 translation is slightly dodgy, as the IPA is 40bits, while all the p*d_addr_end helpers

[PATCH 3.12 06/63] ARM: KVM: fix L2CTLR to be per-cluster

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9cbb6d969cb6561de45d917b8bb9281cb374bb35 upstream. The L2CTLR register contains the number of CPUs in this cluster. Make sure the register content is actually relevant to the

[PATCH 3.12 07/63] arm/arm64: KVM: PSCI: use MPIDR to identify a target CPU

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 79c648806f9034abf54332b78043bb242189d953 upstream. The KVM PSCI code blindly assumes that vcpu_id and MPIDR are the same thing. This is true when vcpus are organized as a flat

[PATCH 3.12 24/63] ARM: KVM: fix ordering of 64bit coprocessor accesses

2015-04-30 Thread Jiri Slaby
From: Marc Zyngier 3.12-stable review patch. If anyone has any objections, please let me know. === commit 547f781378a22b65c2ab468f235c23001b5924da upstream. Commit 240e99cbd00a (ARM: KVM: Fix 64-bit coprocessor handling) added an ordering dependency for the 64bit registers. The o

[PATCH 3.12 09/63] arm/arm64: KVM: arch_timer: Initialize cntvoff at kvm_init

2015-04-30 Thread Jiri Slaby
From: Christoffer Dall 3.12-stable review patch. If anyone has any objections, please let me know. === commit a1a64387adeeba7a34ce06f2774e81f496ee803b upstream. Initialize the cntvoff at kvm_init_vm time, not before running the VCPUs at the first time because that will overwrite a

[PATCH 3.12 01/63] KVM: ARM: Fix calculation of virtual CPU ID

2015-04-30 Thread Jiri Slaby
From: Jonathan Austin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1158fca401e09665c440a9fe4fd4f131ee85c13b upstream. KVM does not have a notion of multiple clusters for CPUs, just a linear array of CPUs. When using a system with cores in

Re: [RFC] scripts: kerrno.sh - errno translator

2015-04-30 Thread Richard Weinberger
Am 30.04.2015 um 14:25 schrieb David Sterba: > On Thu, Apr 30, 2015 at 01:29:41PM +0200, Bartosz Golaszewski wrote: >> 2015-04-30 13:04 GMT+02:00 Richard Weinberger : >>> On Thu, Apr 30, 2015 at 12:53 PM, Bartosz Golaszewski >>> wrote: Shell script allowing to find errno definitions and descr

Re: [PATCH 2/4] seccomp: rework seccomp_prepare_filter().

2015-04-30 Thread Nicolas Schichan
On 04/29/2015 07:12 PM, Daniel Borkmann wrote: > On 04/29/2015 03:37 PM, Nicolas Schichan wrote: >> - Try to use the classic BPF JIT via bpf_jit_compile(). >> >> - Use bpf_migrate_filter() from NET filter code instead of the double >>bpf_convert_filter() followed by bpf_prog_select_runtime() if

Re: [PATCH 0/4] Seccomp filter JIT support on ARM.

2015-04-30 Thread Nicolas Schichan
On 04/29/2015 06:37 PM, Daniel Borkmann wrote: > On 04/29/2015 03:37 PM, Nicolas Schichan wrote: > ... >> The fourth and final patch fixes a bug in the emit_udiv() function >> when used to convert a BPF_ALU | BPF_DIV | BPF_K instruction in the >> ARM BPF JIT code. > > Shouldn't that fix go separat

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-30 Thread Łukasz Stelmach
It was <2015-04-30 czw 14:23>, when Richard Weinberger wrote: > Am 30.04.2015 um 14:16 schrieb Łukasz Stelmach: >> It was <2015-04-30 czw 12:40>, when Richard Weinberger wrote: >>> Am 30.04.2015 um 12:19 schrieb Łukasz Stelmach: It was <2015-04-30 czw 11:12>, when Richard Weinberger wrote: >>>

[PATCH] KVM: booke: use __kvm_guest_exit

2015-04-30 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- arch/powerpc/kvm/booke.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/kvm/booke.c b/arch/powerpc/kvm/booke.c index 6c1316a15a27..3872ab31c80a 100644 --- a/arch/powerpc/kvm/booke.c +++ b/arch/powerpc/kvm/booke.c @@ -1004,10

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-30 Thread Richard Weinberger
Am 30.04.2015 um 14:40 schrieb Łukasz Stelmach: > It was <2015-04-30 czw 14:23>, when Richard Weinberger wrote: >> Am 30.04.2015 um 14:16 schrieb Łukasz Stelmach: >>> It was <2015-04-30 czw 12:40>, when Richard Weinberger wrote: Am 30.04.2015 um 12:19 schrieb Łukasz Stelmach: > It was <201

Re: [PATCH 2/4] seccomp: rework seccomp_prepare_filter().

2015-04-30 Thread Daniel Borkmann
On 04/30/2015 02:27 PM, Nicolas Schichan wrote: ... I'll take more care about the receiver list for the v2 of this serie. Ok, cool. I see, you need that to make it available to the old bpf_jit_compile() for probing on classic JITs. Actually, I really would prefer, if instead of duplicating th

High-resolution timers not supported when using smp_twd

2015-04-30 Thread Mason
Hello, I wanted to enable high-resolution timers on this Cortex A9 system, but it seems there is more to it than just enabling CONFIG_HIGH_RES_TIMERS=y (The system is limited to jiffy resolution.) # # Timers subsystem # CONFIG_TICK_ONESHOT=y CONFIG_NO_HZ_COMMON=y # CONFIG_HZ_PERIODIC is not s

Re: [PATCH 0/4] Seccomp filter JIT support on ARM.

2015-04-30 Thread Daniel Borkmann
On 04/30/2015 02:35 PM, Nicolas Schichan wrote: On 04/29/2015 06:37 PM, Daniel Borkmann wrote: On 04/29/2015 03:37 PM, Nicolas Schichan wrote: ... The fourth and final patch fixes a bug in the emit_udiv() function when used to convert a BPF_ALU | BPF_DIV | BPF_K instruction in the ARM BPF JIT c

get_maintainers.pl is rude, was Re: [PATCH 05/19] USB: inode.c: move assignment out of if () block

2015-04-30 Thread Christoph Hellwig
On Thu, Apr 30, 2015 at 02:40:04PM +0200, Greg Kroah-Hartman wrote: > scripts/get_maintainer.pl is bringing up your name for this file as you > have modified it in the past: I've probably modified a large part of files in the kernel in the past. And I'm annoyed about this stupid behavior in get_m

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-04-30 Thread Daniel Phillips
On Thursday, April 30, 2015 5:07:21 AM PDT, Mike Galbraith wrote: On Thu, 2015-04-30 at 04:14 -0700, Daniel Phillips wrote: Lovely sounding argument, but it is wrong because Tux3 still beats XFS even with seek time factored out of the equation. Hm. Do you have big-storage comparison numbers

Re: [PATCH] netxen_nic: use spin_[un]lock_bh around tx_clean_lock

2015-04-30 Thread Neil Horman
On Thu, Apr 30, 2015 at 07:51:27AM -0400, Tony Camuso wrote: > While testing this driver with DEBUG_LOCKDEP and DEBUG_SPINLOCK > enabled did not produce any traces, it would be more prudent in the > case of tx_clean_lock to use spin_[un]lock_bh, since this lock is > manipulated in both the process

Re: [PATCH 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-04-30 Thread Dan Carpenter
On Tue, Apr 28, 2015 at 12:39:09PM -0500, J. German Rivera wrote: > @@ -230,15 +235,26 @@ static inline enum mc_cmd_status > mc_read_response(struct mc_command __iomem * > * @cmd: command to be sent > * > * Returns '0' on Success; Error code otherwise. > - * > - * NOTE: This function cannot

Re: [PATCH 7/7] staging: fsl-mc: Use DPMCP IRQ and completion var to wait for MC

2015-04-30 Thread Dan Carpenter
On Tue, Apr 28, 2015 at 12:39:10PM -0500, J. German Rivera wrote: > /** > - * dprc_lookup_object - Finds a given MC object in a DPRC and returns > - * the index of the object in the DPRC > - * > - * @mc_bus_dev: pointer to the fsl-mc device that represents a DPRC object > - * @child_dev: pointer t

Re: [Linaro-acpi] [PATCH 2/2] ACPI / scan: Parse _CCA and setup device coherency

2015-04-30 Thread Arnd Bergmann
On Thursday 30 April 2015 12:46:15 Will Deacon wrote: > On Thu, Apr 30, 2015 at 12:24:12PM +0100, Arnd Bergmann wrote: > > On Thursday 30 April 2015 12:07:18 Will Deacon wrote: > > > So for the CPU caches we'd do the usual clean to push dirty lines to the > > > device > > > and (clean+)invalidate

Re: [PATCH 2/2] arm64: dts: qcom: Add msm8916 CoreSight components

2015-04-30 Thread Mathieu Poirier
On 30 April 2015 at 03:24, Ivan T. Ivanov wrote: > > On Wed, 2015-04-29 at 10:49 -0600, Mathieu Poirier wrote: >> On 29 April 2015 at 06:20, Ivan T. Ivanov iva...@linaro.org> wrote: > > >> > + >> > + funnel@821000 { >> > + compatible = "arm,coresight-funnel", "arm,primecell"; >

[PATCH] i2o: fix simple_return.cocci warnings

2015-04-30 Thread kbuild test robot
drivers/staging/i2o/iop.c:777:1-3: WARNING: end returns can be simpified Simplify a trivial if-return sequence. Possibly combine with a preceding function call. Generated by: scripts/coccinelle/misc/simple_return.cocci CC: Alan Cox Signed-off-by: Fengguang Wu --- iop.c |6 +- 1 fil

[PATCH] i2o: fix semicolon.cocci warnings

2015-04-30 Thread kbuild test robot
drivers/staging/i2o/iop.c:1065:2-3: Unneeded semicolon Removes unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Alan Cox Signed-off-by: Fengguang Wu --- iop.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/staging/i2o/iop.c +++ b/driver

Re: [PATCH] perf probe: Ignore tail calls to probed functions

2015-04-30 Thread Masami Hiramatsu
On 2015/04/30 20:42, Naveen N. Rao wrote: > perf probe currently errors out if there are any tail calls to probed > functions: > > [root@rhel71be]# perf probe do_fork > Failed to find probe point in any functions. > Error: Failed to add events. > > Fix this by teaching perf to ignore tail calls

Re: [PATCH 1/2] coresight: replicator: Add Qualcomm CoreSight Replicator driver

2015-04-30 Thread Mathieu Poirier
On 30 April 2015 at 01:21, Ivan T. Ivanov wrote: > > On Wed, 2015-04-29 at 10:28 -0600, Mathieu Poirier wrote: >> On 29 April 2015 at 06:19, Ivan T. Ivanov iva...@linaro.org> wrote: > > > >> > - "arm,coresight-etm4x", "arm,primecell"; >> > + - "qcom,coresight-replica

Re: Regression: Requiring CAP_SYS_ADMIN for /proc//pagemap causes application-level breakage

2015-04-30 Thread Konstantin Khlebnikov
On Thu, Apr 30, 2015 at 2:43 PM, Konstantin Khlebnikov wrote: > On Thu, Apr 30, 2015 at 12:02 AM, Linus Torvalds > wrote: >> On Wed, Apr 29, 2015 at 1:44 PM, Konstantin Khlebnikov >> wrote: >>> >>> This's no longer true. After recent fixes for "anon_vma endless growing" >>> new vma >>> might r

Re: [RFC 2/3] firmware_class: split out transaction helpers

2015-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 29, 2015 at 04:10:52PM -0700, James Bottomley wrote: > From: James Bottomley > > The firmware class contains code to manage an arbitrary sized buffer for > discrete read and write operations. We need precisely this ability to update > firmware capsule files (and likely for other tran

Re: [PATCH 3.12 00/63] 3.12.42-stable review

2015-04-30 Thread Guenter Roeck
On 04/30/2015 05:12 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.42 release. There are 63 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by M

Re: [PATCH 1/6] coretemp: replace cpu_sibling_mask() with topology_thread_cpumask()

2015-04-30 Thread Guenter Roeck
On 04/30/2015 03:03 AM, Bartosz Golaszewski wrote: The former duplicates the functionality of the latter but is neither documented nor arch-independent. Signed-off-by: Bartosz Golaszewski Acked-by: Guenter Roeck --- drivers/hwmon/coretemp.c | 3 ++- 1 file changed, 2 insertions(+), 1 de

Re: [RFC 1/3] sysfs,kernfs: add flush operation

2015-04-30 Thread Greg Kroah-Hartman
On Wed, Apr 29, 2015 at 04:09:45PM -0700, James Bottomley wrote: > From: James Bottomley > > This is necessary to allow sysfs operations to return error in close (we are > using close to initiate and return a possible error from a transaction). > > Signed-off-by: James Bottomley Are there any

Re: [Linaro-acpi] [PATCH 2/2] ACPI / scan: Parse _CCA and setup device coherency

2015-04-30 Thread Will Deacon
On Thu, Apr 30, 2015 at 02:03:00PM +0100, Arnd Bergmann wrote: > On Thursday 30 April 2015 12:46:15 Will Deacon wrote: > > On Thu, Apr 30, 2015 at 12:24:12PM +0100, Arnd Bergmann wrote: > > > In particular, there are two common models that we support in Linux: > > > > > > a) embedded ARM32 and oth

[PATCH 2/2] scripts/dtc: Update to upstream version 9d3649bd3be245c9

2015-04-30 Thread Rob Herring
Sync dtc with upstream as of commit 9d3649bd3be2 (Add testcases for fdt_path_offset_namelen()). Signed-off-by: Rob Herring Cc: Grant Likely Cc: devicet...@vger.kernel.org --- scripts/dtc/checks.c | 31 +- scripts/dtc/data.c | 12 +- scripts/dtc/dtc-lexer.l

[PATCH 1/2] libfdt: add fdt type definitions

2015-04-30 Thread Rob Herring
In preparation for libfdt/dtc update, add the new fdt specific types. Signed-off-by: Rob Herring Cc: Russell King Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Michael Ellerman Cc: linux-arm-ker...@lists.infradead.org Cc: linuxppc-...@lists.ozlabs.org --- arch/arm/boot/compressed/libfdt_

Re: [PATCH] x86/microcode: Allow early loading without initrd

2015-04-30 Thread Henrique de Moraes Holschuh
On Sun, Apr 26, 2015, at 13:16, Borislav Petkov wrote: > * the early loader was done with initrd in mind and it was/still is its > main source for microcode blobs early in the boot. So if we want to > make it not-mandatory, then the driver needs to be reorganized so that > builtin blobs and initrd

Re: Regression: Requiring CAP_SYS_ADMIN for /proc//pagemap causes application-level breakage

2015-04-30 Thread Kirill A. Shutemov
On Thu, Apr 30, 2015 at 04:11:30PM +0300, Konstantin Khlebnikov wrote: > On Thu, Apr 30, 2015 at 2:43 PM, Konstantin Khlebnikov > wrote: > > On Thu, Apr 30, 2015 at 12:02 AM, Linus Torvalds > > wrote: > >> On Wed, Apr 29, 2015 at 1:44 PM, Konstantin Khlebnikov > >> wrote: > >>> > >>> This's no

Re: [PATCH V2] drivers: CCI: fix used_mask init in validate_group()

2015-04-30 Thread Mark Salter
On Thu, 2015-04-30 at 11:55 +0100, Suzuki K. Poulose wrote: > On 13/04/15 13:41, Will Deacon wrote: > > On Thu, Apr 09, 2015 at 04:36:29PM +0100, Mark Rutland wrote: > >> On Thu, Apr 09, 2015 at 03:57:05PM +0100, Mark Salter wrote: > >>> Currently in validate_group(), there is a static initializer

Re: [Bugfix v6] x86/PCI/ACPI: Fix regression caused by commit 63f1789ec716

2015-04-30 Thread Bjorn Helgaas
On Wed, Apr 29, 2015 at 11:41 PM, Jiang Liu wrote: > An IO port or MMIO resource assigned to a PCI host bridge may be > consumed by the host bridge itself or available to its child > bus/devices. The ACPI specification defines a bit (Producer/Consumer) > to tell whether the resource is consumed by

Re: [PATCH V9] workqueue: Allow modifying low level unbound workqueue cpumask

2015-04-30 Thread Tejun Heo
On Thu, Apr 30, 2015 at 05:16:12PM +0800, Lai Jiangshan wrote: > Allow to modify the low-level unbound workqueues cpumask through > sysfs. This is performed by traversing the entire workqueue list > and calling apply_wqattrs_prepare() on the unbound workqueues > with the new low level mask. Only af

Re: [RFC PATCH 1/3] mm/thp: Use pmdp_splitting_flush_notify to clear pmd on splitting

2015-04-30 Thread Kirill A. Shutemov
On Thu, Apr 30, 2015 at 01:55:39PM +0530, Aneesh Kumar K.V wrote: > Some arch may require an explicit IPI before a THP PMD split. This > ensures that a local_irq_disable can prevent a parallel THP PMD split. > So use new function which arch can override > > Signed-off-by: Aneesh Kumar K.V > --- >

[PATCH v3 0/6] Add dwc3 usb3 DT node and various phy cleanup

2015-04-30 Thread Peter Griffin
Hi Maxime, This series primarily adds the dwc3 DT node which activates the usb3 controller on the stih407-b2120, stih410-b2120 and stih418-b2199 platforms. As part of getting this working I noticed an error with the picophyreset which stops the controller working which I've also fixed. regards

[PATCH v3 2/6] ARM: DT: STi: STiH407: Add dwc3 usb3 DT node.

2015-04-30 Thread Peter Griffin
Now that both usb2 and usb3 phy drivers, and also the ST dwc3 glue code are all present upstream, we can add the dwc3 DT node and have a working usb3 controller on stih407-b2120 and stih410-b2020. Signed-off-by: Peter Griffin Acked-by: Lee Jones Acked-by: Maxime Coquelin --- arch/arm/boot/dts/

[PATCH v3 4/6] ARM: DT: STi: stihxxx-b2120: Enable USB3 port on stih407-b2120 and stih410-b2120

2015-04-30 Thread Peter Griffin
The USB3 controller is present on both variants of the b2120 board so enable the controller in the generic stihxxx-b2120.dtsi file. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stihxxx-b2120.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi

[PATCH v3 6/6] ARM: DT: STi: STiH418: Enable USB3 port on stih418-b2199.

2015-04-30 Thread Peter Griffin
The USB3 controller is present on the b2199 board, so enable it in the board specific DT file. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih418-b2199.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/stih418-b2199.dts b/arch/arm/boot/dts/stih418-b2199.dts i

[PATCH v3 5/6] ARM: DT: STi: STiH418: Add miphy28lp optional oscillator clock properties

2015-04-30 Thread Peter Griffin
STiH418 miphy28lp port0/1 need the oscillator clock configured in the same way as on STiH407/STiH410 platforms. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih418-b2199.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/stih418-b2199.dts b/arch/arm/bo

[PATCH v3 1/6] ARM: DT: STi: STiH407: Update picophyreset for the usb3 controllers usb2 phy

2015-04-30 Thread Peter Griffin
Ths picophyreset is incorrectly defined, which stops the usb2 phy being taken out of reset. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stih407-family.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/stih407-family.dtsi b/arc

[PATCH v3 3/6] usb: dwc3: dwc3-st: Update the incorrect DT dwc3 example.

2015-04-30 Thread Peter Griffin
There is a subtle typo phys-names should be phy-names. Using the current example means you don't have working usb (as you fail to obtain the phys). Also update the example to use the generic phy type constants which are now used for miphy28. Additionally also remove the unnecessary new line in the

Re: Regression: Requiring CAP_SYS_ADMIN for /proc//pagemap causes application-level breakage

2015-04-30 Thread Konstantin Khlebnikov
On Thu, Apr 30, 2015 at 4:22 PM, Kirill A. Shutemov wrote: > On Thu, Apr 30, 2015 at 04:11:30PM +0300, Konstantin Khlebnikov wrote: >> On Thu, Apr 30, 2015 at 2:43 PM, Konstantin Khlebnikov >> wrote: >> > On Thu, Apr 30, 2015 at 12:02 AM, Linus Torvalds >> > wrote: >> >> On Wed, Apr 29, 2015 at

Re: [PATCH V2] drivers: CCI: fix used_mask init in validate_group()

2015-04-30 Thread Mark Rutland
> > Could you please send this to arm-soc as suggested by Will, with the > > relevant acks/reviews ? > > > > I sent it on Tuesday. Did it not show up? Is a...@kernel.org the correct > address? I got the cc: > > From: Mark Salter > To: a...@kernel.org > Cc: Mark Salter > Subject: [PATCH V2] d

[PATCH 1/2] UV: NMI: insert per_cpu accessor function on uv_hub_nmi.

2015-04-30 Thread George Beshers
UV: NMI: insert this_cpu_read accessor function on uv_hub_nmi. UV NMI was accidently broken by this patch. commit e16321709c8270f9803bbfdb51e5e02235078c7f Author: Christoph Lameter Date: Sun Aug 17 12:30:41 2014 -0500 This patch insert this_cpu_read() on when accessing the PER_CPU

[PATCH 2/2] UV: NMI: simple dump failover if kdump fails

2015-04-30 Thread George Beshers
UV: NMI: simple dump failover if kdump fails The ability to trigger a kdump using the system NMI command was added by commit 12ba6c990fab50fe568f3ad8715e81e356552428 Author: Mike Travis Date: Mon Sep 23 16:25:03 2013 -0500 When kdump is works it is preferable to the set of bac

Re: [PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000

2015-04-30 Thread Belisko Marek
+CC Sebastian On Thu, Apr 30, 2015 at 3:30 PM, Evgeniy Polyakov wrote: > HI Marek > > 28.04.2015, 23:25, "Marek Belisko" : >> bq2700 slave driver depends on bq27x00-battery driver thus adding this >> dependency to config. When bq2700 is build as module bq27x00-battery >> will be loaded automatica

Re: [PATCH] w1: slaves: Add dependency for W1_SLAVE_BQ27000

2015-04-30 Thread Evgeniy Polyakov
HI Marek 28.04.2015, 23:25, "Marek Belisko" : > bq2700 slave driver depends on bq27x00-battery driver thus adding this > dependency to config. When bq2700 is build as module bq27x00-battery > will be loaded automatically. > > Signed-off-by: Marek Belisko Patch looks good to me, but you should ad

Re: [PATCH] arch/arm/mach-mvebu/Kconfig: remove obsolete selects

2015-04-30 Thread Russell King - ARM Linux
On Tue, Apr 28, 2015 at 07:07:22PM +0200, Gregory CLEMENT wrote: > Hi Russell, > > On 28/04/2015 18:54, Russell King - ARM Linux wrote: > > On Tue, Apr 28, 2015 at 06:41:41PM +0200, Gregory CLEMENT wrote: > >> Hi Valentin, > >> > >> On 28/04/2015 18:02, Valentin Rothberg wrote: > >>> ARM_ERRATA_75

[GIT PULL] USB driver fixes for 4.1-rc2

2015-04-30 Thread Greg KH
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.1-rc2 for you to fetch changes up to 0d3bba0287d4e284c3ec7d

Re: [PATCH] firmware: dmi_scan: Only honor end-of-table for 64-bit tables

2015-04-30 Thread Jean Delvare
Hi Ard, Le Thursday 30 April 2015 à 12:37 +0200, Ard Biesheuvel a écrit : > On 28 April 2015 at 20:41, Jean Delvare wrote: > > From: Jean Delvare > > Subject: firmware: dmi_scan: Only honor end-of-table for 64-bit tables > > > > A 32-bit entry point to a DMI table says how many structures the ta

[GIT PULL] TTY/Serial fixes for 4.1-rc2

2015-04-30 Thread Greg KH
The following changes since commit b787f68c36d49bb1d9236f403813641efa74a031: Linux 4.1-rc1 (2015-04-26 17:59:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git/ tags/tty-4.1-rc2 for you to fetch changes up to 96a5d18bc1338786fecac7

Re: [PATCH 1/2] arm/arm64: ACPI: Introduce CONFIG_ACPI_MUST_HAVE_CCA

2015-04-30 Thread Hanjun Guo
On 2015年04月29日 22:42, Catalin Marinas wrote: On Wed, Apr 29, 2015 at 09:31:03AM -0500, Suravee Suthikulpanit wrote: On 04/29/2015 09:04 AM, Catalin Marinas wrote: On Wed, Apr 29, 2015 at 08:44:08AM -0500, Suravee Suthikulpanit wrote: From ACPIv6 (http://www.uefi.org/sites/default/files/reso

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-04-30 Thread Mike Galbraith
On Thu, 2015-04-30 at 05:58 -0700, Daniel Phillips wrote: > On Thursday, April 30, 2015 5:07:21 AM PDT, Mike Galbraith wrote: > > On Thu, 2015-04-30 at 04:14 -0700, Daniel Phillips wrote: > > > >> Lovely sounding argument, but it is wrong because Tux3 still beats XFS > >> even with seek time factor

Re: [PATCH 1/2] arm/arm64: ACPI: Introduce CONFIG_ACPI_MUST_HAVE_CCA

2015-04-30 Thread Will Deacon
On Thu, Apr 30, 2015 at 02:47:13PM +0100, Hanjun Guo wrote: > On 2015年04月29日 22:42, Catalin Marinas wrote: > > On Wed, Apr 29, 2015 at 09:31:03AM -0500, Suravee Suthikulpanit wrote: > >> On 04/29/2015 09:04 AM, Catalin Marinas wrote: > >>> On Wed, Apr 29, 2015 at 08:44:08AM -0500, Suravee Suthikulp

Re: [Linaro-acpi] [PATCH 2/2] ACPI / scan: Parse _CCA and setup device coherency

2015-04-30 Thread Arnd Bergmann
On Thursday 30 April 2015 14:13:45 Will Deacon wrote: > On Thu, Apr 30, 2015 at 02:03:00PM +0100, Arnd Bergmann wrote: > > On Thursday 30 April 2015 12:46:15 Will Deacon wrote: > > > On Thu, Apr 30, 2015 at 12:24:12PM +0100, Arnd Bergmann wrote: > > > > In particular, there are two common models th

Re: [PATCH 3/8] rtl8192u: don't trample on struct namespace

2015-04-30 Thread Jes Sorensen
Paul Gortmaker writes: > In order to start reducing the duplicated code/constants/macros in this > driver, we need to include to provide the defacto > versions. However this driver has structs with the same name as the > ones in the main include, so namespace collision prevents us from doing > s

Re: [PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-30 Thread Hou Pengyang
On 2015/4/29 18:12, Will Deacon wrote: Hello, On Tue, Apr 28, 2015 at 02:20:48PM +0100, Hou Pengyang wrote: For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched

Re: [PATCH v4 1/8] x86/mm/pat: use pr_info() and friends

2015-04-30 Thread Borislav Petkov
On Wed, Apr 29, 2015 at 02:44:20PM -0700, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > Please add a commit message, albeit a single trivial sentence. > Cc: Andy Walls > Cc: Doug Ledford > Cc: Ingo Molnar > Cc: Thomas Gleixner > Cc: Juergen Gross > Cc: Daniel Vetter > Cc: Dave Ai

[PATCH] MODSIGN: Change default key details [ver #2]

2015-04-30 Thread David Howells
Change default key details to be more obviously unspecified. Reported-by: Linus Torvalds Signed-off-by: David Howells Acked-by: James Morris --- Documentation/module-signing.txt |6 +++--- kernel/Makefile |6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) di

[PATCH v2] arm & arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-30 Thread Hou Pengyang
For ARM & ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched:sched_switch -g --call-graph dwarf ls [ perf record: Captured and wrote 0.146 MB perf.data ] ./perf

Re: xfs: does mkfs.xfs require fancy switches to get decent performance? (was Tux3 Report: How fast can we fsync?)

2015-04-30 Thread Daniel Phillips
On 04/30/2015 06:48 AM, Mike Galbraith wrote: > On Thu, 2015-04-30 at 05:58 -0700, Daniel Phillips wrote: >> On Thursday, April 30, 2015 5:07:21 AM PDT, Mike Galbraith wrote: >>> On Thu, 2015-04-30 at 04:14 -0700, Daniel Phillips wrote: >>> Lovely sounding argument, but it is wrong because T

Re: [PATCH V2] drivers: CCI: fix used_mask init in validate_group()

2015-04-30 Thread Mark Salter
On Thu, 2015-04-30 at 14:33 +0100, Mark Rutland wrote: > > > Could you please send this to arm-soc as suggested by Will, with the > > > relevant acks/reviews ? > > > > > > > I sent it on Tuesday. Did it not show up? Is a...@kernel.org the correct > > address? I got the cc: > > > > From: Mark S

Re: [PATCH 1/2] ARM: simplify timer initialisation and remove arm_timer.h inclusion

2015-04-30 Thread Rob Herring
On Thu, Apr 30, 2015 at 5:44 AM, Sudeep Holla wrote: > The header asm/hardware/arm_timer.h is included in various machine > specific files to access TIMER_CTRL and initialise to a known state. > However that's not required as the clock{source,event} driver timer-sp > initialises all the timer bein

Re: [PATCH v3] locking/rwsem: reduce spinlock contention in wakeup after up_read/up_write

2015-04-30 Thread Davidlohr Bueso
On Wed, 2015-04-29 at 15:58 -0400, Waiman Long wrote: > A write lock can also be acquired by a spinning writer in > rwsem_try_write_lock_unqueued() where wait_lock isn't used. With > multiple down_read's, it is possible that the first exiting reader wakes > up a writer who acquires the write loc

Re: [PATCH] i2o: fix semicolon.cocci warnings

2015-04-30 Thread Greg Kroah-Hartman
On Thu, Apr 30, 2015 at 09:03:03PM +0800, kbuild test robot wrote: > drivers/staging/i2o/iop.c:1065:2-3: Unneeded semicolon > > > Removes unneeded semicolon. > > Generated by: scripts/coccinelle/misc/semicolon.cocci > > CC: Alan Cox > Signed-off-by: Fengguang Wu > --- Someone else sent this

Re: [PATCH 2/4] seccomp: rework seccomp_prepare_filter().

2015-04-30 Thread Nicolas Schichan
On 04/30/2015 02:46 PM, Daniel Borkmann wrote: >> Just to be sure you want me to pass a pointer to seccomp_check_filter to >> bpf_prepare_filter so that it can run it between bpf_check_classic() and >> bpf_jit_compile ? > > For example, what comes to mind is something along these lines: > > struc

Re: [PATCH] staging: i2o: Remove unwanted semicolon

2015-04-30 Thread gre...@linuxfoundation.org
On Thu, Apr 23, 2015 at 04:09:28PM +0100, Alan Cox wrote: > On Thu, 2015-04-23 at 13:43 +, Gujulan Elango, Hari Prasath (H.) > wrote: > > This patch removes unwanted semicolon around close braces of code blocks > > > The i2o driver moved into staging ready to be deleted unless someone > steps

<    1   2   3   4   5   6   7   8   9   10   >