Re: [PATCH 00/20] clockevents_notify() removal

2015-04-02 Thread Rafael J. Wysocki
On Thursday, April 02, 2015 02:39:35 PM Ingo Molnar wrote: > > * Rafael J. Wysocki wrote: > > > Hi, > > > > This is the next batch of patches from Thomas that remove > > clockevents_notify(). > > > > I've reordered the set (to put more stratightforward things to the front) > > and > >

Re: [PATCH] mm/migrate: Mark unmap_and_move() "noinline" to avoid ICE in gcc 4.7.3

2015-04-02 Thread Lina Iyer
On Thu, Apr 02 2015 at 15:12 -0600, Kevin Hilman wrote: On Thu, Apr 2, 2015 at 12:12 PM, Lina Iyer wrote: On Wed, Apr 01 2015 at 15:57 -0600, Kevin Hilman wrote: Andrew Morton writes: On Wed, 01 Apr 2015 10:47:49 +0100 Marc Zyngier wrote: > -static int unmap_and_move(new_page_t

Re: [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-04-02 Thread Luis R. Rodriguez
On Sat, Mar 28, 2015 at 12:56:30AM +0100, Luis R. Rodriguez wrote: > On Fri, Mar 27, 2015 at 02:40:17PM -0600, Toshi Kani wrote: > > On Fri, 2015-03-20 at 16:17 -0700, Luis R. Rodriguez wrote: > > : > > > @@ -734,6 +742,7 @@ void __init mtrr_bp_init(void) > > > } > > > > > > if (mtrr_if) {

[PATCH] drm/msm/hdmi: add hdmi hdcp support (V3)

2015-04-02 Thread Jilai Wang
Add HDMI HDCP support including HDCP PartI/II/III authentication. V1: Initial Change V2: Address Bjorn's comments Refactor the authentication process to use single work instead of multiple work for different authentication stages. V3: Update to align with qcom SCM api. Signed-off-by:

Re: Build regression in next-20150331

2015-04-02 Thread Rafael J. Wysocki
On Thursday, April 02, 2015 10:29:17 AM Peter Zijlstra wrote: > On Wed, Apr 01, 2015 at 11:46:10PM +0200, Rafael J. Wysocki wrote: > > > > > --- > > > > kernel/time/tick-internal.h |2 ++ > > > > 1 file changed, 2 insertions(+) > > > > > > > > Index: linux-pm/kernel/time/tick-internal.h > >

Re: [PATCH] PM / watchdog: iTCO: stop watchdog during system suspend

2015-04-02 Thread Rafael J. Wysocki
On Wednesday, April 01, 2015 06:21:40 PM Guenter Roeck wrote: > On 04/01/2015 05:31 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki [cut] > Hi Rafael, > > This only covers suspend and resume, but not any of the other > sleep operations (like SIMPLE_DEV_PM_OPS would do). > Is that

Re: [PATCH v2 2/5] regulator: Introduce property to flag drms

2015-04-02 Thread Bjorn Andersson
On Thu, Apr 2, 2015 at 1:54 AM, Mark Brown wrote: > On Wed, Apr 01, 2015 at 03:55:43PM -0700, Bjorn Andersson wrote: >> Introduce "regulator-allow-drms" to make it possible for board >> configuration to enable drms for regulators. > > I don't think this is a good name, nobody unfamiliar with a

Re: [PATCH v2] pci: export class IDs from pci_ids.h

2015-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2015 at 03:53:47PM -0500, Bjorn Helgaas wrote: > On Mon, Mar 30, 2015 at 01:33:28PM +0200, Michael S. Tsirkin wrote: > > The basic class ID macros in pci_ids.h are pretty useful for userspace > > using the pci sysfs interface, and they aren't fundamentally different > > from the

[PATCH] blackfin: Kconfig: Let PLL_BYPASS and MPU depend on some BF_REV of BF533

2015-04-02 Thread Chen Gang
For allmodconfig, it uses BF533 which will cause 3 issues for common checking: - The first 2 issues are about PLL_BYPASS, it needs BF_REV_0_6 (which just match the compiler's output for __SILICON_REVISION__). - The last issue is about MPU, it needs BF_REV_0_5 or BF_REV_0_6 (which just

Re: smp_call_function_single lockups

2015-04-02 Thread Chris J Arges
On 04/02/2015 02:07 PM, Ingo Molnar wrote: > > * Chris J Arges wrote: > >> Whenever we look through the crashdump we see csd_lock_wait waiting >> for CSD_FLAG_LOCK bit to be cleared. Usually the signature leading >> up to that looks like the following (in the openstack tempest on >>

Re: [PATCH] mm/migrate: Mark unmap_and_move() "noinline" to avoid ICE in gcc 4.7.3

2015-04-02 Thread Kevin Hilman
On Thu, Apr 2, 2015 at 12:12 PM, Lina Iyer wrote: > On Wed, Apr 01 2015 at 15:57 -0600, Kevin Hilman wrote: >> >> Andrew Morton writes: >> >>> On Wed, 01 Apr 2015 10:47:49 +0100 Marc Zyngier >>> wrote: >>> > -static int unmap_and_move(new_page_t get_new_page, free_page_t >

[PATCH] Read ID & Pointer from PCI Capabilities List in 1 call

2015-04-02 Thread Sean O. Stalley
Reading both fields at the same time lets us parse the list with half the number of configspace reads. Signed-off-by: Sean O. Stalley --- drivers/pci/pci.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index

Re: kernel/timer: avoid spurious ksoftirqd wakeups

2015-04-02 Thread Marcelo Tosatti
On Thu, Apr 02, 2015 at 04:59:40PM +0200, Frederic Weisbecker wrote: > On Wed, Apr 01, 2015 at 10:44:55PM -0300, Marcelo Tosatti wrote: > > > > It is only necessary to raise timer softirq > > in case there are active timers or irq work > > to do. > > > > Limit the ksoftirqd wakeup to those

Re: [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-04-02 Thread Luis R. Rodriguez
On Thu, Apr 02, 2015 at 03:28:51PM -0500, Bjorn Helgaas wrote: > On Thu, Apr 2, 2015 at 3:20 PM, Luis R. Rodriguez wrote: > > On Thu, Apr 2, 2015 at 1:13 PM, Bjorn Helgaas wrote: > >> > >> On Thu, Mar 26, 2015 at 6:35 PM, Luis R. Rodriguez wrote: > >> > >> > I'll rephrase this to: > >> > > >> >

Re: [PATCH v5 2/2] memory: pl353: Add driver for arm pl353 static memory controller

2015-04-02 Thread Brian Norris
I'm not following the review of the 'memory' portions much, but has this gotten much review? I was looking at the MTD portions when I noticed an obvious issue below: On Tue, Jan 06, 2015 at 11:19:17PM +0530, Punnaiah Choudary Kalluri wrote: > Add driver for arm pl353 static memory controller.

Re: smp_call_function_single lockups

2015-04-02 Thread Linus Torvalds
On Thu, Apr 2, 2015 at 12:07 PM, Ingo Molnar wrote: > > So one possibility would be that an 'IPI was sent but lost'. Yes, the "sent but lost" thing would certainly explain the lockups. At the same time, that sounds like a huge hardware bug, and that's somewhat surprising/unlikely. That said.

Re: [PATCH v1 06/47] mtrr: add __arch_phys_wc_add()

2015-04-02 Thread Luis R. Rodriguez
On Thu, Apr 02, 2015 at 03:21:22PM -0500, Bjorn Helgaas wrote: > On Fri, Mar 20, 2015 at 6:17 PM, Luis R. Rodriguez > wrote: > > From: "Luis R. Rodriguez" > > > > Ideally on systems using PAT we can expect a swift > > transition away from MTRR. There can be a few exceptions > > to this, one is

Re: [PATCH v2] pci: export class IDs from pci_ids.h

2015-04-02 Thread Bjorn Helgaas
On Mon, Mar 30, 2015 at 01:33:28PM +0200, Michael S. Tsirkin wrote: > The basic class ID macros in pci_ids.h are pretty useful for userspace > using the pci sysfs interface, and they aren't fundamentally different > from the constants in pci_regs.h - both are defined in the > pci spec. > > At the

Re: kernel/timer: avoid spurious ksoftirqd wakeups

2015-04-02 Thread Marcelo Tosatti
On Thu, Apr 02, 2015 at 09:58:26AM -0400, Rik van Riel wrote: > On 04/01/2015 09:44 PM, Marcelo Tosatti wrote: > > > +++ b/kernel/time/tick-sched.c > > @@ -568,6 +568,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct > > tick_sched *ts, > > unsigned long rcu_delta_jiffies; > > struct

Re: [PATCH kernel v7 26/31] powerpc/iommu: Add userspace view of TCE table

2015-04-02 Thread Alex Williamson
Should have sent this with the other comments, but found it hiding on my desktop... On Sat, 2015-03-28 at 01:55 +1100, Alexey Kardashevskiy wrote: > In order to support memory pre-registration, we need a way to track > the use of every registered memory region and only allow unregistration > if

Re: [PATCH] ext4: fix transposition typo in format string

2015-04-02 Thread Theodore Ts'o
On Fri, Feb 20, 2015 at 03:11:35PM +0100, Rasmus Villemoes wrote: > According to C99, %*.s means the same as %*.0s, in other words, print > as many spaces as the field width argument says and effectively ignore > the string argument. That is certainly not what was meant here. The > kernel's printf

Re: [RFC 0/2] perf scripting cleanups

2015-04-02 Thread Adrian Hunter
On 2/04/2015 5:15 p.m., Arnaldo Carvalho de Melo wrote: Em Thu, Apr 02, 2015 at 12:16:40PM +0300, Adrian Hunter escreveu: On 01/04/15 19:36, Arnaldo Carvalho de Melo wrote: Hi David, Jiri, Please take a look if it is ok for you guys Adrian, there is another thing:

Re: Slab infrastructure for bulk object allocation and freeing V2

2015-04-02 Thread Andrew Morton
On Thu, 2 Apr 2015 09:25:37 -0500 (CDT) Christoph Lameter wrote: > > What's the reason for returning a partial result when ENOMEM? Some > > callers will throw away the partial result and simply fail out. If a > > caller attempts to go ahead and use the partial result then great, but > > you

Re: CVE-2014-8159 kernel: infiniband: uverbs: unprotected physical memory access

2015-04-02 Thread Yann Droneaud
Hi, Le jeudi 02 avril 2015 à 16:44 +, Shachar Raindel a écrit : > > -Original Message- > > From: Yann Droneaud [mailto:ydrone...@opteya.com] > > Sent: Thursday, April 02, 2015 7:35 PM > > Another related question: as the large memory range could be registered > > by user space with

Re: [PATCH 0/3] PCI/sparc: Fix booting with T5-8

2015-04-02 Thread David Miller
From: Yinghai Lu Date: Tue, 31 Mar 2015 19:57:46 -0700 > Fix regression by commit d63e2e1f3df9 ("sparc/PCI: Clip bridge windows to > fit in upstream windows"). > > That cause bridge bar get clipped wrongly. > > The sparc64 dma_addr_t is 32-bit, we can not use it to check if we can > use 64bit

Re: [PATCH] ext4: fix bh leak on error paths in ext4_rename() and ext4_cross_rename()

2015-04-02 Thread Theodore Ts'o
On Tue, Mar 03, 2015 at 02:17:19PM +0300, Konstantin Khlebnikov wrote: > Release references to buffer-heads if ext4_journal_start() fails. > > Signed-off-by: Konstantin Khlebnikov > Fixes: 5b61de757535 ("ext4: start handle at least possible moment when > renaming files") Thanks, applied.

[PATCHv4] media: i2c/adp1653: devicetree support for adp1653

2015-04-02 Thread Pavel Machek
We are moving to device tree support on OMAP3, but that currently breaks ADP1653 driver. This adds device tree support, plus required documentation. Signed-off-by: Pavel Machek --- Fixed feedback by Sakari. Please apply, Pavel diff

Re: [tip:x86/asm] x86: Add support for the clwb instruction

2015-04-02 Thread Ross Zwisler
On Wed, 2015-02-18 at 16:29 -0800, tip-bot for Ross Zwisler wrote: > Commit-ID: 3b68983dc66c61da3ab4191b891084a7ab09e3e1 > Gitweb: http://git.kernel.org/tip/3b68983dc66c61da3ab4191b891084a7ab09e3e1 > Author: Ross Zwisler > AuthorDate: Tue, 27 Jan 2015 09:53:51 -0700 > Committer: Ingo

Re: [PATCHv3] media: i2c/adp1653: devicetree support for adp1653

2015-04-02 Thread Pavel Machek
Hi! > Hi Pawel, > > My apologies for the very late reply. > > On Thu, Apr 02, 2015 at 04:38:46PM +0200, Pavel Machek wrote: > > > > > > We are moving to device tree support on OMAP3, but that currently > > breaks ADP1653 driver. This adds device tree support, plus required > > documentation.

Re: kernel/timer: avoid spurious ksoftirqd wakeups

2015-04-02 Thread Marcelo Tosatti
On Thu, Apr 02, 2015 at 11:32:49AM +0800, Hillf Danton wrote: > > --- a/kernel/time/tick-sched.c > > +++ b/kernel/time/tick-sched.c > > @@ -568,6 +568,7 @@ static ktime_t tick_nohz_stop_sched_tick(struct > > tick_sched *ts, > > unsigned long rcu_delta_jiffies; > > struct

Re: [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-04-02 Thread Bjorn Helgaas
On Thu, Apr 2, 2015 at 3:20 PM, Luis R. Rodriguez wrote: > On Thu, Apr 2, 2015 at 1:13 PM, Bjorn Helgaas wrote: >> >> On Thu, Mar 26, 2015 at 6:35 PM, Luis R. Rodriguez wrote: >> >> > I'll rephrase this to: >> > >> > --- >> > It is possible to enable CONFIG_MTRR and up with it >> > disabled at

Re: [PATCH] i2c: cadence: Handling Slave monitor mode

2015-04-02 Thread Wolfram Sang
> >> In slave monitor mode, the I2C interface is set up as a master and > >> continues to attempt a transfer to a particular slave until the > >> slave device responds with an ACK. > >> > >> Added this feature for zero length transfers enable the controller > >> for slave monitor interrupt and

Re: [tip:x86/pmem] x86/mm: Add support for the non-standard protected e820 type

2015-04-02 Thread Yinghai Lu
On Thu, Apr 2, 2015 at 5:31 AM, tip-bot for Christoph Hellwig wrote: > Commit-ID: ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 > Gitweb: http://git.kernel.org/tip/ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 > Author: Christoph Hellwig > AuthorDate: Wed, 1 Apr 2015 09:12:18 +0200 > Committer:

[PATCH] [media] fc0013: remove unneeded test

2015-04-02 Thread Laurent Navet
The same code is executed if ret is true or false, so this test can be removed. Fix Coverity CID 1268782. Signed-off-by: Laurent Navet --- drivers/media/tuners/fc0013.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/media/tuners/fc0013.c b/drivers/media/tuners/fc0013.c index

Re: [PATCH 1/2] x86: add support for the non-standard protected e820 type

2015-04-02 Thread Yinghai Lu
On Wed, Apr 1, 2015 at 12:12 AM, Christoph Hellwig wrote: > Various recent BIOSes support NVDIMMs or ADR using a non-standard > e820 memory type, and Intel supplied reference Linux code using this > type to various vendors. > > Wire this e820 table type up to export platform devices for the pmem

Re: [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-04-02 Thread Luis R. Rodriguez
On Thu, Apr 2, 2015 at 1:13 PM, Bjorn Helgaas wrote: > > On Thu, Mar 26, 2015 at 6:35 PM, Luis R. Rodriguez wrote: > > > I'll rephrase this to: > > > > --- > > It is possible to enable CONFIG_MTRR and up with it > > disabled at run time and yet CONFIG_X86_PAT continues > > to kick through with

Re: [PATCH v1 06/47] mtrr: add __arch_phys_wc_add()

2015-04-02 Thread Bjorn Helgaas
On Fri, Mar 20, 2015 at 6:17 PM, Luis R. Rodriguez wrote: > From: "Luis R. Rodriguez" > > Ideally on systems using PAT we can expect a swift > transition away from MTRR. There can be a few exceptions > to this, one is where device drivers are known to exist > on PATs with errata, This probably

[PATCH] PPS: Restore lost capture-clear option to pps-gpio module.

2015-04-02 Thread Gary E. Miller
In the conversion from platform to device tree the capture-clear option was lost. capture-clear is needed so that time_pps_fetch() will report both edges of each PPS pulse. Both edges are needed so that userland programs, like gpsd, can autodetect the leading and trailing PPS edges.

Re: [PATCH v1 02/47] x86: mtrr: generalize run time disabling of MTRR

2015-04-02 Thread Bjorn Helgaas
On Thu, Mar 26, 2015 at 6:35 PM, Luis R. Rodriguez wrote: > I'll rephrase this to: > > --- > It is possible to enable CONFIG_MTRR and up with it > disabled at run time and yet CONFIG_X86_PAT continues > to kick through with all functionally enabled. This > can happen for instance on Xen where

Re: [PATCH RFC tip/perf/core] ftrace/x86: Let dynamic trampolines call ops->func even for dynamic fops

2015-04-02 Thread Steven Rostedt
On Thu, 2 Apr 2015 13:11:16 +0200 (CEST) Miroslav Benes wrote: > On Thu, 5 Mar 2015, Steven Rostedt wrote: > > > On Thu, 5 Mar 2015 16:56:43 +0100 (CET) > > Miroslav Benes wrote: > > > > > I don't know if you plan to do something about this patch or if you just > > > missed it in your e-mail

Re: [PATCH] i2c: cadence: Handling Slave monitor mode

2015-04-02 Thread Harini Katakam
Hi Wolfram, On Fri, Mar 27, 2015 at 9:07 PM, Wolfram Sang wrote: > On Tue, Mar 17, 2015 at 09:48:15PM +0530, Nava kishore Manne wrote: >> In slave monitor mode, the I2C interface is set up as a master and >> continues to attempt a transfer to a particular slave until the >> slave device responds

Re: [tip:x86/pmem] x86/mm: Add support for the non-standard protected e820 type

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 12:13 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> On Thu, Apr 2, 2015 at 5:31 AM, tip-bot for Christoph Hellwig >> wrote: >> > Commit-ID: ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 >> > Gitweb: >> >

Re: [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO "hole" work around

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 12:45 PM, Luis R. Rodriguez wrote: > On Wed, Apr 01, 2015 at 05:04:08PM -0700, Andy Lutomirski wrote: >> On Wed, Apr 1, 2015 at 4:52 PM, Luis R. Rodriguez wrote: >> > On Sat, Mar 28, 2015 at 02:23:34PM +0200, Ville Syrjälä wrote: >> >> On Sat, Mar 28, 2015 at 01:28:18AM

Re: [PATCH 8/9] qspinlock: Generic paravirt support

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 07:20:57PM +0200, Peter Zijlstra wrote: > pv_wait_head(): > > pv_hash() > /* MB as per cmpxchg */ > cmpxchg(>locked, _Q_LOCKED_VAL, _Q_SLOW_VAL); > > VS > > __pv_queue_spin_unlock(): > > if (xchg(>locked, 0) != _Q_SLOW_VAL) >

Re: [GIT PULL] qcom SoC changes for v4.1

2015-04-02 Thread Nicolas Dechesne
On Thu, Apr 2, 2015 at 9:43 PM, Stephen Boyd wrote: > What about this patch squashed on top? Just guessing but I suspect we > don't care about cell-index if we're not doing the tcsr stuff. Also, I > imagine we could get rid of cell-index entirely if we matched against > the address of the gsbi

Re: [PATCH 1/1] perf/x86/intel: Broadwell support LBR callstack

2015-04-02 Thread Andi Kleen
On Thu, Apr 02, 2015 at 04:12:57AM -0400, kan.li...@intel.com wrote: > From: Kan Liang > > Same as Haswell, Broadwell also support LBR callstack. > > Signed-off-by: Kan Liang Thanks looks good. Acked-by: Andi Kleen -Andi > --- > arch/x86/kernel/cpu/perf_event_intel.c | 2 +- > 1 file

Re: [PATCH v1 09/47] vidoe: fbdev: atyfb: remove and fix MTRR MMIO "hole" work around

2015-04-02 Thread Luis R. Rodriguez
On Wed, Apr 01, 2015 at 05:04:08PM -0700, Andy Lutomirski wrote: > On Wed, Apr 1, 2015 at 4:52 PM, Luis R. Rodriguez wrote: > > On Sat, Mar 28, 2015 at 02:23:34PM +0200, Ville Syrjälä wrote: > >> On Sat, Mar 28, 2015 at 01:28:18AM +0100, Luis R. Rodriguez wrote: > >> > On Fri, Mar 27, 2015 at

Re: [GIT PULL] qcom SoC changes for v4.1

2015-04-02 Thread Stephen Boyd
On 04/02/15 12:25, Kumar Gala wrote: > On Apr 2, 2015, at 3:37 AM, Nicolas Dechesne > wrote: > >> Andy, Kumar, >> >> On Mon, Mar 16, 2015 at 10:03 PM, Kumar Gala wrote: >>> Andy Gross (1): >>> soc: qcom: gsbi: Add support for ADM CRCI muxing >> this commit seems to break the boot on

[PATCH 1/2] x86_32, asm: Improve a TOP_OF_KERNEL_STACK_PADDING comment and long asm line

2015-04-02 Thread Andy Lutomirski
From: Andy Lutomirski At Denys' request, clean up the comment describing stack padding in the 32-bit sysenter path. This also fixes a long line of asm. No code changes. Signed-off-by: Andy Lutomirski --- arch/x86/kernel/entry_32.S | 10 +++--- 1 file changed, 7 insertions(+), 3

[PATCH 0/2] x86_32, asm: Minor stack/tss cleanups

2015-04-02 Thread Andy Lutomirski
This cleans up some leftovers from the 32-bit tss cleanups. Andy Lutomirski (2): x86_32, asm: Improve a TOP_OF_KERNEL_STACK_PADDING comment and long asm line x86_32: Stop caching MSR_IA32_SYSENTER_ESP in tss.sp1 arch/x86/include/asm/processor.h | 22 +++---

[PATCH 2/2] x86_32: Stop caching MSR_IA32_SYSENTER_ESP in tss.sp1

2015-04-02 Thread Andy Lutomirski
From: Andy Lutomirski We write a stack pointer to MSR_IA32_SYSENTER_ESP exactly once, and we unnecessarily cache the value in tss.sp1. We never read the cached value. Remove all of the caching. It serves no purpose. Suggested-by: Denys Vlasenko Signed-off-by: Andy Lutomirski ---

Re: [PATCH 3/9] x86/asm/entry/64: do not SAVE_EXTRA_REGS in stub_sigreturn

2015-04-02 Thread Denys Vlasenko
On 04/02/2015 09:10 PM, Brian Gerst wrote: > On Thu, Apr 2, 2015 at 11:20 AM, Denys Vlasenko wrote: >> On 04/02/2015 05:01 PM, Brian Gerst wrote: >>> On Thu, Apr 2, 2015 at 10:36 AM, Denys Vlasenko wrote: stub_sigreturn ignores old values of pt_regs->REG for all general-purpose

Re: [PATCH 3/9] x86/asm/entry/64: do not SAVE_EXTRA_REGS in stub_sigreturn

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 12:10 PM, Brian Gerst wrote: > On Thu, Apr 2, 2015 at 11:20 AM, Denys Vlasenko wrote: >> On 04/02/2015 05:01 PM, Brian Gerst wrote: >>> On Thu, Apr 2, 2015 at 10:36 AM, Denys Vlasenko wrote: stub_sigreturn ignores old values of pt_regs->REG for all general-purpose

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-02 Thread Yasuaki Ishimatsu
On Wed, 1 Apr 2015 12:53:46 +0800 Dave Young wrote: > I got below kernel panic during kdump test on Thinkpad T420 laptop: > > [0.00] No NUMA configuration found > > [0.00] Faking a node at [mem 0x-0x37ba4fff] >

Re: [RFC PATCH 0/4] mmc: sdhci: Support maximum DMA latency request via PM QoS

2015-04-02 Thread Adrian Hunter
On 1/04/2015 10:59 p.m., Len Brown wrote: Ad hoc testing with Lenovo Thinkpad 10 showed a stress test could run for at least 24 hours with the patches, compared to less than an hour without. There is a patch in linux-next to delete C1E from BYT, since it is problematic on multiple platforms. I

Re: [PATCH/RFC v13 04/13] DT: Add documentation for the mfd Maxim max77693

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Pavel Machek wrote: > On Mon 2015-03-23 15:59:37, Lee Jones wrote: > > On Mon, 23 Mar 2015, Pavel Machek wrote: > > > > > On Mon 2015-03-23 15:02:13, Lee Jones wrote: > > > > On Mon, 23 Mar 2015, Pavel Machek wrote: > > > > > On Mon 2015-03-23 12:07:43, Lee Jones wrote: > >

Re: [GIT PULL] qcom SoC changes for v4.1

2015-04-02 Thread Kumar Gala
On Apr 2, 2015, at 3:37 AM, Nicolas Dechesne wrote: > Andy, Kumar, > > On Mon, Mar 16, 2015 at 10:03 PM, Kumar Gala wrote: >> Andy Gross (1): >> soc: qcom: gsbi: Add support for ADM CRCI muxing > > this commit seems to break the boot on IFC6410, it was initially > reported on

[PATCH 2/4] spi: bcm53xx: Refactor to make driver nonspecific to 53xx SoCs

2015-04-02 Thread Jonathan Richardson
The Broadcom MSPI controller is used on various SoCs. It is being renamed so that it can be extended and reused on other chips. It is renamed to bcm-mspi. Signed-off-by: Jonathan Richardson --- drivers/spi/Kconfig|7 +- drivers/spi/Makefile |2 +-

[PATCH 1/4] ARM: dts: Add binding for Broadcom MSPI driver.

2015-04-02 Thread Jonathan Richardson
Signed-off-by: Jonathan Richardson --- .../devicetree/bindings/spi/brcm,mspi-spi.txt | 38 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/brcm,mspi-spi.txt diff --git

[PATCH 0/4] Add MSPI support for Cygnus

2015-04-02 Thread Jonathan Richardson
This patchset adds support for the MSPI controller on Cygnus. The existing MSPI driver in the kernel was written for BCMA which is a Broadcom AMBA bus variant used on certain chips such as the 53xx. This patch makes BCMA support optional. The current config is being renamed to make it chip

[PATCH 3/4] spi: bcm-mspi: Make BCMA optional to support non-BCMA chips

2015-04-02 Thread Jonathan Richardson
The Broadcom MSPI controller is used on various chips. The driver only supported BCM53xx chips with BCMA (an AMBA bus variant). The driver is refactored to make BCMA optional and provides a new config for non BCMA systems. Signed-off-by: Jonathan Richardson --- drivers/spi/Kconfig|5

[PATCH 4/4] spi: bcm-mspi: Add support to set serial baud clock rate

2015-04-02 Thread Jonathan Richardson
The driver wasn't setting the SPBR (serial clock baud rate) which caused it to run at the slowest speed possible. The driver now calculates the SPBR based on the reference clock frequency resulting in much faster SPI transfers. Signed-off-by: Jonathan Richardson --- drivers/spi/spi-bcm-mspi.c |

Re: [PATCH 4/4] UBI: Implement bitrot checking

2015-04-02 Thread Andrea Scian
Il 02/04/2015 19:54, Richard Weinberger ha scritto: > Hi! > > Am 02.04.2015 um 19:34 schrieb Andrea Scian: >> Richard, >> >> Il 29/03/2015 14:13, Richard Weinberger ha scritto: >>> + mutex_lock(>buf_mutex); >>> + err = ubi_io_read(ubi, ubi->peb_buf, e->pnum, 0, ubi->peb_size); >>> +

Re: [PATCH 2/3] context_tracking: Inherit TIF_NOHZ through forks instead of context switches

2015-04-02 Thread Oleg Nesterov
On 04/02, Peter Zijlstra wrote: > > On Thu, Apr 02, 2015 at 07:39:24PM +0200, Frederic Weisbecker wrote: > > TIF_NOHZ is used by context_tracking to force syscall slow-path on every > > task in order to track userspace roundtrips. As such, it must be set on > > all running tasks. > > > > It's

Re: [PATCH] x86/numa: kernel stack corruption fix

2015-04-02 Thread Yasuaki Ishimatsu
On Wed, 1 Apr 2015 15:41:20 +0800 Dave Young wrote: > On 04/01/15 at 03:27pm, Xishi Qiu wrote: > > On 2015/4/1 13:11, Dave Young wrote: > > > > > Ccing Xishi Qiu who wrote the clear_kernel_node_hotplug code. > > > > > > On 04/01/15 at 12:53pm, Dave Young wrote: > > >> I got below kernel panic

Re: [tip:x86/pmem] x86/mm: Add support for the non-standard protected e820 type

2015-04-02 Thread Ingo Molnar
* Andy Lutomirski wrote: > On Thu, Apr 2, 2015 at 5:31 AM, tip-bot for Christoph Hellwig > wrote: > > Commit-ID: ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 > > Gitweb: > > http://git.kernel.org/tip/ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 > > Author: Christoph Hellwig > > AuthorDate:

Re: [PATCH] mm/migrate: Mark unmap_and_move() "noinline" to avoid ICE in gcc 4.7.3

2015-04-02 Thread Lina Iyer
On Wed, Apr 01 2015 at 15:57 -0600, Kevin Hilman wrote: Andrew Morton writes: On Wed, 01 Apr 2015 10:47:49 +0100 Marc Zyngier wrote: > -static int unmap_and_move(new_page_t get_new_page, free_page_t put_new_page, > - unsigned long private, struct page *page, int force, > -

Re: [PATCH v6 4/4] crypto: Add Allwinner Security System crypto accelerator

2015-04-02 Thread Corentin LABBE
Le 26/03/2015 19:31, Boris Brezillon a écrit : > Hi Corentin, > > Here is a quick review, there surely are a lot of other things I didn't > spot. > > On Mon, 16 Mar 2015 20:01:22 +0100 > LABBE Corentin wrote: > >> Add support for the Security System included in Allwinner SoC A20. >> The

[PATCH] KVM: vmx: pass error code with internal error #2

2015-04-02 Thread Radim Krčmář
Exposing the on-stack error code with internal error is cheap and potentially useful. Signed-off-by: Radim Krčmář --- arch/x86/kvm/vmx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 0caaf56eb459..cfbd737afcd1 100644 ---

Re: [PATCH 2/3] context_tracking: Inherit TIF_NOHZ through forks instead of context switches

2015-04-02 Thread Rik van Riel
On 04/02/2015 03:09 PM, Peter Zijlstra wrote: > On Thu, Apr 02, 2015 at 07:39:24PM +0200, Frederic Weisbecker wrote: >> TIF_NOHZ is used by context_tracking to force syscall slow-path on every >> task in order to track userspace roundtrips. As such, it must be set on >> all running tasks. >> >>

Re: [PATCH 3/9] x86/asm/entry/64: do not SAVE_EXTRA_REGS in stub_sigreturn

2015-04-02 Thread Brian Gerst
On Thu, Apr 2, 2015 at 11:20 AM, Denys Vlasenko wrote: > On 04/02/2015 05:01 PM, Brian Gerst wrote: >> On Thu, Apr 2, 2015 at 10:36 AM, Denys Vlasenko wrote: >>> stub_sigreturn ignores old values of pt_regs->REG for all general-purpose >>> registers, it sets them to values saved on userspace >>>

Re: [tip:x86/pmem] x86/mm: Add support for the non-standard protected e820 type

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 5:31 AM, tip-bot for Christoph Hellwig wrote: > Commit-ID: ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 > Gitweb: http://git.kernel.org/tip/ec776ef6bbe1734c29cd6bd05219cd93b2731bd4 > Author: Christoph Hellwig > AuthorDate: Wed, 1 Apr 2015 09:12:18 +0200 > Committer:

Re: [PATCH 2/3] context_tracking: Inherit TIF_NOHZ through forks instead of context switches

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 07:39:24PM +0200, Frederic Weisbecker wrote: > TIF_NOHZ is used by context_tracking to force syscall slow-path on every > task in order to track userspace roundtrips. As such, it must be set on > all running tasks. > > It's currently explicitly inherited through context

Re: smp_call_function_single lockups

2015-04-02 Thread Ingo Molnar
* Chris J Arges wrote: > Whenever we look through the crashdump we see csd_lock_wait waiting > for CSD_FLAG_LOCK bit to be cleared. Usually the signature leading > up to that looks like the following (in the openstack tempest on > openstack and nested VM stress case) > > (qemu-system-x86

Re: [PATCH 19/21] clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety margin

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 11:50:13AM -0700, John Stultz wrote: > > Right, but all of the time code relies on there being slack, since we > can't be sure timers will not be slightly late. Fair enough. My point is moot, I'll go crawl back into my cave ;-) -- To unsubscribe from this list: send the

Re: [PATCH 9/9] x86/asm/entry/64: Remove GET_THREAD_INFO in ret_from_fork

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 7:36 AM, Denys Vlasenko wrote: > It used to be used to check for _TIF_IA32, but the check has been removed. > > Remove GET_THREAD_INFO too. > > Run-tested. Acked-by: Andy Lutomirski Anyone know what the eflags reset code just above it is for? Is it because we used to

Re: [PATCH] selftests/mount: output error messages when mount test fail

2015-04-02 Thread Eric W. Biederman
Zhang Zhen writes: > Without this patch, if /proc/self/uid_map is not exist, > the mount test case will fail and no any prompting. The intent was not to fail if /proc/self/uid_map is missing but to skip the test because it is not applicable. Making this an error seems wrong. Even if I did

Re: [PATCH] x86: vdso: fix pvclock races with task migration

2015-04-02 Thread Andy Lutomirski
On Thu, Apr 2, 2015 at 11:44 AM, Radim Krčmář wrote: > If we were migrated right after __getcpu, but before reading the > migration_count, we wouldn't notice that we read TSC of a different > VCPU, nor that KVM's bug made pvti invalid, as only migration_count > on source VCPU is increased. > >

Re: [PATCH 1/2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

2015-04-02 Thread Tyler Baker
On 2 April 2015 at 10:48, Shuah Khan wrote: > On 04/02/2015 11:17 AM, Tyler Baker wrote: >> On 2 April 2015 at 06:43, Shuah Khan wrote: >>> On 04/02/2015 04:18 AM, Prarit Bhargava wrote: On 03/26/2015 01:33 PM, Tyler Baker wrote: > On 26 March 2015 at 09:29, John Stultz

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

2015-04-02 Thread jilaiw
> >>> >> + ret = v4l2_device_register(NULL, >v4l2_dev); >>> >> + if (ret) >>> >> + goto free_dev; >>> >> + >>> >> + /* default ARGB 640x480 */ >>> >> + dev->fmt = get_format(V4L2_PIX_FMT

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

2015-04-02 Thread jilaiw
> >>> >> + ret = v4l2_device_register(NULL, >v4l2_dev); >>> >> + if (ret) >>> >> + goto free_dev; >>> >> + >>> >> + /* default ARGB 640x480 */ >>> >> + dev->fmt = get_format(V4L2_PIX_FMT

Re: userspace breakage in linux/nfsd/debug.h

2015-04-02 Thread Mark Salter
On Thu, 2015-04-02 at 13:53 -0400, Jeff Layton wrote: > On Thu, 2 Apr 2015 11:58:13 -0400 > Jeff Layton wrote: > > > On Thu, 02 Apr 2015 10:42:46 -0400 > > Mark Salter wrote: > > > > > This patch: > > > > > > commit f895b252d4edf66b2895fb5a7b17a638665f3e1f > > > Author: Jeff Layton > > >

Re: mmotm 2015-04-01-14-54 uploaded

2015-04-02 Thread Paul Bolle
On Thu, 2015-04-02 at 09:42 +0100, Vladimir Murzin wrote: > It was noticed by Paul Bolle (and his clever bot) that patch above > simply disables MEMTEST altogether [1]. This needs correcting. The clever bot is a project of Andreas Ruprecht, Stefan Hengelein, and Valentin Rothberg. I've only

Re: [PATCH v2 7/7] vhost: feature to set the vring endianness

2015-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2015 at 06:45:27PM +0200, Greg Kurz wrote: > On Thu, 2 Apr 2015 16:20:46 +0200 > "Michael S. Tsirkin" wrote: > > > On Thu, Apr 02, 2015 at 03:17:13PM +0200, Greg Kurz wrote: > > > This patch brings cross-endian support to vhost when used to implement > > > legacy virtio devices.

[PATCH] x86: vdso: fix pvclock races with task migration

2015-04-02 Thread Radim Krčmář
If we were migrated right after __getcpu, but before reading the migration_count, we wouldn't notice that we read TSC of a different VCPU, nor that KVM's bug made pvti invalid, as only migration_count on source VCPU is increased. Change vdso instead of updating migration_count on destination.

[tip:perf/core] perf/x86: Add 3 new scheduling callbacks

2015-04-02 Thread tip-bot for Maria Dimakopoulou
Commit-ID: c5362c0c376486afcf3c91d3c2691d348ac1e2fd Gitweb: http://git.kernel.org/tip/c5362c0c376486afcf3c91d3c2691d348ac1e2fd Author: Maria Dimakopoulou AuthorDate: Mon, 17 Nov 2014 20:06:55 +0100 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:33:09 +0200 perf/x86: Add 3 new

[tip:sched/core] sched/core: Remove unused argument from init_[ rt|dl]_rq()

2015-04-02 Thread tip-bot for Abel Vesa
Commit-ID: 07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6 Gitweb: http://git.kernel.org/tip/07c54f7a7ff77bb47bae26e566969e9c4b6fb0c6 Author: Abel Vesa AuthorDate: Tue, 3 Mar 2015 13:50:27 +0200 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:42:55 +0200 sched/core: Remove unused

Re: [PATCH 0/6] selftests: improve cross compilation support

2015-04-02 Thread Shuah Khan
On 04/02/2015 11:23 AM, Shuah Khan wrote: > On 04/02/2015 07:53 AM, Shuah Khan wrote: >> On 04/01/2015 05:20 PM, Tyler Baker wrote: >>> This patch set improves cross building functionality by resovling hard coded >>> assumptions about the compiler used. With this patch set, all but mqueue, >>>

Re: smp_call_function_single lockups

2015-04-02 Thread Chris J Arges
On 04/02/2015 01:26 PM, Ingo Molnar wrote: > > * Linus Torvalds wrote: > >> So unless we find a real clear signature of the bug (I was hoping >> that the ISR bit would be that sign), I don't think trying to bisect >> it based on how quickly you can reproduce things is worthwhile. > > So I'm

[tip:timers/core] timer: Further simplify the SMP and HOTPLUG logic

2015-04-02 Thread tip-bot for Peter Zijlstra
Commit-ID: 3650b57fdf208bc0e36cbe7b5e0744bd0e0cf34d Gitweb: http://git.kernel.org/tip/3650b57fdf208bc0e36cbe7b5e0744bd0e0cf34d Author: Peter Zijlstra AuthorDate: Tue, 31 Mar 2015 20:49:02 +0530 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:46:21 +0200 timer: Further simplify

[tip:timers/core] timer: Allocate per-cpu tvec_base's statically

2015-04-02 Thread tip-bot for Peter Zijlstra
Commit-ID: b337a9380f7effd60d082569dd7e0b97a7549730 Gitweb: http://git.kernel.org/tip/b337a9380f7effd60d082569dd7e0b97a7549730 Author: Peter Zijlstra AuthorDate: Tue, 31 Mar 2015 20:49:00 +0530 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:46:00 +0200 timer: Allocate per-cpu

[tip:timers/core] timer: Don't initialize 'tvec_base' on hotplug

2015-04-02 Thread tip-bot for Viresh Kumar
Commit-ID: 8def906044c02edcedac79aa3d6310ab4d90c4d8 Gitweb: http://git.kernel.org/tip/8def906044c02edcedac79aa3d6310ab4d90c4d8 Author: Viresh Kumar AuthorDate: Tue, 31 Mar 2015 20:49:01 +0530 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:46:01 +0200 timer: Don't initialize

Re: [PATCH v2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

2015-04-02 Thread Shuah Khan
On 04/02/2015 08:21 AM, Shuah Khan wrote: > On 04/01/2015 09:43 PM, John Stultz wrote: >> The set-timer-lat test fails when testing CLOCK_BOOTTIME_ALARM >> or CLOCK_REALTIME_ALARM when the user isn't running as root or >> with CAP_WAKE_ALARM. >> >> So this patch improves the error checking so we

Re: [PATCH 19/21] clocksource: Improve comment explaining clocks_calc_max_nsecs()'s 50% safety margin

2015-04-02 Thread John Stultz
On Thu, Apr 2, 2015 at 11:43 AM, Peter Zijlstra wrote: > On Thu, Apr 02, 2015 at 11:41:15AM -0700, John Stultz wrote: >> On Thu, Apr 2, 2015 at 11:34 AM, Peter Zijlstra wrote: >> > On Thu, Apr 02, 2015 at 10:30:18AM -0700, John Stultz wrote: >> >> > Should we make a further note that the tk_fast

[tip:sched/core] sched/deadline: Support DL task migration during CPU hotplug

2015-04-02 Thread tip-bot for Wanpeng Li
Commit-ID: fa9c9d10e97e38d9903fad1829535175ad261f45 Gitweb: http://git.kernel.org/tip/fa9c9d10e97e38d9903fad1829535175ad261f45 Author: Wanpeng Li AuthorDate: Fri, 27 Mar 2015 07:08:35 +0800 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:42:57 +0200 sched/deadline: Support DL

Re: [PATCH v3] watchdog: add watchdog_cpumask sysctl to assist nohz

2015-04-02 Thread Chris Metcalf
On 04/02/2015 02:33 PM, Peter Zijlstra wrote: On Thu, Apr 02, 2015 at 02:16:09PM -0400, Chris Metcalf wrote: On 04/02/2015 02:06 PM, Peter Zijlstra wrote: On Thu, Apr 02, 2015 at 01:39:28PM -0400, cmetc...@ezchip.com wrote: @@ -431,6 +434,10 @@ static void watchdog_enable(unsigned int cpu)

[tip:perf/core] perf/x86/intel: Fix intel_get_event_constraints() for dynamic constraints

2015-04-02 Thread tip-bot for Stephane Eranian
Commit-ID: a90738c2cb0dceb882e0d7f7f9141e0062809b4d Gitweb: http://git.kernel.org/tip/a90738c2cb0dceb882e0d7f7f9141e0062809b4d Author: Stephane Eranian AuthorDate: Mon, 17 Nov 2014 20:07:01 +0100 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:33:14 +0200 perf/x86/intel: Fix

[tip:perf/core] perf/x86: Vectorize cpuc->kfree_on_online

2015-04-02 Thread tip-bot for Stephane Eranian
Commit-ID: 90413464313e00fe4975f4a0ebf25fe31d01f793 Gitweb: http://git.kernel.org/tip/90413464313e00fe4975f4a0ebf25fe31d01f793 Author: Stephane Eranian AuthorDate: Mon, 17 Nov 2014 20:06:54 +0100 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:33:08 +0200 perf/x86: Vectorize

[tip:sched/core] sched/core: Check for available DL bandwidth in cpuset_cpu_inactive()

2015-04-02 Thread tip-bot for Juri Lelli
Commit-ID: 3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a Gitweb: http://git.kernel.org/tip/3c18d447b3b36a8d3c90dc37dfbd363cdb685d0a Author: Juri Lelli AuthorDate: Tue, 31 Mar 2015 09:53:37 +0100 Committer: Ingo Molnar CommitDate: Thu, 2 Apr 2015 17:42:56 +0200 sched/core: Check for

Re: [PATCH 2/2] ASoC: add core audio driver for Broadcom Cygnus SOC.

2015-04-02 Thread Lori Hikichi
On 15-03-30 11:42 PM, Mark Brown wrote: On Mon, Mar 30, 2015 at 08:16:24PM -0700, Scott Branden wrote: The CC list for this patch is pretty wide - please look at who you're sending this to and try to send to only relevant people (for example I'm not sure the Raspberry Pi people need to review

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