Re: [PATCH 3.14 000/140] 3.14.5-stable review

2014-05-29 Thread NeilBrown
On Wed, 28 May 2014 21:32:19 -0700 Greg Kroah-Hartman gre...@linuxfoundation.org wrote: This is the start of the stable review cycle for the 3.14.5 release. There are 140 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied,

Re: [PATCH v2] /proc/pid/status: show all sets of pid according to ns

2014-05-29 Thread Vasily Kulikov
On Wed, May 28, 2014 at 23:27 +0400, Pavel Emelyanov wrote: On 05/28/2014 10:28 PM, Vasily Kulikov wrote: On Wed, May 28, 2014 at 16:44 +0400, Pavel Emelyanov wrote: It will be simplier to parse the file -- if 'ns_ids' file contains some ID then this ID for every ns can be obtained

Re: [PATCH] Provide additional sample information to Python scripts

2014-05-29 Thread Namhyung Kim
Hi Joseph, Sorry for late review, this looks very useful.. But please send a separate email for each patch and make it inlined (not attached) in the next version. On Thu, 03 Apr 2014 10:57:39 +0200, Joseph Schuchart wrote: [SNIP] static void python_process_tracepoint(struct perf_sample

Re: Resume from suspend broken in 3.15. (bisected)

2014-05-29 Thread Dan Carpenter
On Wed, May 28, 2014 at 08:26:53PM -0400, Alex Deucher wrote: On Wed, May 28, 2014 at 7:49 PM, Ken Moffat zarniwh...@ntlworld.com wrote: On Wed, May 28, 2014 at 06:25:21PM +0100, Ken Moffat wrote: Hi Daniel, [ correcting details, confirming that reverting this does fix the problem,

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

2014-05-29 Thread Minchan Kim
On Wed, May 28, 2014 at 12:06:58PM -0400, Johannes Weiner wrote: On Wed, May 28, 2014 at 07:13:45PM +1000, Dave Chinner wrote: On Wed, May 28, 2014 at 06:37:38PM +1000, Dave Chinner wrote: [ cc XFS list ] [and now there is a complete copy on the XFs list, I'll add my 2c] On Wed,

[PATCH net-next v2] mrf24j40: add managed API's provided by device layer

2014-05-29 Thread Varka Bhadram
forgot to use devm_* for spi buff. sorry for that. -Varka Bhadram Signed-off-by: Varka Bhadram var...@cdac.in --- drivers/net/ieee802154/mrf24j40.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/drivers/net/ieee802154/mrf24j40.c

Re: [PATCH] bio: decrease bi_iter.bi_size by len in the fail path

2014-05-29 Thread Jet Chen
On 05/29/2014 01:44 AM, Ming Lei wrote: On Thu, May 29, 2014 at 1:21 AM, Maurizio Lombardi mlomb...@redhat.com wrote: Hi Ming, On Thu, May 29, 2014 at 12:59:19AM +0800, Ming Lei wrote: Actually, the correct thing may be like what did in the attached patch, as Maurizio discussed with me[1].

[PATCH 2/3] hwmon: (iManager2) Add support for IT8516/18/28

2014-05-29 Thread Wei-Chun Pan
Advantech's new module comes equipped with iManager - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech iManager V2.0 chipset. Available functions support

[PATCH 3/3] i2c: iManager2: add support for IT8516/18/28

2014-05-29 Thread Wei-Chun Pan
Advantech's new module comes equipped with iManager - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech iManager V2.0 chipset. Available functions support

[PATCH 1/3] mfd: iManager2: Add support for IT8516/18/28

2014-05-29 Thread Wei-Chun Pan
Advantech's new module comes equipped with iManager - an embedded controller (EC), providing embedded features for system integrators to increase reliability and simplify integration. This patch add the MFD driver for enabling Advantech iManager V2.0 chipset. Available functions support

Re: [PATCH 01/27] mtd: nand: introduce function to fix a common bug in most nand-drivers not showing a device in sysfs

2014-05-29 Thread Artem Bityutskiy
On Wed, 2014-05-28 at 23:09 +0200, Alexander Holler wrote: I'm very sorry, but I find such discussions extremly tiresome. Why discussing then at all, just go ahead and to something else. -- Best Regards, Artem Bityutskiy -- To unsubscribe from this list: send the line unsubscribe linux-kernel

[PATCH] vmalloc: use rcu list iterator to reduce vmap_area_lock contention

2014-05-29 Thread Joonsoo Kim
Richard Yao reported a month ago that his system have a trouble with vmap_area_lock contention during performance analysis by /proc/meminfo. Andrew asked why his analysis checks /proc/meminfo stressfully, but he didn't answer it. https://lkml.org/lkml/2014/4/10/416 Although I'm not sure that

[PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range()

2014-05-29 Thread Joonsoo Kim
Before commit 'mm, compaction: embed migration mode in compact_control' from David is merged, alloc_contig_range() used sync migration, instead of sync_light migration. This doesn't break anything currently because page isolation doesn't have any difference with sync and sync_light, but it could

[PATCH] CMA: correct unlock target

2014-05-29 Thread Joonsoo Kim
'cma: Remove potential deadlock situation' introduces per cma area mutex for bitmap management. It is good, but there is one mistake. When we can't find appropriate area in bitmap, we release cma_mutex global lock rather than cma-lock and this is a bug. So fix it. Signed-off-by: Joonsoo Kim

Re: [PATCH net-next v1] mrf24j40: add managed API's provided by device layer

2014-05-29 Thread Tushar Behera
On Thu, May 29, 2014 at 10:10:21AM +0530, Varka Bhadram wrote: Hi, Previous patch having bug in using managed API's. I fixed that. Regards, Varka Bhadram. Only add relevant commit message here, no need to add 'Hi' and 'Regards'. Something like ... Added devres managed APIs

[PATCH 3/3] phy: sun4i-usb: Use PTR_ERR_OR_ZERO

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Hans de Goede hdego...@redhat.com Cc: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/phy/phy-sun4i-usb.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[PATCH 1/3] phy: exynos-dp-video: Use PTR_ERR_OR_ZERO

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Jingoo Han jg1@samsung.com --- drivers/phy/phy-exynos-dp-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos-dp-video.c

[PATCH 2/3] phy: exynos-mipi-video: Use PTR_ERR_OR_ZERO

2014-05-29 Thread Sachin Kamat
PTR_ERR_OR_ZERO simplifies the code. Signed-off-by: Sachin Kamat sachin.ka...@linaro.org Cc: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/phy/phy-exynos-mipi-video.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/phy/phy-exynos-mipi-video.c

Re: [PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range()

2014-05-29 Thread Minchan Kim
On Thu, May 29, 2014 at 03:25:50PM +0900, Joonsoo Kim wrote: Before commit 'mm, compaction: embed migration mode in compact_control' from David is merged, alloc_contig_range() used sync migration, instead of sync_light migration. This doesn't break anything currently because page isolation

[RFC] Per-user namespace process accounting

2014-05-29 Thread Marian Marinov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I have the following proposition. Number of currently running processes is accounted at the root user namespace. The problem I'm facing is that multiple containers in different user namespaces share the process counters. So if containerX

[PATCH v4 09/11] drm: sti: add Mixer

2014-05-29 Thread Benjamin Gaignard
Mixer hardware IP is responsible of mixing the different inputs layers. Z-order is managed by the mixer. We could 2 mixers: one for main path and one for auxillary path Mixers are part of Compositor hardware block Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org ---

[PATCH v4 07/11] drm: sti: add GDP layer

2014-05-29 Thread Benjamin Gaignard
Generic Display Pipeline are one of the compositor input sub-devices. GDP are dedicated to graphic input like RGB plans. GDP is part of Compositor hardware block which will be introduce later. A sti_layer structure is used to abstract GDP calls from Compositor. Signed-off-by: Benjamin Gaignard

[PATCH v4 00/11] Add DRM for stih4xx platforms

2014-05-29 Thread Benjamin Gaignard
This series of patches add the support of DRM/KMS drivers for STMicroelectronics chipsets stih416 and stih407. version 4: - Remove depency between TVout it subdevices HDMI and HDA - Rework and simplify VTG and VTAC code - Fix numbers of typo and indentation -

[PATCH v4 11/11] drm: sti: Add DRM driver itself

2014-05-29 Thread Benjamin Gaignard
Make the link between all the hardware drivers and DRM/KMS interface. Create the driver itself and make it register all the sub-components. Use GEM CMA helpers for buffer allocation. Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org --- drivers/gpu/drm/sti/Kconfig | 8 +

[PATCH v4 08/11] drm: sti: add VID layer

2014-05-29 Thread Benjamin Gaignard
VIDeo plug are one of the compositor input sub-devices. VID are dedicated to video inputs like YUV plans. Like GDP, VID are part of Compositor hardware block and use sti_layer structure to provide an abstraction for Compositor calls. Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org

[PATCH v4 10/11] drm: sti: add Compositor

2014-05-29 Thread Benjamin Gaignard
Compositor control all the input sub-device (VID, GDP) and the mixer(s). It is the main entry point for composition. Layer interface is used to control the abstracted layers. Add debug in mixer, GDP and VID Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org ---

[PATCH v4 04/11] drm: sti: add HDMI driver

2014-05-29 Thread Benjamin Gaignard
Add driver for HDMI output. HDMI PHY registers are mixed into HDMI device registers and their is only one IRQ for all this hardware block. That is why PHYs aren't using phy framework but only a thin hdmi_phy_ops structure with start and stop functions. This patch introduce sti_connector structure

[PATCH v2 15/18] ARM: dts: dra7: Add dt data for PCIe controller

2014-05-29 Thread Kishon Vijay Abraham I
Added dt data for PCIe controller. This node contains dt data for both the DRA7 part of designware controller and for the designware core. The documention for this node can be found @ ../bindings/pci/ti-pci.txt. Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll

[PATCH v2 04/18] PCI: designware: use untranslated address while programming ATU

2014-05-29 Thread Kishon Vijay Abraham I
In DRA7, the cpu sees 32bit address, but the pcie controller can see only 28bit address. So whenever the cpu issues a read/write request, the 4 most significant bits are used by L3 to determine the target controller. For example, the cpu reserves 0x2000_ - 0x2FFF_ for PCIe controller but

[PATCH v2 02/18] phy: pipe3: insert delay to enumerate in GEN2 mode

2014-05-29 Thread Kishon Vijay Abraham I
8-bit delay value (0xF1) is required for GEN2 devices to be enumerated consistently. Added an API to be called from PHY drivers to set this delay value and called it from PIPE3 driver to set the delay value. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Reviewed-by: Roger Quadros

[PATCH v2 00/18] PCIe support for DRA7xx

2014-05-29 Thread Kishon Vijay Abraham I
This patch series adds support for PCIe in DRA7xx including drivers and dt data. PCIe in DRA7xx uses desingware IP and hence this re-uses the pcie desingware driver (pcie-designware.c) by Jingoo. The last couple of patches are marked as *TEMP* since the TI reset driver [1] is not yet merged and

[TEMP PATCH v2 17/18] PCI: host: pcie-dra7xx: use reset framework APIs to reset PCIe

2014-05-29 Thread Kishon Vijay Abraham I
Get reset nodes from dt and use reset framework APIs to reset PCIe. This is needed since reset is handled by the SoC. Cc: Dan Murphy dmur...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- Documentation/devicetree/bindings/pci/ti-pci.txt |4 drivers/pci/host/pci-dra7xx.c

[PATCH v2 16/18] ARM: OMAP: Enable PCI for DRA7

2014-05-29 Thread Kishon Vijay Abraham I
Now that we have added PCIe driver for DRA7 SOCs, enable PCI on DRA7 SOCs. Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Kumar Gala ga...@codeaurora.org Signed-off-by: Kishon Vijay Abraham I

[TEMP PATCH v2 18/18] ARM: dts: dra7: Add *resets* property for PCIe dt node

2014-05-29 Thread Kishon Vijay Abraham I
Added *resets* and *reset-names* properies for PCIe dt node. The documention for this node can be found @ ../bindings/pci/ti-pci.txt. Cc: Dan Murphy dmur...@ti.com Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/boot/dts/dra7.dtsi |2 ++ 1 file changed, 2 insertions(+) diff

Re: [PATCH V2] staging: dgap: implement proper error handling in dgap_firmware_load()

2014-05-29 Thread Dan Carpenter
On Thu, May 29, 2014 at 09:17:09AM +0900, DaeSeok Youn wrote: Hi, Dan. 2014-05-28 19:11 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Wed, May 28, 2014 at 06:29:38PM +0900, DaeSeok Youn wrote: In your patch it has: + dgap_tty_uninit(brd, false); But it should only be

[PATCH v2 10/18] ARM: dts: dra7xx-clocks: Add missing 32khz clocks used for PHY

2014-05-29 Thread Kishon Vijay Abraham I
Added missing 32khz clock used by PCIe PHY. The documention for this node can be found @ ../bindings/clock/ti/gate.txt. Cc: Tony Lindgren t...@atomide.com Cc: Rajendra Nayak rna...@ti.com Cc: Tero Kristo t-kri...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Tony Lindgren t...@atomide.com Cc: Rob

[PATCH v2 13/18] ARM: dts: dra7xx-clocks: Add missing clocks for second PCIe PHY instance

2014-05-29 Thread Kishon Vijay Abraham I
Added missing clocks used by second instance of PCIe PHY. The documention for this nodes can be found @ ../bindings/clock/ti/gate.txt. Cc: Rajendra Nayak rna...@ti.com Cc: Tero Kristo t-kri...@ti.com Cc: Paul Walmsley p...@pwsan.com Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring

[PATCH v2 14/18] ARM: dts: dra7: Add dt data for PCIe PHY

2014-05-29 Thread Kishon Vijay Abraham I
Added dt data for PCIe PHY as a child node of ocp2scp3. The documention for this node can be found @ ../bindings/phy/ti-phy.txt. Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Kumar Gala

[PATCH v2 12/18] ARM: dts: dra7xx-clocks: rename pcie clocks to accommodate second PHY instance

2014-05-29 Thread Kishon Vijay Abraham I
There are two instances of PCIe PHY in DRA7xx. So renamed optfclk_pciephy_32khz, optfclk_pciephy_clk and optfclk_pciephy_div_clk to optfclk_pciephy1_32khz, optfclk_pciephy1_clk and optfclk_pciephy1_div_clk respectively. This is needed for adding the clocks for second PCIe PHY instance. Cc:

Re: [RFC PATCH v2 1/1] rename {before/after}_atomic_{inc/dec} to {before/after}_atomic

2014-05-29 Thread Peter Zijlstra
On Thu, May 29, 2014 at 12:28:10AM -0400, Pranith Kumar wrote: There is no reason to have separete barriers for atomic_inc and atomic_dec. All the architectures use the same barriers for both. We can simplify it and just have {before/after}_atomic after renaming. I used coccinelle

[PATCH v2 11/18] ARM: dts: dra7: Add dt data for PCIe PHY control module

2014-05-29 Thread Kishon Vijay Abraham I
Added dt data for PCIe PHY control module used by PCIe PHY. The documention for this node can be found @ ../bindings/phy/ti-phy.txt Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Kumar Gala

[PATCH v2 05/18] PCI: host: pcie-dra7xx: add support for pcie-dra7xx controller

2014-05-29 Thread Kishon Vijay Abraham I
Added support for pcie controller in dra7xx. This driver re-uses the designware core code that is already present in kernel. Cc: Jason Gunthorpe jguntho...@obsidianresearch.com Cc: Bjorn Helgaas bhelg...@google.com Cc: Mohit Kumar mohit.ku...@st.com Cc: Jingoo Han jg1@samsung.com Cc: Marek

Re: [RFC PATCH] crypto: crc32c-pclmul - Use pmovzxdq to shrink K_table

2014-05-29 Thread Jan Beulich
George Spelvin li...@horizon.com 05/28/14 11:47 PM Jan Beulich jbeul...@suse.com wrote: George Spelvin li...@horizon.com 05/28/14 4:40 PM Jan: Is support for SLE10's pre-2.18 binutils still required? Your PEXTRD fix was only a year ago, so I expect, but I wanted to ask. I'd much appreciate

[PATCH v2 07/18] ARM: dts: DRA7: Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ck

2014-05-29 Thread Kishon Vijay Abraham I
From: Keerthy j-keer...@ti.com Change the parent of apll_pcie_in_clk_mux to dpll_pcie_ref_m2ldo_ck from dpll_pcie_ref_ck. Cc: Rajendra Nayak rna...@ti.com Cc: Tero Kristo t-kri...@ti.com Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Keerthy j-keer...@ti.com Signed-off-by: Kishon Vijay Abraham

[PATCH v2 08/18] arm: dra7xx: Add hwmod data for pcie1 phy and pcie2 phy

2014-05-29 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 phy present in DRA7xx SOC. Also added the missing CLKCTRL OFFSET macro and CONTEXT OFFSET macro for pcie1 phy and pcie2 phy. Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Kishon Vijay Abraham I kis...@ti.com ---

[PATCH v2 09/18] arm: dra7xx: Add hwmod data for pcie1 and pcie2 subsystems

2014-05-29 Thread Kishon Vijay Abraham I
Added hwmod data for pcie1 and pcie2 subsystem present in DRA7xx SOC. Cc: Tony Lindgren t...@atomide.com Cc: Russell King li...@arm.linux.org.uk Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 55 + 1 file changed,

[PATCH v2 06/18] ARM: dts: DRA7: Add divider table to optfclk_pciephy_div clock

2014-05-29 Thread Kishon Vijay Abraham I
From: Keerthy j-keer...@ti.com Add divider table to optfclk_pciephy_div clock. The Documentation for divider clock can be found at ../clock/ti/divider.txt Cc: Rajendra Nayak rna...@ti.com Cc: Tero Kristo t-kri...@ti.com Cc: Paul Walmsley p...@pwsan.com Signed-off-by: Keerthy j-keer...@ti.com

[PATCH v2 03/18] PCI: designware: Configuration space should be specified in 'reg'

2014-05-29 Thread Kishon Vijay Abraham I
The configuration address space has so far been specified in *ranges*, however it should be specified in *reg* making it a platform MEM resource. Hence used 'platform_get_resource_*' API to get configuration address space in the designware driver. Cc: Jason Gunthorpe

Re: [PATCH] CMA: use MIGRATE_SYNC in alloc_contig_range()

2014-05-29 Thread Joonsoo Kim
On Thu, May 29, 2014 at 03:35:05PM +0900, Minchan Kim wrote: On Thu, May 29, 2014 at 03:25:50PM +0900, Joonsoo Kim wrote: Before commit 'mm, compaction: embed migration mode in compact_control' from David is merged, alloc_contig_range() used sync migration, instead of sync_light migration.

[PATCH 1/3] init/calibrate.c: convert printk(KERN_NOTICE to pr_notice

2014-05-29 Thread Fabian Frederick
Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Andrew Morton a...@linux-foundation.org --- init/calibrate.c | 21 - 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/init/calibrate.c b/init/calibrate.c index 520702d..0d747bb 100644 --- a/init/calibrate.c +++

[PATCH v4 03/11] drm: sti: add VTAC drivers

2014-05-29 Thread Benjamin Gaignard
Video Traffic Advance Communication Rx and Tx drivers are designed for inter-die communication. Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org --- drivers/gpu/drm/sti/Makefile | 3 +- drivers/gpu/drm/sti/sti_vtac.c | 211 + 2 files

Re: [RFC][PATCH 0/8] sched,idle: need resched polling rework

2014-05-29 Thread Peter Zijlstra
On Wed, May 28, 2014 at 05:01:41PM -0700, Andy Lutomirski wrote: On Thu, May 22, 2014 at 6:09 AM, Peter Zijlstra pet...@infradead.org wrote: On Thu, May 22, 2014 at 02:58:18PM +0200, Peter Zijlstra wrote: --- diff --git a/kernel/sched/core.c b/kernel/sched/core.c index

[PATCH 2/3] init/calibrate.c: use __func__ in logging

2014-05-29 Thread Fabian Frederick
-coalesce formats in all pr_info -use __func__ in pr_notice and pr_info (Calibrating delay - calibrate_delay()). Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Andrew Morton a...@linux-foundation.org --- init/calibrate.c | 35 ++- 1 file changed, 18

[PATCH v4 06/11] drm: sti: add TVOut driver

2014-05-29 Thread Benjamin Gaignard
TVout hardware block is responsible to dispatch the data flow coming from compositor block to any of the output (HDMI or Analog TV). It control when output are start/stop and configure according the require flow path. TVout is the parent of HDMI and HDA drivers and bind them at runtime.

[PATCH v2 01/18] phy: phy-omap-pipe3: Add support for PCIe PHY

2014-05-29 Thread Kishon Vijay Abraham I
PCIe PHY uses an external pll instead of the internal pll used by SATA and USB3. So added support in pipe3 PHY to use external pll. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Reviewed-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/ti-phy.txt |8 +-

[PATCH v4 01/11] drm: sti: add bindings for DRM driver

2014-05-29 Thread Benjamin Gaignard
Add DRM/KMS driver bindings documentation. Describe the required properties for each of the hardware IPs drivers. Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org --- .../devicetree/bindings/gpu/st,stih4xx.txt | 189 + 1 file changed, 189 insertions(+)

[PATCH v4 05/11] drm: sti: add HDA driver

2014-05-29 Thread Benjamin Gaignard
Add driver to support analog TV ouput. As HDMI driver HDA use sti_connector structure to provide helper functions. Signed-off-by: Benjamin Gaignard benjamin.gaign...@linaro.org --- drivers/gpu/drm/sti/Makefile | 3 +- drivers/gpu/drm/sti/sti_hda.c | 723

Re: [RFC] Implement Batched (group) ticket lock

2014-05-29 Thread Peter Zijlstra
On Wed, May 28, 2014 at 05:46:39PM +0530, Raghavendra K T wrote: In virtualized environment there are mainly three problems related to spinlocks that affect performance. 1. LHP (lock holder preemption) 2. Lock Waiter Preemption (LWP) 3. Starvation/fairness Though ticketlocks solve the

[PATCH 3/3] init/calibrate.c: no prefix in logging

2014-05-29 Thread Fabian Frederick
define pr_fmt without prefix to avoid any default prefix update Cc: Paul Gortmaker paul.gortma...@windriver.com Cc: Andrew Morton a...@linux-foundation.org --- init/calibrate.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/calibrate.c b/init/calibrate.c index fb9be44..169e98d 100644

[PATCH v4 02/11] drm: sti: add VTG driver

2014-05-29 Thread Benjamin Gaignard
Video Time Generator drivers are used to synchronize the compositor and tvout hardware IPs by providing line count, sample count, synchronization signals (HSYNC, VSYNC) and top and bottom fields indication. VTG are used by pair for each data path (main or auxiliary) one for master and one for

Re: [PATCH v2 16/18] ARM: OMAP: Enable PCI for DRA7

2014-05-29 Thread Jingoo Han
On Thursday, May 29, 2014 3:38 PM, Kishon Vijay Abraham I wrote: Now that we have added PCIe driver for DRA7 SOCs, enable PCI on DRA7 SOCs. Cc: Tony Lindgren t...@atomide.com Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc:

[PATCH] Revert staging: dgap: remove unneeded kfree() in dgap_tty_register_ports()

2014-05-29 Thread Daeseok Youn
This reverts commit 0ade4a34fd439d62df46937e8f3e584eb0879579. This patch removes kfree for serial_ports in dgap_tty_register_ports() if the brd-printer_ports allocation fails and serial_ports may be freed by calling dgap_tty_uninit() within other patch. That patch has an error handling but

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

2014-05-29 Thread Namhyung Kim
Hi Jianyu, On Sun, 25 May 2014 12:50:49 +0800, Jianyu Zhan wrote: Currently 'make help' message has such hint: use make prefix=path install target to install to a particular path like make prefix=/usr/local install install-doc But this is misleading, when I specify

Re: [PATCH] bio: decrease bi_iter.bi_size by len in the fail path

2014-05-29 Thread Maurizio Lombardi
On Thu, May 29, 2014 at 02:06:18PM +0800, Jet Chen wrote: This patch works, thanks. Tested-by: Jet Chen jet.c...@intel.com diff --git a/block/bio.c b/block/bio.c index 0443694..f9bae56 100644 --- a/block/bio.c +++ b/block/bio.c @@ -744,6 +744,7 @@ static int __bio_add_page(struct

RE: [PATCH v2 03/18] PCI: designware: Configuration space should be specified in 'reg'

2014-05-29 Thread Mohit KUMAR DCG
Hello Kishon, -Original Message- From: Kishon Vijay Abraham I [mailto:kis...@ti.com] Sent: Thursday, May 29, 2014 12:08 PM To: devicet...@vger.kernel.org; linux-...@vger.kernel.org; linux-arm- ker...@lists.infradead.org; linux-o...@vger.kernel.org; linux- p...@vger.kernel.org;

Re: [PATCH net-next v1] mrf24j40: add managed API's provided by device layer

2014-05-29 Thread Varka Bhadram
Thanks for the suggestions. I send the v2 patch which uses devm_kzalloc(). Regards, Varka Bhadram On Thu, May 29, 2014 at 12:02 PM, Tushar Behera trbli...@gmail.com wrote: On Thu, May 29, 2014 at 10:10:21AM +0530, Varka Bhadram wrote: Hi, Previous patch having bug in using managed

Re: [PATCH] Input: touchscreen : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Wed, May 28, 2014 at 11:32:14PM +0530, Himangi Saraogi wrote: This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. Also, the unnecesary labels are removed and the function

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

2014-05-29 Thread Rusty Russell
Linus Torvalds torva...@linux-foundation.org writes: Well, we've definitely have had some issues with deeper callchains with md, but I suspect virtio might be worse, and the new blk-mq code is lilkely worse in this respect too. I looked at this; I've now got a couple of virtio core cleanups,

[PATCH v4 0/3] mfd: Intel SoC Power Management IC

2014-05-29 Thread Zhu, Lejun
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 Baytrail-T platform is called Crystal Cove. This series contains common code for these PMICs, and device specific

Re: [PATCH] mm: dont call mmu_notifier_invalidate_page during munlock

2014-05-29 Thread Konstantin Khlebnikov
On Thu, May 29, 2014 at 3:09 AM, Andrew Morton a...@linux-foundation.org wrote: On Wed, 28 May 2014 11:59:55 +0400 Konstantin Khlebnikov koc...@gmail.com wrote: try_to_munlock() searches other mlocked vmas, it never unmaps pages. There is no reason for invalidation because ptes are left

[PATCH v4 3/3] mfd: intel_soc_pmic: Build files

2014-05-29 Thread Zhu, Lejun
This patch adds Intel SoC PMIC support to the build files. Signed-off-by: Yang, Bin bin.y...@intel.com Signed-off-by: Zhu, Lejun lejun@linux.intel.com --- v2: - Add select REGMAP_I2C. v3: - Add select REGMAP_IRQ. v4: - No change. --- drivers/mfd/Kconfig | 12

Re: [PATCH] Input: touchscreen : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Julia Lawall
@@ -618,39 +619,22 @@ static int mrstouch_probe(struct platform_device *pdev) input_set_abs_params(tsdev-input, ABS_PRESSURE, MRST_PRESSURE_MIN, MRST_PRESSURE_MAX, 0, 0); - err = request_threaded_irq(tsdev-irq, NULL, mrstouch_pendet_irq, -

[PATCH] usb: gadget: u_ether: synchronize with transmit when stopping queue

2014-05-29 Thread Vicentiu Neagoe
From: Jeff Westfahl jeff.westf...@ni.com When disconnecting, it's possible that another thread has already made it into eth_start_xmit before we call netif_stop_queue. This can lead to a crash as eth_start_xmit tries to use resources that gether_disconnect is freeing. Use netif_tx_lock/unlock

[PATCH v4 2/3] mfd: intel_soc_pmic: Crystal Cove support

2014-05-29 Thread Zhu, Lejun
This patch provides chip-specific support for Crystal Cove. Crystal Cove is the PMIC in Baytrail-T platform. Signed-off-by: Yang, Bin bin.y...@intel.com Signed-off-by: Zhu, Lejun lejun@linux.intel.com --- v2: - Add regmap_config for Crystal Cove. v3: - Convert IRQ config to regmap_irq_chip.

[PATCH] mm: make try_to_unmap_one static and cleanup ttu_flags

2014-05-29 Thread Konstantin Khlebnikov
Nowdays try_to_unmap_one() is used only inside mm/rmap.c, this patch makes it static. Also it transforms action part of ttu_flags into individiual bits. These flags aren't part of any uses-space visible api or even trace events. Signed-off-by: Konstantin Khlebnikov koc...@gmail.com ---

[PATCH v4 1/3] mfd: intel_soc_pmic: Core driver

2014-05-29 Thread Zhu, Lejun
This patch provides the common I2C driver code for Intel SoC PMICs. Signed-off-by: Yang, Bin bin.y...@intel.com Signed-off-by: Zhu, Lejun lejun@linux.intel.com --- v2: - Use regmap instead of creating our own I2C read/write callbacks. - Add one missing EXPORT_SYMBOL. - Remove duplicate code

[PATCH] gpio: Add support for Intel Crystal Cove PMIC

2014-05-29 Thread Zhu, Lejun
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 Baytrail-T platform is called Crystal Cove. This patch adds support for the GPIO function in Crystal Cove.

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

2014-05-29 Thread Fabian Frederick
Convert all printk to pr_foo() except KERN_DEBUG (see Documentation/CodingStyle Chapter 13) Cc: Josh Triplett j...@joshtriplett.org Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- lib/debugobjects.c | 12 +--- 1 file changed, 5

[PATCH V2 2/3] lib/debugobjects.c: add pr_fmt to logging

2014-05-29 Thread Fabian Frederick
Add ODEBUG: prefix to pr_fmt Cc: Josh Triplett j...@joshtriplett.org Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian Frederick f...@skynet.be --- lib/debugobjects.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/debugobjects.c

[PATCH V2 3/3] lib/debugobjects.c: convert printk(KERN_DEBUG to pr_debug

2014-05-29 Thread Fabian Frederick
Direct conversion of one KERN_DEBUG message without DEBUG definition (suggested by Josh Triplett) That message will now be disabled by default. (see Documentation/CodingStyle Chapter 13) Cc: Josh Triplett j...@joshtriplett.org Cc: Andrew Morton a...@linux-foundation.org Signed-off-by: Fabian

Re: [PATCH] Input: 88pm860x_onkey : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:31:23AM +0530, Himangi Saraogi wrote: This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. Also, the unnecesary labels are removed and the function

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-05-29 Thread Gioh Kim
I've not understand your code fully. Please let me ask some silly questions. 2014-05-28 오후 4:04, Joonsoo Kim 쓴 글: CMA is introduced to provide physically contiguous pages at runtime. For this purpose, it reserves memory at boot time. Although it reserve memory, this reserved memory can be used

Re: [PATCH] input: ab8500-ponkey: Allocate resources using managed interfaces

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:42:00AM +0530, Himangi Saraogi wrote: This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. Also, the unnecesary labels are removed and the function

Re: [PATCH] Input: max8925_onkey :Allocate resources using managed interfaces

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:40:14AM +0530, Himangi Saraogi wrote: This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. The unnecesary labels are removed and the function

Re: [PATCH] Input: 88pm860x-ts: Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 01:36:03AM +0530, Himangi Saraogi wrote: This patch moves most data allocated in the probe function from unmanaged interfaces to managed interfaces. The kfrees and error handling code is done away with. Also, the unnecesary labels are removed and the function

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

2014-05-29 Thread Dave Chinner
On Wed, May 28, 2014 at 07:42:40PM -0700, Linus Torvalds wrote: On Wed, May 28, 2014 at 6:30 PM, Dave Chinner da...@fromorbit.com wrote: You're focussing on the specific symptoms, not the bigger picture. i.e. you're ignoring all the other let's start IO triggers in direct reclaim. e.g

Re: [PATCH] bio: decrease bi_iter.bi_size by len in the fail path

2014-05-29 Thread Ming Lei
On Thu, May 29, 2014 at 2:06 PM, Jet Chen jet.c...@intel.com wrote: On 05/29/2014 01:44 AM, Ming Lei wrote: This patch works, thanks. Tested-by: Jet Chen jet.c...@intel.com Jet, thanks for your test. On Thu, May 29, 2014 at 3:04 PM, Maurizio Lombardi mlomb...@redhat.com wrote: Jens, can

[PATCH net] bridge: notify user space after fdb update

2014-05-29 Thread Jon Maxwell
There has been a number incidents recently where customers running KVM have reported that VM hosts on different Hypervisors are unreachable. Based on pcap traces we found that the bridge was broadcasting the ARP request out onto the network. However some NICs have an inbuilt switch which on

virtio ring cleanups, which save stack on older gcc

2014-05-29 Thread Rusty Russell
They don't make much difference: the easier fix is use gcc 4.8 which drops stack required across virtio block's virtio_queue_rq down to that kmalloc in virtio_ring from 528 to 392 bytes. Still, these (*lightly tested*) patches reduce to 432 bytes, even for gcc 4.6.4. Posted here FYI. Cheers,

Re: [PATCH] Input: touchscreen : Introduce the use of the managed version of kzalloc

2014-05-29 Thread Dmitry Torokhov
On Thu, May 29, 2014 at 09:20:20AM +0200, Julia Lawall wrote: @@ -618,39 +619,22 @@ static int mrstouch_probe(struct platform_device *pdev) input_set_abs_params(tsdev-input, ABS_PRESSURE, MRST_PRESSURE_MIN, MRST_PRESSURE_MAX, 0, 0); - err =

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

2014-05-29 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (arm multi_v7_defconfig) failed like this: drivers/tty/serial/sirfsoc_uart.c: In function 'sirfsoc_uart_rx_dma_complete_tl': drivers/tty/serial/sirfsoc_uart.c:707:2: error: 'struct uart_port' has no member named 'rx_lock' Caused by

[PATCH 2/4] virtio_net: pass well-formed sg to virtqueue_add_inbuf()

2014-05-29 Thread Rusty Russell
This is the only place which doesn't hand virtqueue_add_inbuf or virtqueue_add_outbuf a well-formed, well-terminated sg. Fix it, so we can make virtio_add_* simpler. Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/net/virtio_net.c | 2 ++ 1 file changed, 2 insertions(+) diff

[PATCH 1/4] Hack: measure stack taken by vring from virtio_blk

2014-05-29 Thread Rusty Russell
Results (x86-64, Minchan's .config): gcc 4.8.2: virtio_blk: stack used = 392 gcc 4.6.4: virtio_blk: stack used = 528 Signed-off-by: Rusty Russell ru...@rustcorp.com.au --- drivers/block/virtio_blk.c | 11 ++- drivers/virtio/virtio_ring.c | 11 +++ 2 files changed, 21

[PATCH 4/4] virtio_ring: unify direct/indirect code paths.

2014-05-29 Thread Rusty Russell
virtqueue_add() populates the virtqueue descriptor table from the sgs given. If it uses an indirect descriptor table, then it puts a single descriptor in the descriptor table pointing to the kmalloc'ed indirect table where the sg is populated. Previously vring_add_indirect() did the allocation

[PATCH 3/4] virtio_ring: assume sgs are always well-formed.

2014-05-29 Thread Rusty Russell
We used to have several callers which just used arrays. They're gone, so we can use sg_next() everywhere, simplifying the code. Before: gcc 4.8.2: virtio_blk: stack used = 392 gcc 4.6.4: virtio_blk: stack used = 528 After: gcc 4.8.2: virtio_blk: stack used = 392

Re: [PATCH] CMA: correct unlock target

2014-05-29 Thread Marek Szyprowski
Hello, On 2014-05-29 08:29, Joonsoo Kim wrote: 'cma: Remove potential deadlock situation' introduces per cma area mutex for bitmap management. It is good, but there is one mistake. When we can't find appropriate area in bitmap, we release cma_mutex global lock rather than cma-lock and this is a

Re: [PATCH 4/5] mfd: axp209x: Drop the parent supplies field

2014-05-29 Thread Lee Jones
Now that the regulator code get its parent supplies purely from the DT, we can drop the parent supplies resources in the MFD driver. Signed-off-by: Maxime Ripard maxime.rip...@free-electrons.com --- drivers/mfd/axp20x.c | 11 --- 1 file changed, 11 deletions(-) Acked-by: Lee

Re: virtio ring cleanups, which save stack on older gcc

2014-05-29 Thread Minchan Kim
Hello Rusty, On Thu, May 29, 2014 at 04:56:41PM +0930, Rusty Russell wrote: They don't make much difference: the easier fix is use gcc 4.8 which drops stack required across virtio block's virtio_queue_rq down to that kmalloc in virtio_ring from 528 to 392 bytes. Still, these (*lightly

Re: [PATCH v3 13/13] mmc: mmci: Add Qcom specific pio_read function.

2014-05-29 Thread Linus Walleij
On Wed, May 28, 2014 at 3:57 PM, Srinivas Kandagatla srinivas.kandaga...@linaro.org wrote: This doesn't look endianness agnostic. Shouldn't we use ioread32_rep() to read this fifo? Is'nt readl endianess aware? At least once a year read through arch/arm/include/asm/io.h static inline u32

Re: [PATCH v2 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-05-29 Thread Joonsoo Kim
On Thu, May 29, 2014 at 04:24:58PM +0900, Gioh Kim wrote: I've not understand your code fully. Please let me ask some silly questions. 2014-05-28 오후 4:04, Joonsoo Kim 쓴 글: CMA is introduced to provide physically contiguous pages at runtime. For this purpose, it reserves memory at boot

  1   2   3   4   5   6   7   8   9   10   >