[PATCH 11/11] ARM: berlin: rework chip and system controller nodes for BG2Q

2015-02-11 Thread Antoine Tenart
The chip and system controller nodes are now handled by the Berlin controller mfd driver. Its sub-devices are then registered by the mfd driver and let the drivers be probed properly, using their own sub-nodes. Rework the device tree to take this changes into account. Signed-off-by: Antoine

[PATCH 05/11] Documentation: bindings: move the Berlin reset documentation

2015-02-11 Thread Antoine Tenart
The Berlin reset documentation was part of the Marvell Berlin SoC documentation because the Berlin reset configuration was inside the chip controller. With the recent rework of the chip and system controller handling (now an MFD driver registers all sub-devices of the two soc and system controller

[PATCH 06/11] pinctrl: berlin: use the regmap provided by syscon

2015-02-11 Thread Antoine Tenart
The Berlin pin controller nodes are now sub-nodes of the soc-controller and the system-controller nodes. The register bank is managed by syscon, which provides a regmap. Remove the regmap setup from the Berlin pinctrl driver and use the one provided by syscon. Signed-off-by: Antoine Tenart

[PATCH 01/11] mfd: add the Berlin controller driver

2015-02-11 Thread Antoine Tenart
Marvell Berlin SoC have two nodes providing multiple devices (clk, pinctrl, reset). While until now these drivers were initialized using initcalls, this wasn't a proper solution. This mfd driver will be responsible of adding these devices, to be probed properly. It currently registers the pin

[PATCH 00/11] ARM: berlin: refactor chip and system controllers

2015-02-11 Thread Antoine Tenart
Hi, Marvell Berlin SoCs have a chip control register set providing several individual registers dealing with various controllers (pinctrl, reset, clk). This chip controller is described by a single DT node since the individual registers are spread among the chip control register bank. Marvell

[PATCH 10/11] ARM: berlin: rework chip and system controller nodes for BG2CD

2015-02-11 Thread Antoine Tenart
The chip and system controller nodes are now handled by the Berlin controller mfd driver. Its sub-devices are then registered by the mfd driver and let the drivers be probed properly, using their own sub-nodes. Rework the device tree to take this changes into account. Signed-off-by: Antoine

[PATCH 08/11] Documentation: bindings: move the Berlin pinctrl documentation

2015-02-11 Thread Antoine Tenart
The Berlin pinctrl documentation was part of the Marvell Berlin SoC documentation because the Berlin pinctrl configuration was inside the chip and the system controllers. With the recent rework of the chip and system controller handling (now an MFD driver registers all sub-devices of the two soc

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 17:42:22 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to

[PATCH] [SCSI] bsg: fix unkillable I/O wait deadlock with scsi-mq

2015-02-11 Thread Tony Battersby
When using the write()/read() interface for submitting commands, the bsg driver does not call blk_put_request() on a completed SCSI command until userspace calls read() to get the command completion. Since scsi-mq uses a fixed number of preallocated requests, this makes it possible for userspace

Re: [GIT PULL] PCI fixes for v3.19

2015-02-11 Thread Bjorn Helgaas
[+cc lists, etc.; sorry, this has been merged already, but I forgot to cc: everybody the first time] On Wed, Feb 4, 2015 at 1:18 PM, Bjorn Helgaas bhelg...@google.com wrote: Hi Linus, These are a regression fix for read-only BARs, a DesignWare fix that keeps drivers from using MSI-X (which

Re: [PATCH 3/3] rcu: Call trace_rcu_batch_start() with enabled interrupts

2015-02-11 Thread Paul E. McKenney
On Wed, Feb 11, 2015 at 04:48:24PM +, Alexander Gordeev wrote: On Wed, Feb 11, 2015 at 08:13:30AM -0800, Paul E. McKenney wrote: On Wed, Feb 11, 2015 at 03:42:39PM +0100, Alexander Gordeev wrote: Currently trace_rcu_batch_start() is called with local interrupts disabled. Yet, there is

Re: [PATCH 3/3] rcu: Call trace_rcu_batch_start() with enabled interrupts

2015-02-11 Thread Paul E. McKenney
On Wed, Feb 11, 2015 at 03:42:39PM +0100, Alexander Gordeev wrote: Currently trace_rcu_batch_start() is called with local interrupts disabled. Yet, there is no reason to do so. Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Signed-off-by: Alexander Gordeev agord...@redhat.com Hmmm... I am

Re: [PATCH v5] perf: Use monotonic clock as a source for timestamps

2015-02-11 Thread Peter Zijlstra
How about something like the below? I _think_ it should mostly work for x86, where the tsc is a 64bit wide cycle counter. I suppose we should extend the perf userpage time data with time_last_cycle and time_mask if/when we want to make this work on something with a short counter. Of course, at

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Mark Rutland
On Wed, Feb 11, 2015 at 04:15:15PM +, Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to work, all the drivers using the interrupt would have to flag they're safe in

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 16:32:31 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 04:15:15PM +, Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to work,

[PATCH] Intel Quark X1000 DTS thermal driver

2015-02-11 Thread Ong Boon Leong
Dear maintainers, This patch introduces DTS thermal driver for Intel Quark X1000. The code implementation is based on intel_soc_dts_thermal.c. Intel Quark X1000 has one on-die DTS with two configurable trip points: critical and hot trip points. However, todate, UEFI BIOS for Quark X1000 uses

[PATCH] thermal: intel Quark SoC X1000 DTS thermal driver

2015-02-11 Thread Ong Boon Leong
In Intel Quark SoC X1000, there is one on-die digital temperature sensor(DTS). The DTS offers both hot critical trip points. However, in current distribution of UEFI BIOS for Quark platform, only critical trip point is configured to be 105 degree Celsius (based on Quark SW ver1.0.1 and hot trip

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-11 Thread Murali Karicheri
On 02/11/2015 11:54 AM, Murali Karicheri wrote: On 02/06/2015 01:36 PM, Murali Karicheri wrote: On 02/06/2015 12:53 PM, Bjorn Helgaas wrote: On Fri, Feb 6, 2015 at 9:28 AM, Murali Karicherim-kariche...@ti.com wrote: On 02/06/2015 10:15 AM, Catalin Marinas wrote: On Thu, Feb 05, 2015 at

[PATCH 1/4] mm: rename FOLL_MLOCK to FOLL_POPULATE

2015-02-11 Thread Kirill A. Shutemov
After commit a1fde08c74e9 FOLL_MLOCK has lost its original meaning: we don't necessary mlock the page if the flags is set -- we also take VM_LOCKED into consideration. Since we use the same codepath for __mm_populate(), let's rename FOLL_MLOCK to FOLL_POPULATE. Signed-off-by: Kirill A. Shutemov

[PATCH 0/4] Cleanup mm_populate() codepath

2015-02-11 Thread Kirill A. Shutemov
While reading mlock()- and mm_populate()-related code, I've found several things confusing. This patchset cleanup the codepath for future readers. Kirill A. Shutemov (4): mm: rename FOLL_MLOCK to FOLL_POPULATE mm: rename __mlock_vma_pages_range() to populate_vma_page_range() mm: move gup()

[PATCH 4/4] mm: move mm_populate()-related code to mm/gup.c

2015-02-11 Thread Kirill A. Shutemov
It's odd that we have populate_vma_page_range() and __mm_populate() in mm/mlock.c. It's implementation of generic memory population and mlocking is one of possible side effect, if VM_LOCKED is set. __get_user_pages() is core of the implementation. Let's move the code mm/gup.c. Signed-off-by:

Re: [PATCH v4 02/11] ARM: tegra: Move out nyan-generic parts out from the nyan-big DT

2015-02-11 Thread Andrew Bresticker
Hi Tomeu, On Wed, Feb 11, 2015 at 7:06 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: In preparation for adding the DT for the nyan-blaze board. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com Maybe it's worth pulling the common pinmux bits into nyan.dtsi as well? Otherwise,

[GIT PULL] sound updates for 3.20-rc1

2015-02-11 Thread Takashi Iwai
Linus, please pull sound updates for v3.20-rc1 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.20-rc1 The topmost commit is 0e806151e86be52caa1349fa490eab8f09a2b6f5 sound updates for 3.20-rc1

Re: make mandocs build failure with next-20150210

2015-02-11 Thread Alan Cox
On Wed, 2015-02-11 at 07:27 +1100, Stephen Rothwell wrote: Hi Jim, On Tue, 10 Feb 2015 11:40:23 -0700 Jim Davis jim.ep...@gmail.com wrote: DOCPROC Documentation/DocBook/device-drivers.xml docproc: .//include/linux/i2o.h: No such file or directory make[1]: ***

[PATCH 0/3] rcu: Tweak tiny RCU

2015-02-11 Thread Alexander Gordeev
Hi Paul, These are few code improvements to the tiny RCU. Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Alexander Gordeev (3): rcu: Remove unnecessary condition check in rcu_qsctr_help() rcu: Remove fast path from __rcu_process_callbacks() rcu: Call trace_rcu_batch_start() with enabled

[PATCH 3/3] rcu: Call trace_rcu_batch_start() with enabled interrupts

2015-02-11 Thread Alexander Gordeev
Currently trace_rcu_batch_start() is called with local interrupts disabled. Yet, there is no reason to do so. Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Signed-off-by: Alexander Gordeev agord...@redhat.com --- kernel/rcu/tiny.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[PATCH 2/3] rcu: Remove fast path from __rcu_process_callbacks()

2015-02-11 Thread Alexander Gordeev
The standard code path accommodates a condition when no RCU callbacks are ready to invoke. Since size of the code is a priority for tiny RCU, remove the fast path. Cc: Paul E. McKenney paul...@linux.vnet.ibm.com Signed-off-by: Alexander Gordeev agord...@redhat.com --- kernel/rcu/tiny.c | 11

[PATCH 0/3] Expose more controls from tegra-max98090

2015-02-11 Thread Tomeu Vizoso
Hello, we need some more controls in userspace so policy can be applied at events such as microphone and headphone jacks being plugged in, to be used by Tegra-based Chromebooks. Regards, Tomeu Tomeu Vizoso (3): ASoC: tegra: Expose Headphones pin to userspace ASoC: tegra: Add sink for the

[PATCH 3/3] ASoC: tegra: Add control for the Mic Jack pin

2015-02-11 Thread Tomeu Vizoso
So userspace can enable and disable the external microphone. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- sound/soc/tegra/tegra_max98090.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c index 29ea87c..1f20c2c

[PATCH 2/3] ASoC: tegra: Add sink for the internal mic to tegra_max98090

2015-02-11 Thread Tomeu Vizoso
Also adds a control for the pin of the internal mic, so userspace can apply policy when the state of the external mic jack changes. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- Documentation/devicetree/bindings/sound/nvidia,tegra-audio-max98090.txt | 1 +

[PATCH 1/3] ASoC: tegra: Expose Headphones pin to userspace

2015-02-11 Thread Tomeu Vizoso
So userspace can enable or disable it based on the current policy. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- sound/soc/tegra/tegra_max98090.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/tegra/tegra_max98090.c b/sound/soc/tegra/tegra_max98090.c index

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 16:17:20 +0100 Rafael J. Wysocki r...@rjwysocki.net wrote: On Wednesday, February 11, 2015 02:43:45 PM Mark Rutland wrote: [...] +static irqreturn_t __handle_irq_event_percpu(unsigned int irq, struct irqaction *action) +{ + /* + *

[PATCH 2/2] ARM: at91/dt: add i2c1 declaration to sama5d4

2015-02-11 Thread Nicolas Ferre
From: Philip Attfield phil.attfi...@seqlabs.com Add alias, node declaration and pinctrl for i2c1 (aka: twi1). Signed-off-by: Philip Attfield phil.attfi...@seqlabs.com Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 28 1

[PATCH 1/2] ARM: at91/dt: sama5d4: add missing alias for i2c0

2015-02-11 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- arch/arm/boot/dts/sama5d4.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi b/arch/arm/boot/dts/sama5d4.dtsi index d986b41b9654..97d5b9759c07 100644 --- a/arch/arm/boot/dts/sama5d4.dtsi +++

Re: make mandocs build failure with next-20150210

2015-02-11 Thread Greg Kroah-Hartman
On Wed, Feb 11, 2015 at 02:19:00PM +, Alan Cox wrote: On Wed, 2015-02-11 at 07:27 +1100, Stephen Rothwell wrote: Hi Jim, On Tue, 10 Feb 2015 11:40:23 -0700 Jim Davis jim.ep...@gmail.com wrote: DOCPROC Documentation/DocBook/device-drivers.xml docproc: .//include/linux/i2o.h:

Re: [PATCHv3 8/8] cgroup: Add documentation for cgroup namespaces

2015-02-11 Thread Tejun Heo
On Wed, Feb 11, 2015 at 05:00:23PM +0100, Serge E. Hallyn wrote: We absolutely would love to use cgroup namespaces to run older userspace in containers. I don't know that it's actually possible to do both that and use unified hierarchy at the same time though, which is unfortunate. So an

[PATCH 07/11] pinctrl: berlin: use proper compatibles

2015-02-11 Thread Antoine Tenart
The Berlin pin-controller driver was sharing the chip and system controller nodes with the clock and the reset drivers. They all shared the same compatible. With the introduction of the Marvell Berlin MFD controller, the Berlin pin-controller driver has now its own node. Update its compatibles to

[PATCH 04/11] reset: berlin: convert to a platform driver

2015-02-11 Thread Antoine Tenart
The Berlin reset controller was introduced without being a platform driver because of a needed DT rework: the node describing the reset controller also describes the pinctrl and clk controllers... The DT issue being solved thanks to the addition of the Berlin controller mfd driver, it is now

[PATCH 02/11] Documentation: bindings: add the Berlin controller documentation

2015-02-11 Thread Antoine Tenart
A Berlin controller mfd driver was added to handle correctly the chip and system controller DT nodes. Its purpose is to register devices configured by one of the controller nodes. This adds the corresponding bindings documentation. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com

[PATCH 03/11] ARM: berlin: select MFD_BERLIN_CTRL

2015-02-11 Thread Antoine Tenart
The Berlin controller mfd driver is responsible to probe multiple sub-devices in both the soc and system controller nodes. It currently registers the pin controller and the reset controller. Select it for all Berlin SoCs. Signed-off-by: Antoine Tenart antoine.ten...@free-electrons.com ---

Re: [PATCH 0/3] Expose more controls from tegra-max98090

2015-02-11 Thread Stephen Warren
On 02/11/2015 07:49 AM, Tomeu Vizoso wrote: Hello, we need some more controls in userspace so policy can be applied at events such as microphone and headphone jacks being plugged in, to be used by Tegra-based Chromebooks. The series, Acked-by: Stephen Warren swar...@nvidia.com -- To

Re: [PATCH 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-02-11 Thread Antoine Tenart
Robert, On Tue, Feb 10, 2015 at 08:50:41PM +0100, Robert Jarzmik wrote: Boris Brezillon boris.brezil...@free-electrons.com writes: On Tue, 27 Jan 2015 15:10:12 +0100 Antoine Tenart antoine.ten...@free-electrons.com wrote: The nand controller on Marvell Berlin SoC reuse the pxa3xx nand

[PATCH] [SCSI] sg: fix unkillable I/O wait deadlock with scsi-mq

2015-02-11 Thread Tony Battersby
When using the write()/read() interface for submitting commands, the SCSI generic driver does not call blk_put_request() on a completed SCSI command until userspace calls read() to get the command completion. Since scsi-mq uses a fixed number of preallocated requests, this makes it possible for

Re: [PATCH] blk-mq: fix double-free in error path

2015-02-11 Thread Jens Axboe
On 02/11/2015 09:32 AM, Tony Battersby wrote: If the allocation of bt-bs fails, then bt-map can be freed twice, once in blk_mq_init_bitmap_tags() - bt_alloc(), and once in blk_mq_init_bitmap_tags() - bt_free(). Fix by setting the pointer to NULL after the first free. Cc: sta...@vger.kernel.org

Re: [PATCH V2 RESEND] clk: mxs: Fix invalid 32-bit access to frac registers

2015-02-11 Thread Fabio Estevam
Hi Stefan, On Tue, Feb 10, 2015 at 7:24 PM, Stefan Wahren stefan.wah...@i2se.com wrote: Hi Fabio, Fabio Estevam feste...@gmail.com hat am 10. Februar 2015 um 16:06 geschrieben: Hi Stefan, On Tue, Feb 10, 2015 at 11:55 AM, Stefan Wahren stefan.wah...@i2se.com wrote: Could you apply

Re: [PATCH] menuconfig: Search from everywhere

2015-02-11 Thread Paul Bolle
[Removed Yann. Web searches should explain why.] On Mon, 2015-02-09 at 19:12 +0600, Alexander Kuleshov wrote: If we want to see search window again, for example after typo or for another search, we need to press on ' Exit ' and than

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 17:13:13 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 04:42:22PM +, Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote:

RE: [PATCH 5/5] MIPS: LLVMLinux: Silence unicode warnings when preprocessing assembly.

2015-02-11 Thread Daniel Sanders
Apologies for the slow reply. -Original Message- From: Måns Rullgård [mailto:m...@mansr.com] Sent: 05 February 2015 12:56 To: Maciej W. Rozycki Cc: Toma Tabacu; Daniel Sanders; Ralf Baechle; Paul Burton; Paul Bolle; Steven J. Hill; Manuel Lauss; Jim Quinlan;

[PATCH 09/11] ARM: berlin: rework chip and system controller nodes for BG2

2015-02-11 Thread Antoine Tenart
The chip and system controller nodes are now handled by the Berlin controller mfd driver. Its sub-devices are then registered by the mfd driver and let the drivers be probed properly, using their own sub-nodes. Rework the device tree to take this changes into account. Signed-off-by: Antoine

Re: [RFCv3 2/2] dma-buf: add helpers for sharing attacher constraints with dma-parms

2015-02-11 Thread Russell King - ARM Linux
On Wed, Feb 11, 2015 at 01:20:24PM +0100, Marek Szyprowski wrote: Hello, On 2015-02-11 12:12, Russell King - ARM Linux wrote: Which is a damn good reason to NAK it - by that admission, it's a half-baked idea. If all we want to know is whether the importer can accept only contiguous

Re: intensive IO on usb-storage device causing system lock

2015-02-11 Thread Enrico Mioso
Thank you. If I'll be able I'll try. Thank you again guys. Enrico On Wed, 11 Feb 2015, Alan Stern wrote: Date: Wed, 11 Feb 2015 16:21:50 From: Alan Stern st...@rowland.harvard.edu To: Enrico Mioso mrkiko...@gmail.com Cc: linux-...@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re:

Re: [PATCH 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-02-11 Thread Antoine Tenart
Boris, On Mon, Feb 09, 2015 at 12:55:03AM +0100, Boris Brezillon wrote: On Tue, 27 Jan 2015 15:10:12 +0100 Antoine Tenart antoine.ten...@free-electrons.com wrote: + if (info-variant == PXA3XX_NAND_VARIANT_BERLIN2 + info-ndcb0 NDCB0_LEN_OVRD) +

Re: [GIT PULL] of: Add of-graph helpers to loop over endpoints and find ports by id

2015-02-11 Thread Philipp Zabel
Hi Grant, Am Donnerstag, den 22.01.2015, 09:38 +0100 schrieb Philipp Zabel: Hi Grant, I have prepared a tag with the of-graph helper patch series last discussed here: https://lkml.org/lkml/2014/12/23/219 The following changes since commit 97bf6af1f928216fd6c5a66e8a57bfa95a659672:

Re: [PATCH 1/3] rcu: Remove unnecessary condition check in rcu_qsctr_help()

2015-02-11 Thread Paul E. McKenney
On Wed, Feb 11, 2015 at 03:42:37PM +0100, Alexander Gordeev wrote: In cases -curtail and -donetail pointers differ -rcucblist always points to the beginning of the current list and thus can not be NULL. Therefore, the check -rcucblist != NULL is redundant and could be removed. Cc: Paul E.

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Boris Brezillon
On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to work, all the drivers using the interrupt would have to flag they're safe in that context. Something like IRQF_I can share the line with a

Re: [PATCH 0/4] perf: add support for profiling jitted code

2015-02-11 Thread Peter Zijlstra
On Wed, Feb 11, 2015 at 08:18:37AM -0500, Stephane Eranian wrote: But, we need a portable solution, there are jitted environment on other architectures. Yeah, I'm aware of that. But the time people are not liking any of those patches. The thing that seems to have most traction is something

Re: [PATCH] x86, boot: Allow 64bit EFI kernel to be loaded above 4G

2015-02-11 Thread Peter Jones
On Wed, Feb 11, 2015 at 03:55:24PM +, Matt Fleming wrote: On Mon, 09 Feb, at 12:23:15PM, Yinghai Lu wrote: On Mon, Feb 9, 2015 at 10:27 AM, Matt Fleming m...@codeblueprint.co.uk wrote: On Tue, 03 Feb, at 06:03:20PM, Yinghai Lu wrote: The first thing that comes to mind is the

Re: [PATCH 3/3] rcu: Call trace_rcu_batch_start() with enabled interrupts

2015-02-11 Thread Alexander Gordeev
On Wed, Feb 11, 2015 at 08:13:30AM -0800, Paul E. McKenney wrote: On Wed, Feb 11, 2015 at 03:42:39PM +0100, Alexander Gordeev wrote: Currently trace_rcu_batch_start() is called with local interrupts disabled. Yet, there is no reason to do so. Cc: Paul E. McKenney

Re: [PATCH] of: calculate masks of the device based on dma-range size

2015-02-11 Thread Murali Karicheri
On 02/09/2015 06:27 AM, Catalin Marinas wrote: On Fri, Feb 06, 2015 at 03:15:20PM -0500, Murali Karicheri wrote: diff --git a/drivers/of/device.c b/drivers/of/device.c index 314c8a9..44209fa 100644 --- a/drivers/of/device.c +++ b/drivers/of/device.c @@ -83,17 +83,18 @@ int of_device_add(struct

[PATCH 2/4] mm: rename __mlock_vma_pages_range() to populate_vma_page_range()

2015-02-11 Thread Kirill A. Shutemov
__mlock_vma_pages_range() doesn't necessary mlock pages. It depends on vma flags. The same codepath is used for MAP_POPULATE. Let's rename __mlock_vma_pages_range() to populate_vma_page_range(). This patch also drops mlock_vma_pages_range() references from documentation. It has gone in commit

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Mark Rutland
On Wed, Feb 11, 2015 at 04:42:22PM +, Rafael J. Wysocki wrote: On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to work, all the

[PATCH 3/4] mm: move gup() - posix mlock() error conversion out of __mm_populate

2015-02-11 Thread Kirill A. Shutemov
This is praparation to moving mm_populate()-related code out of mm/mlock.c. Signed-off-by: Kirill A. Shutemov kirill.shute...@linux.intel.com --- mm/mlock.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mm/mlock.c b/mm/mlock.c index c3ea18323034..0837fdb26047

Re: [PATCH] regulator: Support different config and dev of_nodes in regulator_register

2015-02-11 Thread Tim Bird
On 02/06/2015 11:56 AM, Tim Bird wrote: On 02/06/2015 03:49 AM, Mark Brown wrote: On Thu, Feb 05, 2015 at 04:52:40PM -0800, Bjorn Andersson wrote: On Thu 05 Feb 16:32 PST 2015, Mark Brown wrote: On Thu, Feb 05, 2015 at 02:08:54PM -0800, Bjorn Andersson wrote: However this only works

Re: [PATCH] xhci: Fix the lack of support for the Handle Port Configure Error

2015-02-11 Thread Mathias Nyman
On 06.02.2015 17:20, Gregory CLEMENT wrote: From: Shimmer Huang shimm...@marvell.com Linux xHCI driver does not check the CEC bit in register PORTSC when handling port status events. If Port Configure Error for root hub port occurs, CEC bit in PORTSC would be set by xHC and remains 1. This

Re: [PATCH] x86 spinlock: Fix memory corruption on completing completions

2015-02-11 Thread Oleg Nesterov
On 02/10, Jeremy Fitzhardinge wrote: On 02/10/2015 05:26 AM, Oleg Nesterov wrote: On 02/10, Raghavendra K T wrote: Unfortunately xadd could result in head overflow as tail is high. The other option was repeated cmpxchg which is bad I believe. Any suggestions? Stupid question... what

Re: [PATCH 0/4] perf: add support for profiling jitted code

2015-02-11 Thread David Ahern
On 2/11/15 9:15 AM, Peter Zijlstra wrote: On Wed, Feb 11, 2015 at 08:18:37AM -0500, Stephane Eranian wrote: But, we need a portable solution, there are jitted environment on other architectures. Yeah, I'm aware of that. But the time people are not liking any of those patches. The thing that

Re: [PATCH v6 0/7] PCI: get DMA configuration from parent device

2015-02-11 Thread Murali Karicheri
On 02/06/2015 01:36 PM, Murali Karicheri wrote: On 02/06/2015 12:53 PM, Bjorn Helgaas wrote: On Fri, Feb 6, 2015 at 9:28 AM, Murali Karicherim-kariche...@ti.com wrote: On 02/06/2015 10:15 AM, Catalin Marinas wrote: On Thu, Feb 05, 2015 at 09:52:52PM +, Murali Karicheri wrote: This

Re: [PATCH] Add LTC2941/LTC2943 Battery Gauge Driver

2015-02-11 Thread Sebastian Reichel
On Wed, Feb 11, 2015 at 12:21:52PM +0100, Mike Looijmans wrote: On 22-01-15 03:24, Sebastian Reichel wrote: Hi, On Tue, Oct 28, 2014 at 08:05:12AM +0100, Mike Looijmans wrote: Both the LTC2941 and LTC2943 measure battery capacity. The LTC2943 is compatible with the LTC2941, it adds voltage

[PATCH] perf tools: Define _GNU_SOURCE on pthread_attr_setaffinity_np feature check

2015-02-11 Thread Josh Boyer
The man page for pthread_attr_set_affinity_np states that _GNU_SOURCE must be defined before pthread.h is included in order to get the proper function declaration. Define this in the Makefile. Without this defined, the feature check fails on a Fedora system with gcc5 and then the perf build

Re: [PATCH 1/2] serial: imx: Add rs485 support to imx thanks to rs485 functions in serial_core

2015-02-11 Thread Alexander Stein
Hello, On Wednesday 11 February 2015 16:30:34, Aurelien BOUIN wrote: This is a patch to add rs485 support with imx freescale processor It allows to set the transmit pin used in the structure padding (rs485.padding[0]) Nice idea to use the padding for GPIO configuration. I've done an

Re: [PATCH 2/3] rcu: Remove fast path from __rcu_process_callbacks()

2015-02-11 Thread Paul E. McKenney
On Wed, Feb 11, 2015 at 03:42:38PM +0100, Alexander Gordeev wrote: The standard code path accommodates a condition when no RCU callbacks are ready to invoke. Since size of the code is a priority for tiny RCU, remove the fast path. Cc: Paul E. McKenney paul...@linux.vnet.ibm.com

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Rafael J. Wysocki
On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote: [...] So for the flag at request time approach to work, all the drivers using the interrupt would have to flag they're safe in

Re: [PATCHv3 8/8] cgroup: Add documentation for cgroup namespaces

2015-02-11 Thread Serge E. Hallyn
Quoting Tejun Heo (t...@kernel.org): On Wed, Feb 11, 2015 at 05:00:23PM +0100, Serge E. Hallyn wrote: We absolutely would love to use cgroup namespaces to run older userspace in containers. I don't know that it's actually possible to do both that and use unified hierarchy at the same time

Re: [PATCH 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-02-11 Thread Antoine Tenart
Hi Boris, On Sun, Feb 08, 2015 at 10:06:33PM +0100, Boris Brezillon wrote: On Tue, 27 Jan 2015 15:10:12 +0100 Antoine Tenart antoine.ten...@free-electrons.com wrote: + +#define BERLIN_NAND_CMD_RNDOUT 0x3000 Your specific RNDOUT command looks like a regular READ0 (0x0) +

Re: [RFC PATCH 6/9] livepatch: create per-task consistency model

2015-02-11 Thread Miroslav Benes
On Tue, 10 Feb 2015, Josh Poimboeuf wrote: On Tue, Feb 10, 2015 at 04:59:17PM +0100, Miroslav Benes wrote: On Mon, 9 Feb 2015, Josh Poimboeuf wrote: Add a basic per-task consistency model. This is the foundation which will eventually enable us to patch those ~10% of security

[PATCH] blk-mq: fix double-free in error path

2015-02-11 Thread Tony Battersby
If the allocation of bt-bs fails, then bt-map can be freed twice, once in blk_mq_init_bitmap_tags() - bt_alloc(), and once in blk_mq_init_bitmap_tags() - bt_free(). Fix by setting the pointer to NULL after the first free. Cc: sta...@vger.kernel.org Signed-off-by: Tony Battersby

[PATCH] [SCSI] sg: fix read() error reporting

2015-02-11 Thread Tony Battersby
Fix SCSI generic read() incorrectly returning success after detecting an error. Cc: sta...@vger.kernel.org Signed-off-by: Tony Battersby to...@cybernetics.com --- For inclusion in kernel 3.20. --- linux-3.19.0/drivers/scsi/sg.c.orig 2015-02-08 21:54:22.0 -0500 +++

Re: [PATCH v4 3/5] irqchip: Add DT binding doc for the virtual irq demuxer chip

2015-02-11 Thread Mark Rutland
On Wed, Feb 11, 2015 at 04:38:23PM +, Boris Brezillon wrote: On Wed, 11 Feb 2015 16:32:31 + Mark Rutland mark.rutl...@arm.com wrote: On Wed, Feb 11, 2015 at 04:15:15PM +, Boris Brezillon wrote: On Wed, 11 Feb 2015 15:57:20 + Mark Rutland mark.rutl...@arm.com wrote:

Re: [PATCH v4 09/11] ARM: tegra: add support for warm reset GPIO

2015-02-11 Thread Andrew Bresticker
Hi Tomeu, On Wed, Feb 11, 2015 at 7:06 AM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: From: Andrew Bresticker abres...@chromium.org Allow for a warm reset GPIO to be passed to the PMC driver via DT which will be used to reset the system instead of writing to PMC_CTRL. The GPIO will be

Re: [PATCH 1/2] ARM: dts: zynq: Add missing alias node for zybo and parallella

2015-02-11 Thread Andreas Färber
Am 11.02.2015 um 13:29 schrieb Michal Simek: Add missing alias node. Signed-off-by: Michal Simek michal.si...@xilinx.com --- arch/arm/boot/dts/zynq-parallella.dts | 5 + arch/arm/boot/dts/zynq-zybo.dts | 5 + 2 files changed, 10 insertions(+) diff --git

Odp: [PATCH 3/4] fb_ddc: Allow I2C adapters without SCL read capability

2015-02-11 Thread Krzysztof Helt
Acked-by: Krzysztof Helt krzysztof...@wp.pl Dnia Sobota, 7 Lutego 2015 21:53 Ondrej Zary li...@rainbow-software.org napisał(a) i2c-algo-bit allows I2C adapters without SCL read capability to work but fb_ddc_read fails to work on them. Fix fb_ddc_read to work with I2C adapters not capable

[GIT PULL] fs/pstore for 3.20

2015-02-11 Thread Luck, Tony
The following changes since commit eaa27f34e91a14cdceed26ed6c6793ec1d186115: linux 3.19-rc4 (2015-01-11 12:44:53 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git tags/please-pull-pstore for you to fetch changes up to

Re: [musl] Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-11 Thread Szabolcs Nagy
* Catalin Marinas catalin.mari...@arm.com [2015-02-11 17:39:19 +]: (adding Marcus) On Tue, Feb 10, 2015 at 06:13:02PM +, Rich Felker wrote: I don't know if this has been discussed on libc-alpha yet or not, but I think we need to open a discussion of how it relates to open glibc

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-11 Thread Rich Felker
On Wed, Feb 11, 2015 at 11:16:58AM -0800, H.J. Lu wrote: I don't know if this has been discussed on libc-alpha yet or not, but I think we need to open a discussion of how it relates to open glibc bug #16437, which presently applies only to x32 (ILP32 ABI on x86_64):

Re: [PATCH 6/8] usb: dwc3: add ULPI interface support

2015-02-11 Thread David Cohen
Hi Heikki, On Fri, Jan 23, 2015 at 05:12:56PM +0200, Heikki Krogerus wrote: Registers DWC3's ULPI interface with the ULPI bus when it's available. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/usb/dwc3/Kconfig | 7 +++ drivers/usb/dwc3/Makefile | 4 ++

[PATCH] mmc: tegra: Optimize write_w path for tegra114 and later

2015-02-11 Thread Rhyland Klein
Setup a different set of sdhci_ops for tegra114 and later so that the write_w callback is only used on tegra114. This allows us to remove the NVQUIRK_SHADOW_XFER_MODE_REG and simply the logic in tegra_sdhci_writew. This was suggested by Alexandre Courbot. Signed-off-by: Rhyland Klein

Re: [PATCH 0/4] Cleanup mm_populate() codepath

2015-02-11 Thread Linus Torvalds
On Wed, Feb 11, 2015 at 9:12 AM, Kirill A. Shutemov kirill.shute...@linux.intel.com wrote: While reading mlock()- and mm_populate()-related code, I've found several things confusing. This patchset cleanup the codepath for future readers. Looks sane to me. Ack. Linus -- To

Re: [PATCH 2/2] ARM: dts: zynq: Add linux, stdout-path and stdout-path

2015-02-11 Thread Andreas Färber
Am 11.02.2015 um 15:25 schrieb Michal Simek: On 02/11/2015 01:40 PM, Mark Rutland wrote: On Wed, Feb 11, 2015 at 12:29:02PM +, Michal Simek wrote: parallella - Use reference instead of hardcoded path (linux,stdout-path) stdout-path is used by bootloader to identify console.

Re: smp_call_function_single lockups

2015-02-11 Thread Linus Torvalds
On Wed, Feb 11, 2015 at 5:19 AM, Rafael David Tinoco ina...@ubuntu.com wrote: - After applying patch provided by Thomas we were able to cause the lockup only after 6 days (also locked inside smp_call_function_single). Test performance (even for a nested kvm) was reduced substantially with

Re: [PATCH] brcmfmac: use msecs_to_jiffies for time conversion

2015-02-11 Thread Arend van Spriel
On 02/06/15 11:26, Nicholas Mc Guire wrote: This is only an API consolidation and should make things more readable it replaces var * HZ / 1000 by msecs_to_jiffies(var). Acked-by: Arend van Spriel ar...@broadcom.com Signed-off-by: Nicholas Mc Guirehof...@osadl.org --- Patch was only compile

Re: [for-next][PATCH] ring-buffer: Do not wake up a splice waiter when page is not full

2015-02-11 Thread Steven Rostedt
I added Rabin in the tags as Cc'd but as I send out single patches manually, I forgot to add him to the real Cc. -- Steve On Wed, 11 Feb 2015 07:44:59 -0500 Steven Rostedt rost...@goodmis.org wrote: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head

Re: [GIT PULL] pin control bulk changes for the v3.20 cycle

2015-02-11 Thread Linus Torvalds
On Wed, Feb 11, 2015 at 12:11 AM, Linus Walleij linus.wall...@linaro.org wrote: - Ass support for Qualcomm MSM8916 in the qcom driver. Hmmm. Linus -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[PATCH -v5 6/5] context_tracking: fix exception_enter when already in IN_KERNEL

2015-02-11 Thread Rik van Riel
If exception_enter happens when already in IN_KERNEL state, the code still calls context_tracking_exit, which ends up in rcu_eqs_exit_common, which explodes with a WARN_ON when it is called in a situation where dynticks are not enabled. This can be avoided by having exception_enter only switch to

Re: checkpatch induced patches...

2015-02-11 Thread Dan Carpenter
On Wed, Feb 11, 2015 at 10:00:29AM -0800, Joe Perches wrote: I'm half tempted to submit some patch like this to make it difficult to use checkpatch on files outside of drivers/staging. o Only allow checkpatch to be used with the -f/--file option for drivers/staging/ o Add an undocumented

Re: [musl] Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-11 Thread H.J. Lu
On Wed, Feb 11, 2015 at 11:05 AM, Szabolcs Nagy n...@port70.net wrote: i know at least one android kernel issue: there is an ioctl for the alarm device that takes timespec argument (i think it's not in the mainline kernel and i guess android does not care about x32 so it was not an issue so

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-02-11 Thread David Cohen
On Wed, Feb 11, 2015 at 03:12:55PM +0200, Heikki Krogerus wrote: Hi David, Hi Heikki, In order for phy to be functional, it does not depend only on toggling GPIOs. It depends on DWC3 going to reset state, then phy executes power on sequence, then DWC3 going out of reset

Re: [PATCHv3 00/24] ILP32 support in ARM64

2015-02-11 Thread Catalin Marinas
(adding Marcus) On Tue, Feb 10, 2015 at 06:13:02PM +, Rich Felker wrote: On Thu, 2 Oct 2014 at 16:52:18 +0100, Catalin Marinas wrote: On Wed, Sep 03, 2014 at 10:18:54PM +0100, Andrew Pinski wrote: New version with all of the requested changes. Updated to the latest sources.

[PATCH v1] of: calculate masks of the device based on dma-range size

2015-02-11 Thread Murali Karicheri
This patch update of_dma_configure() API to calculate the masks (dma_mask and coherent_dma_mask) based on the dma-range values set in DT for the device. Also limit the mask to lower of the default mask and mask calculated. Cc: Joerg Roedel j...@8bytes.org Cc: Grant Likely grant.lik...@linaro.org

Re: [PATCHv3] x86/mce: Fix regression. All error records should report via /dev/mcelog

2015-02-11 Thread Tony Luck
On Mon, Feb 9, 2015 at 10:00 AM, Tony Luck tony.l...@intel.com wrote: I'm getting complaints from validation teams that have updated their Linux kernels from ancient versions to current. They don't see the error logs they expect. I tell the to unload any EDAC drivers[1], and things start

Re: [PATCH] et131x: use msecs_to_jiffies for conversions

2015-02-11 Thread Mark Einon
On Wed, Feb 11, 2015 at 04:27:54AM -0500, Nicholas Mc Guire wrote: This is only an API consolidation and should make things more readable. Converting milliseconds to jiffies by val * HZ / 1000 is technically OK but msecs_to_jiffies(val) is the cleaner solution and handles all corner cases

  1   2   3   4   5   6   7   8   9   10   >