[PATCH 4/13] incorrect use of init_completion fixup

2014-12-26 Thread Nicholas Mc Guire
The successive init_completion calls should be reinit_completion calls. patch against 3.19.0-rc1 linux-next Acked-by: Helge Deller Signed-off-by: Nicholas Mc Guire --- drivers/input/keyboard/hil_kbd.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/input/ke

[PATCH] net: wireless: rt2x00: use helper to check capability/requirement

2014-12-26 Thread Fred Chou
From: Fred Chou Use rt2x00_has_cap_flag macro to check rt2x00dev->cap_flags. Signed-off-by: Fred Chou --- drivers/net/wireless/rt2x00/rt2x00config.c | 4 ++-- drivers/net/wireless/rt2x00/rt2x00dev.c | 18 +- drivers/net/wireless/rt2x00/rt2x00firmware.c | 2 +- drivers

Re: [PATCH 4/4] PCI: quirk Atheros AR93xx to avoid bus reset

2014-12-26 Thread Andreas Hartmann
Hello Bjorn, I'm running this patch and the corresponding "[PATCH 3/4] PCI: Allow device quirks to exclude bus reset" patch meanwhile since a month w/ kernel 3.14.x and couldn't find any problem. Would it be possible to apply these patches to main kernel? Or even to lt-kernel 3.14? Thanks. kind

linux-next: Tree for Dec 26

2014-12-26 Thread Stephen Rothwell
Hi all, There will only be intermittent releases of linux-next between now and Jan 5. Changes since 20141221: New trees: omap, omap-pending and livepatching The rcu tree regained a build failure for which I reverted a commit. Non-merge commits (relative to Linus' tree): 835 853 files changed,

[PATCH v2 3/3] ARM: dts: berlin: correct BG2Q's SM GPIO location.

2014-12-26 Thread Jisheng Zhang
The gpio4 and gpio5 are in 0xf7fc apb which is located in the SM domain. This patch moves gpio4 and gpio5 to the correct location. This patch also renames them as the following to match the names we internally used in marvell: gpio4 -> sm_gpio1 gpio5 -> sm_gpio0 porte ->

[PATCH v2 1/3] ARM: dts: berlin: add pmu node for BG2Q and BG2CD

2014-12-26 Thread Jisheng Zhang
This patch adds the pmu node, enabling the PMU unit on Marvell BG2Q and BG2CD SoCs. Signed-off-by: Jisheng Zhang --- arch/arm/boot/dts/berlin2cd.dtsi | 5 + arch/arm/boot/dts/berlin2q.dtsi | 8 2 files changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/berlin2cd.dtsi b/arch/

[PATCH v2 0/3] ARM: dts: berlin: add PMU and twd's cpu mask and fix GPIO locations

2014-12-26 Thread Jisheng Zhang
These patches try to improve dts for berlin. One of them enables PMU support to BG2Q and BG2CD SoCs. One of them adds the missing PPI cpu mask to twd timer interrupts. The last one corrects the SM GPIOs' location for BG2Q SoC. Changes since v1: - Adds some text to the log of the second commit -

[PATCH v2 2/3] ARM: dts: berlin: add PPI cpu mask to twd timer interrupts

2014-12-26 Thread Jisheng Zhang
According to the gic binding document, "bits[15:8] PPI interrupt cpu mask. Each bit corresponds to each of the 8 possible cpus attached to the GIC. A bit set to '1' indicated the interrupt is wired to that CPU." This patch wants to add the PPI cpu mask for completeness. Signed-off-by: Jisheng Zh

[PATCH v4 0/3] Add Reset Controller for MediaTek SoC

2014-12-26 Thread Flora Fu
Hi, This driver implements the reset controller for MediaTek SoC. It adds support for MT8135 and MT8173 SoC in the patch set. The reset controller uses syscon as its regmap and adopts syscon RFC in https://lkml.org/lkml/2014/11/3/134. This driver is based on 3.19-rc1. Changes since v3 ==

[PATCH v4 1/3] reset: mediatek: Add Reset Controller for MediaTek SoC

2014-12-26 Thread Flora Fu
Add a driver in reset controller. Signed-off-by: Flora Fu --- drivers/reset/Makefile | 1 + drivers/reset/reset-mtk.c | 130 + .../dt-bindings/reset-controller/mt8135-resets.h | 64 ++ .../dt-bindings/reset-con

[PATCH v4 2/3] dt-bindings: Add Reset Controller for MediaTek SoC

2014-12-26 Thread Flora Fu
Add device tree bindings. Acked-by: Philipp Zabel Signed-off-by: Flora Fu --- .../devicetree/bindings/reset/mediatek,reset.txt | 52 ++ 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindings/reset/mediatek,reset.txt diff --git a/Documentati

[PATCH v4 3/3] arm: dts: mt8135: Add Reset Controller for MediaTek SoC

2014-12-26 Thread Flora Fu
Add reset controller to MT8135.dtsi. Acked-by: Philipp Zabel Signed-off-by: Flora Fu --- arch/arm/boot/dts/mt8135.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/mt8135.dtsi b/arch/arm/boot/dts/mt8135.dtsi index ec83e69..989e488 100644 -

[PATCH v4] mmc: dw_mmc: add quirk for broken data transfer over scheme

2014-12-26 Thread Addy Ke
This patch add a new quirk to add a s/w timer to notify the driver to terminate current transfer and report a data timeout to the core, if DTO interrupt does NOT come within the given time. dw_mmc call mmc_request_done func to finish transfer depends on DTO interrupt. If DTO interrupt does not com

Re: [PATCH 0/2] Change order of linkage in kernel makefiles for amdkfd

2014-12-26 Thread Laurent Pinchart
Hi Thierry, On Thursday 25 December 2014 14:20:59 Thierry Reding wrote: > On Mon, Dec 22, 2014 at 01:07:13PM +0200, Oded Gabbay wrote: > > This small patch-set, was created to solve the bug described at > > https://bugzilla.kernel.org/show_bug.cgi?id=89661 (Kernel panic when > > trying use amdkfd

Re: [PATCH] Drivers: bcma: Fix three coding style issues, more than 80 characters per line.

2014-12-26 Thread Rafał Miłecki
On 24 December 2014 at 08:20, Kalle Valo wrote: > Oscar Forner Martinez writes: > >> Three lines with more than 80 characters per line have been split in several >> lines. >> >> Signed-off-by: Oscar Forner Martinez >> --- >> drivers/bcma/driver_chipcommon.c | 10 +++--- >> 1 file changed,

Re: [PATCH 1/4] mtd: nand: atmel: Rework driver to separate nfc and nand nodes

2014-12-26 Thread Josh Wu
Hi, Boris On 12/5/2014 6:30 AM, Boris Brezillon wrote: mtd: nand: atmel: Update DT documentation after splitting NFC and NAND The NAND and NFC (NAND Flash Controller) were linked together with a parent <-> child relationship. This model has several drawbacks: - it does not allow for multiple N

Re: [PATCH 2/4] mtd: nand: atmel: Update DT documentation after splitting NFC and NAND

2014-12-26 Thread Josh Wu
Hi, Boris Thanks for the patch. You need to rebase on the top of current mtd-l2 git tree. As I had some change on the binding document. Best Regards, Josh Wu On 12/5/2014 6:30 AM, Boris Brezillon wrote: The NAND and NFC (NAND Flash Controller) were linked together with a parent <-> child re

panic at rb_next when do pick_next_task_fair because of rb_leftmost is NULL

2014-12-26 Thread Neil Zhang
Hi All, I encountered the following crash in 3.10.24. The panic log is as following. The strange thing is that the nr_running change to NULL after pass the check in the beginning of pick_next_task_fair. So it seems there are race condition in the code. Seems no related patch to fix it in the mainl

how to replace an existing I2C driver with my driver?

2014-12-26 Thread Nick Yao
Hi experts, The existing driver has compatibility issues with my devices, and there're other devices depend on the old driver. I want to replace the existing I2C driver with my own driver while not affect the other I2C devices. How can I do it? Thanks. BRs. Nick Yao -- To unsubscribe from th

Re: [PATCH net-next 2/2] tun: enable socket system calls

2014-12-26 Thread Jason Wang
On 12/26/2014 02:50 PM, Alex Gartrell wrote: > By setting private_data to a socket and private_data_is_socket to true, we > can use the socket syscalls. We also can't just blindly use private_data > anymore, so there's a __tun_file_get function that returns the container_of > private_data appropr

Re: [PATCH v7 1/3] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2014-12-26 Thread Laurent Pinchart
Hi Philipp, Thank you for the patch. On Tuesday 23 December 2014 14:09:16 Philipp Zabel wrote: > Decrementing the reference count of the previous endpoint node allows to > use the of_graph_get_next_endpoint function in a for_each_... style macro. > All current users of this function that pass a n

Re: [PATCH 4/4] ARM: at91/dt: sama5: move NAND nodes into board dts/dtsi

2014-12-26 Thread Josh Wu
Hi, Boris On 12/5/2014 6:30 AM, Boris Brezillon wrote: sama5d3 and sama5d4 SoCs provides several CS to interface with external memories, and in particular NAND chips. The NAND flash controller embedded in the these SoCs can connect to any of the available CS (each CS is assigned a memory range,

Re: [PATCH net-next 1/2] socket: Allow external sockets to use socket syscalls

2014-12-26 Thread Jason Wang
On 12/26/2014 02:50 PM, Alex Gartrell wrote: > Currently the "is-socket" test for a file compares the ops table pointer, > which is static and local to the socket.c. Instead, this adds a flag for > private_data_is_socket. This is an exceptionally long commit message for a > two-line patch. > > S

[PATCH 0/2] ARM: mediatek: Add MT8135 and MT8127 UART support

2014-12-26 Thread Eddie Huang
3.19-rc1 contains Joe's MT8135 & MT8127 basic support and sysirq driver patch. But still can not boot to shell due to lack UART device node in device tree. This patch enables MTK UART driver in multi_v7_defconfig and UART device node. This patch base on 3.19-rc1, and Joe's sysirq dts patch [1] [1

[PATCH 2/2] ARM: Add mediatek SoC UART support in defconfig

2014-12-26 Thread Eddie Huang
Add mediatek SoC UART support in multi_v7_defconfig Signed-off-by: Eddie Huang --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 2328fe7..fd0ff95 100644 --- a/arch/arm/confi

[PATCH 1/2] ARM: mediatek: add UART dts for mt8127 and mt8135

2014-12-26 Thread Eddie Huang
This add dts support for mt8127 and mt8135 SoC UART Signed-off-by: Eddie Huang --- arch/arm/boot/dts/mt8127.dtsi | 34 ++ arch/arm/boot/dts/mt8135.dtsi | 34 ++ 2 files changed, 68 insertions(+) diff --git a/arch/arm/boot/dts/mt812

Re: [PATCH 00/10] iio: KMX61 fixes

2014-12-26 Thread Jonathan Cameron
On 23/12/14 13:22, Daniel Baluta wrote: > This is a series of cleanups after Hartmut's review: > > * http://marc.info/?l=linux-iio&m=141859700810393&w=2 > * http://marc.info/?l=linux-iio&m=141859774010580&w=2 > * http://marc.info/?l=linux-iio&m=141859828910703&w=2 > * http:

Re: [PATCH] staging/iio/accel: checkpatch: fixed long lines by moving comments

2014-12-26 Thread Jonathan Cameron
On 22/12/14 13:48, Sudip Mukherjee wrote: > On Mon, Dec 22, 2014 at 02:23:42AM +0100, Helene Gsaenger wrote: >> Signed-off-by: Helene Gsaenger >> Signed-off-by: Simone Weiss >> --- >> drivers/staging/iio/accel/adis16203.h | 41 >> ++- >> 1 file changed, 31 insert

Re: [RFC PATCH 3/3] virtio-net: using single MSIX irq for each TX/RX queue pair

2014-12-26 Thread Jason Wang
On 12/26/2014 10:53 AM, Jason Wang wrote: > This patch try to reduce the number of MSIX irqs required for > virtio-net by sharing a MSIX irq for each TX/RX queue pair through > channels. If transport support channel, about half of the MSIX irqs > were reduced. > > Cc: Rusty Russell > Cc: Michael

[PATCH] add omap34xx temperature monitoring support

2014-12-26 Thread Pavel Machek
Signed-off-by: Pavel Machek diff --git a/drivers/hwmon/Kconfig b/drivers/hwmon/Kconfig index 6529c09..9007ca9 100644 --- a/drivers/hwmon/Kconfig +++ b/drivers/hwmon/Kconfig @@ -28,6 +28,10 @@ config HWMON_VID tristate default n +config SENSORS_OMAP34XX + bool "TI OMAP34xx

Re: [PATCH] staging : iio: meter: ade7759: fix space before , coding style issue

2014-12-26 Thread Jonathan Cameron
On 21/12/14 12:42, Mohammad Jamal wrote: > This patch solves the space before , coding style issue found by > checkpatch in ade7759.c > > Signed-off-by: Mohammad Jamal Fixed by Zachery Warren back in November. I'm a bit behind with sending stuff upstream so won't have hit anything other than the

Re: [PATCH] staging: iio: adc: ad7192: fix space before , coding style issue

2014-12-26 Thread Jonathan Cameron
On 21/12/14 12:35, Mohammad Jamal wrote: > This patch solves the space before , error of the checkpatch.pl > > Signed-off-by: Mohammad Jamal Also fixed in that earlier patch from Zachery. > --- > drivers/staging/iio/adc/ad7192.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > dif

Re: [PATCH v3 1/1] add support for Seagate BlackArmor NAS220

2014-12-26 Thread Evgeni Dobrev
Hello Sebastian, On Thu, Dec 25, 2014 at 02:08:12PM +0100, Sebastian Hesselbarth wrote: > On 22.12.2014 13:57, Evgeni Dobrev wrote: > >This patch adds support for Seagate BlackArmor NAS220. > > > >The Seagate BlackArmor NAS 220 is a NAS system based on Marvell 88f6192. It > >has > >32MB NAND and

Re: [RFC PATCH 0/3] Introduce IIO interface for fingerprint sensors

2014-12-26 Thread Jonathan Cameron
On 18/12/14 16:51, Lars-Peter Clausen wrote: > Adding V4L folks to Cc for more input. Thanks Lars - we definitely would need the v4l guys to agree to a driver like this going in IIO. (not that I'm convinced it should!) > > On 12/08/2014 03:10 PM, Baluta, Teodora wrote: >> Hello, >> >> On Vi, 2014-

Re: [PATCH v2] ALSA: atmel: fix building the ac97 driver for at91-multiplatform

2014-12-26 Thread Takashi Iwai
At Thu, 25 Dec 2014 11:48:37 +0100, Alexandre Belloni wrote: > > Hi, > > On 25/12/2014 at 11:19:04 +0100, Takashi Iwai wrote : > > At Sun, 21 Dec 2014 12:18:09 +0100, > > Alexandre Belloni wrote: > > > > > > From: Arnd Bergmann > > > > > > at91 will no longer export the mach/cpu.h and mach/har

[PATCH] Staging: line6: pcm: Corrected checkpatch notices in pcm.h

2014-12-26 Thread Damon Swayn
Fixed a coding style issue Signed-off-by: Damon Swayn --- drivers/staging/line6/pcm.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/line6/pcm.h b/drivers/staging/line6/pcm.h index 6aa0d46..5d87934 100644 --- a/drivers/staging/line6/pcm.h +++ b/drivers/

Re: [PATCH v2 1/3] iio: kfifo: Remove unused argument in iio_kfifo_allocate

2014-12-26 Thread Jonathan Cameron
On 19/12/14 17:39, Karol Wrona wrote: > indio_dev was unused in function body plus some small style fix - add new > lines after "if(sth) return sth" and before the last return statement. > > The argument was removed also in its client. > > Signed-off-by: Karol Wrona Good cleanup - some fuzz appl

Re: [PATCH v2 2/3] iio: kfifo: Add resource management devm_iio_kfifo_allocate/free

2014-12-26 Thread Jonathan Cameron
On 19/12/14 17:39, Karol Wrona wrote: > iio kfifo allocate/free gained their devm_ wrappers. > > Signed-off-by: Karol Wrona > Suggested-by: Jonathan Cameron Applied to the togreg branch of iio.git. One addition - added to the list of devm functions in Documentation/device-model/devres.txt > -

Re: [PATCH v2 3/3] iio: core: Get rid of misleading comment

2014-12-26 Thread Jonathan Cameron
On 19/12/14 17:39, Karol Wrona wrote: > This comment did not fit here. It explains why devm_kmalloc > uses dr_alloc. Generally is not needed at all. > A classic bit of cut and paste I guess. Anyhow, applied. Jonathan > Signed-off-by: Karol Wrona > --- > drivers/iio/industrialio-core.c |1

Re: [PATCH v3 2/2] iio: add driver for the TI DAC8554

2014-12-26 Thread Jonathan Cameron
On 15/12/14 11:39, Nikolaus Schulz wrote: > The TI DAC8554 is a quad-channel Digital-to-Analog Converter with an SPI > interface. > > Changes in v3: > * Small fixes in the documentation of struct dac8554_state > * Replace some magic constants with macros > * Replace memset on powerdown state array

[RFC] mm:change meminfo cached calculation

2014-12-26 Thread Wang, Yalin
This patch subtract sharedram from cached, sharedram can only be swap into swap partitions, they should be treated as swap pages, not as cached pages. Signed-off-by: Yalin Wang --- fs/proc/meminfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/proc/meminfo.c b/fs/proc/m

[GIT PULL] parisc fix for v3.19

2014-12-26 Thread Helge Deller
Hi Linus, please pull one patch for the parisc architecture for kernel 3.19 from git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git parisc-3.19-1 This patch unbreaks the kernel compilation on parisc with gcc-4.9. Thanks, Helge

deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-26 Thread Sedat Dilek
Hi, I creating Debian/Ubuntu packages using builddeb script ('make deb-pkg'). While I was doing a 'make distclean' and grep-ed for some patterns I saw that my debian/*tmp dirs were not deleted. $ ls debian/*tmp debian/fwtmp: DEBIAN lib usr debian/hdrtmp: DEBIAN lib usr debian/headertmp: DE

pull-request: wireless-drivers 2014-12-26

2014-12-26 Thread Kalle Valo
Hi Dave, here's my first wireless-drivers pull request after John's "retirement". I'll start this with few fixes for 3.19, changelog below. I used a signed tag to create this pull request, I hope that's ok. Please let me know if there are any problems. Kalle The following changes since commit

[PATCH] x86: Remove excess calculations for heap_end_ptr

2014-12-26 Thread Alexander Kuleshov
heap_end_ptr default value defined as _end+STACK_SZE-512, but STACK_SIZE is already 512. Signed-off-by: Alexander Kuleshov --- arch/x86/boot/header.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 16ef025..c69b870 100644

Re: [PATCH v3 1/5] iio: common: ssp_sensors: Add sensorhub driver

2014-12-26 Thread Jonathan Cameron
On 16/12/14 10:17, Karol Wrona wrote: > On 12/06/2014 03:09 PM, Jonathan Cameron wrote: >> On 05/12/14 19:54, Karol Wrona wrote: >>> Sensorhub is MCU dedicated to collect data and manage several sensors. >>> Sensorhub is a spi device which provides a layer for IIO devices. It >>> provides >>> som

Re: [PATCH v3 2/5] iio: sensorhub: Add sensorhub bindings

2014-12-26 Thread Jonathan Cameron
On 16/12/14 07:30, Karol Wrona wrote: > On 12/06/2014 03:29 PM, Jonathan Cameron wrote: >> On 05/12/14 19:54, Karol Wrona wrote: >>> Add sensorhub bindings for sensorhub on Galaxy Gear 2. >>> >>> Change-Id: I4ee25aef33c21a4662de230841de9a8684f2c26b >>> Signed-off-by: Karol Wrona >>> Acked-by: Kyun

Re: [PATCH v3 4/5] iio: common: ssp_sensors: Add sensorhub accelerometer sensor

2014-12-26 Thread Jonathan Cameron
On 08/12/14 10:41, Karol Wrona wrote: > On 12/06/2014 03:52 PM, Jonathan Cameron wrote: >> On 05/12/14 19:54, Karol Wrona wrote: >>> This patch adds accelerometer iio driver which uses sensorhub as data >>> provider. >>> >>> Change-Id: I4686741b7401ec5cbf4b5d0f2a5cc146fbe24d53 >>> Signed-off-by: Ka

[PATCH 0/3] OMAP3 temperature sensor

2014-12-26 Thread Sebastian Reichel
Hi, I've prepared an updated variant of the omap34xx temperature monitor driver. It's based on the N9 driver instead of the N900 driver (and thus has omap36xx support). The differences compared to the original driver are: * DT based * No includes from arch, instead uses syscon DT node + regmap

[PATCH 1/3] DT Binding for omap3 temperature sensor

2014-12-26 Thread Sebastian Reichel
OMAP34xx and OMAP36xx processors contain a register in the syscon area, which can be used to determine the SoCs temperature. This provides a DT binding specification for the temperature monitor. Signed-off-by: Sebastian Reichel --- .../bindings/hwmon/omap3-temperature.txt | 25

[PATCH 2/3] hwmon: Driver for OMAP3 temperature sensor

2014-12-26 Thread Sebastian Reichel
OMAP34xx and OMAP36xx processors contain a register in the syscon area, which can be used to determine the SoCs temperature. This patch provides a DT based driver for the temperature sensor based on an older driver written by Peter De Schrijver for the Nokia N900 and N9. Signed-off-by: Sebastian R

[PATCH 3/3] ARM: dts: OMAP34xx/36xx: Add temperature sensor

2014-12-26 Thread Sebastian Reichel
OMAP34xx and OMAP36xx processors contain a register in the syscon area, which can be used to determine the SoCs temperature. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap34xx.dtsi | 7 +++ arch/arm/boot/dts/omap36xx.dtsi | 7 +++ 2 files changed, 14 insertions(+) diff --gi

[PATCH] x86: Fix multiple coding style issues

2014-12-26 Thread Alexander Kuleshov
Signed-off-by: Alexander Kuleshov --- arch/x86/boot/header.S | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/boot/header.S b/arch/x86/boot/header.S index 16ef025..75f016b 100644 --- a/arch/x86/boot/header.S +++ b/arch/x86/boot/header.S @@ -211,7 +211,

Re: [PATCH] staging: iio: accel: sca3000_core.c: Remove unused function

2014-12-26 Thread Jonathan Cameron
On 20/12/14 14:53, Rickard Strandqvist wrote: > Remove the function sca3000_check_status() that is not used anywhere. > > This was partially found by using a static code analysis program called > cppcheck. > > Signed-off-by: Rickard Strandqvist Applied to the togreg branch of iio.git - initiall

Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'

2014-12-26 Thread Sedat Dilek
On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek wrote: [...] > > Any other make (PHONY) target I don't know? > I fell over "clean-dirs"... scripts/package/Makefile:93:clean-dirs += $(objtree)/debian/ ...but did not really understood how it works. The main Makefile defines some clean-dirs PHONY#s.

[PATCH 1/2] mm/zpool: add name argument to create zpool

2014-12-26 Thread Ganesh Mahendran
Currently the underlay of zpool: zsmalloc/zbud, do not know who creates them. There is not a method to let zsmalloc/zbud find which caller they belogs to. Now we want to add statistics collection in zsmalloc. We need to name the debugfs dir for each pool created. The way suggested by Minchan Kim i

[PATCH 2/2] mm/zsmalloc: add statistics support

2014-12-26 Thread Ganesh Mahendran
Keeping fragmentation of zsmalloc in a low level is our target. But now we still need to add the debug code in zsmalloc to get the quantitative data. This patch adds a new configuration CONFIG_ZSMALLOC_STAT to enable the statistics collection for developers. Currently only the objects statatitics

Re: [PATCH v5 18/18] Documentation: ACPI for ARM64

2014-12-26 Thread Mark Brown
On Wed, Dec 24, 2014 at 05:18:15PM +, Catalin Marinas wrote: > On Fri, Oct 17, 2014 at 02:37:14PM +0100, Hanjun Guo wrote: > > +ACPI drivers should only look at one specific ASL object -- the _DSD object > > +-- for device driver parameters (known in DT as "bindings", or "Device > > +Propertie

Re: [PATCH 1/8] iio: core: Introduce CALORIES channel type

2014-12-26 Thread Jonathan Cameron
On 19/12/14 22:57, Irina Tirdea wrote: > Some devices compute the number of calories that the user has > burnt since the last reset. > > One of this devices is Freescale's MMA9553L > (http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf) > that computes the number of calories bas

[PATCH v3] ALSA: atmel: fix building the ac97 driver for at91-multiplatform

2014-12-26 Thread Alexandre Belloni
From: Arnd Bergmann at91 will no longer export the mach/cpu.h and mach/hardware.h header files in the future, which would break building the atmel ac97c driver. Since the cpu_is_* check is only used to find out whether we are running on avr32 or arm/at91, we can hardcode that check in the ARM ca

Re: [PATCH 3/8] iio: core: Introduce SPEED channel type

2014-12-26 Thread Jonathan Cameron
On 19/12/14 22:57, Irina Tirdea wrote: > Some devices export the current speed value of the user. > > One of this devices is Freescale's MMA9553L > (http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf) > that computes the speed of the user based on the number of steps and > stri

Re: [PATCH 5/8] iio: core: Introduce IIO_CHAN_INFO_CALIBGENDER

2014-12-26 Thread Jonathan Cameron
On 19/12/14 22:57, Irina Tirdea wrote: > Some devices need the gender of the user to compute various > parameters. One of this devices is Freescale's MMA9553L > (http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf) > that needs the gender of the user to compute distance, speed an

Re: [PATCH 4/8] iio: core: Introduce IO_CHAN_INFO_CALIBWEIGHT

2014-12-26 Thread Jonathan Cameron
On 19/12/14 22:57, Irina Tirdea wrote: > Some devices need the weight of the user to compute other > parameters. One of this devices is Freescale's MMA9553L > (http://www.freescale.com/files/sensors/doc/ref_manual/MMA9553LSWRM.pdf) > that needs the weight of the user to compute the number of calori

Re: [PATCH 37/37] perf data: Implement 'split' subcommand

2014-12-26 Thread Jiri Olsa
On Wed, Dec 24, 2014 at 04:15:33PM +0900, Namhyung Kim wrote: > The perf data split command is for splitting a (large) single data > file into multiple files under a directory (perf.data.dir by default) > so that it can be processed and reported using multiple threads. > > Signed-off-by: Namhyung

Re: [RFC/PATCHSET 00/37] perf tools: Speed-up perf report by using multi thread (v1)

2014-12-26 Thread Jiri Olsa
On Wed, Dec 24, 2014 at 04:14:56PM +0900, Namhyung Kim wrote: SNIP > > > You can get it from 'perf/threaded-v1' branch on my tree at: > > git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git > > Please take a look and play with it. Any comments are welcome! :) very nice a

Re: [PATCH] x86: Fix multiple coding style issues

2014-12-26 Thread Jeremiah Mahler
Alexander, On Fri, Dec 26, 2014 at 06:38:59PM +0600, Alexander Kuleshov wrote: Your description needs to be more specific than just "coding style fixes". What type of problems did you fix? How did you find them? (more inline...) > Signed-off-by: Alexander Kuleshov > --- > arch/x86/boot/head

Re: [PATCH] x86: Remove excess calculations for heap_end_ptr

2014-12-26 Thread Jeremiah Mahler
Alexander, On Fri, Dec 26, 2014 at 06:22:42PM +0600, Alexander Kuleshov wrote: > heap_end_ptr default value defined as _end+STACK_SZE-512, but STACK_SIZE > STACK_SIZE is already 512. > > Signed-off-by: Alexander Kuleshov > --- > arch/x86/boot/header

[PATCH 1/3] stacktrace: add seq_print_stack_trace()

2014-12-26 Thread Stefan I. Strogin
Add a function seq_print_stack_trace() which prints stacktraces to seq_files. Signed-off-by: Stefan I. Strogin --- include/linux/stacktrace.h | 4 kernel/stacktrace.c| 17 + 2 files changed, 21 insertions(+) diff --git a/include/linux/stacktrace.h b/include/linux/s

[PATCH 3/3] cma: add functions to get region pages counters

2014-12-26 Thread Stefan I. Strogin
From: Dmitry Safonov Here are two functions that provide interface to compute/get used size and size of biggest free chunk in cma region. Added that information in cmainfo. Signed-off-by: Dmitry Safonov --- include/linux/cma.h | 2 ++ mm/cma.c| 34 +

[PATCH 0/3] mm: cma: /proc/cmainfo

2014-12-26 Thread Stefan I. Strogin
Hello all, Here is a patch set that adds /proc/cmainfo. When compiled with CONFIG_CMA_DEBUG /proc/cmainfo will contain information about about total, used, maximum free contiguous chunk and all currently allocated contiguous buffers in CMA regions. The information about allocated CMA buffers incl

[PATCH 2/3] mm: cma: introduce /proc/cmainfo

2014-12-26 Thread Stefan I. Strogin
/proc/cmainfo contains a list of currently allocated CMA buffers for every CMA area when CONFIG_CMA_DEBUG is enabled. Format is: - ( kB), allocated by \ (), latency us Signed-off-by: Stefan I. Strogin --- mm/cma.c | 202 +

[PATCH 6/27] cw1200: queue: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 20/27] usb: r8a66597-hcd: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 5/27] [media] usbvision: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 12/27] iwlwifi: dvm: main: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 23/27] usb: isp1760: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 10/27] xhci-mem: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 27/27] mwifiex: main: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 25/27] mwifiex: tdls: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 15/27] net: sxgbe: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 17/27] iwl3945: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 26/27] mwifiex: 11n_rxreorder: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

fanotify bug on gdb -- hard crash

2014-12-26 Thread ivo welch
I am not a kernel developer, so forgive the intrusion. I suspect I have found either a bug in gdb (less likely) or a bug in fanotify (more likely). it is replicable, and the code is almost unchanged from the example in the fanotify man page. to trigger it, all an su needs to do is to step throug

[PATCH 7/27] cw1200: main: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 13/27] iwlwifi: dvm: tt: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 24/27] orinoco_usb: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 11/27] ksz884x: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 21/27] usb: oxu210hp-hcd: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 16/27] ath6kl: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 14/27] leds: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 9/27] xhci: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 18/27] iwl4965: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 19/27] [media] pvrusb2: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 8/27] wireless: cw1200: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 22/27] usb: sl811-hcd: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

Re: 3.19-rc1 errors when opening LID

2014-12-26 Thread Rafael J. Wysocki
On Wednesday, December 24, 2014 07:51:48 PM Pali Rohár wrote: > > --nextPart5943893.pKyMBm5Emp > Content-Type: Text/Plain; > charset="utf-8" > Content-Transfer-Encoding: quoted-printable > > Hello! > > With new 3.19-rc1 kernel every time when I open LID on my laptop, kernel pr= > ints these er

[PATCH 0/27] Use setup_timer

2014-12-26 Thread Julia Lawall
These patches group a call to init_timer and initialization of the function and data fields into a call to setup_timer. Is there is no initialization of the data field before add_timer is called, the the data value is set to 0UL. If the data value has a cast to something other than unsigned long,

[PATCH 3/27] atl1e: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

[PATCH 2/27] [media] au0828: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -t.function = f; -t.data = d;

[PATCH 1/27] [media] s2255drv: Use setup_timer

2014-12-26 Thread Julia Lawall
Convert a call to init_timer and accompanying intializations of the timer's data and function fields to a call to setup_timer. A simplified version of the semantic match that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @@ expression t,f,d; @@ -init_timer(&t); +setup_timer(

  1   2   3   >