Re: [PATCH v2] sched/numa: Fix use of spin_{un}lock_irq() when interrupts are disabled

2014-05-27 Thread Peter Zijlstra
On Tue, May 27, 2014 at 05:02:04PM -0400, Steven Rostedt wrote: > As Peter Zijlstra told me, we have the following path: > > do_exit() > exit_itimers() > itimer_delete() > spin_lock_irqsave(&timer->it_lock, &flags); > timer_delete_hook(timer); > kc->timer_del(timer) := po

[PATCH v2 7/9] staging: ion: remove order argument from free_buffer_page()

2014-05-27 Thread Heesub Shin
Now that the pages returned from the pool are compound pages, we do not need to pass the order information to free_buffer_page(). Signed-off-by: Heesub Shin --- drivers/staging/android/ion/ion_system_heap.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/stag

[PATCH v2 9/9] staging: ion: optimize struct ion_system_heap

2014-05-27 Thread Heesub Shin
struct ion_system_heap has an array for storing pointers to page pools and it is allocated separately from the containing structure. There is no point in allocating those two small objects individually, bothering slab allocator. Using a variable length array simplifies code lines and reduces overhe

Re: [PATCH] Staging: speakup: don't die if accessing sysfs without synth

2014-05-27 Thread Samuel Thibault
Sasha Levin, le Tue 27 May 2014 19:08:36 -0400, a écrit : > Setting a 'silent' parameter without a synth would crash the kernel. > > Signed-off-by: Sasha Levin Acked-by: Samuel Thibault > --- > drivers/staging/speakup/synth.c |3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/dri

[PATCH v2 8/9] staging: ion: shrink highmem pages on kswapd

2014-05-27 Thread Heesub Shin
ION system heap keeps pages in its pool for better performance. When the system is under memory pressure, slab shrinker calls the callback registered and then the pages pooled get freed. When the shrinker is called, it checks gfp_mask and determines whether the pages from highmem need to be freed

[PATCH v2 6/9] staging: ion: remove struct page_info

2014-05-27 Thread Heesub Shin
ION system heap creates a temporary list of pages to build scatter/gather table, introducing an internal data type, page_info. Now that the order field has been removed from it, we do not need to depend on such data type anymore. Signed-off-by: Heesub Shin --- drivers/staging/android/ion/ion_sys

[PATCH v2 5/9] staging: ion: remove order from struct page_info

2014-05-27 Thread Heesub Shin
ION system heap uses an internal data structure, struct page_info, for tracking down the meta information of the pages allocated from the pool. Now that the pool returns compound pages, we don't need to store page order in struct page_info. Signed-off-by: Heesub Shin --- drivers/staging/android/

Re: balance storm

2014-05-27 Thread Libo Chen
On 2014/5/28 9:53, Mike Galbraith wrote: > On Wed, 2014-05-28 at 09:04 +0800, Libo Chen wrote: > >> oh yes, no tsc only hpet in my box. > > Making poor E5-2658 box a crippled wreck. yes,it is. But cpu usage will be down from 15% to 5% when binding cpu, so maybe read_hpet is not the root cause.

[PATCH v2 4/9] staging: ion: use compound pages on high order pages for system heap

2014-05-27 Thread Heesub Shin
Using compound pages relieves burden on tracking the meta information which are currently stored in page_info. Signed-off-by: Heesub Shin --- drivers/staging/android/ion/ion_page_pool.c | 4 +++- drivers/staging/android/ion/ion_system_heap.c | 2 +- 2 files changed, 4 insertions(+), 2 deletion

[RFC 2/2] x86_64: expand kernel stack to 16K

2014-05-27 Thread Minchan Kim
While I play inhouse patches with much memory pressure on qemu-kvm, 3.14 kernel was randomly crashed. The reason was kernel stack overflow. When I investigated the problem, the callstack was a little bit deeper by involve with reclaim functions but not direct reclaim path. I tried to diet stack s

[PATCH v2 3/9] staging: ion: remove struct ion_page_pool_item

2014-05-27 Thread Heesub Shin
The page pool uses an internal data structure, ion_page_pool_item, for wrapping pooled pages and constructing a list. As the struct page already provides ways for doing exactly the same thing, we do not need to reinvent the wheel. This commit removes the data structure and slab allocations for it.

[PATCH 1/2] ftrace: print stack usage right before Oops

2014-05-27 Thread Minchan Kim
While I played with my own feature(ex, something on the way to reclaim), kernel went to oops easily. I guessed reason would be stack overflow and wanted to prove it. I found stack tracer which would be very useful for me but kernel went oops before my user program gather the information via "watch

[PATCH v2 1/9] staging: ion: tidy up a bit

2014-05-27 Thread Heesub Shin
For aesthetics and readability, rename goto labels, remove useless code lines, and clarify function return type. Signed-off-by: Heesub Shin --- drivers/staging/android/ion/ion_page_pool.c | 2 +- drivers/staging/android/ion/ion_priv.h| 2 +- drivers/staging/android/ion/ion_system_hea

[PATCH v2 2/9] staging: ion: simplify ion_page_pool_total()

2014-05-27 Thread Heesub Shin
ion_page_pool_total() returns the total number of pages in the pool. Depending on the argument passed, it counts highmem pages in or not. This commit simplifies the code lines for better readability. Signed-off-by: Heesub Shin --- drivers/staging/android/ion/ion_page_pool.c | 10 +- 1 fi

[PATCH v2 0/9] staging: ion: system heap and page pool fixes

2014-05-27 Thread Heesub Shin
Hi, Here is my patchset with some modification, hoping reviews or comments from you guys. v2: o No changes in the code, just reworded changelog o Reorder patch Heesub Shin (9): staging: ion: tidy up a bit staging: ion: simplify ion_page_pool_total() staging: ion: remove struct ion_page_

Re: [PATCH v2 02/11] sched: remove a wake_affine condition

2014-05-27 Thread Vincent Guittot
Using another email address for Nick On 27 May 2014 18:14, Vincent Guittot wrote: > On 27 May 2014 17:39, Peter Zijlstra wrote: >> On Tue, May 27, 2014 at 05:19:02PM +0200, Vincent Guittot wrote: >>> On 27 May 2014 14:48, Peter Zijlstra wrote: >>> > On Fri, May 23, 2014 at 05:52:56PM +0200, Vin

Re: [PATCH v2 0/6] sched: expel confusing usage of the term "power"

2014-05-27 Thread Peter Zijlstra
Thanks Nico, applied them. pgpg5q0AMa9Ks.pgp Description: PGP signature

Re: [PATCH] arm: Set hardirq tracing to on when idling

2014-05-27 Thread Arnd Bergmann
On Tuesday 27 May 2014 19:28:06 Corey Minyard wrote: > On 05/27/2014 02:27 PM, Arnd Bergmann wrote: > > On Tuesday 27 May 2014 11:53:59 Stephen Boyd wrote: > >> On 05/27/14 11:49, Arnd Bergmann wrote: > >>> You also commented in that thread about stop_critical_timings()/ > >>> start_critical_timing

Re: [PATCH v2] tracing: Don't account for cpu idle time with irqsoff tracers

2014-05-27 Thread Arnd Bergmann
On Tuesday 27 May 2014 19:30:50 Steven Rostedt wrote: > @@ -144,6 +138,12 @@ static int cpuidle_idle_call(void) > trace_cpu_idle_rcuidle(next_state, dev->cpu); > > /* > +* During the idle period, stop

Re: [PATCH v2] tracing: Don't account for cpu idle time with irqsoff tracers

2014-05-27 Thread Arnd Bergmann
On Tuesday 27 May 2014 19:30:50 Steven Rostedt wrote: > On Tue, 27 May 2014 15:21:39 -0700 > Stephen Boyd wrote: > > > > > Arnd brings up a good point. > > > > Hrm.. still not getting Arnd's mails. > > Strange. What mail service do you have. Could they be blocking him? > I think it's United

Re: [PATCH 5/9] tlan: Restart autonegotiation on link loss

2014-05-27 Thread Ondrej Zary
On Wednesday 28 May 2014, Florian Fainelli wrote: > Hi, > > 2014-05-27 14:38 GMT-07:00 Ondrej Zary : > > When link is lost on a card which uses internal PHY for 10 Mbit speeds, > > restart autonegotiation to allow switching between 10 and 100 Mbps > > speeds. > > I think you should take a look at i

[PATCH 1/1] driver/md/block: Alloc space for member flush_rq

2014-05-27 Thread Li, Zhen-Hua
This patch is trying to fix a kernel crash bug. When kernel boots on a HP large system, it crashes. The reason is when blk_rq_init is called, the second parameter rq , which is a member as q->flush_rq, is NULL. Kernel does not allocate space for it. This fix adds an alloc for flush_rq member when

[RFC PATCH 2/7] perf, core: introduce pmu context switch callback

2014-05-27 Thread Yan, Zheng
The callback is invoked when process is scheduled in or out. It provides mechanism for later patches to save/store the LBR stack. For the schedule in case, the callback is invoked at the same place that flush branch stack callback is invoked. So it also can replace the flush branch stack callback.

[RFC PATCH 0/7] perf, x86: large PEBS interrupt threshold

2014-05-27 Thread Yan, Zheng
This patch series implements large PEBS interrupt threshold. For some limited cases, it can significantly reduce the sample overhead. Please read patch 6's commit message for more information. Regards Yan, Zheng -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[RFC PATCH 1/7] perf, core: Add all PMUs to pmu_idr

2014-05-27 Thread Yan, Zheng
Currently, the build-in PMUs are not added to pmu_idr. This makes a inconvenience for finding PMU by type. Signed-off-by: Yan, Zheng --- kernel/events/core.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/kernel/events/core.c b/kernel/events/core.c in

[RFC PATCH 3/7] perf, x86: use context switch callback to flush LBR stack

2014-05-27 Thread Yan, Zheng
Previous commit introduces context switch callback, its function overlaps with the flush branch stack callback. So we can use the context switch callback to flush LBR stack. This patch adds code that uses the flush branch callback to flush the LBR stack when task is being scheduled in. The callbac

[RFC PATCH 5/7] perf, x86: use the PEBS auto reload mechanism when possible

2014-05-27 Thread Yan, Zheng
When a fixed period is specified, this patch make perf use the PEBS auto reload mechanism. This makes normal profiling faster, because it avoids one costly MSR write in the PMI handler. Signef-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event.c | 15 +-- arch/x86/kernel/

[RFC PATCH 6/7] perf, x86: large PEBS interrupt threshold

2014-05-27 Thread Yan, Zheng
PEBS always had the capability to log samples to its buffers without an interrupt. Traditionally perf has not used this but always set the PEBS threshold to one. For frequently occuring events (like cycles or branches or load/stores) this in term requires using a relatively high sampling period to

[RFC PATCH 4/7] tools, perf: Allow the user to disable time stamps

2014-05-27 Thread Yan, Zheng
From: Andi Kleen Time stamps are always implicitely enabled for record currently. The old --time/-T option is a nop. Allow the user to disable timestamps by using --no-time This can cause some minor misaccounting (by missing mmaps), but significantly lowers the size of perf.data The defaults a

[RFC PATCH 7/7] perf, x86: drain PEBS buffer during context switch

2014-05-27 Thread Yan, Zheng
Flush the PEBS buffer during context switch if PEBS interrupt threshold is larger than one. This allows perf to supply TID for events. Signed-off-by: Yan, Zheng --- arch/x86/kernel/cpu/perf_event.h | 3 +++ arch/x86/kernel/cpu/perf_event_intel.c | 11 +++- arch/x86/kernel/cpu/

Re: [RFC][PATCH 0/5] VM_PINNED

2014-05-27 Thread Peter Zijlstra
On Tue, May 27, 2014 at 03:00:15PM -0500, Christoph Lameter wrote: > On Tue, 27 May 2014, Peter Zijlstra wrote: > > > > What do you mean by shared pages that are not shmem pages? AnonPages that > > > are referenced from multiple processes? > > > > Regular files.. they get allocated through __page_

Re: xfs: possible deadlock warning

2014-05-27 Thread Dave Chinner
On Wed, May 28, 2014 at 01:19:16PM +0800, Gu Zheng wrote: > Hi all, > When running the latest Linus' tree, the following possible deadlock warning > occurs. false positive. There isn't a deadlock between inode locks on different filesystems. i.e. there is no dependency between shmem inodes and xf

[RFC] Bluetooth: Keep master role when SCO or eSCO is active

2014-05-27 Thread Kiran Kumar Raparthy
From: "hyungseoung.yoo" Preserve the master role when SCO or eSCO is active as this improves compatability with lots of headset and chipset combinations. This is one of the number of patches from the Android AOSP common.git tree, which is used on almost all Android devices. It looks like it woul

Re: [PATCH net-next V6 1/2] cpumask: Utility function to set n'th cpu - local cpu first

2014-05-27 Thread Or Gerlitz
On Tue, May 27, 2014 at 10:24 PM, David Miller wrote: > I would like someone who cares about these cpumask interfaces to provide > a review. understood, still, looking in the git log of that file didn't yield much only 1-2 commits per years for 2011/12/13, so, any concrete suggestion? Or. -- To

xfs: possible deadlock warning

2014-05-27 Thread Gu Zheng
Hi all, When running the latest Linus' tree, the following possible deadlock warning occurs. [ 140.949000] == [ 140.949000] [ INFO: possible circular locking dependency detected ] [ 140.949000] 3.15.0-rc7+ #93 Not tainted [ 140.949000] -

Re: [PATCH v4 00/16] PCI/iommu: Fix DMA alias problems

2014-05-27 Thread Pat Erley
On 05/22/2014 06:07 PM, Alex Williamson wrote: For testing, this version can be found in my git tree: git://github.com/awilliam/linux-vfio.git dma-alias-v4 Please report any issues. v4: - Change dma_func_alias to dma_alias_devfn, holding a single devfn to alias, thereby supporting aliase

Re: [PATCH] block: mq flush: fix race between IPI handler and mq flush worker

2014-05-27 Thread Christoph Hellwig
On Tue, May 27, 2014 at 08:31:18PM -0600, Jens Axboe wrote: > Christoph, I'll just run a few tests and then queue it up in the morning. > Can you send a properly signed-off patch with a commit message as well? I > was writing one up, but I still need the signed-off-by. Attached. >From 125823de3

Re: blk-mq: refactor request allocation

2014-05-27 Thread Christoph Hellwig
On Tue, May 27, 2014 at 02:58:08PM -0600, Jens Axboe wrote: > On 05/27/2014 12:59 PM, Christoph Hellwig wrote: > > This series streamlines the request allocation path. > > > > Series looks innocuous enough to me, but it's about a 1.5% performance > drop here with an actual device. These tests are

Re: [PATCH 1/2] memory-failure: Send right signal code to correct thread

2014-05-27 Thread Tony Luck
I'm exploring options to see what writers of threaded applications might want/need. I'm very doubtful that they would really want "broadcast to all threads". What if there are hundreds or thousands of threads? We send the signals from the context of the thread that hit the error. But that might

Re: [Patch V3 19/37] x86, irq: introduce mechanisms to support dynamically allocate IRQ for IOAPIC

2014-05-27 Thread Jiang Liu
Hi Thomas, Thanks for your comments. Please refer to inline comments below. On 2014/5/28 3:58, Thomas Gleixner wrote: > Jiang, > > On Tue, 27 May 2014, Jiang Liu wrote: > >> +static int alloc_irq_from_domain(struct irq_domain *domain, u32 gsi, int >> pin) >> { >> +int irq = -1; >>

Re: [PATCH/RFC] Re: recvmmsg() timeout behavior strangeness [RESEND]

2014-05-27 Thread Michael Kerrisk (man-pages)
On 05/27/2014 10:30 PM, Arnaldo Carvalho de Melo wrote: > Em Tue, May 27, 2014 at 09:28:37PM +0200, Michael Kerrisk (man-pages) > escreveu: >> On Tue, May 27, 2014 at 9:21 PM, Arnaldo Carvalho de Melo >> wrote: >>> Em Tue, May 27, 2014 at 06:35:17PM +0200, Michael Kerrisk (man-pages) >>> escreve

Re: [PATCH] notify block layer when using temporary change to cache_type

2014-05-27 Thread Vaughan Cao
On 05/28/2014 12:18 AM, James Bottomley wrote: > On Tue, 2014-05-27 at 19:39 +0800, Vaughan Cao wrote: >> This is a fix for commit: >> 39c60a0948cc06139e2fbfe084f83cb7e7deae3b sd: fix array cache flushing bug >> causing performance problems >> We must notify the block layer via q->flush_flags af

[PATCH] extcon: Reorder the sequence of extcon device driver alphabetically

2014-05-27 Thread Chanwoo Choi
This patch reorder the sequence of extcon device diver alphabetically to imporbe readability. Signed-off-by: Chanwoo Choi --- drivers/extcon/Kconfig | 28 ++-- drivers/extcon/Makefile | 6 +++--- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/drivers/e

RE: [PATCH v11 2/3] clk: exynos5410: register clocks using common clock framework

2014-05-27 Thread Kukjin Kim
Mike Turquette wrote: > > Quoting Tarek Dakhran (2014-05-25 20:23:32) > > The EXYNOS5410 clocks are statically listed and registered > > using the Samsung specific common clock helper functions. > > > > Signed-off-by: Tarek Dakhran > > Signed-off-by: Vyacheslav Tyrtov > > --- > > .../devicetree

[PATCH 2/6] powerpc, powernv, CPU hotplug: Put offline CPUs in Fast-Sleep instead of Nap

2014-05-27 Thread Preeti U Murthy
From: Srivatsa S. Bhat The offline cpus are put to fast sleep if the idle state is discovered in the device tree. This is to gain maximum powersavings in the offline state. Signed-off-by: Srivatsa S. Bhat [ Changelog added by ] Signed-off-by: Preeti U Murthy --- arch/powerpc/include/asm/pro

Re: [PATCH] extcon: palmas: Make of_device_id array const

2014-05-27 Thread Chanwoo Choi
On 05/23/2014 06:03 PM, Krzysztof Kozlowski wrote: > Array of struct of_device_id may be be const as expected by > of_match_table field. > > Signed-off-by: Krzysztof Kozlowski > Cc: Graeme Gregory > --- > drivers/extcon/extcon-palmas.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

[PATCH 5/6] KVM: PPC: Book3S HV: Put KVM standby hwthreads to fast-sleep instead of nap

2014-05-27 Thread Preeti U Murthy
From: Srivatsa S. Bhat Now that the support for fast sleep idle state is present, allow the KVM standby threads to go to fast sleep if the platform supports it.This will fetch us maximum power savings if an entire core is idle. Signed-off-by: Srivatsa S. Bhat [ Changelog added by ] Signed-off-

[PATCH 4/6] KVM: PPC: Book3S HV: Consolidate the idle-state enter sequence in KVM

2014-05-27 Thread Preeti U Murthy
From: Srivatsa S. Bhat Now that the support for fast sleep idle state is present, the KVM standby threads can be put to fast sleep when they are either idle or do not have a guest to run. Today they enter nap in these scenarios. The purpose is to gain maximum power savings in a KVM scenario as we

[PATCH 6/6] ppc, book3s: Go back to same idle state after handling machine check interrupt

2014-05-27 Thread Preeti U Murthy
From: Srivatsa S. Bhat Now that the support for fast sleep is present, threads could have woken up from fast sleep on getting a machine check interrupt. Hence add code to allow threads to go back to the idle state they woke up from after handling the interrupt. Today they go back to nap by defaul

[PATCH 3/6] KVM: PPC: Book3S HV: Enable CPUs to run guest after waking up from fast-sleep

2014-05-27 Thread Preeti U Murthy
From: Srivatsa S. Bhat When guests have to be launched, the secondary threads which are offline are woken up to run the guests. Today these threads wake up from nap and check if they have to run guests. Now that the offline secondary threads can go to fastsleep, add this check in the fastsleep wa

Re: [PATCH V2] extcon: arizona: support inverted jack detect switch

2014-05-27 Thread Chanwoo Choi
On 05/23/2014 08:54 PM, Richard Fitzgerald wrote: > Add config option for inverted jack detect switch that > opens when jack is inserted. > > Signed-off-by: Richard Fitzgerald > --- > drivers/extcon/extcon-arizona.c | 34 ++ > include/linux/mfd/arizona/pdata.h

[PATCH 1/6] powernv, cpuidle: Move the flags used for idle state discovery to powernv core

2014-05-27 Thread Preeti U Murthy
From: Srivatsa S. Bhat These flags will be used by the cpuidle driver as well as in the cpu offline path. The offline cpus should be put to fastsleep if the idle state is discovered so as to gain maximum power savings in the offline state. Signed-off-by: Srivatsa S. Bhat [ Changelog added by ]

[PATCH 0/6] ppc, kvm, cpuidle: Allow offline and kvm standby threads to enter fastsleep

2014-05-27 Thread Preeti U Murthy
Fast sleep is a deep idle state on Power8. The support for the state was added in commit 0d94873011. Today the idle threads in the host can potentially be put to fast sleep. But when we launch guests using kvm, the secondary threads are required to be offline and the offline threads are put to nap.

RE: [PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-27 Thread Kukjin Kim
Chander Kashyap wrote: > > On 26 May 2014 15:59, Tomasz Figa wrote: > > Hi Chander, > > > > On 16.05.2014 10:03, Chander Kashyap wrote: > >> Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 > cores. > >> > >> This patchset adds cpuidle support for Exynos5420 SoC based on > >> ge

Re: [PATCH v6 0/6] add cpuidle support for Exynos5420

2014-05-27 Thread Chander Kashyap
On 26 May 2014 15:59, Tomasz Figa wrote: > Hi Chander, > > On 16.05.2014 10:03, Chander Kashyap wrote: >> Exynos5420 is a big-little Soc from Samsung. It has 4 A15 and 4 A7 cores. >> >> This patchset adds cpuidle support for Exynos5420 SoC based on >> generic big.little cpuidle driver. >> >> Teste

Re: [PATCHv5 2/4] mailbox: Introduce framework for mailbox

2014-05-27 Thread Jassi Brar
On Wed, May 21, 2014 at 10:57 PM, Mark Brown wrote: > On Thu, May 15, 2014 at 11:41:00AM +0530, Jassi Brar wrote: >> Introduce common framework for client/protocol drivers and >> controller drivers of Inter-Processor-Communication (IPC). > > This looks pretty nice, though I do have a few *very* sm

Re: [RFC/PATCH] ksm: add vma size threshold parameter

2014-05-27 Thread Hugh Dickins
On Tue, 27 May 2014, Vitaly Wool wrote: > Hi, > > I have recently been poking around saving memory on low-RAM Android devices, > basically > following the Google KSM+ZRAM guidelines for KitKat and measuring the > gain/performance. > While getting quite some RAM savings indeed (in the range of 10k

Re: [PATCH] pci: Save and restore VFs as a part of a reset

2014-05-27 Thread Alex Williamson
On Tue, 2014-05-27 at 19:19 -0600, Bjorn Helgaas wrote: > [+cc Alex, Don] > > On Tue, May 27, 2014 at 5:53 PM, Alexander Duyck > wrote: > > On 05/27/2014 03:22 PM, Bjorn Helgaas wrote: > >> On Mon, May 05, 2014 at 02:25:17PM -0700, Alexander Duyck wrote: > >>> This fixes an issue I found in which

Re: [PATCH 1/4] lib/debugobjects.c: convert printk to pr_foo()

2014-05-27 Thread Josh Triplett
On Tue, May 27, 2014 at 04:25:54PM +0200, Fabian Frederick wrote: > On Sat, 24 May 2014 20:40:43 -0700 > Josh Triplett wrote: > > > On Sun, May 25, 2014 at 05:18:36AM +0200, Fabian Frederick wrote: > > > On Sat, 24 May 2014 14:53:22 -0700 > > > Josh Triplett wrote: > > > > > > > On Sat, May 24,

Re: [PATCH] swap: Avoid scanning invalidated region for cheap seek

2014-05-27 Thread Hugh Dickins
On Mon, 26 May 2014, Chen Yucong wrote: > For cheap seek, when we scan the region between si->lowset_bit > and scan_base, if san_base is greater than si->highest_bit, the > scan operation between si->highest_bit and scan_base is not > unnecessary. > > This patch can be used to avoid scanning inva

[PATCH 1/1] ARM: ux500: Staticize ux500_soc_attr

2014-05-27 Thread Sachin Kamat
'ux500_soc_attr' is local to this file. While at it also make it const to match the argument list of device_create_file. Signed-off-by: Sachin Kamat --- arch/arm/mach-ux500/cpu.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-ux500/cpu.c b/arch/arm/mach-ux50

Re: [PATCH v4 1/5] devicetree: bindings: document Broadcom CPU enable method

2014-05-27 Thread Alex Elder
On 05/27/2014 06:49 AM, Lorenzo Pieralisi wrote: > On Tue, May 20, 2014 at 06:43:46PM +0100, Alex Elder wrote: >> Broadcom mobile SoCs use a ROM-implemented holding pen for >> controlled boot of secondary cores. A special register is >> used to communicate to the ROM that a secondary core should >

Re: [PATCH v3] PCI: Introduce new device binding path using pci_dev.driver_override

2014-05-27 Thread Greg KH
On Tue, May 27, 2014 at 09:07:42PM -0600, Bjorn Helgaas wrote: > On Tue, May 20, 2014 at 08:53:21AM -0600, Alex Williamson wrote: > > The driver_override field allows us to specify the driver for a device > > rather than relying on the driver to provide a positive match of the > > device. This sho

[git pull] Please pull powerpc.git merge branch

2014-05-27 Thread Benjamin Herrenschmidt
Hi Linus ! Here's a pair of powerpc fixes for 3.15 which are also going to stable. One's a fix for building with newer binutils (the problem currently only affects the BookE kernels but the affected macro might come back into use on BookS platforms at any time). Unfortunately, the binutils mainta

Re: [PATCH] hv: use correct order when freeing monitor_pages

2014-05-27 Thread Jason Wang
On 05/28/2014 01:16 AM, Radim Krčmář wrote: > We try to free two pages when only one has been allocated. > Cleanup path is unlikely, so I haven't found any trace that would fit, > but I hope that free_pages_prepare() does catch it. > > Cc: sta...@vger.kernel.org > Signed-off-by: Radim Krčmář > ---

Re: fs/dcache.c - BUG: soft lockup - CPU#5 stuck for 22s! [systemd-udevd:1667]

2014-05-27 Thread Al Viro
On Tue, May 27, 2014 at 10:04:09AM +0300, Mika Westerberg wrote: > On Tue, May 27, 2014 at 05:00:26AM +0100, Al Viro wrote: > > On Tue, May 27, 2014 at 04:14:15AM +0100, Al Viro wrote: > > > > > As the matter of fact, let's try this instead - retry the same sucker > > > immediately in case if tryl

Re: [PATCH v3] PCI: Introduce new device binding path using pci_dev.driver_override

2014-05-27 Thread Bjorn Helgaas
On Tue, May 20, 2014 at 08:53:21AM -0600, Alex Williamson wrote: > The driver_override field allows us to specify the driver for a device > rather than relying on the driver to provide a positive match of the > device. This shortcuts the existing process of looking up the vendor > and device ID, a

Re: [PATCH v3 1/4] mfd: intel_soc_pmic: Core driver

2014-05-27 Thread Zhu, Lejun
On 5/27/2014 11:35 PM, Lee Jones wrote: >> This patch provides the common code for the intel_soc_pmic MFD driver, such >> as read/write register and set up IRQ. (...) >> +/* >> +* Set and clear multiple bits of a PMIC register >> +*/ >> +int intel_soc_pmic_update(int reg, u8 val, u8 mask) >> +{

Re: [PATCH] pci: hotplug: cpqphp_ctrl.c: Fix for possible null pointer dereference

2014-05-27 Thread Bjorn Helgaas
On Sun, May 18, 2014 at 06:02:57PM +0200, Rickard Strandqvist wrote: > There is otherwise a risk of a possible null pointer dereference. > > Was largely found by using a static code analysis program called cppcheck. > > Signed-off-by: Rickard Strandqvist Applied to pci/hotplug for v3.16, thanks

Re: [RFC PATCH 0/3] RAS: Correctable Errors Collector thing

2014-05-27 Thread Chen Yucong
> From: Borislav Petkov > > Hi all, > > this is something Tony and I have been working on behind the curtains > recently. Here it is in a RFC form, it passes quick testing in kvm. Let > me send it out before I start hammering on it on a real machine. > > More indepth info about what it is and

MIGRATE_RESERVE pages in show_mem function problems

2014-05-27 Thread Wang, Yalin
Hi I find the show_mem function show page MIGRATE types result is not correct for MIGRATE_RESERVE pages : Normal: 1582*4kB (UEMC) 1317*8kB (UEMC) 1020*16kB (UEMC) 450*32kB (UEMC) 206*64kB (UEMC) 40*128kB (UM) 10*256kB (UM) 10*512kB (UM) 1*1024kB (M) 0*2048kB 0*4096kB = 74592kB Some pages sho

Re: [PATCH 0/8] Enable dma driver for MIC X100 Coprocessors.

2014-05-27 Thread Sudeep Dutt
On Tue, 2014-05-27 at 14:14 -0700, Greg Kroah-Hartman wrote: > On Wed, May 07, 2014 at 08:10:57PM -0700, Sudeep Dutt wrote: > > On Thu, 2014-04-24 at 11:10 -0700, Siva Krishna Yerramreddy wrote: > > > On Mon, 2014-04-14 at 13:14 -0700, Siva Yerramreddy wrote: > > > > I am sending all these patches

[PATCH char-misc-next 1/8] misc: mic: Add mic bus and dma driver documentation

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy Added an overview of mic bus and dma driver. Reviewed-by: Ashutosh Dixit Reviewed-by: Nikhil Rao Reviewed-by: Sudeep Dutt Signed-off-by: Siva Yerramreddy --- Documentation/mic/mic_overview.txt | 67 +++--- 1 file changed, 41 insertions(

[PATCH char-misc-next 0/8] Enable dma driver for MIC X100 Coprocessors

2014-05-27 Thread Sudeep Dutt
These patches are being sent to char-misc because there is a dependency between the patches for dma driver and other drivers. Description: This set of patches add support for MIC X100 dma driver. MIC PCIe card has a dma controller with 8 channels. These channels are shared between the

[PATCH char-misc-next 2/8] misc: mic: add a bus driver for virtual MIC devices

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy This MIC virtual bus driver takes the responsibility of creating all the virtual devices connected to the PCIe device on the host and the platform device on the card. The MIC bus hardware operations provide a way to abstract certain hardware details from the base physical d

[PATCH char-misc-next 4/8] misc: mic: add threaded irq support in host driver

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy Convert mic_request_irq to mic_request_threaded_irq to support threaded irq for virtual devices on mic bus. Reviewed-by: Ashutosh Dixit Reviewed-by: Nikhil Rao Reviewed-by: Sudeep Dutt Signed-off-by: Siva Yerramreddy --- drivers/misc/mic/host/mic_intr.c | 116 ++

[PATCH char-misc-next 6/8] misc: mic: add threaded irq support in card driver

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy Add threaded irq support in mic_request_card_irq which will be used for virtual devices added on mic bus. Reviewed-by: Ashutosh Dixit Reviewed-by: Nikhil Rao Reviewed-by: Sudeep Dutt Signed-off-by: Siva Yerramreddy --- drivers/misc/mic/card/mic_device.c | 21 +

[PATCH char-misc-next 5/8] misc: mic: add dma support in host driver

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy This patch adds a dma device on the mic virtual bus and uses this dmaengine to transfer data for virtio devices Reviewed-by: Nikhil Rao Signed-off-by: Sudeep Dutt Signed-off-by: Ashutosh Dixit Signed-off-by: Siva Yerramreddy --- drivers/misc/mic/Kconfig |

[PATCH char-misc-next 3/8] dma: MIC X100 DMA Driver

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy This patch implements DMA Engine API for DMA controller on MIC X100 Coprocessors. DMA h/w is shared between host and card s/w. Channels 0 to 3 are used by host and 4 to 7 are used by card. Since the DMA device doesn't show up as PCIe device, a virtual bus called mic bus is

[PATCH char-misc-next 8/8] misc: mic: add support for loading/unloading dma driver

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy modprobe dma driver upon start and remove it upon unload. Signed-off-by: Siva Yerramreddy --- Documentation/mic/mpssd/mpss | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/mic/mpssd/mpss b/Documentation/mic/mpssd/mpss index

[PATCH char-misc-next 7/8] misc: mic: add dma support in card driver

2014-05-27 Thread Sudeep Dutt
From: Siva Yerramreddy This patch adds a dma device on the mic virtual bus Reviewed-by: Nikhil Rao Signed-off-by: Sudeep Dutt Signed-off-by: Siva Yerramreddy Signed-off-by: Ashutosh Dixit --- drivers/misc/mic/Kconfig | 2 +- drivers/misc/mic/card/mic_device.h | 3 +++ drivers/mi

Re: [PATCH 1/3] staging: comedi: addi_apci_1564: add a subdevice for Change-of-State interrupt support

2014-05-27 Thread Chase Southwood
On Tue, May 27, 2014 at 11:34 AM, Ian Abbott wrote: > On 2014-05-24 23:24, Chase Southwood wrote: >> >> This board supports an interrupt that can be generated by an AND/OR >> combination of 16 of the input channels. >> >> Create a separate subdevice to handle this interrupt. >> >> In doing this, t

Re: [PATCH] block: mq flush: fix race between IPI handler and mq flush worker

2014-05-27 Thread Jens Axboe
On 2014-05-27 20:26, Jens Axboe wrote: On 2014-05-27 19:34, Ming Lei wrote: On Wed, May 28, 2014 at 3:35 AM, Jens Axboe wrote: On 05/27/2014 01:21 PM, Christoph Hellwig wrote: On Tue, May 27, 2014 at 01:17:40PM -0600, Jens Axboe wrote: But I think you sent the old one again, not the new vari

Re: [PATCH] block: mq flush: fix race between IPI handler and mq flush worker

2014-05-27 Thread Jens Axboe
On 2014-05-27 19:34, Ming Lei wrote: On Wed, May 28, 2014 at 3:35 AM, Jens Axboe wrote: On 05/27/2014 01:21 PM, Christoph Hellwig wrote: On Tue, May 27, 2014 at 01:17:40PM -0600, Jens Axboe wrote: But I think you sent the old one again, not the new variant :-) Oh well, next try: This look

Re: [PATCH v11 2/3] clk: exynos5410: register clocks using common clock framework

2014-05-27 Thread Tarek Dakhran
Hi Mike, On Wed, May 28, 2014 at 4:41 AM, Mike Turquette wrote: > Quoting Tarek Dakhran (2014-05-25 20:23:32) >> The EXYNOS5410 clocks are statically listed and registered >> using the Samsung specific common clock helper functions. >> >> Signed-off-by: Tarek Dakhran >> Signed-off-by: Vyacheslav

Re: [PATCH] clk: divider: Fix overflow in clk_divider_bestdiv

2014-05-27 Thread Mike Turquette
Quoting Tomasz Figa (2014-05-07 09:24:10) > Commit c686078 ("clk: divider: Add round to closest divider") introduced > a helper function to check whether given divisor is the best one instead > of direct check. However due to int type used instead of unsigned long > for passing calculated rates to

Re: [PATCH] export efi.flags to sysfs

2014-05-27 Thread Dave Young
On 05/27/14 at 09:34am, Vivek Goyal wrote: > On Mon, May 26, 2014 at 04:39:35PM +0800, Dave Young wrote: > > > > For efi=old_map and any old_map quirks like SGI UV in current > > tree kexec/kdump will fail because it depends on the new 1:1 mapping. > > > > Thus export the mapping method to sysfs

Re: [PATCH] export efi.flags to sysfs

2014-05-27 Thread Dave Young
On 05/27/14 at 02:36pm, Fleming, Matt wrote: > On 27 May 2014 04:00, Dave Young wrote: > > On 05/26/14 at 04:39pm, Dave Young wrote: > >> > >> For efi=old_map and any old_map quirks like SGI UV in current > >> tree kexec/kdump will fail because it depends on the new 1:1 mapping. > >> > >> Thus exp

linux-next: build failure after merge of the nfsd tree

2014-05-27 Thread Stephen Rothwell
Hi Bruce, After merging the nfsd tree, today's linux-next build (x86_64 allmodconfig) failed like this: fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_security_label': fs/nfsd/nfs4xdr.c:1945:15: error: 'pp' undeclared (first use in this function) __be32 *p = *pp; ^ Caused by comm

Re: [RFC PATCH 2/5] clk: Introduce 'clk_round_rate_nearest()'

2014-05-27 Thread Mike Turquette
Quoting Rafael J. Wysocki (2014-05-26 04:22:32) > On Monday, May 26, 2014 11:59:09 AM Viresh Kumar wrote: > > On 23 May 2014 21:44, Sören Brinkmann wrote: > > > Viresh: Could you imagine something similar for cpufreq? You suggested > > > migrating to Hz resolution. I guess that would ideally mean

Re: [PATCH 03/17] phy: ti-pipe3: add external clock support for PCIe PHY

2014-05-27 Thread Mike Turquette
Quoting Nishanth Menon (2014-05-15 05:33:13) > On 05/15/2014 07:18 AM, Kishon Vijay Abraham I wrote: > > Hi, > > > > On Thursday 15 May 2014 05:42 PM, Nishanth Menon wrote: > >> On Thu, May 15, 2014 at 6:59 AM, Kishon Vijay Abraham I > >> wrote: > >>> Hi Nishant, > >>> > >>> On Thursday 15 May 2

Re: balance storm

2014-05-27 Thread Mike Galbraith
On Wed, 2014-05-28 at 09:04 +0800, Libo Chen wrote: > oh yes, no tsc only hpet in my box. Making poor E5-2658 box a crippled wreck. -Mike -- 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

Re: [PATCH 0/3] Shrinkers and proportional reclaim

2014-05-27 Thread Dave Chinner
On Tue, May 27, 2014 at 04:19:12PM -0700, Hugh Dickins wrote: > On Wed, 28 May 2014, Konstantin Khlebnikov wrote: > > On Wed, May 28, 2014 at 1:17 AM, Hugh Dickins wrote: > > > On Tue, 27 May 2014, Dave Chinner wrote: > > >> On Mon, May 26, 2014 at 02:44:29PM -0700, Hugh Dickins wrote: > > >> > >

Re: [PATCH] pci: rcar host needs OF

2014-05-27 Thread Jingoo Han
On Wednesday, May 28, 2014 7:54 AM, Bjorn Helgaas wrote: > On Thu, May 08, 2014 at 04:56:25PM +0200, Arnd Bergmann wrote: > > The pci-rcar driver is enabled for compile tests, and this has > > now shown that the driver cannot build without CONFIG_OF, > > following the inclusion of f8f2fe7355fb "PCI

Re: [PATCH] block: mq flush: fix race between IPI handler and mq flush worker

2014-05-27 Thread Ming Lei
On Wed, May 28, 2014 at 3:35 AM, Jens Axboe wrote: > On 05/27/2014 01:21 PM, Christoph Hellwig wrote: >> On Tue, May 27, 2014 at 01:17:40PM -0600, Jens Axboe wrote: >>> But I think you sent the old one again, not the new variant :-) >> >> Oh well, next try: > > This looks good to me. Was trying to

[PATCH] MAINTAINERS: Add me as the get_maintainer.pl maintainer

2014-05-27 Thread Joe Perches
Might as well be the get_maintainer maintainer... Signed-off-by: Joe Perches --- MAINTAINERS | 5 + 1 file changed, 5 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c0d1e36..98604ee 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3900,6 +3900,11 @@ L: k...@vger.kernel.org

Re: [PATCH] MAINTAINERS: add AT91 Clock Support entry

2014-05-27 Thread Mike Turquette
Quoting Boris BREZILLON (2014-05-27 04:39:28) > Signed-off-by: Boris BREZILLON Applied to clk-next. Regards, Mike > --- > MAINTAINERS | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 1066264..40c5580 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS

Re: [PATCH] pci: Save and restore VFs as a part of a reset

2014-05-27 Thread Bjorn Helgaas
[+cc Alex, Don] On Tue, May 27, 2014 at 5:53 PM, Alexander Duyck wrote: > On 05/27/2014 03:22 PM, Bjorn Helgaas wrote: >> On Mon, May 05, 2014 at 02:25:17PM -0700, Alexander Duyck wrote: >>> This fixes an issue I found in which triggering a reset via the PCI sysfs >>> reset while SR-IOV was enabl

Re: [PATCH] hv: use correct order when freeing monitor_pages

2014-05-27 Thread Amos Kong
On Tue, May 27, 2014 at 07:16:20PM +0200, Radim Krčmář wrote: > We try to free two pages when only one has been allocated. > Cleanup path is unlikely, so I haven't found any trace that would fit, > but I hope that free_pages_prepare() does catch it. > > Cc: sta...@vger.kernel.org > Signed-off-by:

Re: [PATCH v2] clk: bcm/kona: implement determine_rate()

2014-05-27 Thread Mike Turquette
Quoting Alex Elder (2014-05-27 09:56:56) > Implement the clk->determine_rate method for Broadcom Kona peripheral > clocks. This allows a peripheral clock to be re-parented in order to > satisfy a rate change request. This takes the place of the previous > kona_peri_clk_round_rate() functionality,

  1   2   3   4   5   6   7   8   9   >