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

2015-02-11 Thread Tomeu Vizoso
In preparation for adding the DT for the nyan-blaze board. Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/tegra124-nyan-big.dts | 689 +--- arch/arm/boot/dts/tegra124-nyan.dtsi| 672 +++ 2 files changed, 685 insertions(+), 676

[PATCH v4 05/11] ARM: tegra: Add node for trackpad in Nyan boards

2015-02-11 Thread Tomeu Vizoso
The Nyan boards have a eKTH3000 from Elan as their trackpad, connected through I2C. Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/tegra124-nyan.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/tegra124-nyan.dtsi b/arch/arm/boot/dts/tegra124-nyan.dtsi index

[PATCH v4 04/11] ARM: tegra: Add DTS for the nyan-blaze board

2015-02-11 Thread Tomeu Vizoso
It's commercial name is HP Chromebook 14 and is substantially similar to the Acer Chromebook 13 (nyan-big). Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/Makefile|1 + arch/arm/boot/dts/tegra124-nyan-blaze.dts | 1332 + 2 files changed, 1333

[PATCH v4 06/11] ARM: tegra: Use pwrseq-simple for the wifi in Nyan

2015-02-11 Thread Tomeu Vizoso
The Nyan boards have a Marvell 88w8897 wifi card connected through SDIO that needs the reset line to be asserted before mmc power up and deasserted afterwards. This patch also adds references to the power supplies of the card so that the regulators are enabled when it's probed. Signed-off-by:

Re: [PATCH V2] mtd: block2mtd: Present block2mtd timely on boot time

2015-02-11 Thread Rodrigo Freire
From: "Brian Norris" Sent: Wednesday, November 26, 2014 1:33:04 AM Subject: Re: [PATCH V2] mtd: block2mtd: Present block2mtd timely on boot time > On Sun, Nov 09, 2014 at 07:18:05AM -0500, Rodrigo Freire wrote: > > > From: "Brian Norris" > > > Sent: Wednesday, November 5, 2014 6:23:03 PM

Re: [PATCH v3] kernel: Conditionally support non-root users, groups and capabilities

2015-02-11 Thread Iulia Manda
On 10 February 2015 at 02:33, Paul E. McKenney wrote: > On Mon, Feb 09, 2015 at 03:42:08PM -0800, j...@joshtriplett.org wrote: >> On Sun, Feb 08, 2015 at 10:05:25AM +0100, Geert Uytterhoeven wrote: >> > Thanks for the update! >> > >> > Acked-by: Geert Uytterhoeven >> See below. :) >> Thanks,

Re: [perf/core PATCH v2 3/4] perf buildid-cache: Add new buildid cache if update target is not cached

2015-02-11 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 11, 2015 at 11:49:28AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Feb 10, 2015 at 06:18:56PM +0900, Masami Hiramatsu escreveu: > > Add new buildid cache if the update target file is not cached. > > This can happen when an old binary is replaced by new one > > after caching the

[PATCH RFC 3/6] quota: mangle statfs result according to project quota usage and limits

2015-02-11 Thread Konstantin Khlebnikov
This patch updates amount of available space and inodes returned by vfs_statfs() according to project quota for this directory. This works only if sysctl fs.protected_projects = 1. Signed-off-by: Konstantin Khlebnikov --- fs/quota/dquot.c | 56

Re: [perf/core PATCH v2 4/4] perf buildid-cache: Add --remove-all FILE to remove all caches of FILE

2015-02-11 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 10, 2015 at 06:18:58PM +0900, Masami Hiramatsu escreveu: > Add --remove-all FILE to remove all caches of FILE. I like --purge better, shorter form, like in 'man fpurge' - Arnaldo > Since the current --remove FILE removes a cache which has > same build-id of given FILE. Since the

[PATCH v4 03/11] drm/panel: add support for Samsung LTN140AT29 panel

2015-02-11 Thread Tomeu Vizoso
From: Stéphane Marchesin This panel is used by the Nyan Blaze board and supported by the simple-panel driver. Signed-off-by: Stéphane Marchesin [tomeu.viz...@collabora.com: add device tree binding document] Signed-off-by: Tomeu Vizoso --- .../bindings/panel/samsung,ltn140at29-301.txt |

[PATCH RFC 5/6] ext4: adds project quota support

2015-02-11 Thread Konstantin Khlebnikov
This patch adds mount options for enabling/disabling project quota accounting and enforcement. A new specific inode is also used for project quota accounting. [ Mostly unchanged patch from Li Xi ] Signed-off-by: Konstantin Khlebnikov Cc: Li Xi --- fs/ext4/ext4.h |8 ++--

[PATCH RFC 6/6] tools/quota/project_quota: sample tool for early adopters

2015-02-11 Thread Konstantin Khlebnikov
Usage: ./project_quota [args]... Commands: initinitialize quota file on turn on off turn off infoshow project, usage and limits project [] get / set project id limit[] get / set space

[PATCH RFC 1/6] fs: new interface and behavior for file project id

2015-02-11 Thread Konstantin Khlebnikov
For now project id and quotas are implemented only in XFS. Existing behavior isn't very useful: any unprivileged user can set any project id for its own files and this way he can bypass project limits. XFS interface for getting or changing file project is a very XFS-centric: ioctl

[PATCH RFC 4/6] ext4: add project id support

2015-02-11 Thread Konstantin Khlebnikov
This patch adds a new internal field of ext4 inode to save project identifier. Signed-off-by: Konstantin Khlebnikov --- fs/ext4/ext4.h | 13 ++- fs/ext4/ialloc.c |6 + fs/ext4/inode.c | 65 ++ fs/ext4/namei.c | 14

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 03:17:20PM +, Rafael J. Wysocki 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 RFC 2/6] quota: adds generic code for enforcing project quota limits

2015-02-11 Thread Konstantin Khlebnikov
This patch adds support for a new quota type PRJQUOTA for project quota. [ Based on patch by Li Xi ] Permissions: Q_GETQUOTA: allows to query all projects present in current user-namespace Q_SETQUOTA: requires system-wide capability CAP_SYS_ADMIN Signed-off-by: Konstantin Khlebnikov Cc: Li Xi

Re: [PATCH] afs: inode: Replace rcu_assign_pointer() with RCU_INIT_POINTER()

2015-02-11 Thread Paul E. McKenney
On Wed, Feb 11, 2015 at 12:57:39PM +, David Howells wrote: > I've applied these two patches, but one of them throws up a problem in > Fengguang's magic auto-compilation thing. Hello, David, I seem to have fat-fingered Fengguang's magic auto-compilation thing's email. (One of those mornings,

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 04:03:17 PM Boris Brezillon wrote: > On Wed, 11 Feb 2015 16:17:20 +0100 > "Rafael J. Wysocki" wrote: > > > On Wednesday, February 11, 2015 02:43:45 PM Mark Rutland wrote: > > > [...] > > > > > > > > > > > +static irqreturn_t __handle_irq_event_percpu(unsigned int

[PATCH v4 01/11] ARM: tegra: Change model of sound card in Nyan Big

2015-02-11 Thread Tomeu Vizoso
Change it from "Acer Chromebook 13" to GoogleNyanBig so it's unique and identifiable. With this change the card id exposed to userspace becomes GoogleNyanBig instead of the current A13. Signed-off-by: Tomeu Vizoso --- arch/arm/boot/dts/tegra124-nyan-big.dts | 2 +- 1 file changed, 1

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

2015-02-11 Thread Nicolas Ferre
From: Philip Attfield Add alias, node declaration and pinctrl for i2c1 (aka: twi1). Signed-off-by: Philip Attfield Signed-off-by: Nicolas Ferre --- arch/arm/boot/dts/sama5d4.dtsi | 28 1 file changed, 28 insertions(+) diff --git a/arch/arm/boot/dts/sama5d4.dtsi

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

2015-02-11 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre --- 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 +++ b/arch/arm/boot/dts/sama5d4.dtsi @@

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

2015-02-11 Thread Alan Stern
On Tue, 10 Feb 2015, Enrico Mioso wrote: > Hello guys. > the problem is still reproducible with final 3.19 kernel - I can confirm it. > Re-sending the last trace here - don't know if it's available in cxg.de. Please stop posting these process traces. They don't help. Instead, post a usbmon

Re: [PATCH RFC v8 11/21] Documentation: dt-bindings: Add bindings for Synopsys DW MIPI DSI DRM bridge driver

2015-02-11 Thread Philipp Zabel
Am Mittwoch, den 11.02.2015, 22:09 +0800 schrieb Liu Ying: > BTW, regarding the compatible string topic, shall I keep my implementation > unchanged and don't append the additional "snps,dw-mipi-dsi" as I shared > my concerns about it before? Leave the implementation unchanged. Still, I'd like to

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 03:39:48PM +, Rafael J. Wysocki wrote: > On Wednesday, February 11, 2015 04:03:17 PM Boris Brezillon wrote: > > On Wed, 11 Feb 2015 16:17:20 +0100 > > "Rafael J. Wysocki" wrote: > > > > > On Wednesday, February 11, 2015 02:43:45 PM Mark Rutland wrote: > > > > [...] >

Re: [PATCH 3/4] perf inject: add jitdump mmap injection support

2015-02-11 Thread David Ahern
On 2/10/15 4:42 PM, Stephane Eranian wrote: diff --git a/tools/perf/Documentation/perf-inject.txt b/tools/perf/Documentation/perf-inject.txt index dc7442c..237f195 100644 --- a/tools/perf/Documentation/perf-inject.txt +++ b/tools/perf/Documentation/perf-inject.txt @@ -40,6 +40,17 @@ OPTIONS

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 03:12:38 PM Mark Rutland wrote: > On Wed, Feb 11, 2015 at 03:17:20PM +, Rafael J. Wysocki wrote: > > On Wednesday, February 11, 2015 02:43:45 PM Mark Rutland wrote: > > > [...] > > > > > > > > > > > +static irqreturn_t __handle_irq_event_percpu(unsigned int

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

2015-02-11 Thread Aurelien BOUIN
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]) Signed-off-by: Aurelien BOUIN diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index 4c5e909..a086eef 100644 ---

[PATCH 2/2] serial: imx: checkpatch cleanup

2015-02-11 Thread Aurelien BOUIN
This patch solve various issue detected by checkpatch.pl Signed-off-by: Aurelien BOUIN diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c index a086eef..63eb457 100644 --- a/drivers/tty/serial/imx.c +++ b/drivers/tty/serial/imx.c @@ -275,9 +275,12 @@ static struct

[PATCH v2] regmap-irq: set IRQF_ONESHOT flag to ensure IRQ request

2015-02-11 Thread Valentin Rothberg
Since commit 1c6c69525b40eb76de8adf039409722015927dc3 ("genirq: Reject bogus threaded irq requests") threaded IRQs without a primary handler need to be requested with IRQF_ONESHOT, otherwise the request will fail. The %irq_flags flag is used to request the threaded IRQ and is also a parameter of

Re: [PATCH] compat: Fix endian issue in union sigval

2015-02-11 Thread Catalin Marinas
On Wed, Feb 11, 2015 at 07:22:08PM +0800, Bamvor Jian Zhang wrote: > On 2015/2/10 20:27, Catalin Marinas wrote: > > On Tue, Feb 10, 2015 at 10:10:11AM +, Zhang Jian(Bamvor) wrote: > >> In 64bit architecture, sigval_int is the high 32bit of sigval_ptr in > >> big endian kernel compare with low

Re: [PATCH -mm] slub: kmem_cache_shrink: init discard list after freeing slabs

2015-02-11 Thread Vladimir Davydov
On Wed, Feb 11, 2015 at 09:00:39AM -0600, Christoph Lameter wrote: > H... Thinking about this some more. It may be better to initialize the > list head at the beginning of the loop? > > Also the promote array should also be initialized in the loop right? I do initialize promote lists in the

[GIT PULL] Please pull NFS client changes for 3.20

2015-02-11 Thread Trond Myklebust
Hi Linus, The following changes since commit 2ef47eb1aee171ecf1d83311b9f7fae80f330181: NFS: Fix use of nfs_attr_use_mounted_on_fileid() (2015-01-21 17:15:41 -0500) are available in the git repository at: git://git.linux-nfs.org/projects/trondmy/linux-nfs.git tags/nfs-for-3.20-1 for you to

Re: [PATCH -mm] slub: kmem_cache_shrink: init discard list after freeing slabs

2015-02-11 Thread Christoph Lameter
On Wed, 11 Feb 2015, Vladimir Davydov wrote: > > Also the promote array should also be initialized in the loop right? > > I do initialize promote lists in the loop using list_splice_init, but > yeah, initializing them in the beginning of the loop would look more > readable indeed. The updated

[PATCH 2/3] memory_hotplug: add note about holding device_hotplug_lock and add_memory()

2015-02-11 Thread Vitaly Kuznetsov
add_memory() is supposed to be run with device_hotplug_lock grabbed, otherwise it can race with e.g. device_online(). ACPI memory hotplug does that already but e.g. Hyper-V ballooning driver doesn't. Signed-off-by: Vitaly Kuznetsov --- mm/memory_hotplug.c | 6 +- 1 file changed, 5

[PATCH 3/3] Drivers: hv: balloon: fix deadlock between memory adding and onlining

2015-02-11 Thread Vitaly Kuznetsov
If newly added memory is brought online with e.g. udev rule: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}="online" the following deadlock is observed (and easily reproducable): First participant, worker thread doing add_memory(): ... [ 725.491469] 6 locks held by kworker/0:1/27: [

[PATCH 1/3] driver core: export lock_device_hotplug/unlock_device_hotplug

2015-02-11 Thread Vitaly Kuznetsov
add_memory() is supposed to be run with device_hotplug_lock grabbed, otherwise it can race with e.g. device_online(). Allow external modules (hv_balloon for now) to lock device hotplug. Signed-off-by: Vitaly Kuznetsov --- drivers/base/core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/3] memory_hotplug: hyperv: fix deadlock between memory adding and onlining

2015-02-11 Thread Vitaly Kuznetsov
If newly added memory is brought online with e.g. udev rule: SUBSYSTEM=="memory", ACTION=="add", ATTR{state}="online" the following deadlock is observed (and easily reproducable): First participant, worker thread doing add_memory(): [ 724.948846] kworker/0:1 D 88000412f9c8 1324827

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 wrote: > > > > > > DOCPROC Documentation/DocBook/device-drivers.xml > > > docproc: .//include/linux/i2o.h: No

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

2015-02-11 Thread Matt Fleming
On Mon, 09 Feb, at 12:23:15PM, Yinghai Lu wrote: > On Mon, Feb 9, 2015 at 10:27 AM, Matt Fleming > wrote: > > On Tue, 03 Feb, at 06:03:20PM, Yinghai Lu wrote: > > > > The first thing that comes to mind is the issues we experienced last > > year when adding support for loading initrds above 4GB

Re: [PATCH] openvswitch: Add missing initialization in validate_and_copy_set_tun()

2015-02-11 Thread Thomas Graf
On 02/11/15 at 11:23am, Geert Uytterhoeven wrote: > net/openvswitch/flow_netlink.c: In function ‘validate_and_copy_set_tun’: > net/openvswitch/flow_netlink.c:1749: warning: ‘err’ may be used uninitialized > in this function > > If ipv4_tun_from_nlattr() returns a different positive value than >

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

2015-02-11 Thread Mark Rutland
[...] > > > > 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 timer" I guess? That > > > wouldn't > > > hurt and can be checked at request

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

2015-02-11 Thread Serge E. Hallyn
Quoting Tejun Heo (t...@kernel.org): > Hey, > > On Tue, Feb 10, 2015 at 11:02:40PM -0600, Eric W. Biederman wrote: > > A slightly off topic comment, for where this thread has gone but > > relevant if we are talking about cgroup namespaces. > > > > If don't implement compatibility with existing

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

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:

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" > Signed-off-by: Alexander

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 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" > Signed-off-by: Alexander Gordeev Hmmm... I am not seeing this one. As you noted 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 15:57:20 + Mark Rutland 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

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

[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

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

[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 --- arch/arm/mach-berlin/Kconfig | 1 + 1

[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 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: [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 wrote: > > > [...] > > > > > > > > So for the flag at request time approach to work, all the drivers > > > > > > using > > > > > > the interrupt would have to flag they're

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

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

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 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 wrote: > > + > > +#define BERLIN_NAND_CMD_RNDOUT 0x3000 > > Your specific RNDOUT command looks like a regular READ0 (0x0) + > READSTART (0x30) sequence, I

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

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 > > wrote: > > > On Tue, 03 Feb, at 06:03:20PM, Yinghai Lu wrote: > > > > > > The first thing that comes to mind is the issues we

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" wrote: > On Wednesday, February 11, 2015 05:15:15 PM Boris Brezillon wrote: > > On Wed, 11 Feb 2015 15:57:20 + > > Mark Rutland wrote: > > > > > [...] > > > > > > > > > > So for the flag at request time approach to work, all the

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 To: Enrico Mioso Cc: linux-...@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: intensive IO on usb-storage device causing

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 wrote: > > > > > + if (info->variant == PXA3XX_NAND_VARIANT_BERLIN2 && > > + info->ndcb0 & NDCB0_LEN_OVRD) > > +

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 wrote: > > > [...] > > > > > > > > So for the flag at request time approach to work, all the drivers > > > > > > using > > > > > > the interrupt would have to flag they're safe

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 -- To unsubscribe from this list:

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 writes: > > On Tue, 27 Jan 2015 15:10:12 +0100 > > Antoine Tenart wrote: > > > >> The nand controller on Marvell Berlin SoC reuse the pxa3xx nand driver > >> as it quite close. The process of sending

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 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 wrote: > On Wed, Feb 11, 2015 at 04:15:15PM +, Boris Brezillon wrote: > > On Wed, 11 Feb 2015 15:57:20 + > > Mark Rutland wrote: > > > > > [...] > > > > > > > > > > So for the flag at request time approach to work, all the drivers > > >

[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

[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: Signed-off-by: Tony Battersby --- For inclusion in kernel 3.20.

[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: Signed-off-by: Tony Battersby --- For inclusion in kernel 3.20. --- linux-3.19.0/drivers/scsi/sg.c.orig 2015-02-08 21:54:22.0 -0500 +++ linux-3.19.0/drivers/scsi/sg.c 2015-02-10 09:26:09.0

[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: Signed-off-by:

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 wrote: > Hi Linus, > > These are a regression fix for read-only BARs, a DesignWare fix that keeps > drivers from using MSI-X (which isn't supported),

[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/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 Karicheri wrote: On 02/06/2015 10:15 AM, Catalin Marinas wrote: On Thu, Feb 05, 2015 at 09:52:52PM +, Murali Karicheri wrote: This patch add an important

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 wrote: > Hi Fabio, > >> Fabio Estevam hat am 10. Februar 2015 um 16:06 >> geschrieben: >> >> >> Hi Stefan, >> >> On Tue, Feb 10, 2015 at 11:55 AM, Stefan Wahren >> wrote: >> >> > Could you apply only the clk-imx28.c part of my patch and

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 Karicheri wrote: On 02/06/2015 10:15 AM, Catalin Marinas wrote: On Thu, Feb 05, 2015 at 09:52:52PM +,

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

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

[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] 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 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 --- mm/mlock.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mm/mlock.c b/mm/mlock.c index c3ea18323034..0837fdb26047 100644 --- a/mm/mlock.c +++

[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 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 wrote: > > > On Wed, Feb 11, 2015 at 04:15:15PM +, Boris Brezillon wrote: > > > On Wed, 11 Feb 2015 15:57:20 + > > > Mark Rutland 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 wrote: > From: Andrew Bresticker > > 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 asserted at reset time and, if this fails to

<    6   7   8   9   10   11   12   13   14   15   >