Re: [PATCH] tpm_tis: Verify ACPI-specified interrupt

2014-08-22 Thread Peter Hüwe
CC: Luigi, he works at Google and is responsible for the TPMs in Chromebooks ;) Thanks, Peter Am Freitag, 22. August 2014, 22:32:41 schrieb Jason Gunthorpe: On Fri, Aug 22, 2014 at 08:17:27PM +, Scot Doyle wrote: On Fri, 22 Aug 2014, Jason Gunthorpe wrote: On Fri, Aug 22, 2014 at

RE: [PATCH] checkpatch: look for common misspellings

2014-08-22 Thread Elliott, Robert (Server Storage)
From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Joe Perches ... +chang||change Although there are at least 2 misuses in the current kernel, that's also a fairly common name. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] ARM: dts: DRA7: fix interrupt-cells for GPIO

2014-08-22 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140818 11:49]: On 07/30/2014 02:20 PM, Nishanth Menon wrote: GPIO modules are also interrupt sources. However, they require both the GPIO number and IRQ type to function properly. By declaring that GPIO uses interrupt-cells=1, we essentially do not allow

Re: [PATCH 01/19] ARM: OMAP: fix %d confusingly prefixed with 0x in format string

2014-08-22 Thread Tony Lindgren
* Hans Wennborg h...@hanshq.net [140803 17:21]: Signed-off-by: Hans Wennborg h...@hanshq.net --- arch/arm/mach-omap2/id.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/id.c b/arch/arm/mach-omap2/id.c index d42022f..53841de 100644 ---

CIJ inks

2014-08-22 Thread John
Dear Sir, Glad to hear you're on the market for CIJ inks. This is Kingsfang(Xiamen)ImportExport Co.,Ltd in China.We specialized in the production of replacement of inkjet printer ink,such as Imaje, Domino, Videojet, Linx, Willet, Hitachi, KGK and so on, we have our own factory. For all

Re: [PATCH 1/3] mtd: nand: omap: Revert to using software ECC by default

2014-08-22 Thread Tony Lindgren
* Grazvydas Ignotas nota...@gmail.com [140806 15:57]: On Wed, Aug 6, 2014 at 11:02 AM, Roger Quadros rog...@ti.com wrote: Hi Gražvydas, On 08/05/2014 07:15 PM, Grazvydas Ignotas wrote: On Tue, Aug 5, 2014 at 1:11 PM, Roger Quadros rog...@ti.com wrote: For v3.12 and prior, 1-bit Hamming

[PATCH 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-22 Thread Javier Martinez Canillas
Many Exynos devices have a display panel, most of them just have a simple panel while others have more complex configurations that requires an embedded DisplayPort (eDP) to LVDS display bridge. This patch enables the following features to support both setups: - Direct Rendering Manager (DRM) -

Re: [PATCH 0/7] MIPS: Move device-tree files to a common location

2014-08-22 Thread Jonas Gorski
On Sat, Aug 23, 2014 at 12:10 AM, Andrew Bresticker abres...@chromium.org wrote: On Fri, Aug 22, 2014 at 1:57 PM, David Daney ddaney.c...@gmail.com wrote: On 08/22/2014 01:42 PM, Florian Fainelli wrote: On Aug 21, 2014 3:05 PM, Andrew Bresticker abres...@chromium.org

Re: [PATCH] checkpatch: look for common misspellings

2014-08-22 Thread Joe Perches
On Fri, 2014-08-22 at 23:00 +, Elliott, Robert (Server Storage) wrote: From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Joe Perches ... +chang||change Although there are at least 2 misuses in the current kernel, that's also a fairly

Re: [PATCH v2] carl9170: Remove redundant protection check

2014-08-22 Thread Eric Dumazet
On Fri, 2014-08-22 at 23:53 +0200, Christian Lamparter wrote: The sta_info-agg[tid] check is not needed (for reference, see [0]). (There is already a check in mac80211 which prevents the leak of sta_info-agg[tid] [1]). Regards Christian [0] https://lkml.org/lkml/2014/8/20/725 [1]

Re: [PATCH v2 3/3] tg3: Fix tx_pending checks for tg3_tso_bug

2014-08-22 Thread Prashant Sreedharan
Benjamin, thanks for the patch. Broadcom QA will be testing the changes. Couple of comments below. segs = skb_gso_segment(skb, tp-dev-features ~(NETIF_F_TSO | NETIF_F_TSO6)); - if (IS_ERR(segs) || !segs) + if (IS_ERR_OR_NULL(segs))

Re: [Xen-devel] [V0 PATCH 1/2] AMD-PVH: set EFER.NX and EFER.SCE for the boot vcpu

2014-08-22 Thread Mukesh Rathor
On Fri, 22 Aug 2014 12:09:27 -0700 Mukesh Rathor mukesh.rat...@oracle.com wrote: On Fri, 22 Aug 2014 06:41:40 +0200 Borislav Petkov b...@alien8.de wrote: On Thu, Aug 21, 2014 at 07:46:56PM -0700, Mukesh Rathor wrote: Intel doesn't have EFER.NX bit. Of course it does. Right, it

Re: [PATCH] checkpatch: look for common misspellings

2014-08-22 Thread Kees Cook
On Fri, Aug 22, 2014 at 4:22 PM, Joe Perches j...@perches.com wrote: On Fri, 2014-08-22 at 23:00 +, Elliott, Robert (Server Storage) wrote: From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Joe Perches ... +chang||change Although

Re: [PATCH] Kconfig: do not select SPI bus on sub-driver auto-select

2014-08-22 Thread Randy Dunlap
On 08/22/14 10:04, Jeff Mahoney wrote: On Fri Aug 22 13:02:09 2014, Antti Palosaari wrote: We should not select SPI bus when sub-driver auto-select is selected. That option is meant for auto-selecting all possible ancillary drivers used for selected board driver. Ancillary drivers should

[PATCH] purgatory: add clean-up for purgatory directory

2014-08-22 Thread Michael Welling
Without this patch the kexec-purgatory.c and purgatory.ro files are not removed after make mrproper. Signed-off-by: Michael Welling mwell...@ieee.org --- arch/x86/Makefile |1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/Makefile b/arch/x86/Makefile index c96bcec..60087ca 100644

[PATCH RESEND] firmware: Update information in linux.git about adding firmware

2014-08-22 Thread Ben Hutchings
Kyle McMartin recently joined the linux-firmware maintainers, and we now have an alias linux-firmw...@kernel.org which reaches all of us. Include that instead of the individual addresses. Add some further recommendations that were already included in the README in linux-firmware.git added by Xose

Re: [PATCH 1/2] leds: usb: Add LED trigger for USB gadget activity

2014-08-22 Thread Bryan Wu
On Fri, Aug 22, 2014 at 2:42 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Fri, Aug 22, 2014 at 10:39:03AM -0700, Bryan Wu wrote: On Fri, Aug 22, 2014 at 4:53 AM, Michal Sojka so...@merica.cz wrote: With this patch, USB gadget activity can be signaled by blinking a LED. Since

Re: [PATCH 1/2] leds: usb: Add LED trigger for USB gadget activity

2014-08-22 Thread Michal Sojka
Hi Felipe, On Fri, Aug 22 2014, Felipe Balbi wrote: Hi, On Fri, Aug 22, 2014 at 01:53:12PM +0200, Michal Sojka wrote: With this patch, USB gadget activity can be signaled by blinking a LED. Since there is no generic code where to put the trigger for all USB controllers, each USB

Re: [PATCH 1/2] leds: usb: Add LED trigger for USB gadget activity

2014-08-22 Thread Michal Sojka
On Fri, Aug 22 2014, Greg Kroah-Hartman wrote: On Fri, Aug 22, 2014 at 10:39:03AM -0700, Bryan Wu wrote: On Fri, Aug 22, 2014 at 4:53 AM, Michal Sojka so...@merica.cz wrote: With this patch, USB gadget activity can be signaled by blinking a LED. Since there is no generic code where to put

[PATCH] staging: fix style in lustre_import.h

2014-08-22 Thread Spencer Baugh
This patch fixes style errors and warnings reported by scripts/checkpatch.pl Signed-off-by: Spencer Baugh sba...@andrew.cmu.edu --- .../staging/lustre/lustre/include/lustre_import.h | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git

Re: [PATCH] Kconfig: do not select SPI bus on sub-driver auto-select

2014-08-22 Thread Jeff Mahoney
On Fri Aug 22 19:34:12 2014, Randy Dunlap wrote: On 08/22/14 10:04, Jeff Mahoney wrote: On Fri Aug 22 13:02:09 2014, Antti Palosaari wrote: We should not select SPI bus when sub-driver auto-select is selected. That option is meant for auto-selecting all possible ancillary drivers used for

[PATCH v4] spi: spi-imx: add DMA support

2014-08-22 Thread Robin Gong
After enable DMA spi-nor read speed is dd if=/dev/mtd0 of=/dev/null bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied, 0.720402 s, 1.5 MB/s spi-nor write speed is dd if=/dev/zero of=/dev/mtd0 bs=1M count=1 1+0 records in 1+0 records out 1048576 bytes (1.0 MB) copied,

[PATCH v2 3/3] usb: Add LED trigger for USB gadget activity

2014-08-22 Thread Michal Sojka
With this patch, USB gadget activity can be signaled by blinking a LED. Since there is no generic code where to put the trigger for all USB controllers, each USB controller needs to call the trigger individually. This patch adds the call only for the musb controller where I can test it.

[PATCH v2 2/3] usb: Add LED trigger for USB host activity

2014-08-22 Thread Michal Sojka
With this patch, USB host activity can be signaled by blinking a LED. This should work with all host controllers. Tested only with musb. Signed-off-by: Michal Sojka so...@merica.cz --- drivers/usb/core/Kconfig | 9 + drivers/usb/core/Makefile | 1 + drivers/usb/core/hcd.c| 2 ++

[PATCH v2 0/3] LED triggers for USB host and device

2014-08-22 Thread Michal Sojka
This adds LED triggers for USB host and device. Changes from v1: - Moved from drivers/leds/ to drivers/usb/ - Improved Kconfig help - Linked with other modules rather than being standalone modules Michal Sojka (3): usb: Add missing #include usb: Add LED trigger for USB host activity usb:

[PATCH v2 1/3] usb: Add missing #include

2014-08-22 Thread Michal Sojka
linux/usb/hcd.h needs the definition of struct usb_bus. Signed-off-by: Michal Sojka so...@merica.cz --- include/linux/usb/hcd.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/usb/hcd.h b/include/linux/usb/hcd.h index 485cd5e..b43f0fe 100644 --- a/include/linux/usb/hcd.h +++

[PATCH 1/2] dt-bindings: document Rockchip thermal

2014-08-22 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng z...@rock-chips.com Signed-off-by: Caesar Wang caesar.w...@rock-chips.com --- .../bindings/thermal/rockchip-thermal.txt | 33 1 file changed, 33

[PATCH 2/2] thermal: rockchip: add driver for Rockchip thermal

2014-08-22 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output,and the results Were

[PATCH 0/2] Rockchip SoC thermal driver

2014-08-22 Thread Caesar Wang
This series adds support for the thermal Found on Rockhip SoCs. Caesar Wang (2): dt-bindings: document Rockchip thermal thermal: rockchip: add driver for Rockchip thermal Tested on rk3288 Board. .../bindings/thermal/rockchip-thermal.txt | 33 + drivers/thermal/Kconfig

Re: [PATCH] leds: make led_blink_set IRQ safe

2014-08-22 Thread Bryan Wu
On Tue, Aug 19, 2014 at 6:51 PM, Hugh Dickins hu...@google.com wrote: On Tue, 19 Aug 2014, Vincent Donnefort wrote: This patch introduces a work which take care of reseting the blink workqueue and avoid calling the cancel_delayed_work_sync function which may sleep, from an IRQ context.

Re: [PATCH v2 00/14] Add support for parameterized events from sysfs

2014-08-22 Thread Sukadev Bhattiprolu
Jiri Olsa [jo...@redhat.com] wrote: snip | Description of the sysfs contents when events are parameterized (copied from an | included patch): | | Examples: | | domain=0x1,offset=0x8,starting_index=phys_cpu | | In the case of the last example, a value replacing

Re: [PATCH v2 0/3] LED triggers for USB host and device

2014-08-22 Thread Bryan Wu
On Fri, Aug 22, 2014 at 5:08 PM, Michal Sojka so...@merica.cz wrote: This adds LED triggers for USB host and device. Changes from v1: - Moved from drivers/leds/ to drivers/usb/ - Improved Kconfig help - Linked with other modules rather than being standalone modules Michal Sojka (3):

Re: [PATCH 0/7] MIPS: Move device-tree files to a common location

2014-08-22 Thread Andrew Bresticker
On Fri, Aug 22, 2014 at 4:16 PM, Jonas Gorski j...@openwrt.org wrote: On Sat, Aug 23, 2014 at 12:10 AM, Andrew Bresticker abres...@chromium.org wrote: On Fri, Aug 22, 2014 at 1:57 PM, David Daney ddaney.c...@gmail.com wrote: On 08/22/2014 01:42 PM, Florian Fainelli wrote: On Aug 21, 2014

Re: [PATCH][SCSI] fix regression in SCSI_IOCTL_SEND_COMMAND

2014-08-22 Thread Douglas Gilbert
On 14-08-22 03:53 PM, Tony Battersby wrote: blk_rq_set_block_pc() memsets rq-cmd to 0, so it should come immediately after blk_get_request() to avoid overwriting the user-supplied CDB. Also check for failure to allocate rq. Fixes: f27b087b81b7 (block: add blk_rq_set_block_pc()) Cc:

Re: [PATCH v2 2/3] usb: Add LED trigger for USB host activity

2014-08-22 Thread Bryan Wu
On Fri, Aug 22, 2014 at 5:08 PM, Michal Sojka so...@merica.cz wrote: With this patch, USB host activity can be signaled by blinking a LED. This should work with all host controllers. Tested only with musb. Signed-off-by: Michal Sojka so...@merica.cz --- drivers/usb/core/Kconfig | 9

Re: [PATCH][SCSI] fix regression in SCSI_IOCTL_SEND_COMMAND

2014-08-22 Thread Christoph Hellwig
On Fri, Aug 22, 2014 at 08:28:27PM -0400, Douglas Gilbert wrote: To test this ioctl one option is to get the sg3_utils package and build scsi_ioctl.c in the examples directory with 'make scsi_ioctl'. In lk 3.17-rc1, scsi_ioctl indicates that SCSI_IOCTL_SEND_COMMAND is not working. In my test

Re: [PATCH v2 1/2] pmbus: add regulator support

2014-08-22 Thread atull
On Fri, 22 Aug 2014, Mark Brown wrote: On Fri, Aug 22, 2014 at 04:11:33PM -0500, at...@opensource.altera.com wrote: + if (pdata pdata-reg_init_data) { + config.init_data = pdata-reg_init_data; + } else { + config.init_data = of_get_regulator_init_data(dev, np);

Re: [PATCH][SCSI] scsi-mq: fix requests that use a separate CDB buffer

2014-08-22 Thread Douglas Gilbert
On 14-08-22 03:53 PM, Tony Battersby wrote: This patch fixes code such as the following with scsi-mq enabled: rq = blk_get_request(...); blk_rq_set_block_pc(rq); rq-cmd = my_cmd_buffer; /* separate CDB buffer */ blk_execute_rq_nowait(...); Code like this appears in e.g.

Re: [PATCH v2 0/3] x86: PER_CPU segment improvements

2014-08-22 Thread Andy Lutomirski
On Wed, Jul 30, 2014 at 3:07 PM, Andy Lutomirski l...@amacapital.net wrote: x86 sets up a per-cpu GDT entry so that vgetcpu can use LSL on it to determine the CPU number and node. hpa, if/when you apply this, can you put it onto a fresh branch based on something at least as new as 3.17-rc1? It

Re: [PATCH][SCSI] scsi-mq: fix requests that use a separate CDB buffer

2014-08-22 Thread Douglas Gilbert
On 14-08-22 08:52 PM, Douglas Gilbert wrote: On 14-08-22 03:53 PM, Tony Battersby wrote: This patch fixes code such as the following with scsi-mq enabled: rq = blk_get_request(...); blk_rq_set_block_pc(rq); rq-cmd = my_cmd_buffer; /* separate CDB buffer */

Re: [PATCH v2] carl9170: Remove redundant protection check

2014-08-22 Thread Christian Lamparter
On Friday, August 22, 2014 04:23:19 PM Eric Dumazet wrote: On Fri, 2014-08-22 at 23:53 +0200, Christian Lamparter wrote: The sta_info-agg[tid] check is not needed (for reference, see [0]). (There is already a check in mac80211 which prevents the leak of sta_info-agg[tid] [1]).

Re: [ANNOUNCE] (Resend) Tools to analyse PM and scheduling behaviour

2014-08-22 Thread Sundar
Hi Amit, On Tue, Aug 19, 2014 at 11:11 AM, Amit Kucheria amit.kuche...@linaro.org wrote: We’re soliciting early feedback from community on the direction of idlestat Nice :) Idlestat Details Idlestat uses FTRACE to capture traces related to C-state and P-state transitions

Re: [PATCH v5 2/3] mfd: qcom-rpm: Driver for the Qualcomm RPM

2014-08-22 Thread Bjorn Andersson
On Fri, Aug 22, 2014 at 12:50 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 21 Aug 2014, Bjorn Andersson wrote: On Thu 21 Aug 06:22 PDT 2014, Lee Jones wrote: +struct qcom_rpm *dev_get_qcom_rpm(struct device *dev) +{ + return dev_get_drvdata(dev); +}

Re: [PATCH v2] arch: Kconfig: Let all little endian architectures define CPU_LITTLE_ENDIAN explicitly

2014-08-22 Thread Chen Gang
On 8/22/14 19:09, Michal Marek wrote: Dne 13.8.2014 10:03, Geert Uytterhoeven napsal(a): CC kbuild On Wed, Aug 13, 2014 at 12:48 AM, Chen Gang gang.chen.5...@gmail.com wrote: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index c49a775..0510a5d 100644 --- a/arch/arm/Kconfig +++

Re: [PATCH net-next 0/4] r8152: firmware support

2014-08-22 Thread David Miller
From: Hayes Wang hayesw...@realtek.com Date: Wed, 20 Aug 2014 16:58:35 +0800 Parsing, checking, and writing the firmware. You haven't told us why you need to do this. These are just programming registers in the chip, and I see no reason to not keep these in the driver with real code. I'm not

[PATCH v3] staging: rtl8821ae: fix sparse warning for static declarations in rtl8821ae/stats.c

2014-08-22 Thread Hoang Tran
This patch fixes the following sparse warnings in rtl8821ae/stats.c drivers/staging/rtl8821ae/stats.c:62:6: warning: symbol 'rtl_translate_todbm' was not declared. Should it be static? drivers/staging/rtl8821ae/stats.c:101:6: warning: symbol 'rtl_process_ui_rssi' was not declared. Should it be

Re: [PATCH v3 0/7] i2c: Relax mandatory I2C ID table passing

2014-08-22 Thread Wolfram Sang
Sure thing, yet I won't make it for 3.17, sadly :( It has high priority for 3.18, though. Do you want me to re-send now the -rc1 had been released? I think this version will do for an initial review. Thanks, Wolfram signature.asc Description: Digital signature

Re: [PATCH 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-08-22 Thread Kevin Hilman
Javier Martinez Canillas javier.marti...@collabora.co.uk writes: Many Exynos devices have a display panel, most of them just have a simple panel while others have more complex configurations that requires an embedded DisplayPort (eDP) to LVDS display bridge. This patch enables the following

Re: [PATCH] gpio: omap: Fix interrupt names

2014-08-22 Thread Kevin Hilman
Nishanth Menon n...@ti.com writes: When viewing the /proc/interrupts, there is no information about which GPIO bank a specific gpio interrupt is hooked on to. This is more than a bit irritating as such information can esily be provided back to the user and at times, can be crucial for debug.

[RFC PATCH 4/4 v3] Update MAINTAINERS file

2014-08-22 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com Signed-off-by: J. German Rivera german.riv...@freescale.com --- MAINTAINERS |8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 7e2eb4c..eb8597d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3841,6

[RFC PATCH 1/4 v3] drivers/bus: Added Freescale Management Complex APIs

2014-08-22 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com APIs to access the Management Complex (MC) hardware module of Freescale LS2 SoCs. This patch includes APIs to check the MC firmware version and to manipulate DPRC objects in the MC. Signed-off-by: J. German Rivera german.riv...@freescale.com ---

[RFC PATCH 0/4 v3] drivers/bus: Freescale Management Complex bus driver patch series

2014-08-22 Thread J. German Rivera
This patch series introduces Linux support for the Freescale Management Complex (fsl-mc) hardware. The fsl-mc is a hardware resource manager that manages specialized hardware objects used in network-oriented packet processing applications. After the fsl-mc block is enabled, pools of hardware

[RFC PATCH 3/4 v3] drivers/bus: Device driver for FSL-MC DPRC devices

2014-08-22 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com A DPRC (Data Path Resource Container) is an isolation device that contains a set of DPAA networking devices to be assigned to an isolation domain (e.g., a virtual machine). Signed-off-by: J. German Rivera german.riv...@freescale.com ---

[RFC PATCH 2/4 v3] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-08-22 Thread J. German Rivera
From: J. German Rivera german.riv...@freescale.com Platform device driver that sets up the basic bus infrastructure for the fsl-mc bus type, including support for adding/removing fsl-mc devices, register/unregister of fsl-mc drivers, and bus match support to bind devices to drivers.

Re: [RFC PATCH 2/4] drivers/bus: Freescale Management Complex (fsl-mc) bus driver

2014-08-22 Thread German Rivera
Hi Arnd, I have posted respin v3 of this patch series to address your lastest of comments. Please see below the resolutions. Thanks, German On 08/21/2014 06:30 AM, Arnd Bergmann wrote: On Tuesday 19 August 2014, German Rivera wrote: + * @dev_node: Node in the container's child list

Re: [PATCH] early microcode: extend the ramdisk address to 64bit

2014-08-22 Thread Yinghai Lu
On Fri, Aug 22, 2014 at 6:59 AM, har...@redhat.com wrote: From: Harald Hoyer har...@redhat.com commit 4bf7111f50167133a71c23530ca852a41355e739 enabled loading of the initramfs above 4G addresses. So I was wondering, if the early microcode code might want to honor the upper 32bit of the 64bit

[PATCH] coccinelle: misc: semantic patch to delete overly complex return code processing

2014-08-22 Thread Julia Lawall
From: Julia Lawall ju...@diku.dk This semantic patch simplifies cases where the effect of the processing of a function call's return code is just to return the result of the function directly. It may also delete a local return flag variable, if this is no longer used. This was proposed by Uwe

[PATCH v2] coccinelle: misc: semantic patch to delete overly complex return code processing

2014-08-22 Thread Julia Lawall
From: Julia Lawall julia.law...@lip6.fr This semantic patch simplifies cases where the effect of the processing of a function call's return code is just to return the result of the function directly. It may also delete a local return flag variable, if this is no longer used. This was proposed

Re: [PATCH 00/11] ARM: multi_v7_defconfig: Enable Zynq/Xilinx drivers

2014-08-22 Thread Olof Johansson
On Fri, Aug 22, 2014 at 08:54:25AM -0700, Soren Brinkmann wrote: Hi, I went through the defconfig and searched for Zynq drivers. The result is this series of patches. The first few are all for Zynq and pretty much straight forward. The second half is mostly soft-IP, I think. That soft-IP

Re: [PATCH v9 1/2] regulator: Add driver for max77802 PMIC PMIC regulators

2014-08-22 Thread Yuvaraj Cd
On Mon, Aug 18, 2014 at 2:02 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout (LDO) regulators. This patch adds support for all these regulators found on the MAX77802 PMIC and is based on a driver added by Simon

Re: nohz fail (was: perf related boot hang.)

2014-08-22 Thread Catalin Iacob
On Thu, Aug 21, 2014 at 4:56 PM, Frederic Weisbecker fweis...@gmail.com wrote: Can you please test the series I just posted: [RFC PATCH 0/9] nohz: Nohz full kick fixes? Before applying the series I tried one more Firefox build which triggered the panic after less than 5 minutes. After applying

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-22 Thread Minchan Kim
Hello Chao, On Thu, Aug 21, 2014 at 05:09:19PM +0800, Chao Yu wrote: Hi Minchan, -Original Message- From: Minchan Kim [mailto:minc...@kernel.org] Sent: Thursday, August 21, 2014 9:19 AM To: Chao Yu Cc: 'Sergey Senozhatsky'; linux-kernel@vger.kernel.org; linux...@kvack.org;

Re: [PATCH] zram: add num_discards for discarded pages stat

2014-08-22 Thread Minchan Kim
Hi Sergey, On Thu, Aug 21, 2014 at 10:05:04PM +0900, Sergey Senozhatsky wrote: On (08/21/14 17:09), Chao Yu wrote: [cut] I hope I'm not discouraging. :) Nope, please let me try again, :) Since we have supported handling discard request in this commit

bcache bug / fs freeze on heavy IO

2014-08-22 Thread Thomas Klaube
Hi all, while testing/benchmarking with fio on a bcache backed ext4 fs I see this dmesg output. System is ubuntu 14.04.1 but with vanilla Kernel 3.16.1: Aug 22 00:57:01 ubuntu kernel: [19115.694955] [ cut here ] Aug 22 00:57:01 ubuntu kernel: [19115.695519] kernel BUG at

[PATCH] backlight: platform_lcd: remove unnecessary #ifdef CONFIG_OF

2014-08-22 Thread Jingoo Han
Remove unnecessary #ifdef CONFIG_OF, because this is already handled by the of_match_ptr macro. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/platform_lcd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/video/backlight/platform_lcd.c

Re: [patch 4/4] prctl: PR_SET_MM -- Introduce PR_SET_MM_MAP operation, v3

2014-08-22 Thread Cyrill Gorcunov
On Thu, Aug 21, 2014 at 03:51:15PM -0700, Andrew Morton wrote: ... Still note that updating exe-file link now doesn't require sys-resource capability anymore, after all there is no much profit in preventing setup own file link (there are a number of ways to execute own code -- ptrace,

Re: [PATCH] mm: softdirty: write protect PTEs created for read faults after VM_SOFTDIRTY cleared

2014-08-22 Thread Cyrill Gorcunov
On Thu, Aug 21, 2014 at 06:50:33PM -0400, Peter Feiner wrote: On Fri, Aug 22, 2014 at 12:51:47AM +0300, Kirill A. Shutemov wrote: One thing: there could be (I haven't checked) complications on vma_merge(): since vm_flags are identical it assumes that it can reuse vma-vm_page_prot of

RE: Oops: 17 SMP ARM (v3.16-rc2)

2014-08-22 Thread Mattis Lorentzon
Fabio, What is the silicon version of the mx6 in your sabrelite? What GCC version do you use? The silicon version is PCIMX6Q6AVT10AA and the GCC version we use is arm-none-eabi-gcc (Fedora 2013.11.24-2.fc19) 4.8.1. Iain, Up to now, my testing has been done with my own config, I'll now

Re: [patch 4/4] prctl: PR_SET_MM -- Introduce PR_SET_MM_MAP operation, v3

2014-08-22 Thread Andrew Morton
On Fri, 22 Aug 2014 10:32:42 +0400 Cyrill Gorcunov gorcu...@gmail.com wrote: + error |= __prctl_check_addr_space(start_code); + error |= __prctl_check_addr_space(end_code); + error |= __prctl_check_addr_space(start_data); + error |= __prctl_check_addr_space(end_data); + error |=

RE: [f2fs-dev] [PATCH 3/4] f2fs: avoid double lock in truncate_blocks

2014-08-22 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: Jaegeuk Kim [mailto:jaeg...@kernel.org] Sent: Friday, August 22, 2014 12:45 AM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH 3/4] f2fs: avoid

Re: [PATCH] backlight: platform_lcd: remove unnecessary #ifdef CONFIG_OF

2014-08-22 Thread Geert Uytterhoeven
On Fri, Aug 22, 2014 at 8:23 AM, Jingoo Han jg1@samsung.com wrote: Remove unnecessary #ifdef CONFIG_OF, because this is already handled by the of_match_ptr macro. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/video/backlight/platform_lcd.c | 2 -- 1 file changed, 2

Re: [PATCH] backlight: platform_lcd: remove unnecessary #ifdef CONFIG_OF

2014-08-22 Thread Jingoo Han
On Friday, August 22, 2014 4:13 PM, Jingoo Han wrote: On Fri, Aug 22, 2014 at 8:23 AM, Jingoo Han jg1@samsung.com wrote: Remove unnecessary #ifdef CONFIG_OF, because this is already handled by the of_match_ptr macro. Signed-off-by: Jingoo Han jg1@samsung.com ---

Re: BUG: lockdep (inconsistent usage) in netlink

2014-08-22 Thread Lan Tianyu
On 08/22/2014 04:43 AM, Benjamin Block wrote: On 08/21/2014 08:52 PM, Benjamin Block wrote: Hello, while rebooting one of my dev-machines I stumbled over this lockdep-mess-up: = [ INFO: inconsistent lock state ] 3.17.0-rc1-1-gb83ca8c #2 Tainted: G

Re: [PATCH] [v3] warn on performance-impacting configs aka. TAINT_PERFORMANCE

2014-08-22 Thread Ingo Molnar
* Dave Hansen d...@sr71.net wrote: From: Dave Hansen dave.han...@linux.intel.com Changes from v2: * remove tainting and stack track * add debugfs file * added a little text to guide folks who want to add more options Looks good to me conceptually. A couple of minor details:

Re: [PATCH net-next 1/2] sched: introduce nr_running_this_cpu()

2014-08-22 Thread Jason Wang
On 08/21/2014 09:52 PM, Ingo Molnar wrote: * Jason Wang jasow...@redhat.com wrote: This patch introduces a helper nr_running_this_cpu() to return the number of runnable processes in current cpu. The first user will be net rx busy polling. It will use this to exit the busy loop when it finds

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-08-22 Thread Jason Wang
On 08/22/2014 01:01 PM, Mike Galbraith wrote: On Thu, 2014-08-21 at 16:05 +0800, Jason Wang wrote: Rx busy loop does not scale well in the case when several parallel sessions is active. This is because we keep looping even if there's another process is runnable. For example, if that

[PATCH] io: accel: kxcjk1013: Remove redundant assignment

2014-08-22 Thread Daniel Baluta
data-range is already set by kxcjk1013_set_range. Signed-off-by: Daniel Baluta daniel.bal...@intel.com --- drivers/iio/accel/kxcjk-1013.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iio/accel/kxcjk-1013.c b/drivers/iio/accel/kxcjk-1013.c index 70a5679..01e86d0 100644 ---

Re: [PATCH] net: ethernet: broadcom: bnx2x: Remove redundant #ifdef

2014-08-22 Thread Rasmus Villemoes
David Miller da...@davemloft.net writes: From: Rasmus Villemoes li...@rasmusvillemoes.dk Date: Wed, 20 Aug 2014 15:14:49 +0200 Nothing defines _ASM_GENERIC_INT_L64_H, it is a weird way to check for 64 bit longs, and u64 should be printed using %llx anyway. Signed-off-by: Rasmus Villemoes

Re: [PATCH v4 1/2] watchdog: Add Cadence WDT driver

2014-08-22 Thread Guenter Roeck
On Thu, Aug 21, 2014 at 11:57:22AM -0700, Guenter Roeck wrote: On Thu, Jul 31, 2014 at 12:10:54PM +0530, Harini Katakam wrote: Add Cadence WDT driver. This is used by Xilinx Zynq. Signed-off-by: Harini Katakam hari...@xilinx.com Reviewed-by: Guenter Roeck li...@roeck-us.net Hah, that

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-08-22 Thread Ingo Molnar
diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h index 1d67fb6..8a33fb2 100644 --- a/include/net/busy_poll.h +++ b/include/net/busy_poll.h @@ -109,7 +109,8 @@ static inline bool sk_busy_loop(struct sock *sk, int nonblock) cpu_relax(); } while

[PATCH] ACPI: Run fixed button devices' notify callback in the process context

2014-08-22 Thread Lan Tianyu
Currently fixed button devices' notify callbacks are running in the interrupt context. It's not necessary and prevent calling functions with mutex lock(E,G evaluating ACPI method). Otherwise, it's different with non-fixed button device whose notify callback is running in the process context. This

Re: [GIT PULL] HID

2014-08-22 Thread Markus Trippelsdorf
On 2014.08.21 at 12:43 -0500, Jiri Kosina wrote: HID: logitech: perform bounds checking on device_id early enough The commit above (ad3e14d7c5268c2e) causes the bounds checking to always fail on my monolithic kernel (without modules): ... [2.922617] usb 4-2: new full-speed USB device

Re: [PATCH] ACPI: Run fixed button devices' notify callback in the process context

2014-08-22 Thread Lan Tianyu
On 08/22/2014 03:37 PM, Lan Tianyu wrote: Currently fixed button devices' notify callbacks are running in the interrupt context. It's not necessary and prevent calling functions with mutex lock(E,G evaluating ACPI method). Otherwise, it's different with non-fixed button device whose notify

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2014-08-22 Thread Ingo Molnar
* Jason Wang jasow...@redhat.com wrote: Polling could be done by either rx busy loop in process context or NAPI in softirq. [...] Note that this shows another reason why it's a bad idea to query nr_running directly: depending on the softirq processing method, a softirq might run: -

Re: [PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-22 Thread Andreas Werner
On Thu, Aug 21, 2014 at 11:37:52AM -0700, Guenter Roeck wrote: On Wed, Aug 13, 2014 at 10:40:37AM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages.

Re: [PATCH RESEND v2 7/7] ARM: dts: vf610-twr: Add USB support

2014-08-22 Thread Shawn Guo
On Tue, Aug 19, 2014 at 12:24:37AM +0400, Sergei Shtylyov wrote: Hello. On 08/19/2014 12:07 AM, Stefan Agner wrote: Add USB support for Freescale Vybrid tower. The USB hosts over-current protection signal is not connected is not connected to the PHY's over- Yes, we all understood

Re: [PATCH v4 4/4] drivers/hwmon/menf21bmc_hwmon: introduce MEN14F021P00 BMC HWMON driver

2014-08-22 Thread Andreas Werner
On Thu, Aug 21, 2014 at 11:45:01AM -0700, Guenter Roeck wrote: On Wed, Aug 13, 2014 at 10:40:37AM +0200, Andreas Werner wrote: Added driver to support the 14F021P00 BMC Hardware Monitoring. The BMC is a Board Management Controller including monitoring of the board voltages.

Re: [PATCH v5 2/3] mfd: qcom-rpm: Driver for the Qualcomm RPM

2014-08-22 Thread Lee Jones
On Thu, 21 Aug 2014, Bjorn Andersson wrote: On Thu 21 Aug 06:22 PDT 2014, Lee Jones wrote: +struct qcom_rpm *dev_get_qcom_rpm(struct device *dev) +{ + return dev_get_drvdata(dev); +} +EXPORT_SYMBOL(dev_get_qcom_rpm); No need for this at all. Use dev_get_drvdata() direct

[GIT PULL] EFI urgent fixes

2014-08-22 Thread Matt Fleming
Hi guys, please pull the following fixes, which trade the locking WARN_ON()s in the efivars code for the more usual lockdep_*() functions and an arm64 EFI change that allows the gamut of runtime services to be invoked. The following changes since commit 7d1311b93e58ed55f3a31cc8f94c4b8fe988a2b9:

[PATCH 00/15] drm/exynos/ipp: image post processing fixes and improvements, part four

2014-08-22 Thread Andrzej Hajda
This set of patches contains various improvement and fixes for exynos_drm ipp framework. The patchset is based on exynos-drm-next branch. IPP framework was tested for regressions on exynos4210-trats target. Regards Andrzej Andrzej Hajda (15): drm/exynos/ipp: remove fake pm callbacks

[PATCH 04/15] drm/exynos/ipp: remove only related commands on file close

2014-08-22 Thread Andrzej Hajda
On file close driver should remove only command nodes created via this file. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c

[PATCH 08/15] drm/exynos/ipp: clean memory nodes on command node cleaning

2014-08-22 Thread Andrzej Hajda
The nodes should be removed before removing command node. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c b/drivers/gpu/drm/exynos/exynos_drm_ipp.c index

[PATCH 12/15] drm/exynos/fimc: avoid clearing overflow bits

2014-08-22 Thread Andrzej Hajda
Overflow bits shall be cleared by H/W. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c index 3264ed3..bbaf4f9

[PATCH 15/15] drm/exynos/fimc: fix source buffer registers

2014-08-22 Thread Andrzej Hajda
FIMC in default mode of operation uses only one input buffer, but the driver used also second buffer, as a result only the first frame was processed correctly. The patch fixes it. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 16

[PATCH 14/15] drm/exynos/fimc: simplify buffer queuing

2014-08-22 Thread Andrzej Hajda
The patch removes redundant checks, redundant HW reads and simplifies code. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 64 1 file changed, 15 insertions(+), 49 deletions(-) diff --git

[PATCH 13/15] drm/exynos/fimc: do not enable fimc twice

2014-08-22 Thread Andrzej Hajda
The patch removes redundant H/W activation. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_fimc.c b/drivers/gpu/drm/exynos/exynos_drm_fimc.c

[PATCH 10/15] drm/exynos/ipp: stop hardware before freeing memory

2014-08-22 Thread Andrzej Hajda
Memory shouldn't be freed when hardware is still running. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c

Re: [PATCH v4 1/2] watchdog: Add Cadence WDT driver

2014-08-22 Thread Harini Katakam
Hi Guenter, On Fri, Aug 22, 2014 at 1:03 PM, Guenter Roeck li...@roeck-us.net wrote: On Thu, Aug 21, 2014 at 11:57:22AM -0700, Guenter Roeck wrote: On Thu, Jul 31, 2014 at 12:10:54PM +0530, Harini Katakam wrote: Add Cadence WDT driver. This is used by Xilinx Zynq. Signed-off-by: Harini

[PATCH 09/15] drm/exynos/ipp: replace work_struct casting with better constructs

2014-08-22 Thread Andrzej Hajda
Type casting should be avoided if possible. In case of work_struct it can be simply replaced by reference to member field. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_fimc.c| 2 +- drivers/gpu/drm/exynos/exynos_drm_gsc.c | 3 +--

[PATCH 05/15] drm/exynos/ipp: remove unused field in command node

2014-08-22 Thread Andrzej Hajda
Since command node have file pointer dev field became useless. Signed-off-by: Andrzej Hajda a.ha...@samsung.com --- drivers/gpu/drm/exynos/exynos_drm_ipp.c | 1 - drivers/gpu/drm/exynos/exynos_drm_ipp.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_ipp.c

  1   2   3   4   5   6   7   8   9   10   >