[PATCH v4 47/58] dmaengine: txx9: Rename device_control

2014-10-28 Thread Maxime Ripard
Rename the device_control callback of the TXX9 DMA driver to terminate_all since it's all it's really doing. That will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/txx9dmac.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff

[PATCH v4 52/58] dmaengine: nbpfaxi: Declare slave capabilities for the generic code

2014-10-28 Thread Maxime Ripard
Now that the generic slave caps code can make use of the device assigned capabilities, instead of relying on a callback to be implemented. Make use of this code. Signed-off-by: Maxime Ripard --- drivers/dma/nbpfaxi.c | 17 - 1 file changed, 4 insertions(+), 13 deletions(-)

[PATCH v4 45/58] dmaengine: pch-dma: Rename device_control

2014-10-28 Thread Maxime Ripard
Rename the device_control callback of the Intel PCH DMA driver to terminate_all since it's all it's really doing. That will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/pch_dma.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-)

[PATCH v4 54/58] dmaengine: pl330: Declare slave capabilities for the generic code

2014-10-28 Thread Maxime Ripard
Now that the generic slave caps code can make use of the device assigned capabilities, instead of relying on a callback to be implemented. Make use of this code. Signed-off-by: Maxime Ripard --- drivers/dma/pl330.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-) diff

Re: [PATCH] ASoC: add xtensa xtfpga I2S interface and platform

2014-10-28 Thread Mark Brown
On Tue, Oct 28, 2014 at 09:11:34PM +0300, Max Filippov wrote: > On Tue, Oct 28, 2014 at 8:38 PM, Mark Brown wrote: > > You *really* need to explain how it's supposed to work - right now it's > > not at all obvious, like I say the fact that this is a rarely used idiom > > is not helping. For

[PATCH v4 53/58] dmaengine: omap: Declare slave capabilities for the generic code

2014-10-28 Thread Maxime Ripard
Now that the generic slave caps code can make use of the device assigned capabilities, instead of relying on a callback to be implemented. Make use of this code. Signed-off-by: Maxime Ripard --- drivers/dma/omap-dma.c | 18 -- 1 file changed, 4 insertions(+), 14 deletions(-)

Re: [PATCH v5 07/12] leds: leds-gpio: Add support for GPIO descriptors

2014-10-28 Thread Rafael J. Wysocki
On Tuesday, October 28, 2014 04:26:25 PM Linus Walleij wrote: > On Fri, Oct 17, 2014 at 2:11 PM, Rafael J. Wysocki wrote: > > > From: Mika Westerberg > > > > GPIO descriptors are the preferred way over legacy GPIO numbers > > nowadays. Convert the driver to use GPIO descriptors internally but >

[PATCH v4 57/58] dmaengine: Add a warning for drivers not using the generic slave caps retrieval

2014-10-28 Thread Maxime Ripard
For the slave caps retrieval to be really useful, most drivers need to implement it. Hence, we need to be slightly more aggressive, and trigger a warning at registration time for drivers that don't fill their caps infos in order to encourage them to implement it. Signed-off-by: Maxime Ripard

[PATCH v4 55/58] dmaengine: sirf: Declare slave capabilities for the generic code

2014-10-28 Thread Maxime Ripard
Now that the generic slave caps code can make use of the device assigned capabilities, instead of relying on a callback to be implemented. Make use of this code. Signed-off-by: Maxime Ripard --- drivers/dma/sirf-dma.c | 16 +++- 1 file changed, 3 insertions(+), 13 deletions(-)

[PATCH v4 44/58] dmaengine: mv_xor: Remove device_control

2014-10-28 Thread Maxime Ripard
The Marvell XOR engine doesn't allow any operations that use to be defined in device_control, it shouldn't need to be defined. Since it's going to be deprecated, remove it altogether. Signed-off-by: Maxime Ripard --- drivers/dma/mv_xor.c | 9 - 1 file changed, 9 deletions(-) diff --git

[PATCH v4 56/58] dmaengine: sun6i: Declare slave capabilities for the generic code

2014-10-28 Thread Maxime Ripard
Now that the generic slave caps code can make use of the device assigned capabilities, instead of relying on a callback to be implemented. Make use of this code. Signed-off-by: Maxime Ripard --- drivers/dma/sun6i-dma.c | 9 + 1 file changed, 9 insertions(+) diff --git

[PATCH v4 58/58] dmaengine: Remove device_control and device_slave_caps

2014-10-28 Thread Maxime Ripard
Now that device_control has been split into several functions, and device_slave_caps rendered useless, we can safely remove them. Signed-off-by: Maxime Ripard Acked-by: Laurent Pinchart --- include/linux/dmaengine.h | 52 ++- 1 file changed, 6

[PATCH v4 32/58] dmaengine: nbpfaxi: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the NBPF AXI DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/nbpfaxi.c | 93 +-- 1 file

[PATCH v4 35/58] dmaengine: bam-dma: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the Qualcomm BAM DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/qcom_bam_dma.c | 85 +++--- 1 file

Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-10-28 Thread Linus Torvalds
On Tue, Oct 28, 2014 at 2:16 PM, Benjamin Herrenschmidt wrote: >> >> Can't you just do a full invalidate and a SW IPI for larger ranges? > > For us, this would be great except ... we can potentially have other > agents with an MMU that only support snooping of the broadcasts... Ugh. Oh well. I

[PATCH v4 37/58] dmaengine: sa11x0: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the SA-11x0 DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/sa11x0-dma.c | 158 +-- 1 file

[PATCH v4 39/58] dmaengine: sirf: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the SiRF Prima 2 DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/sirf-dma.c | 43 +-- 1 file changed,

[PATCH v4 34/58] dmaengine: pl330: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the AMBA PL330 DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/pl330.c | 108 ++-- 1 file

[PATCH v4 38/58] dmaengine: sh: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the Super-H DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard Acked-by: Laurent Pinchart --- drivers/dma/sh/shdma-base.c | 72

[PATCH v4 31/58] dmaengine: mxs: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the Freescale MXS DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/mxs-dma.c | 59 --- 1 file

[PATCH v4 36/58] dmaengine: s3c24xx: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the Samsung S3C24xxx DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/s3c24xx-dma.c | 75 +++ 1

[PATCH v4 40/58] dmaengine: sun6i: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the Allwinner A31 DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/sun6i-dma.c | 149 +--- 1 file

[PATCH v4 33/58] dmaengine: omap: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the TI OMAP DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. Signed-off-by: Maxime Ripard --- drivers/dma/omap-dma.c | 51 +++--- 1 file

[PATCH v4 29/58] dmaengine: fsl-dma: Split device_control

2014-10-28 Thread Maxime Ripard
Split the device_control callback of the Freescale Elo DMA driver to make use of the newly introduced callbacks, that will eventually be used to retrieve slave capabilities. While we're at it, remove the useless prep_sg callback. Signed-off-by: Maxime Ripard --- drivers/dma/fsldma.c | 91

[PATCH v4 00/58] dmaengine: Implement generic slave capabilities retrieval

2014-10-28 Thread Maxime Ripard
Hi, As we discussed a couple of weeks ago, this is the third attempt at creating a generic behaviour for slave capabilities retrieval so that generic layers using dmaengine can actually rely on that. That has been done mostly through two steps: by moving out the sub-commands of the

[PATCH v4 02/58] serial: at91: Use dmaengine_slave_config API

2014-10-28 Thread Maxime Ripard
We are removing the dmaengine_device_control API, that shouldn't even have been exposed in the first place. Change the callers to use the proper API. Signed-off-by: Maxime Ripard --- drivers/tty/serial/atmel_serial.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git

Re: [PATCHv2 1/3] x86, ptdump: Add section for EFI runtime services

2014-10-28 Thread Borislav Petkov
On Tue, Oct 28, 2014 at 10:14:25PM +0100, Mathias Krause wrote: > Oh, well. Have fun with that! I would take the "map kernel into EFI > page table" route instead. ;) Actually, I want to try to keep them completely separate and sync only before an EFI RT call for function arguments. And then

Re: [PATCH v2 2/3] ARM: dts: socfpga: fpga bridges bindings docs

2014-10-28 Thread atull
On Fri, 24 Oct 2014, Steffen Trumtrar wrote: > Hi! > Hi, I see that my documentation sucks and needs cleanup. I'll try to answer some of the flames and get a more coherent version out soon. > On Thu, Oct 23, 2014 at 06:51:06PM -0500, at...@opensource.altera.com wrote: > > From: Alan Tull >

Re: [PATCH v3 0/2] dmaengine: Add driver documentation

2014-10-28 Thread Maxime Ripard
On Tue, Oct 28, 2014 at 09:55:48PM +0100, Maxime Ripard wrote: > Hi, > > This is the third attempt at documenting how to write a dmaengine > driver. > > Changes from v2: > - English corrections from Randy Dunlap > - Reworked the burst explanations > - Reworked the interleaved transfers

[PATCH] 6fire: Convert byte_rev_table uses to bitrev8

2014-10-28 Thread Joe Perches
Use the inline function instead of directly indexing the array. This allows some architectures with hardware instructions for bit reversals to eliminate the array. Signed-off-by: Joe Perches --- On Sun, 2014-10-26 at 23:46 -0700, Joe Perches wrote: > On Mon, 2014-10-27 at 14:37 +0800, Wang,

[PATCH] carl9170: Convert byte_rev_table uses to bitrev8

2014-10-28 Thread Joe Perches
Use the inline function instead of directly indexing the array. This allows some architectures with hardware instructions for bit reversals to eliminate the array. Signed-off-by: Joe Perches --- On Sun, 2014-10-26 at 23:46 -0700, Joe Perches wrote: > On Mon, 2014-10-27 at 14:37 +0800, Wang,

Re: [PATCH v3] rtc: omap: add support for pmic_power_en

2014-10-28 Thread Andrew Morton
On Tue, 28 Oct 2014 09:36:33 +0100 Johan Hovold wrote: > > But it doesn't explain *why* we want the alarm to trigger before > > returning. > > Should we really require every power-off handler to document arch > behaviour (even if its inconsistent and currently undocumented); in > this case that

Re: [RFC PATCH 1/2] zap_pte_range: update addr when forcing flush after TLB batching faiure

2014-10-28 Thread Benjamin Herrenschmidt
On Tue, 2014-10-28 at 09:25 -0700, Linus Torvalds wrote: > > Since we have hardware broadcasting of TLB invalidations on ARM, it is > > in our interest to keep the number of outstanding operations as small as > > possible, particularly on large systems where we don't get the targetted > >

Re: [alsa-devel] [PATCH v2 5/6] sound/usb: pcm changes to use media token api

2014-10-28 Thread Shuah Khan
On 10/27/2014 06:52 AM, Mauro Carvalho Chehab wrote: > Em Sun, 26 Oct 2014 09:27:40 +0100 > Takashi Iwai escreveu: > > > Hmm... this is actually more complex than that. V4L2 driver doesn't > know if ALSA is streaming or not, or even if ALSA device node is opened > while he is touching at the

Re: Errors: Compiling 3.18-rc2

2014-10-28 Thread Felipe Balbi
On Tue, Oct 28, 2014 at 06:39:39PM -0200, Albino Biasutti Neto wrote: > 2014-10-28 17:45 GMT-02:00 Felipe Balbi : > > On Tue, Oct 28, 2014 at 05:41:53PM -0200, Albino Biasutti Neto wrote: > >> Hi > >> > >> I was compile kernel version 3.18-rc2, very errors: > >> > >> # make -j2 > >> > >>

Re: [PATCHv2 1/3] x86, ptdump: Add section for EFI runtime services

2014-10-28 Thread Mathias Krause
On 28 October 2014 21:13, Borislav Petkov wrote: > On Tue, Oct 28, 2014 at 08:48:23PM +0100, Mathias Krause wrote: >> I tried so too but failed early as well. I tried putting the EFI >> virtual mappings not in trampoline_pgd[511] but trampoline_pgd[510]. >> However, that didn't work out. I got

Re: overlayfs: "filesystem of lowerdir is not supported" on cdrom

2014-10-28 Thread Al Viro
On Tue, Oct 28, 2014 at 07:10:36PM +0100, Tim Tassonis wrote: > Hi > > Just installed 3.18-rc2 and tried to test the overlayfs stuff: > > $ mkdir /ovtmp > $ mount -t tmpfs tmpfs /ovtmp/ > $ mkdir /ovtmp/work > $ mkdir /ovtmp/upper > $ mkdir /cdrw > $ mount /dev/sr0 /mnt > $ mount |egrep

Re: [PATCH] ARM: multi_v7_defconfig: fix support for APQ8084

2014-10-28 Thread Arnd Bergmann
On Tuesday 21 October 2014 19:55:20 Srinivas Kandagatla wrote: > This patch enables configs required to boot IFC6540 board with atleast a > serial console. > > Without this patch there is no serial console. > > Signed-off-by: Srinivas Kandagatla > It wasn't really clear from your email what

Re: [PATCH v4] kernel: Add support for power-off handler call chain

2014-10-28 Thread Guenter Roeck
On Tue, Oct 28, 2014 at 09:58:53PM +0100, Heiko Stübner wrote: > Am Dienstag, 28. Oktober 2014, 10:11:06 schrieb Guenter Roeck: > > Various drivers implement architecture and/or device specific means to > > power off the system. For the most part, those drivers set the global > > variable

Re: [PATCH] fixup! net: pxa168_eth: Provide phy_interface mode on platform_data

2014-10-28 Thread Sebastian Hesselbarth
On 28.10.2014 21:49, David Miller wrote: From: Sebastian Hesselbarth Date: Sat, 25 Oct 2014 12:08:59 +0200 Do not add phy include to the board file but platform_data include instead. Signed-off-by: Sebastian Hesselbarth --- David, I should have compile tested this patch earlier. I did now

Re: [PATCH v2] input: fix BTN_TOUCH reporting in input_mt_report_pointer_emulation

2014-10-28 Thread Dmitry Torokhov
On Tue, Oct 28, 2014 at 04:47:56PM -0400, Benjamin Tissoires wrote: > Hi Chung-yih, > > On Mon, Oct 27, 2014 at 6:08 AM, Chung-yih Wang wrote: > > From the definition of BTN_TOUCH, BTN_TOOL_ and BTN_TOUCH codes > > are orthogonal. BTN_TOUCH should be zero if there is no physical contact > >

Re: [PATCH] soc: versatile: Add terminating entry for realview_soc_of_match

2014-10-28 Thread Arnd Bergmann
On Monday 20 October 2014 14:37:04 Linus Walleij wrote: > On Sun, Oct 19, 2014 at 5:41 PM, Axel Lin wrote: > > > The of_device_id table is supposed to be zero-terminated. > > > > Signed-off-by: Axel Lin > > Acked-by: Linus Walleij > > Arnd are you merging this directly into ARM SoC? >

Re: [PATCH] ARM: ixp4xx: remove compilation warnings in io.h

2014-10-28 Thread Arnd Bergmann
On Sunday 19 October 2014 19:49:45 Stefan Hengelein wrote: > When arch/arm/mach-ixp4xx/common-pci.c is compiled, two warnings > occur: > > arch/arm/mach-ixp4xx/include/mach/io.h:144: warning: passing argument 1 of > '__raw_readb' makes pointer from integer without a cast >

[PATCH v3 0/2] dmaengine: Add driver documentation

2014-10-28 Thread Maxime Ripard
Hi, This is the third attempt at documenting how to write a dmaengine driver. Changes from v2: - English corrections from Randy Dunlap - Reworked the burst explanations - Reworked the interleaved transfers explanations Maxime Ripard (2): Documentation: dmaengine: Move the current doc to

[PATCH v3 2/2] Documentation: dmaengine: Add a documentation for the dma controller API

2014-10-28 Thread Maxime Ripard
The dmaengine is neither trivial nor properly documented at the moment, which means a lot of trial and error development, which is not that good for such a central piece of the system. Attempt at making such a documentation. Signed-off-by: Maxime Ripard --- Documentation/dmaengine/provider.txt

[PATCH v3 1/2] Documentation: dmaengine: Move the current doc to a folder of its own

2014-10-28 Thread Maxime Ripard
Move the current client-side documentation to a subfolder to prepare the introduction of a provider-side API documentation. Signed-off-by: Maxime Ripard --- Documentation/{dmaengine.txt => dmaengine/client.txt} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename

Re: [PATCH v2] MAINTAINERS: Add myself as reviewer for Zynq

2014-10-28 Thread Arnd Bergmann
On Monday 27 October 2014 10:49:50 Sören Brinkmann wrote: > On Fri, 2014-10-24 at 10:45AM +0200, Michal Simek wrote: > > On 10/24/2014 10:30 AM, Arnd Bergmann wrote: > > > On Friday 24 October 2014 08:08:15 Michal Simek wrote: > > >> On 10/23/2014 06:29 PM, Soren Brinkmann wrote: > > >>>

Re: [PATCH RESEND 4/4] coccinelle: api: add spatch to prevent unnecessary .owner

2014-10-28 Thread Julia Lawall
Acked-by: Julia Lawall On Tue, 28 Oct 2014, Wolfram Sang wrote: > There are calls which silently set the owner of a module. This is the > preferred way [1], so avoid setting it manually. Currently, we only care > about platform drivers, but there might be more calls to be added later. > > [1]

[RFC PATCH 2/2] pinctrl: rockchip: Implement PIN_CONFIG_OUTPUT_DISABLE

2014-10-28 Thread Doug Anderson
If someone requests us to disable output for a pin, we'll configure it as an input. Signed-off-by: Doug Anderson --- drivers/pinctrl/pinctrl-rockchip.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c index

[RFC PATCH 1/2] pinctrl: Add output-disable

2014-10-28 Thread Doug Anderson
The pinctrl bindings / API allow you to specify that: - a pin should be an output - a pin should have its input path enabled / disabled ...but they don't allow you to tell a pin to stop outputting. Lets add a new setting for that just in case the bootloader (or the default state) left a pin as

Re: [PATCH v4] kernel: Add support for power-off handler call chain

2014-10-28 Thread Heiko Stübner
Am Dienstag, 28. Oktober 2014, 10:11:06 schrieb Guenter Roeck: > Various drivers implement architecture and/or device specific means to > power off the system. For the most part, those drivers set the global > variable pm_power_off to point to a function within the driver. > > This mechanism has

Re: [PATCH v2] timekeeping: Added a function to return tv_sec portion of ktime_get_real_ts64()

2014-10-28 Thread Thomas Gleixner
On Tue, 28 Oct 2014, Arnd Bergmann wrote: > On Tuesday 28 October 2014 21:31:32 Thomas Gleixner wrote: > > On Tue, 28 Oct 2014, Arnd Bergmann wrote: > > > On Tuesday 28 October 2014 18:13:09 Thomas Gleixner wrote: > > > I'd like to apply this patch to my y2038 branch and apply the > > > other

Re: [PATCH] fixup! net: pxa168_eth: Provide phy_interface mode on platform_data

2014-10-28 Thread David Miller
From: Sebastian Hesselbarth Date: Sat, 25 Oct 2014 12:08:59 +0200 > Do not add phy include to the board file but platform_data include > instead. > > Signed-off-by: Sebastian Hesselbarth > --- > David, > > I should have compile tested this patch earlier. I did now on > pxa168_defconfig right

Re: [PATCH v2] input: fix BTN_TOUCH reporting in input_mt_report_pointer_emulation

2014-10-28 Thread Benjamin Tissoires
Hi Chung-yih, On Mon, Oct 27, 2014 at 6:08 AM, Chung-yih Wang wrote: > From the definition of BTN_TOUCH, BTN_TOOL_ and BTN_TOUCH codes > are orthogonal. BTN_TOUCH should be zero if there is no physical contact > happened on device. With ABS_MT_DISTANCE information, the patch uses > touch_count

LED LAMPS PARcans Street lights Underground Light

2014-10-28 Thread LED Light
Dear Mr/Ms We hear that you are in the market for LED lamps We are a professional manufacturer of LED lamps the favorable price and high quality are satisfy difference market need here we enclose our latest catalogue to introduce our products. in detail you may also visit our online company

Re: [PATCH RESEND] PM / sleep: Fix racing timers

2014-10-28 Thread Sören Brinkmann
Hi Rafael, any opinion on this? Thanks, Sören On Thu, 2014-10-02 at 09:01AM -0700, Sören Brinkmann wrote: > Hi Rafael, > > On Tue, 2014-09-23 at 01:01AM +0200, Rafael J. Wysocki wrote: > > On Monday, September 22, 2014 10:07:03 AM Soren Brinkmann wrote: > > > On platforms that

Re: Errors: Compiling 3.18-rc2

2014-10-28 Thread Albino Biasutti Neto
2014-10-28 17:45 GMT-02:00 Felipe Balbi : > On Tue, Oct 28, 2014 at 05:41:53PM -0200, Albino Biasutti Neto wrote: >> Hi >> >> I was compile kernel version 3.18-rc2, very errors: >> >> # make -j2 >> >> fs/open.c:822:1: error: expected identifier or ‘(’ before ‘<<’ token >> <<< HEAD > > looks

[PATCH v8 2/8] OF: selftest: Add overlay self-test support. (v2)

2014-10-28 Thread Pantelis Antoniou
This patch adds overlay tests to the OF selftest. It tests overlay device addition/removal and whether the apply revert sequence is correct. Changes since V1: * Added local fixups entries. Signed-off-by: Pantelis Antoniou --- Documentation/devicetree/bindings/selftest.txt | 14 +

[PATCH v8 4/8] OF: platform: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
Add OF notifier handler needed for creating/destroying platform devices according to dynamic runtime changes in the DT live tree. Signed-off-by: Pantelis Antoniou --- drivers/base/platform.c | 18 +-- drivers/of/platform.c | 78 +

[PATCH v8 7/8] of: spi: Export single device registration method and accessors

2014-10-28 Thread Pantelis Antoniou
Dynamically inserting spi device nodes requires the use of a single device registration method. Rework and export it. Methods to lookup a device/master using a device node are added as well, of_find_spi_master_by_node() & of_find_spi_device_by_node(). Signed-off-by: Pantelis Antoniou ---

[PATCH v8 6/8] OF: i2c: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
Add OF notifier handler needed for creating/destroying i2c devices according to dynamic runtime changes in the DT live tree. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 79 +- 1 file changed, 78 insertions(+), 1 deletion(-) diff

[PATCH v8 8/8] OF: spi: Add OF notifier handler

2014-10-28 Thread Pantelis Antoniou
Add OF notifier handler needed for creating/destroying spi devices according to dynamic runtime changes in the DT live tree. Signed-off-by: Pantelis Antoniou --- drivers/spi/spi.c | 78 ++- 1 file changed, 77 insertions(+), 1 deletion(-) diff

[PATCH v8 5/8] of: i2c: Export single device registration method

2014-10-28 Thread Pantelis Antoniou
Dynamically inserting i2c client device nodes requires the use of a single device registration method. Rework and export it. Signed-off-by: Pantelis Antoniou --- drivers/i2c/i2c-core.c | 99 +++--- include/linux/i2c.h| 10 + 2 files changed,

[PATCH v8 3/8] OF: DT-Overlay configfs interface (v2)

2014-10-28 Thread Pantelis Antoniou
Add a runtime interface to using configfs for generic device tree overlay usage. A device-tree configfs entry is created in /config/device-tree/overlays * To create an overlay you mkdir the directory: # mkdir /config/device-tree/overlays/foo * Either you echo the overlay firmware file

[PATCH v8 1/8] OF: Introduce DT overlay support. (v2)

2014-10-28 Thread Pantelis Antoniou
Introduce DT overlay support. Makes it possible to dynamically overlay a part of the kernel's tree with another tree that's been dynamically loaded. Removal of nodes and properties is also possible. The hard part of applying and reverting the overlay is performed using changesets. Documentation

[PATCH v8 0/8] Device Tree Overlays - 8th time's the charm

2014-10-28 Thread Pantelis Antoniou
The following patchset introduces Device Tree overlays, a method of dynamically altering the kernel's live Device Tree, along with a generic interface to use it in a board agnostic manner. It is against linux mainline as of today 28/10/2014 "f7e87a44ef60ad379e39b45437604141453bf0ec" Merge tag

Re: [PATCH v2] timekeeping: Added a function to return tv_sec portion of ktime_get_real_ts64()

2014-10-28 Thread Arnd Bergmann
On Tuesday 28 October 2014 21:31:32 Thomas Gleixner wrote: > On Tue, 28 Oct 2014, Arnd Bergmann wrote: > > On Tuesday 28 October 2014 18:13:09 Thomas Gleixner wrote: > > I'd like to apply this patch to my y2038 branch and apply the > > other patches that need it on top, unless you want to still

[PATCH 3/5] of: Only call notifiers when node is attached

2014-10-28 Thread Pantelis Antoniou
Make sure we call notifier only when the node is attached. When a detatched tree is being constructed we do not want the notifiers to fire at all. Signed-off-by: Pantelis Antoniou --- drivers/of/base.c| 9 ++--- drivers/of/dynamic.c | 5 + 2 files changed, 7 insertions(+), 7

[PATCH 5/5] of: of_reconfig_get_state_change() of notifier helper.

2014-10-28 Thread Pantelis Antoniou
Introduce of_reconfig_get_state_change() which allows an of notifier to query about device state changes. Signed-off-by: Pantelis Antoniou --- drivers/of/dynamic.c | 96 include/linux/of.h | 1 + 2 files changed, 97 insertions(+) diff

[PATCH 4/5] of: Add old prop argument on OF_RECONFIG_UPDATE_PROPERTY

2014-10-28 Thread Pantelis Antoniou
The notifier now includes the old_prop argument when updating properties, propagate this API to changeset internals while also retaining the old behaviour of retrieving the old_property when NULL is passed. Signed-off-by: Pantelis Antoniou --- drivers/of/dynamic.c | 18 ++

[PATCH 2/5] of: testcases: Update with new local fixups format

2014-10-28 Thread Pantelis Antoniou
Update the selftests to using the new (and more readable) local fixups format. Signed-off-by: Pantelis Antoniou --- drivers/of/testcase-data/testcases.dts | 61 +- 1 file changed, 37 insertions(+), 24 deletions(-) diff --git

[PATCH 0/5] of: Resolver and dynamic updates

2014-10-28 Thread Pantelis Antoniou
The following patch-series implements a number of fixes to the dynamic DT handling of the kernel, and provides infrastructure that the upcoming Device Tree Overlay patchset will use. Pantelis Antoniou (5): of: resolver: Switch to new local fixups format. of: testcases: Update with new local

[PATCH 1/5] of: resolver: Switch to new local fixups format.

2014-10-28 Thread Pantelis Antoniou
The original resolver format is way too cryptic, switch to using a tree based format that gets rid of repetitions, is more compact and readable. Signed-off-by: Pantelis Antoniou --- drivers/of/resolver.c | 191 +++--- 1 file changed, 165

RFC -next: Converting dev_ function to return void

2014-10-28 Thread Joe Perches
I believe -next currently has no more uses of the dev_ return value, so it's possible to make these return void. There are dependencies on changes in drivers/net/wireless/ath that have just been pulled into next-20141028 but not earlier. Given the dependencies, when would be a good time

Re: CRASH during boot 3.16.3+

2014-10-28 Thread Peter Hurley
On 10/25/2014 11:18 AM, Udo van den Heuvel wrote: > Hello, > > Here's a 3.16.2 dmesg that is a tad m ore complete but still the usb > errors fill up the buffer. > I want to try a bisect and cloned Linus' tree but need commit numbers > for 3.16.2 and .3 to start the bisect process. > Where can I

Re: [PATCH v2] timekeeping: Added a function to return tv_sec portion of ktime_get_real_ts64()

2014-10-28 Thread Thomas Gleixner
On Tue, 28 Oct 2014, Arnd Bergmann wrote: > On Tuesday 28 October 2014 18:13:09 Thomas Gleixner wrote: > I'd like to apply this patch to my y2038 branch and apply the > other patches that need it on top, unless you want to still submit > it for 3.18. I think I should take these patches for 3.18.

[PATCH] configfs: Implement binary attributes (v3)

2014-10-28 Thread Pantelis Antoniou
ConfigFS lacked binary attributes up until now. This patch introduces support for binary attributes in a somewhat similar manner of sysfs binary attributes albeit with changes that fit the configfs usage model. Problems that configfs binary attributes fix are everything that requires a binary

Re: blk-mq vs cpu hotplug performance (due to percpu_ref_put performance)

2014-10-28 Thread Tejun Heo
On Tue, Oct 28, 2014 at 09:29:16PM +0100, Christian Borntraeger wrote: > Am 28.10.2014 21:22, schrieb Tejun Heo: > > On Tue, Oct 28, 2014 at 09:20:55PM +0100, Christian Borntraeger wrote: > >> I have not verified this, but I guess what happens is: > >> hotplug > >> -> notify > >> ->

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-28 Thread Randy Dunlap
On 10/27/14 06:13, Tomi Valkeinen wrote: > On 27/10/14 13:59, Jani Nikula wrote: > >>> While doing 'depends on' instead of 'select' is an "easy" fix for this, >>> I do dislike it quite a bit. It's a major pain to go around the kernel >>> config, trying to find all the dependencies that a

Re: blk-mq vs cpu hotplug performance (due to percpu_ref_put performance)

2014-10-28 Thread Christian Borntraeger
Am 28.10.2014 21:22, schrieb Tejun Heo: > On Tue, Oct 28, 2014 at 09:20:55PM +0100, Christian Borntraeger wrote: >> I have not verified this, but I guess what happens is: >> hotplug >> -> notify >> -> blk_mq_queue_reinit_notify >> -> blk_mq_queue_reinit >> -> blk_mq_freeze_queue >> ->

Re: [PATCH 03/10] mm: convert i_mmap_mutex to rwsem

2014-10-28 Thread Davidlohr Bueso
On Sat, 2014-10-25 at 01:45 +0300, Kirill A. Shutemov wrote: > On Fri, Oct 24, 2014 at 03:06:13PM -0700, Davidlohr Bueso wrote: > > diff --git a/mm/fremap.c b/mm/fremap.c > > index 72b8fa3..11ef7ec 100644 > > --- a/mm/fremap.c > > +++ b/mm/fremap.c > > @@ -238,13 +238,13 @@ get_write_lock: > >

Re: blk-mq vs cpu hotplug performance (due to percpu_ref_put performance)

2014-10-28 Thread Tejun Heo
On Tue, Oct 28, 2014 at 04:22:55PM -0400, Tejun Heo wrote: > On Tue, Oct 28, 2014 at 09:20:55PM +0100, Christian Borntraeger wrote: > > I have not verified this, but I guess what happens is: > > hotplug > > -> notify > > -> blk_mq_queue_reinit_notify > > -> blk_mq_queue_reinit > > ->

Re: hung tasks in 3.18.0-rc1-00221-gc3351df

2014-10-28 Thread Paul E. McKenney
On Tue, Oct 28, 2014 at 09:48:21PM +0200, Meelis Roos wrote: > > > > rcu: Make rcu_barrier() understand about missing rcuo kthreads > > > > > > I can not trigger the previous problem at will so my testing is not very > > > useful. I tested the previous patch that you sent but the problem did >

Re: linux-next: manual merge of the akpm-current tree with the dma-mapping tree

2014-10-28 Thread Andrew Morton
On Tue, 28 Oct 2014 07:54:09 +0100 Marek Szyprowski wrote: > Hello, > > On 2014-10-28 07:29, Andrew Morton wrote: > > On Tue, 28 Oct 2014 15:24:44 +1100 Stephen Rothwell > > wrote: > > > >> Today's linux-next merge of the akpm-current tree got a conflict in > >> mm/cma.c between commit

Re: [Patch Part2 v3 01/24] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-10-28 Thread Thomas Gleixner
On Tue, 28 Oct 2014, Marc Zyngier wrote: > On 28/10/14 19:37, Thomas Gleixner wrote: > > So while we are at it: > > > >> + if (irq_domain_is_hierarchy(domain)) { > >> + if (domain->ops->xlate) { > >> + /* > >> + * If we've already configured this

Re: [PATCH v3 1/4] mm/balloon_compaction: redesign ballooned pages management

2014-10-28 Thread Matt Mullins
On Tue, Oct 28, 2014 at 11:56:15PM +0400, Konstantin Khlebnikov wrote: > On Tue, Oct 28, 2014 at 9:47 PM, Matt Mullins wrote: > > On Sat, Sep 27, 2014 at 11:15:16PM +0400, Konstantin Khlebnikov wrote: > >> This patch fixes all of them. > > > > It seems to have rendered virtio_balloon completely

Re: blk-mq vs cpu hotplug performance (due to percpu_ref_put performance)

2014-10-28 Thread Tejun Heo
On Tue, Oct 28, 2014 at 09:20:55PM +0100, Christian Borntraeger wrote: > I have not verified this, but I guess what happens is: > hotplug > -> notify > -> blk_mq_queue_reinit_notify > -> blk_mq_queue_reinit > -> blk_mq_freeze_queue > -> percpu_ref_kill > -> percpu_ref_kill_and_confirm > ->

Re: blk-mq vs cpu hotplug performance (due to percpu_ref_put performance)

2014-10-28 Thread Christian Borntraeger
Am 28.10.2014 21:00, schrieb Tejun Heo: > Hello, > > On Tue, Oct 28, 2014 at 08:35:39PM +0100, Christian Borntraeger wrote: >> when going from 3.17 to 3.18-rc2 cpu hotplug become horrible slow on some >> KVM guests on s390 >> >> I was able to bisect this to >> >> commit

Re: [PATCH v7 1/2] mtd: nand: add sunxi NAND flash controller support

2014-10-28 Thread Boris Brezillon
Hi Brian, On Tue, 28 Oct 2014 11:13:11 -0700 Brian Norris wrote: > Hi Boris, > > On Tue, Oct 21, 2014 at 03:08:41PM +0200, Boris Brezillon wrote: > > +static int sunxi_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, > > + struct nand_ecc_ctrl *ecc, > > +

Re: [PATCH 1/3] genirq: Add support for priority-drop/deactivate interrupt controllers

2014-10-28 Thread Thomas Gleixner
On Tue, 28 Oct 2014, Marc Zyngier wrote: > On 28/10/14 15:32, Thomas Gleixner wrote: > > Let me make a few assumptions and correct me if I'm wrong as usual. > > > > 1) The startup/shutdown procedure for such an interrupt is the > >expensive mask/unmask which you want to avoid for the actual >

Re: [Patch Part2 v3 01/24] irqdomain: Introduce new interfaces to support hierarchy irqdomains

2014-10-28 Thread Marc Zyngier
On 28/10/14 19:37, Thomas Gleixner wrote: > On Tue, 28 Oct 2014, Yingjoe Chen wrote: >> On Tue, 2014-10-28 at 16:26 +0800, Jiang Liu wrote: >> >>> @@ -471,7 +469,7 @@ unsigned int irq_create_of_mapping(struct >>> of_phandle_args *irq_data) >>> struct irq_domain *domain; >>>

Re: [PATCHv2 1/3] x86, ptdump: Add section for EFI runtime services

2014-10-28 Thread Borislav Petkov
On Tue, Oct 28, 2014 at 08:48:23PM +0100, Mathias Krause wrote: > I tried so too but failed early as well. I tried putting the EFI > virtual mappings not in trampoline_pgd[511] but trampoline_pgd[510]. > However, that didn't work out. I got page faults when trying to invoke > EFI functions, as,

Re: [PATCH v8 8/8] ARM: multi_v7_defconfig: Enable Broadcom Cygnus

2014-10-28 Thread Arnd Bergmann
On Tuesday 28 October 2014 13:06:28 Scott Branden wrote: > On 14-10-28 01:01 PM, Arnd Bergmann wrote: > > On Tuesday 28 October 2014 12:53:12 Scott Branden wrote: > >> From: Ray Jui > >> > >> Enable Broadcom Cygnus platform support in multi_v7_defconfig > >> > >> Signed-off-by: Ray Jui > >>

Re: [PATCH] Input: i8042 - add mux quirk for HP EliteBook 8470p

2014-10-28 Thread Dmitry Torokhov
Hi Luis, On Tue, Oct 28, 2014 at 07:48:24PM +, Luis Henriques wrote: > This laptop requires active multiplexing to be enabled in order to be able > to separate the PS/2 mouse and the touchpad. > > Signed-off-by: Luis Henriques > --- > drivers/input/serio/i8042-x86ia64io.h | 7 +++ > 1

[PATCH v2] staging: skein: skein_api.c: removed space before ','

2014-10-28 Thread Mikael Svantesson
Signed-off-by: Mikael Svantesson --- drivers/staging/skein/skein_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/skein/skein_api.c b/drivers/staging/skein/skein_api.c index 6e700ee..5bfce07 100644 --- a/drivers/staging/skein/skein_api.c +++

Re: [PATCH v8 8/8] ARM: multi_v7_defconfig: Enable Broadcom Cygnus

2014-10-28 Thread Scott Branden
On 14-10-28 01:01 PM, Arnd Bergmann wrote: On Tuesday 28 October 2014 12:53:12 Scott Branden wrote: From: Ray Jui Enable Broadcom Cygnus platform support in multi_v7_defconfig Signed-off-by: Ray Jui Signed-off-by: Scott Branden Just to be sure: did you check that multi_v7_defconfig

Re: [PATCH 00/13] HID: add support of Logitech touchpads and special devices

2014-10-28 Thread Benjamin Tissoires
On Fri, Oct 3, 2014 at 7:09 AM, Jiri Kosina wrote: > On Thu, 2 Oct 2014, Andrew de los Reyes wrote: > >> I've tested these patches successfully on a Chromebook Pixel with the >> following devices: >> >> - T650 touchpad >> - TK820 keyboard/touchpad >> - Original WTP touchpad >> >> I also tested a

Re: [PATCH v4] kernel: Add support for power-off handler call chain

2014-10-28 Thread Guenter Roeck
On Tue, Oct 28, 2014 at 07:23:12PM +0100, Pavel Machek wrote: > On Tue 2014-10-28 10:11:06, Guenter Roeck wrote: > > Various drivers implement architecture and/or device specific means to > > power off the system. For the most part, those drivers set the global > > variable pm_power_off to point

Re: [PATCH] HID: usbhid: prevent unwanted events to be sent when re-opening the device

2014-10-28 Thread Benjamin Tissoires
On Tue, Sep 30, 2014 at 2:28 PM, Benjamin Tissoires wrote: > When events occurs while no one is listening to the node (hid->open == 0 > and usb_kill_urb() called) some events are still stacked somewhere in > the USB (kernel or device?) stack. When the node gets reopened, these > events are

Re: [PATCH v8 8/8] ARM: multi_v7_defconfig: Enable Broadcom Cygnus

2014-10-28 Thread Arnd Bergmann
On Tuesday 28 October 2014 12:53:12 Scott Branden wrote: > From: Ray Jui > > Enable Broadcom Cygnus platform support in multi_v7_defconfig > > Signed-off-by: Ray Jui > Signed-off-by: Scott Branden > Just to be sure: did you check that multi_v7_defconfig contains all the drivers you need

<    1   2   3   4   5   6   7   8   9   10   >