[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

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. --

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

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

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

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) >>>

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

[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

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 > > --- > >

[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 ---

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 ]

[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

[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

[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

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 ++ >

[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

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 > >>

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. >> >>

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*

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

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

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

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

[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

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

[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

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

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,

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,

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

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

[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

[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

[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

[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 +++

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,

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

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

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:

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

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

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

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

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

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

[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 > +++

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

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()

[PATCH] perf: fix 'make help' message error

2014-05-27 Thread Jianyu Zhan
Currently 'make help' message has such hint: use "make prefix= " to install to a particular path like make prefix=/usr/local install install-doc But this is misleading, when I specify "prefix=/usr/local", it has got no respect at all. Instead, what takes effect is the "DESTDIR"

Re: [PATCH] Staging: rtl8192u: r8180_93cx6.c & r8192U_wx.c fix checkpatch.pl errors and warnings

2014-05-27 Thread DaeSeok Youn
Hi, 2014-05-28 5:28 GMT+09:00 Chaitanya Hazarey : > Hey DaeSeok, > > I fixed all of them except - > > this "if" condition like below: > if (5 == wrqu->encoding.length || 13 == wrqu->encoding.length) > mask = 0x00; > and this should be outside "for" loop > > Can you please elaborate on this?

Re: [PATCH] spi: Set cs-gpios to output direction

2014-05-27 Thread Stephen Boyd
On 05/24/14 04:54, Mark Brown wrote: > On Fri, May 23, 2014 at 05:57:34PM -0700, Stephen Boyd wrote: >> Some gpios used for cs-gpios may not be configured for output by >> default. In these cases gpio_set_value() won't have any effect >> and so the chip select line won't toggle. Request the

Re: balance storm

2014-05-27 Thread Libo Chen
On 2014/5/28 4:53, Thomas Gleixner wrote: > On Tue, 27 May 2014, Libo Chen wrote: >> On 2014/5/27 17:55, Mike Galbraith wrote: >>> On Tue, 2014-05-27 at 15:56 +0800, Libo Chen wrote: > On 2014/5/26 22:19, Mike Galbraith wrote: >>> On Mon, 2014-05-26 at 20:16 +0800, Libo Chen wrote:

Re: balance storm

2014-05-27 Thread Libo Chen
On 2014/5/27 21:20, Mike Galbraith wrote: > On Tue, 2014-05-27 at 20:50 +0800, Libo Chen wrote: > >> in my box: >> >> perf top -g --sort=symbol >> >> Events: 3K cycles >> 73.27% [k] read_hpet >> 4.30% [k] _raw_spin_lock_irqsave >> 1.88% [k] __schedule >> 1.00% [k] idle_cpu >> 0.91%

[f2fs-dev] [PATCH v2] f2fs: avoid overflow when large directory feathure is enabled

2014-05-27 Thread Chao Yu
When large directory feathure is enable, We have one case which could cause overflow in dir_buckets() as following: special case: level + dir_level >= 32 and level < MAX_DIR_HASH_DEPTH / 2. Here we define MAX_DIR_BUCKETS to limit the return value when the condition could trigger potential

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

2014-05-27 Thread Zhu, Lejun
On 5/27/2014 7:20 PM, Mark Brown wrote: > On Tue, May 27, 2014 at 08:48:58AM +0800, Zhu, Lejun wrote: >> On 5/26/2014 10:51 PM, Mark Brown wrote: > We created these names to hide the implementation of how read/write is done from other platform specific patches interacting with this

Re: [PATCH v2] gpio: Add support for Intel SoC PMIC (Crystal Cove)

2014-05-27 Thread Zhu, Lejun
On 5/27/2014 5:11 PM, Linus Walleij wrote: > On Wed, May 21, 2014 at 7:22 AM, Zhu, Lejun wrote: > >> Devices based on Intel SoC products such as Baytrail have a Power >> Management IC. In the PMIC there are subsystems for voltage regulation, >> A/D conversion, GPIO and PWMs. The PMIC in

Re: [PATCH 11/16] byteorder: provide a linux/byteorder.h with {be,le}_to_cpu() and cpu_to_{be,le}() macros

2014-05-27 Thread Joe Perches
On Tue, 2014-05-27 at 17:22 -0700, Cody P Schafer wrote: > Rather manually specifying the size of the integer to be converted, key > off of the type size. Reduces duplicate size info and the occurance of > certain types of bugs (using the wrong sized conversion). [] > diff --git

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

2014-05-27 Thread Steven Rostedt
On Tue, 2014-05-27 at 17:11 -0700, Stephen Boyd wrote: > cpuidle_enter_state() calls ktime_get() which on lockdep enabled builds > calls seqcount_lockdep_reader_access() which calls local_irq_save() that seqcount_lockdep_reader_access()?? Ug, I wonder if that should call

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

2014-05-27 Thread Mike Turquette
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/bindings/clock/exynos5410-clock.txt |

Re: [PATCH 6/6] mm/zpool: prevent zbud/zsmalloc from unloading when used

2014-05-27 Thread Dan Streetman
On Tue, May 27, 2014 at 6:40 PM, Seth Jennings wrote: > On Sat, May 24, 2014 at 03:06:09PM -0400, Dan Streetman wrote: >> Add try_module_get() to pool creation functions for zbud and zsmalloc, >> and module_put() to pool destruction functions, since they now can be >> modules used via zpool.

Re: [PATCH v2 0/5] Smart Card(SC) interface, TI USIM & NxP SC phy driver

2014-05-27 Thread Greg KH
On Fri, May 16, 2014 at 09:14:34AM +0530, Satish Patel wrote: > > On 1/30/2014 6:35 PM, Greg KH wrote: > >On Thu, Jan 30, 2014 at 11:22:48AM +0530, Satish Patel wrote: > >>On 1/20/2014 10:03 AM, Satish Patel wrote: > >>>Changes from v1: > >>>* RFC(v1) comments are fixed > >>> > >>>** removed

Re: [PATCH v1] of/irq: do irq resolution in platform_get_irq_byname()

2014-05-27 Thread Rob Herring
On Tue, May 27, 2014 at 3:23 PM, Kevin Hilman wrote: > On Fri, May 23, 2014 at 1:03 AM, Grant Likely wrote: >> On Tue, 20 May 2014 13:42:02 +0300, Grygorii Strashko >> wrote: >>> The commit 9ec36cafe43bf835f8f29273597a5b0cbc8267ef >>> "of/irq: do irq resolution in platform_get_irq" from Rob

Re: [char-misc-next 3/3] mei: add WPT second mei interface

2014-05-27 Thread Greg KH
On Tue, May 27, 2014 at 11:47:44PM +, Winkler, Tomas wrote: > > > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Wednesday, May 28, 2014 01:07 > > To: Winkler, Tomas > > Cc: a...@arndb.de; linux-kernel@vger.kernel.org; Usyskin, Alexander > >

[PATCH] perf, tools: Support spark lines in perf stat v4

2014-05-27 Thread Andi Kleen
From: Andi Kleen perf stat -rX prints the stddev for multiple measurements. Just looking at the stddev for judging the quality of the data is a bit dangerous The simplest sanity check is to just look at a simple plot. This patchs add a sparkline to the end of the measurements to make it simple

[PATCH 14/16] perf: add PMU_EVENT_ATTR_STRING() helper

2014-05-27 Thread Cody P Schafer
Helper for constructing static struct perf_pmu_events_attr s. CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- include/linux/perf_event.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 6c1d6dd..1313171 100644

[PATCH 15/16] powerpc/perf/{hv-gpci,hv-common}: generate requests with counters annotated

2014-05-27 Thread Cody P Schafer
This adds (in req-gen/) a framework for defining gpci counter requests. It uses macro magic similar to ftrace. Also convert the existing hv-gpci request structures and enum values to use the new framework (and adjust old users of the structs and enum values to cope with changes in naming). In

[PATCH 16/16] powerpc/perf/hv-gpci: add the remaining gpci requests

2014-05-27 Thread Cody P Schafer
Add the remaining gpci requests that contain counters suitable for use by perf. Omit those that don't contain any counters (but note their ommision). CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- arch/powerpc/perf/hv-gpci-requests.h | 179 +++ 1 file

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

2014-05-27 Thread Corey Minyard
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_timings(). Corey, can you look at that, too? I >>> think it's

[PATCH 12/16] powerpc/perf/hv-24x7: parse catalog and populate sysfs with events

2014-05-27 Thread Cody P Schafer
Retrieves and parses the 24x7 catalog on POWER systems that supply it (right now, only POWER 8). Events are exposed via sysfs in the standard fashion, and are all parameterized. Catalog is (at the moment) only parsed on boot. It needs re-parsing when a some hypervisor events occur. At that point

[PATCH 11/16] byteorder: provide a linux/byteorder.h with {be,le}_to_cpu() and cpu_to_{be,le}() macros

2014-05-27 Thread Cody P Schafer
Rather manually specifying the size of the integer to be converted, key off of the type size. Reduces duplicate size info and the occurance of certain types of bugs (using the wrong sized conversion). CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- include/linux/byteorder.h | 34

[PATCH 13/16] powerpc/perf/hv-24x7: Documentaion for new sysfs entries which expose descriptions

2014-05-27 Thread Cody P Schafer
CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- .../testing/sysfs-bus-event_source-devices-hv_24x7 | 22 ++ 1 file changed, 22 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7

Re: [PATCH] perf, tools: Support spark lines in perf stat v3

2014-05-27 Thread Andi Kleen
> google says this pragma got obsolete.. any reason for using this? google is wrong. It's standard e.g. on MacOS and imho simpler and nicer than the usual ifdef. But I removed it. -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 07/16] tools/perf: support parsing parameterized events

2014-05-27 Thread Cody P Schafer
Enable event specification like: pmu/event_name,param1=0x1,param2=0x4/ Assuming that /sys/bus/event_source/devices/pmu/events/event_name Contains something like bar=param2,foo=1,baz=param1 CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer ---

[PATCH 09/16] tools/perf: document parameterized events and note symbolically formed events

2014-05-27 Thread Cody P Schafer
CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- tools/perf/Documentation/perf-list.txt | 13 + tools/perf/Documentation/perf-record.txt | 5 + 2 files changed, 18 insertions(+) diff --git a/tools/perf/Documentation/perf-list.txt

[PATCH 05/16] perf Documentation: add event parameters

2014-05-27 Thread Cody P Schafer
Event parameters are a basic way for partial events to be specified in sysfs with per-event names given to the fields that need to be filled in when using a particular event. It is intended for supporting cases where the single 'cpu' parameter is insufficient. For example, POWER 8 has events for

[PATCH 08/16] tools/perf: extend format_alias() to include event parameters

2014-05-27 Thread Cody P Schafer
This causes `perf list pmu` to show parameters for parameterized events like follows: pmu/event_name,param1=?,param2=?/ [Kernel PMU event] An example: hv_gpci/dispatch_timebase_by_processor_processor_time_in_timebase_cycles,phys_processor_idx=?/ [Kernel PMU event] CC: Sukadev Bhattiprolu

[PATCH 10/16] perf: provide sysfs_show for struct perf_pmu_events_attr

2014-05-27 Thread Cody P Schafer
(struct perf_pmu_events_attr) is defined in include/linux/perf_event.h, but the only "show" for it is in x86 and contains x86 specific stuff. Make a generic one for those of us who are just using the event_str. CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer ---

[PATCH 06/16] tools/perf: annotate list_head with type info

2014-05-27 Thread Cody P Schafer
CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- tools/perf/util/pmu.c | 4 ++-- tools/perf/util/pmu.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/perf/util/pmu.c b/tools/perf/util/pmu.c index 00a7dcb..906ae40 100644 --- a/tools/perf/util/pmu.c +++

[PATCH 02/16] powerpc/perf/hv-24x7: use kmem_cache instead of aligned stack allocations

2014-05-27 Thread Cody P Schafer
Ian pointed out the use of __aligned(4096) caused rather large stack consumption in single_24x7_request(), so use the kmem_cache hv_page_cache (which we've already got set up for other allocations) insead of allocating locally. CC: Sukadev Bhattiprolu Reported-by: Ian Munsie Signed-off-by: Cody

[PATCH 03/16] perf Documentation: sysfs events/ interfaces

2014-05-27 Thread Cody P Schafer
Add documentation for the , .scale, and .unit files in sysfs. .scale and .unit were undocumented. was previously documented only for specific powerpc pmu events. CC: Sukadev Bhattiprolu Signed-off-by: Cody P Schafer --- .../testing/sysfs-bus-event_source-devices-events | 60

  1   2   3   4   5   6   7   8   9   10   >