Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

2015-05-29 Thread Dan Williams
On Fri, May 29, 2015 at 11:34 AM, Andy Lutomirski wrote: > On Fri, May 29, 2015 at 11:19 AM, Dan Williams > wrote: >> On Fri, May 29, 2015 at 8:03 AM, Toshi Kani wrote: >>> On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote: On Fri, May 29, 2015 at 2:11 AM, Borislav Petkov wrote:

Re: [PATCH] ideapad_laptop: Add Lenovo G50-30 to devices without radio switch

2015-05-29 Thread Dmitry Tunin
OK. Thanks. 29.05.2015 22:30, Darren Hart пишет: > On Fri, May 29, 2015 at 08:18:57PM +0300, Dmitry Tunin wrote: >> Darren, >> >> And also I think it can be cc'ed to stable too. >> > > I mined your second version off the list, added Phillipe's Signed-off-by, and > sync'd it with his later version

[PATCH] fix n900 dts file to work around 4.1 touchscreen regression on n900

2015-05-29 Thread Pavel Machek
Fix dts to match what the Linux kernel expects. This works around touchscreen problems in 4.1 linux on Nokia n900. Signed-off-by: Pavel Machek diff --git a/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt b/Documentation/devicetree/bindings/input/touchscreen/tsc2005.txt index

Re: [PATCH 2/7] ARM: bcm2835: Add a Raspberry Pi-specific clock driver.

2015-05-29 Thread Eric Anholt
Stephen Boyd writes: > On 05/28, Stephen Warren wrote: >> On 05/18/2015 01:43 PM, Eric Anholt wrote: >> > Unfortunately, the clock manager's registers are not accessible by the >> > ARM, so we have to request that the firmware modify our clocks for us. >> > >> > This driver only registers the cl

Re: [PATCH] ideapad_laptop: Add Lenovo G50-30 to devices without radio switch

2015-05-29 Thread Darren Hart
On Fri, May 29, 2015 at 08:18:57PM +0300, Dmitry Tunin wrote: > Darren, > > And also I think it can be cc'ed to stable too. > I mined your second version off the list, added Phillipe's Signed-off-by, and sync'd it with his later version. This should connect it to the stable bot. Please follow th

Re: [PATCH 6/6] edac, mce_amd_inj: Inject errors on NBC for bank 4 errors

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 2:23 PM, Borislav Petkov wrote: Right, so string error messages we do not split for easier grepping. OK, makes sense. Will write it out across one line in V2. (amd64_edac and mce_amd.c for example have such instances) Yeah, those will have to be fixed gradually when we're touch

Re: 4.1 touchscreen regression on n900 -- pinpointed [was Re: linux-n900 v4.1-rc4]

2015-05-29 Thread Pavel Machek
On Fri 2015-05-29 21:08:16, Pavel Machek wrote: > Hi! > > > mh I remember having problems with tsc2005 before. It helped to > > reset the controller (should actually happen automatically when it > > hangs, but I'm not sure, that it actually works). > > Ok, I did some more testing, and found out r

Re: [PATCH v6 1/4] pci: add pci_iomap_wc() variants

2015-05-29 Thread Luis R. Rodriguez
On Thu, May 28, 2015 at 10:57 PM, Tomi Valkeinen wrote: > > > On 29/05/15 03:36, Luis R. Rodriguez wrote: >> On Wed, May 27, 2015 at 1:04 PM, Luis R. Rodriguez wrote: >>> On Tue, May 26, 2015 at 12:40:08PM -0500, Bjorn Helgaas wrote: On Fri, May 22, 2015 at 02:23:41AM +0200, Luis R. Rodrigue

Re: [PATCH v2 07/13] KVM: add vcpu-specific functions to read/write/translate GFNs

2015-05-29 Thread Radim Krčmář
2015-05-27 19:05+0200, Paolo Bonzini: > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c > @@ -1616,6 +1727,27 @@ int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const > void *data, | int kvm_write_guest(struct kvm *kvm, gpa_t gpa, const void *data, | unsigned long len) |

Re: [PATCH 6/6] edac, mce_amd_inj: Inject errors on NBC for bank 4 errors

2015-05-29 Thread Borislav Petkov
On Fri, May 29, 2015 at 01:52:32PM -0500, Aravind Gopalakrishnan wrote: > Yeah, I do run checkpatch. With this, I think the line was going above 79 > chars. So split it. Yeah, don't take checkpatch too seriously - only as a hint. Common sense should be employed, instead. :) > I thought we split s

Re: [PATCH] ideapad_laptop: Add Lenovo G50-30 to devices without radio switch

2015-05-29 Thread Darren Hart
On Fri, May 29, 2015 at 08:02:46PM +0300, Dmitry Tunin wrote: > Darren, > > I sent this patch twice, second time with more detailed explanation. > But got no answer. So I asked Philippe to push it. Checked my Inbox, nothing from you on this one. Found it on the list. Please see the MAINTAINERS fi

Re: [PATCH] kernel:audit - Fix for typo in comment to function audit_log_link_denied().

2015-05-29 Thread Paul Moore
On Saturday, May 23, 2015 10:40:27 AM Shailendra Verma wrote: > Signed-off-by: Shailendra Verma > --- > kernel/audit.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Applied, thanks. > diff --git a/kernel/audit.c b/kernel/audit.c > index 1c13e42..f9e6065 100644 > --- a/kernel/audit.

Re: [PATCH 4/6] edac, mce_amd_inj: Add capability to trigger apic interrupts

2015-05-29 Thread Borislav Petkov
On Fri, May 29, 2015 at 01:27:48PM -0500, Aravind Gopalakrishnan wrote: > Fixed it thusly: > u8 dfr_vec = DEFERRED_ERROR_VECTOR; > asm volatile("int %0" > :: "n" (dfr_vec)); asm volatile("int %0" :: "i" (DEFERRED_ERROR_VECTOR)); should be just fine. -- Regar

Re: [PATCH] lsm: rename duplicate labels in LSM_AUDIT_DATA_TASK audit message type

2015-05-29 Thread Paul Moore
On Wednesday, April 15, 2015 02:08:25 PM Richard Guy Briggs wrote: > The LSM_AUDIT_DATA_TASK pid= and comm= labels are duplicates of those at the > start of this function with different values. Rename them to their object > counterparts opid= and ocomm= to disambiguate. > > Signed-off-by: Richard

randconfig build error with next-20150529, in crypto/jitterentropy.c

2015-05-29 Thread Jim Davis
Building with the attached random configuration file, In file included from ./arch/x86/include/asm/spinlock.h:46:0, from include/linux/spinlock.h:87, from include/linux/seqlock.h:35, from include/linux/time.h:5, from include/linux

Re: [PATCH 2/2] staging: dgnc: switch timeout to signed type

2015-05-29 Thread Nicholas Mc Guire
On Fri, 29 May 2015, Dan Carpenter wrote: > On Fri, May 29, 2015 at 07:21:26PM +0200, Nicholas Mc Guire wrote: > > On Fri, 29 May 2015, Dan Carpenter wrote: > > > > > On Fri, May 29, 2015 at 06:41:28PM +0200, Nicholas Mc Guire wrote: > > > > The schedule_timeout*() helpers take the timeout as sig

Re: [PATCH 3/6] edac, mce_amd_inj: Modify flags attrigute to use string arguments

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 2:05 PM, Borislav Petkov wrote: On Fri, May 29, 2015 at 01:20:31PM -0500, Aravind Gopalakrishnan wrote: Hmm. That should work. Will simplify it in the next version. I think I had a NULL in flags_options[] to denote the invalid option. Still a good thing to have it as a terminator.

[PATCH 4/6] scsi: storvsc: use correct defaults for values determined by protocol negotiation

2015-05-29 Thread K. Y. Srinivasan
From: keith.ma...@microsoft.com Use correct defaults for values determined by protocol negotiation, instead of resetting them with every scsi controller. Tested-by: Alex Ng Signed-off-by: Keith Mange Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c | 33 +++---

Re: [PATCH 2/7] ARM: bcm2835: Add a Raspberry Pi-specific clock driver.

2015-05-29 Thread Eric Anholt
Stephen Warren writes: > On 05/18/2015 01:43 PM, Eric Anholt wrote: >> +init.flags = CLK_IS_ROOT; > > Is it possible to add clock parent information to the driver, so the > clocks are all hooked together into the correct tree, rather than all > looking like root clocks? > > One of the many re

[PATCH 3/6] hv:scsi:Untangle the storage protocol negotiation from the vmbus protocol negotiation.

2015-05-29 Thread K. Y. Srinivasan
From: keith.ma...@microsoft.com Currently we are making decisions based on vmbus protocol versions that have been negotiated; use storage potocol versions instead. Tested-by: Alex Ng Signed-off-by: Keith Mange Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c | 109

4.1 touchscreen regression on n900 -- pinpointed [was Re: linux-n900 v4.1-rc4]

2015-05-29 Thread Pavel Machek
Hi! > mh I remember having problems with tsc2005 before. It helped to > reset the controller (should actually happen automatically when it > hangs, but I'm not sure, that it actually works). Ok, I did some more testing, and found out rather bogus values in evtest: Input device name: "TSC2005 tou

[PATCH 5/6] scsi: storvsc: use storage protocol version to determine storage capabilities

2015-05-29 Thread K. Y. Srinivasan
From: keith.ma...@microsoft.com Use storage protocol version instead of vmbus protocol version when determining storage capabilities. Tested-by: Alex Ng Signed-off-by: Keith Mange Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c |8 1 files changed, 4 insertions(+)

[PATCH 6/6] scsi: storvsc: Allow write_same when host is windows 10

2015-05-29 Thread K. Y. Srinivasan
From: keith.ma...@microsoft.com Allow WRITE_SAME for Windows10 and above hosts. Tested-by: Alex Ng Signed-off-by: Keith Mange Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/storvsc_drv.

[PATCH 1/6] scsi: storvsc: Rather than look for sets of specific protocol versions, make decisions based on ranges.

2015-05-29 Thread K. Y. Srinivasan
From: keith.ma...@microsoft.com Rather than look for sets of specific protocol versions, make decisions based on ranges. This will be safer and require fewer changes going forward as we add more storage protocol versions. Tested-by: Alex Ng Signed-off-by: Keith Mange Signed-off-by: K. Y. Srini

[PATCH 2/6] scsi: storvsc: Use a single value to track protocol versions

2015-05-29 Thread K. Y. Srinivasan
From: keith.ma...@microsoft.com Use a single value to track protocol versions to simplify comparisons and to be consistent with vmbus version tracking. Tested-by: Alex Ng Signed-off-by: Keith Mange Signed-off-by: K. Y. Srinivasan --- drivers/scsi/storvsc_drv.c | 35 +---

[PATCH 0/6] scsi: storvsc: Some miscellaneous cleanup

2015-05-29 Thread K. Y. Srinivasan
Cleanup version handling as well as base feature detection on storage version as opposed to host version. keith.ma...@microsoft.com (6): scsi: storvsc: Rather than look for sets of specific protocol versions, make decisions based on ranges. scsi: storvsc: Use a single value to track protoc

Re: [PATCH 3/6] edac, mce_amd_inj: Modify flags attrigute to use string arguments

2015-05-29 Thread Borislav Petkov
On Fri, May 29, 2015 at 01:20:31PM -0500, Aravind Gopalakrishnan wrote: > Hmm. That should work. Will simplify it in the next version. > I think I had a NULL in flags_options[] to denote the invalid option. Still a good thing to have it as a terminator. But the loop I proposed doesn't even touch i

Re: [PATCH 0/7] net: dsa: add QCA AR8xxx switch family support\

2015-05-29 Thread Andrew Lunn
On Fri, May 29, 2015 at 11:49:54AM -0700, Mathieu Olivari wrote: > On Fri, May 29, 2015 at 04:00:01AM +0200, Andrew Lunn wrote: > > FYI: > > > > I have patches which allow DSA to use two cpu interfaces. Seems to > > work on my DIR665 with a Marvell Switch. > > > > I will post the patches as an RF

Re: [PATCH] ti: Remove no longer used functions and prototypes in the files, cpsw_ale.c and cpsw_ale.h

2015-05-29 Thread Lennart Sorensen
On Fri, May 29, 2015 at 12:31:57PM -0400, Nicholas Krause wrote: > This removes the function, cpsw_ale_flush and its prototype from the > files cpsw_ale.c and cpsw_ale.h due to having no more callers. Finally > we also remove the functions, cpsw_ale_set_vlan_entry, > cpsw_ale_flush_ucast and cpsw_

Re: [PATCH v2 00/13] SMM implementation for KVM

2015-05-29 Thread Radim Krčmář
I found a corner case that doesn't fit any specific patch: We allow INIT while in SMM. This brings some security complications as we also don't reset hflags (another long standing bug?), but we don't really need to because INIT in SMM is against the spec anyway; APM May 2013 2:10.3.3 Exceptions a

Re: [PATCH 2/2] staging: dgnc: switch timeout to signed type

2015-05-29 Thread Dan Carpenter
On Fri, May 29, 2015 at 07:21:26PM +0200, Nicholas Mc Guire wrote: > On Fri, 29 May 2015, Dan Carpenter wrote: > > > On Fri, May 29, 2015 at 06:41:28PM +0200, Nicholas Mc Guire wrote: > > > The schedule_timeout*() helpers take the timeout as signed long, as > > > ch_close_delay in struct channel_t

Re: [PATCH v2] drm/rockchip: Add BGR formats to VOP

2015-05-29 Thread Tomasz Figa
On Mon, May 11, 2015 at 7:55 PM, Tomasz Figa wrote: > VOP can support BGR formats in all windows thanks to red/blue swap option > provided in WINx_CTRL0 registers. This patch enables support for > ABGR, XBGR, BGR888 and BGR565 formats by using this feature. > > Signed-off-by: Tomasz Figa

Detection of case senstive filenames

2015-05-29 Thread John Ulvr
There are several files in Linux whose names only differ by capitalization. This has caused us some support issues due to third party filesystems/revision control systems, which overwrite the wrong file, causing non-obvious compilation errors. I recently added a more obvious compile time fai

Re: [PATCH 000/208] big x86 FPU code rewrite

2015-05-29 Thread Ingo Molnar
* Dave Hansen wrote: > Hey Ingo, > > This throws a warning if I try to run one of my MPX programs: > > > [ 22.907739] [ cut here ] > > [ 22.907776] WARNING: CPU: 0 PID: 500 at > > /home/davehans/linux.git/arch/x86/kernel/fpu/core.c:324 > > fpu__activate_stopped+0x

Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

2015-05-29 Thread Toshi Kani
On Fri, 2015-05-29 at 11:19 -0700, Dan Williams wrote: > On Fri, May 29, 2015 at 8:03 AM, Toshi Kani wrote: > > On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote: > >> On Fri, May 29, 2015 at 2:11 AM, Borislav Petkov wrote: > >> > On Wed, May 27, 2015 at 09:19:04AM -0600, Toshi Kani wrote: >

Re: [PATCH 6/6] edac, mce_amd_inj: Inject errors on NBC for bank 4 errors

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 11:00 AM, Borislav Petkov wrote: On Wed, May 27, 2015 at 02:03:38PM -0500, Aravind Gopalakrishnan wrote: +static u32 amd_get_num_nodes(void) +{ + u32 nodes = 1; + + if (cpu_has_topoext) { + u32 ecx; + + ecx = cpuid_ecx(0x801e); +

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Ingo Molnar
* Borislav Petkov wrote: > On Thu, May 28, 2015 at 06:05:33PM -0700, Andy Lutomirski wrote: > > I would propose that we take the opposite approach and just ban > > eagerfpu=off when MPX is enabled. We could then take the next step > > and default eagerfpu=on for everyone and, if nothing breaks,

Re: [PATCH v2 04/13] KVM: x86: API changes for SMM support

2015-05-29 Thread Radim Krčmář
2015-05-27 19:05+0200, Paolo Bonzini: > This patch includes changes to the external API for SMM support. > All the changes are predicated by the availability of a new > capability, KVM_CAP_X86_SMM, which is added at the end of the > patch series. > > Signed-off-by: Paolo Bonzini > --- > diff --gi

Re: [PATCH 0/7] net: dsa: add QCA AR8xxx switch family support\

2015-05-29 Thread Mathieu Olivari
On Fri, May 29, 2015 at 04:00:01AM +0200, Andrew Lunn wrote: > FYI: > > I have patches which allow DSA to use two cpu interfaces. Seems to > work on my DIR665 with a Marvell Switch. > > I will post the patches as an RFC. > > Andrew Does it require the switch CPU ports to support LAG or is it

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Ingo Molnar
* Dave Hansen wrote: > On 05/28/2015 08:01 AM, Ingo Molnar wrote: > > fpu__activate_fpstate_read() will only activate the fpstate for reads (as > > the name > > suggests it). > > I've got no problem doing it this way. But are you planning to push this > function in to 4.2? Is there a tree

Re: sched_setscheduler() vs idle_balance() race

2015-05-29 Thread Mike Galbraith
P.S. intel_idle is not all that wonderful on this box. - 78.31% [kernel] [k] _raw_spin_lock ▒

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Ingo Molnar
* Dave Hansen wrote: > On 05/28/2015 01:41 AM, Ingo Molnar wrote: > >> > +union fpregs_state *xstate; > >> > + > >> > +if (!current->thread.fpu.fpstate_active) > >> > +return NULL; > >> > +/* > >> > + * fpu__save() takes the CPU's xstate registers

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Ingo Molnar
* Andy Lutomirski wrote: > > It's not that simple, because the decision is not 'lazy versus eager', but > > 'mixed lazy/eager versus eager-only': > > > > Even on modern machines, if a task is not using the FPU (it's doing integer > > only work, with short sleeps just shuffling around requests,

[tip:perf/core] perf tests: Switch from open to openat

2015-05-29 Thread tip-bot for Riku Voipio
Commit-ID: 43f322b4ab3f203d8eefbdad6e58e1637221e4a7 Gitweb: http://git.kernel.org/tip/43f322b4ab3f203d8eefbdad6e58e1637221e4a7 Author: Riku Voipio AuthorDate: Thu, 16 Apr 2015 16:52:53 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:41 -0300 perf tests: Swi

[tip:perf/core] perf tools: Make Ctrl-C stop processing on TUI

2015-05-29 Thread tip-bot for Namhyung Kim
Commit-ID: ed426915900db3c58c410b8b38f6ff0e46bf6c96 Gitweb: http://git.kernel.org/tip/ed426915900db3c58c410b8b38f6ff0e46bf6c96 Author: Namhyung Kim AuthorDate: Fri, 29 May 2015 21:53:44 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:49:00 -0300 perf tools: Ma

Re: [PATCH 16/20] PKCS#7: Add an optional authenticated attribute to hold firmware name [ver #5]

2015-05-29 Thread Andy Lutomirski
On Fri, May 29, 2015 at 5:40 AM, David Howells wrote: > Andy Lutomirski wrote: > >> This is insecure because PKCS#7 authenticated attributes are broken (see >> RFC2315 section 9.4 note 4). You need to either require that everything have >> authenticated attributes or require that nothing have au

[tip:perf/core] perf build: Do not fail on missing Build file

2015-05-29 Thread tip-bot for Jiri Olsa
Commit-ID: d7a3d85e08477a979933a2bb3b525a8de99543c2 Gitweb: http://git.kernel.org/tip/d7a3d85e08477a979933a2bb3b525a8de99543c2 Author: Jiri Olsa AuthorDate: Fri, 29 May 2015 17:42:58 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:44:25 -0300 perf build: Do no

[tip:perf/core] perf machine: Fix up vdso methods names

2015-05-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 9a4388c711d07889217b19eaf63485122dec8817 Gitweb: http://git.kernel.org/tip/9a4388c711d07889217b19eaf63485122dec8817 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 29 May 2015 11:54:08 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:44 -0300 pe

[tip:perf/core] perf machine: Introduce machine__findnew_dso() method

2015-05-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: aa7cc2ae5ae69aff555793fbfcff514141bb23f3 Gitweb: http://git.kernel.org/tip/aa7cc2ae5ae69aff555793fbfcff514141bb23f3 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 29 May 2015 11:31:12 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:44 -0300 pe

[tip:perf/core] perf machine: No need to have two DSOs lists

2015-05-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3d39ac538629e4f00a6e1c38d46346f1b8e69505 Gitweb: http://git.kernel.org/tip/3d39ac538629e4f00a6e1c38d46346f1b8e69505 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 28 May 2015 13:06:42 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:43 -0300 pe

[tip:perf/core] perf tests: Remove getpgrp from mmap-basic

2015-05-29 Thread tip-bot for Riku Voipio
Commit-ID: cec83938707a7055c1f9decd81f2741420518e64 Gitweb: http://git.kernel.org/tip/cec83938707a7055c1f9decd81f2741420518e64 Author: Riku Voipio AuthorDate: Thu, 16 Apr 2015 16:52:55 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:42 -0300 perf tests: Rem

[tip:perf/core] perf machine: Adopt findnew_kernel method

2015-05-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 459ce518d9b563a99faa73aa340b764e0b3fb143 Gitweb: http://git.kernel.org/tip/459ce518d9b563a99faa73aa340b764e0b3fb143 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 28 May 2015 12:40:55 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:43 -0300 pe

[tip:perf/core] perf tests: Aename open*.c to openat*.c

2015-05-29 Thread tip-bot for Riku Voipio
Commit-ID: fbb2df231e11d8086dc51df73376b16407463de1 Gitweb: http://git.kernel.org/tip/fbb2df231e11d8086dc51df73376b16407463de1 Author: Riku Voipio AuthorDate: Fri, 29 May 2015 12:36:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:41 -0300 perf tests: Aen

[tip:perf/core] perf tools: Add ARM64 perf_regs_load to support libunwind and enable testing

2015-05-29 Thread tip-bot for Wang Nan
Commit-ID: 3237f28188c3e41a938781a369652772a23e97a9 Gitweb: http://git.kernel.org/tip/3237f28188c3e41a938781a369652772a23e97a9 Author: Wang Nan AuthorDate: Fri, 27 Mar 2015 13:08:01 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:40 -0300 perf tools: Add AR

[tip:perf/core] perf kmem: Fix compiler warning about may be accessing uninitialized variable

2015-05-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b236512280fb96dcca45a3f5bbae1839bd673e58 Gitweb: http://git.kernel.org/tip/b236512280fb96dcca45a3f5bbae1839bd673e58 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 29 May 2015 09:48:13 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:40 -0300 pe

[tip:perf/core] perf db-export: Fix thread ref-counting

2015-05-29 Thread tip-bot for Adrian Hunter
Commit-ID: 427cde3287f2c6349f308d0e22c9223f9ea05ef1 Gitweb: http://git.kernel.org/tip/427cde3287f2c6349f308d0e22c9223f9ea05ef1 Author: Adrian Hunter AuthorDate: Fri, 29 May 2015 16:33:29 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:39 -0300 perf db-expor

[tip:perf/core] perf probe: Fix 'function unused' warning

2015-05-29 Thread tip-bot for Wang Nan
Commit-ID: 60fb7742928dab3c6a0fec7f2d2cce26d9366a3c Gitweb: http://git.kernel.org/tip/60fb7742928dab3c6a0fec7f2d2cce26d9366a3c Author: Wang Nan AuthorDate: Thu, 28 May 2015 02:25:05 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:39 -0300 perf probe: Fix 'f

[tip:perf/core] perf annotate: Fix -i option, which is currently ignored.

2015-05-29 Thread tip-bot for Martin Liška
Commit-ID: 44848cdbbd1bacbac2a825920b699adc000d51c7 Gitweb: http://git.kernel.org/tip/44848cdbbd1bacbac2a825920b699adc000d51c7 Author: Martin Liška AuthorDate: Fri, 29 May 2015 14:06:44 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 29 May 2015 12:43:34 -0300 perf annotate:

Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

2015-05-29 Thread Andy Lutomirski
On Fri, May 29, 2015 at 11:19 AM, Dan Williams wrote: > On Fri, May 29, 2015 at 8:03 AM, Toshi Kani wrote: >> On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote: >>> On Fri, May 29, 2015 at 2:11 AM, Borislav Petkov wrote: >>> > On Wed, May 27, 2015 at 09:19:04AM -0600, Toshi Kani wrote: >>> >

Re: sched_setscheduler() vs idle_balance() race

2015-05-29 Thread Mike Galbraith
On Thu, 2015-05-28 at 17:24 +0200, Peter Zijlstra wrote: > On Thu, May 28, 2015 at 04:54:26PM +0200, Mike Galbraith wrote: > > > > The below is compile tested only, but it might just work if I didn't > > > miss anything :-) > > > > I'll take it for a spin, and take a peek at the application. > >

[PATCH v5 2/2] arch/x86: remove pci uart early console from early_prink.c

2015-05-29 Thread Bin Gao
The arch independent uart8250 early console driver has good support for memory mapped and io port based 8250 uarts. Since pci is arch independent so it's natural to extend uart8250 to support mem, io and pci. Hence pci uart early console in arch/x86/kernel_printk.c by the following commit: 'commit

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Andy Lutomirski
On Fri, May 29, 2015 at 11:17 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Thu, May 28, 2015 at 9:24 AM, Dave Hansen wrote: >> > On 05/28/2015 08:01 AM, Ingo Molnar wrote: >> >> But the real question is: can we support in-use MPX with asynchronous lazy >> >> restore, while it's st

Re: [PATCH 5/6] edac, mce_amd_inj: Add README file

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 10:38 AM, Borislav Petkov wrote: This one needs to be split in two - the second one adding the readme file... Ack. +static ssize_t +inj_readme_read(struct file *filp, char __user *ubuf, + size_t cnt, loff_t *ppos) +{ + return simple_read_from_buffer(ub

Re: [PATCH 4/6] edac, mce_amd_inj: Add capability to trigger apic interrupts

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 10:36 AM, Borislav Petkov wrote: On Wed, May 27, 2015 at 02:03:36PM -0500, Aravind Gopalakrishnan wrote: +static void trigger_dfr_int(void *info) +{ + asm volatile("int $244"); +} + +static void trigger_thr_int(void *info) +{ + asm volatile("int $249"); +} Hardcoded

[PATCH v5 1/2] serial_core: add pci uart early console support

2015-05-29 Thread Bin Gao
On some Intel Atom SoCs, the legacy IO port UART(0x3F8) is not available. Instead, a 8250 compatible PCI uart can be used as early console. This patch adds pci support to the 8250 early console driver uart8250. For example, to enable pci uart(00:21.3) as early console on these platforms, append the

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Timur Tabi
On 05/29/2015 12:53 PM, Fu Wei wrote: If this interrupter is triggered, that means system has goes wrong, who knows what is wrong , I have to make sure that system get into that routine ,because of the WS0, if not I won't do panic. But the interrupt handler is not registered as shared, which m

Re: [PULL] Fixes for cpumask, modules.

2015-05-29 Thread Linus Torvalds
On Fri, May 29, 2015 at 12:12 AM, Rusty Russell wrote: > > ** NOW WITH TESTING! ** Thanks ;) Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majord

[PATCH v10 1/4] documentation: dts: Add the device tree binding for APM X-Gene v1 PCIe MSI device tree node

2015-05-29 Thread Duc Dang
X-Gene v1 PCIe MSI controller block provides PCIE MSI functionality for 5 X-Gene v1 PCIE ports The driver for this binding is under 'drivers/pci/host/pci-xgene-msi.c' Signed-off-by: Duc Dang Signed-off-by: Tanmay Inamdar Reviewed-by: Marc Zyngier --- .../devicetree/bindings/pci/xgene-pci-msi.

[PATCH v10 4/4] PCI: X-Gene: Add the MAINTAINERS entry for APM X-Gene v1 PCIe MSI driver

2015-05-29 Thread Duc Dang
This patch adds information of maintainers for APM X-Gene v1 PCIe MSI/MSIX termination driver. Signed-off-by: Duc Dang Signed-off-by: Tanmay Inamdar Reviewed-by: Marc Zyngier --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 781e099..59

[PATCH v10 3/4] arm64: dts: Add the device tree entry for the APM X-Gene PCIe MSI node

2015-05-29 Thread Duc Dang
There is single MSI block in X-Gene v1 SOC which serves all 5 PCIe ports. Signed-off-by: Duc Dang Signed-off-by: Tanmay Inamdar Reviewed-by: Marc Zyngier --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 27 +++ 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/

Re: [BUG, bisect] ALSA: hda - No sound output

2015-05-29 Thread Takashi Iwai
At Fri, 29 May 2015 10:41:17 -0700, Jeremiah Mahler wrote: > > Takashi, > > On Fri, May 29, 2015 at 09:43:24AM +0200, Takashi Iwai wrote: > > At Fri, 29 May 2015 09:37:44 +0200, > > Takashi Iwai wrote: > [...] > > I think I found the culprit. Please try the patch below. > > > > > > Takashi > >

[PATCH v10 2/4] PCI: X-Gene: Add the APM X-Gene v1 PCIe MSI/MSIX termination driver

2015-05-29 Thread Duc Dang
APM X-Gene v1 SoC supports its own implementation of MSI, which is not compliant to GIC V2M specification for MSI Termination. There is single MSI block in X-Gene v1 SOC which serves all 5 PCIe ports. This MSI block supports 2048 MSI termination ports coalesced into 16 physical HW IRQ lines and sh

[PATCH v10 0/4] PCI: X-Gene: Add APM X-Gene v1 MSI/MSIX termination driver

2015-05-29 Thread Duc Dang
This patch set adds MSI/MSIX termination driver support for APM X-Gene v1 SoC. APM X-Gene v1 SoC supports its own implementation of MSI, which is not compliant to GIC V2M specification for MSI Termination. There is single MSI block in X-Gene v1 SOC which serves all 5 PCIe ports. This MSI block sup

Re: [PATCH 3/6] edac, mce_amd_inj: Modify flags attrigute to use string arguments

2015-05-29 Thread Aravind Gopalakrishnan
On 5/29/2015 8:49 AM, Borislav Petkov wrote: On Wed, May 27, 2015 at 02:03:35PM -0500, Aravind Gopalakrishnan wrote: +#define MAX_FLAG_OPT_SIZE 10 Why 10? No specific reason. Just an arbitrary max value that we won't hit right now or in the future. This should be 2 and increased when an

Re: [GIT PULL 00/14] perf/core improvements and fixes

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

Re: [PATCH v10 12/12] drivers/block/pmem: Map NVDIMM with ioremap_wt()

2015-05-29 Thread Dan Williams
On Fri, May 29, 2015 at 8:03 AM, Toshi Kani wrote: > On Fri, 2015-05-29 at 07:43 -0700, Dan Williams wrote: >> On Fri, May 29, 2015 at 2:11 AM, Borislav Petkov wrote: >> > On Wed, May 27, 2015 at 09:19:04AM -0600, Toshi Kani wrote: >> >> The pmem driver maps NVDIMM with ioremap_nocache() as we ca

Re: [PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-29 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Thu, May 28, 2015 at 9:24 AM, Dave Hansen wrote: > > On 05/28/2015 08:01 AM, Ingo Molnar wrote: > >> But the real question is: can we support in-use MPX with asynchronous lazy > >> restore, while it's still semantically correct? I don't think so, unless > >> you a

Re: runtime check for omap-aes bus access permission (was: Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot)

2015-05-29 Thread Tony Lindgren
* Tony Lindgren [150529 08:52]: > * Matthijs van Duin [150528 18:37]: > > On 29 May 2015 at 02:58, Matthijs van Duin > > wrote: > > > It is only guaranteed to happen immediately (before the next > > > instruction is executed) if the error occurs before the posting-point > > > of the write. Howe

Re: [PATCH 16/16] ARM: at91/dt: Add Acme Arietta G25

2015-05-29 Thread Sergio Tanzilli
Great Alex thanks Sergio On 29 May 2015 at 19:47, Alexandre Belloni wrote: > Add a minimum Device Tree for Acme Arietta G25. > http://acme.systems/arietta > > Signed-off-by: Alexandre Belloni > Cc: Sergio Tanzilli > --- > arch/arm/boot/dts/Makefile | 1 + > arch/arm/boot/dts/at

[PATCH 2/2] f2fs: fix a deadlock for summary page lock vs. sentry_lock

2015-05-29 Thread Jaegeuk Kim
In f2fs_gc: In f2fs_replace_block: - lock_page(sum_page) - check_valid_map()- mutex_lock(sentry_lock) - mutex_lock(sentry_lock) - change_curseg() - lock_page(sum_page) This patch fixes the deadlock condition. Signed-off-

[PATCH 1/2] f2fs crypto: clean up error handling in f2fs_fname_setup_filename

2015-05-29 Thread Jaegeuk Kim
Sync with: ext4 crypto: clean up error handling in ext4_fname_setup_filename Signed-off-by: Jaegeuk Kim --- fs/f2fs/crypto_fname.c | 24 ++-- 1 file changed, 10 insertions(+), 14 deletions(-) diff --git a/fs/f2fs/crypto_fname.c b/fs/f2fs/crypto_fname.c index 81852cc..ab377

Re: [PATCH 3/7] net: dsa: ar8xxx: add regmap support

2015-05-29 Thread Andrew Lunn
On Fri, May 29, 2015 at 10:36:49AM -0700, Mathieu Olivari wrote: > Alternatively, we could have something similar to what happens for the phy > in the wireless subsystems. Wireless PHYs are not registered as net_device > but they can still be listed, queried or configured through netlink. It is a

Re: [PATCH -rfc 4/4] locking/rtmutex: Support spin on owner (osq)

2015-05-29 Thread Davidlohr Bueso
On Fri, 2015-05-29 at 08:19 -0700, Davidlohr Bueso wrote: > Btw, I just realized I had sent a stale patch where the osq was not > being initialized, fixed below. Thanks! I am an idiot, patch contained some bogus changes in percpu rwsems... *sigh* Here's v3, sorry for the noise. 8<

Re: Uses of Linux backports in the industry

2015-05-29 Thread Luis R. Rodriguez
On Fri, May 29, 2015 at 10:36 AM, Theodore Ts'o wrote: > On Fri, May 29, 2015 at 05:01:00PM +0200, Richard Weinberger wrote: >> On Fri, May 29, 2015 at 4:53 PM, Enrico Weigelt, metux IT consult >> wrote: >> > Am 29.05.2015 um 04:54 schrieb Luis R. Rodriguez: Just to clarify the original goal was

Re: [PATCH v3 5/6] Watchdog: introduce ARM SBSA watchdog driver

2015-05-29 Thread Fu Wei
Hi Timur On 29 May 2015 at 23:46, Timur Tabi wrote: > On 05/29/2015 09:32 AM, Fu Wei wrote: >> >> It is a SPI, every CPU can get it, >> But maybe I miss something, but please let me know if other CPU can >> not get the interrupt. > > > There's only one watchdog device, so there's only one interru

[PATCH 16/16] ARM: at91/dt: Add Acme Arietta G25

2015-05-29 Thread Alexandre Belloni
Add a minimum Device Tree for Acme Arietta G25. http://acme.systems/arietta Signed-off-by: Alexandre Belloni Cc: Sergio Tanzilli --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/at91-acme-arietta.dts | 75 + 2 files changed, 76 insertions(+)

[PATCH 03/16] ARM: at91/dt: kizbox: use stdout-path

2015-05-29 Thread Alexandre Belloni
The kizbox dts are using the deprecated linux,stdout-path. Replace those by stdout-path. Signed-off-by: Alexandre Belloni Cc: Gaël PORTAY --- arch/arm/boot/dts/at91-kizbox.dts | 2 +- arch/arm/boot/dts/at91-kizbox2.dts| 2 +- arch/arm/boot/dts/at91-kizboxmini.dts | 2 +- 3 files changed

[PATCH 02/16] ARM: at91/dt: at91sam9rlek: add RTC

2015-05-29 Thread Alexandre Belloni
Add RTC support to the at91sam9rlek. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rlek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91sam9rlek.dts b/arch/arm/boot/dts/at91sam9rlek.dts index d9299be3dfe9..724b9f54a60a 100644 --- a/arch/arm/boo

[PATCH 06/16] ARM: at91/dt: at91sam9263ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9263ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9263ek.dts b/arch/arm/boot

[PATCH 01/16] ARM: at91/dt: at91sam9rl: fix rtc node

2015-05-29 Thread Alexandre Belloni
The RTC lives at 0xfe00. Also reorder the node properly. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9rl.dtsi | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9rl.dtsi b/arch/arm/boot/dts/at91sam9rl.dtsi index ebf

[PATCH 05/16] ARM: at91/dt: at91sam9261ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9261ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9261ek.dts b/arch/arm/boot

[PATCH 14/16] ARM: at91/dt: sama5d4ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/bo

[PATCH 07/16] ARM: at91/dt: at91sam9g20ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9g20ek_common.dtsi

Re: [PATCH] x86/debug: Remove perpetually broken, unmaintainable dwarf annotations

2015-05-29 Thread Andy Lutomirski
On Thu, May 28, 2015 at 6:17 AM, Ingo Molnar wrote: > > * Jan Beulich wrote: > >> > and meanwhile you can keep a revert of this patch ported to SUSE kernels in >> > whatever fashion you prefer. >> >> Funny suggestion - I don't think that's reasonable for us to do. Or if we >> were >> to, we coul

[PATCH 15/16] ARM: at91/dt: sama5d4 xplained: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d4_xplained.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d4_xplained.dts

[PATCH 12/16] ARM: at91/dt: sama5d3xek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/sama5d3xcm.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d3xcm.dtsi b/arch/arm/boot/dts

[PATCH 09/16] ARM: at91/dt: at91sam9n12ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9n12ek.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9n12ek.dts b/arch/arm/boot

[PATCH 13/16] ARM: at91/dt: sama5d3 xplained: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the bootargs. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91-sama5d3_xplained.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91-sama5d3_xplained.dts b/arch/arm/boot/dts/at91-sama5d3_xplai

[PATCH 04/16] ARM: at91/dt: at91rm9200ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91rm9200ek.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/at91rm9200ek.dts b/arch/arm/boot/dts/at91rm9200ek.dts index 2a5d21247d7e..8dab4b75ca97 100644 --- a/arch/arm/

[PATCH 11/16] ARM: at91/dt: at91sam9x5ek: use stdout-path

2015-05-29 Thread Alexandre Belloni
Use stdout-path to specify the console and remove the console argument from the kernel command line. Signed-off-by: Alexandre Belloni --- arch/arm/boot/dts/at91sam9x5ek.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/at91sam9x5ek.dtsi b/arch/arm/boot

<    1   2   3   4   5   6   7   8   >