[PATCH] mailbox: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] leds: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/leds/leds-lm3530.c

[PATCH v2 1/6] Document: bindings: DT: Add SMP enable method for MT6580 SoC platform

2015-07-10 Thread Scott Shu
For MT6580 SoC platform, the secondary cores are in powered off state as default, so compared with MT65xx series SoC, one new enable method is needed. This method using the SPM (System Power Manager) inside the SCPSYS to control the CPU power. Signed-off-by: Scott Shu scott@mediatek.com ---

Re: [PATCH] lib/bitmap.c: add some check to correct the parse result

2015-07-10 Thread Pan Xinhui
hi, Andrew thanks for you kind reply :) On 2015年07月10日 06:57, Andrew Morton wrote: On Sat, 27 Jun 2015 14:36:18 +0800 Pan Xinhui xinhuix@intel.com wrote: Sometimes the input from user may cause an unexpected result. for example, echo 1-3, /proc/irq/xxx/smp_affinity_list. The

[PATCH v2 6/6] ARM: dts: mt6580: enable basic SMP bringup for MT6580

2015-07-10 Thread Scott Shu
Add arch timer node to enable arch-timer support. MT6580 firmware doesn't correctly setup arch-timer frequency and CNTVOFF, add properties to workaround this. This set cpu enable-method to enable SMP. Signed-off-by: Scott Shu scott@mediatek.com --- arch/arm/boot/dts/mt6580.dtsi | 20

[PATCH] HID: hid-sony: Navigator Axis for L1 button

2015-07-10 Thread Simon Wood
Patch HID report descriptor to add joystick axis for the L1 button (previously missing). Signed-off-by: Simon Wood si...@mungewell.org --- drivers/hid/hid-sony.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index

[PATCH 2/7] [media] dvb-frontends: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-10 Thread Krzysztof Kozlowski
Hi, The i2c drivers also do not have to set 'owner' field because i2c_register_driver() will do it instead. 'owner' is removed from i2c drivers, which I was able to compile with allyesconfig (arm, arm64, i386, x86_64, ppc64). Only compile-tested. The coccinelle script which generated the patch

[PATCH] pwm: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/pwm/pwm-pca9685.c |

[PATCH] pinctrl: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] phy: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-10 Thread Krzysztof Kozlowski
Hi, The i2c drivers also do not have to set 'owner' field because i2c_register_driver() will do it instead. 'owner' is removed from i2c drivers, which I was able to compile with allyesconfig (arm, arm64, i386, x86_64, ppc64). Only compile-tested. The coccinelle script which generated the patch

[PATCH 2/2] tty: serial: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 1/2] tty: serial: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 1/2] video: fbdev: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] w1: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/w1/masters/ds2482.c

[PATCH 3/3] staging: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

Re: [PATCH] mfd: Drop owner assignment from i2c_drivers

2015-07-10 Thread Lee Jones
On Fri, 10 Jul 2015, Krzysztof Kozlowski wrote: i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here:

Re: [PATCH v2] mfd: qcom-rpm: Add apq8064 QDSS clock resource

2015-07-10 Thread Lee Jones
On Wed, 08 Jul 2015, Ivan T. Ivanov wrote: Qualcomm Debug Subsystem clock is used by CoreSight components. Add required definitions for it. qcom_rpm_resource::status_id is not used by driver, so just mark it as ~0. Signed-off-by: Ivan T. Ivanov ivan.iva...@linaro.org --- Changes since

Re: [PATCH 1/2] power: reset: at91: add sama5d3 reset function

2015-07-10 Thread Maxime Ripard
On Fri, Jul 10, 2015 at 11:06:52AM +0800, Josh Wu wrote: Hi, Maxime On 7/9/2015 8:03 PM, Maxime Ripard wrote: Hi, On Thu, Jul 09, 2015 at 06:15:46PM +0800, Josh Wu wrote: As since sama5d3, to reset the chip, we don't need to shutdown the ddr controller. So add a new compatible string

[PATCH v2 0/6] This series adds SMP support for the MediaTek MT6580.

2015-07-10 Thread Scott Shu
This patchset adds support SMP on MediaTek MT6580 Cortex-A7 quad-core SoC. This is based on v4.1-rc1 and following patch series: (1) Yingjoe Chen's Add SMP bringup support for mt65xx socs [1] (2) Mars Cheng's Add mt6580 basic chip support [2] (3) Sascha Hauer's Mediatek SCPSYS power domain

[PATCH v2 5/6] ARM: dts: mt6580: Add device nodes to the MT6580 dtsi file

2015-07-10 Thread Scott Shu
This adds the SCPSYS device node to the MT6580 dtsi file. Signed-off-by: Scott Shu scott@mediatek.com --- arch/arm/boot/dts/mt6580.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/mt6580.dtsi b/arch/arm/boot/dts/mt6580.dtsi index 09852cd..4a9df6a 100644 ---

[PATCH v2 3/6] ARM: mediatek: add smp bringup code for MT6580

2015-07-10 Thread Scott Shu
Add support for cpu enable-method mediatek,mt6580-smp for booting secondary CPUs on MT6580. Signed-off-by: Scott Shu scott@mediatek.com --- arch/arm/mach-mediatek/platsmp.c | 139 ++- 1 file changed, 138 insertions(+), 1 deletion(-) diff --git

[PATCH v2 4/6] ARM: Mediatek: enable GPT6 on boot up to make arch timer working for MT6580

2015-07-10 Thread Scott Shu
We enable GTP6 which ungates the arch timer clock. Signed-off-by: Scott Shu scott@mediatek.com --- arch/arm/mach-mediatek/mediatek.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-mediatek/mediatek.c b/arch/arm/mach-mediatek/mediatek.c index

Re: [PATCH 1/2] power: reset: at91: add sama5d3 reset function

2015-07-10 Thread Alexandre Belloni
Hi, On 09/07/2015 at 18:15:46 +0800, Josh Wu wrote : As since sama5d3, to reset the chip, we don't need to shutdown the ddr controller. So add a new compatible string and new restart function for sama5d3 and later chips. As we don't use sama5d3 ddr controller, so remove it as well.

[PATCH v2 2/6] soc: Mediatek: Add SCPSYS CPU power domain driver

2015-07-10 Thread Scott Shu
This adds a CPU power domain driver for the Mediatek SCPSYS unit on MT6580. Signed-off-by: Scott Shu scott@mediatek.com --- arch/arm/mach-mediatek/Makefile | 2 +- arch/arm/mach-mediatek/generic.h | 23 arch/arm/mach-mediatek/hotplug.c | 267 +++

[PATCH] misc: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] spi: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/spi/spi-xcomm.c | 1

[PATCH] pci: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-10 Thread Krzysztof Kozlowski
Hi, The i2c drivers also do not have to set 'owner' field because i2c_register_driver() will do it instead. 'owner' is removed from i2c drivers, which I was able to compile with allyesconfig (arm, arm64, i386, x86_64, ppc64). Only compile-tested. The coccinelle script which generated the patch

[PATCH 2/2] video: fbdev: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] vfio: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] ALSA: aoa: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- sound/aoa/codecs/onyx.c | 1

[PATCH V2] acpi-cpufreq: Fix an acpi perf unregister issue

2015-07-10 Thread Pan Xinhui
As policy-cpu may not be same in acpi_cpufreq_cpu_init and acpi_cpufreq_cpu_exit. There is a risk that we use different *cpu* to un/register acpi performance. So acpi_processor_unregister_performance may not be able to do the cleanup work. That causes a memory leak. And if there will be another

[PATCH] powerpc/powernv: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

Re: [PATCH] lpfc: Destroy lpfc_hba_index IDR on module exit

2015-07-10 Thread Hannes Reinecke
On 07/08/2015 05:19 PM, Johannes Thumshirn wrote: Destroy lpfc_hba_index IDR on module exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez mcg...@suse.com) SmPL @ defines_module_init @ declarer name module_init, module_exit;

Re: [PATCH v2 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-07-10 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 05:41:05PM +0800, Chunfeng Yun wrote: Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- drivers/usb/phy/Kconfig | 10 + drivers/usb/phy/Makefile | 1 + drivers/usb/phy/phy-mt65xx-usb3.c | 856 ++ 3

[git pull] drm fixes

2015-07-10 Thread Dave Airlie
Hi Linus, back from vacation (another one is coming up in August though), thanks for taking care of direct pulls while I was out. a bunch of fixes for radeon, intel, omap and one amdkfd fix. radeon fixes are all over, but it does fix some cursor corruption across suspend/resume i915 should

Re: [PATCH] dmaengine: imx-sdma: Add device to device support

2015-07-10 Thread Shengjiu Wang
On Fri, Jul 10, 2015 at 11:52:05AM +0530, Vinod Koul wrote: On Tue, Jul 07, 2015 at 01:24:22PM +0800, Shengjiu Wang wrote: why not use set_bit(), you are modifying driver memory Original driver all use the __set_bit. do you think we need to change all the __set_bit to set_bit? And from the

[PATCH] input: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

Re: [PATCH v2] zsmalloc: consider ZS_ALMOST_FULL as migrate source

2015-07-10 Thread Minchan Kim
On Fri, Jul 10, 2015 at 02:46:54PM +0900, Sergey Senozhatsky wrote: On (07/10/15 14:31), Minchan Kim wrote: There is no reason to prevent select ZS_ALMOST_FULL as migration source if we cannot find source from ZS_ALMOST_EMPTY. With this patch, zs_can_compact will return more exact

Re: Query: Clock driver requests mailbox channel

2015-07-10 Thread Leo Yan
On Wed, Jul 08, 2015 at 09:54:29AM -0700, Michael Turquette wrote: Cc'ing linux-clk and Stephen Boyd Quoting Leo Yan (2015-07-07 07:04:25) On Tue, Jul 07, 2015 at 10:54:55AM +0530, Jassi Brar wrote: On Mon, Jul 6, 2015 at 5:03 PM, Leo Yan leo@linaro.org wrote: Hi all, i'm

Re: [PATCH] dmaengine: imx-sdma: Add device to device support

2015-07-10 Thread Vinod Koul
On Tue, Jul 07, 2015 at 01:24:22PM +0800, Shengjiu Wang wrote: why not use set_bit(), you are modifying driver memory Original driver all use the __set_bit. do you think we need to change all the __set_bit to set_bit? And from the header file arch/arm/include/asm /bitops.h, the set_bit is

[PATCH 7/7] [media] Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 4/7] [media] platform: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 3/7] [media] i2c: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/i2c/adv7170.c

[PATCH 5/7] [media] radio: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 1/7] [media] dvb-frontends: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 6/7] [media] tuners: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/tuners/e4000.c

Re: [PATCH?] Livelock in pick_next_task_fair() / idle_balance()

2015-07-10 Thread Yuyang Du
On Thu, Jul 09, 2015 at 02:53:14PM +0100, Morten Rasmussen wrote: On Mon, Jul 06, 2015 at 04:12:41AM +0800, Yuyang Du wrote: Hi Morten, On Fri, Jul 03, 2015 at 10:34:41AM +0100, Morten Rasmussen wrote: IOW, since task groups include blocked load in the load_avg_contrib (see

[PATCH] nfc: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/nfc/nxp-nci/i2c.c |

[PATCH] of: Drop owner assignment from platform and i2c driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver and i2c_driver do not need to set an owner because core will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/of/unittest.c | 3

Re: [PATCH] crypto: Drop owner assignment from platform_driver

2015-07-10 Thread Boris Brezillon
On Fri, 10 Jul 2015 14:46:16 +0900 Krzysztof Kozlowski k.kozlow...@samsung.com wrote: platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Boris Brezillon

[PATCH] soc: mediatek: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] net: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-10 Thread Krzysztof Kozlowski
Hi, The i2c drivers also do not have to set 'owner' field because i2c_register_driver() will do it instead. 'owner' is removed from i2c drivers, which I was able to compile with allyesconfig (arm, arm64, i386, x86_64, ppc64). Only compile-tested. The coccinelle script which generated the patch

[PATCH 1/3] staging: iio: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] thermal: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH 2/3] staging: media: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

[PATCH] Drop owner assignment from i2c_driver (and platform left-overs)

2015-07-10 Thread Krzysztof Kozlowski
Hi, The i2c drivers also do not have to set 'owner' field because i2c_register_driver() will do it instead. 'owner' is removed from i2c drivers, which I was able to compile with allyesconfig (arm, arm64, i386, x86_64, ppc64). Only compile-tested. The coccinelle script which generated the patch

Re: [PATCH] st: Destroy st_index_idr on module exit

2015-07-10 Thread Hannes Reinecke
On 07/08/2015 05:24 PM, Johannes Thumshirn wrote: Destroy st_index_idr on module exit, reclaiming the allocated memory. This was detected by the following semantic patch (written by Luis Rodriguez mcg...@suse.com) SmPL @ defines_module_init @ declarer name module_init, module_exit;

[PATCH 1/2] rtc: Drop owner assignment from i2c_driver

2015-07-10 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/rtc/rtc-ab-b5ze-s3.c

Re: [PATCH] team: set IFF_SLAVE on team ports

2015-07-10 Thread Jiri Pirko
Thu, Jul 09, 2015 at 05:36:55PM CEST, jblu...@infradead.org wrote: On Thu, Jul 9, 2015 at 12:07 PM, Jiri Pirko j...@resnulli.us wrote: Thu, Jul 09, 2015 at 11:58:34AM CEST, jblu...@infradead.org wrote: The code in net/ipv6/addrconf.c:addrconf_notify() tests for IFF_SLAVE to decide if it should

[PATCH 2/2] rtc: Drop owner assignment from platform_driver

2015-07-10 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. --- drivers/rtc/rtc-opal.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/rtc/rtc-opal.c b/drivers/rtc/rtc-opal.c index 7061dcae2b09..417d7b4a5cd8 100644 --- a/drivers/rtc/rtc-opal.c +++

Re: [PATCH 02/12] Add parse_integer() (replacement for simple_strto*())

2015-07-10 Thread Alexey Dobriyan
On Thu, Jul 09, 2015 at 12:28:41PM -0700, Andrew Morton wrote: On Fri, 8 May 2015 21:30:29 +0300 Alexey Dobriyan adobri...@gmail.com wrote: Enter parse_integer(). int parse_integer(const char *s, unsigned int base, T *val); OK, I grabbed these. Thanks! Just to note, first patch

Re: [PATCH] drm: Drop owner assignment from i2c_driver

2015-07-10 Thread Mark yao
On 2015年07月10日 13:36, Krzysztof Kozlowski wrote: i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- The coccinelle script which generated the patch was sent here:

Re: [PATCH] Staging: sm750fb: ddk750_dvi.h: Fix brace coding style issue

2015-07-10 Thread Anders Fridlund
Sorry, for that. Do I need to re-submit the patch(es), or should I only change it for future patches? Cheers, Anders Fridlund On Fri, Jul 10, 2015 at 7:33 AM, Sudip Mukherjee sudipm.mukher...@gmail.com wrote: On Thu, Jul 09, 2015 at 02:45:22PM +0200, anders.fridl...@gmail.com wrote: From:

Re: [PATCH v2 3/7] cpufreq-dt: add turbo modes support

2015-07-10 Thread Krzysztof Kozlowski
On 10.07.2015 00:43, Bartlomiej Zolnierkiewicz wrote: Add turbo modes (from opp-v2 bindings) support using existing cpufreq 'boost' mode infrastructure: - add boost_supported field to struct cpufreq_dt_platform_data - set dt_cpufreq_driver.boost_supported in dt_cpufreq_probe() Cc: Tomasz

Re: ACPI: regression: Failed to initialize GIC IRQ controller

2015-07-10 Thread Marc Zyngier
On 10/07/15 09:17, Suman Tripathi wrote: On Fri, Jul 10, 2015 at 1:28 PM, Marc Zyngier marc.zyng...@arm.com wrote: On 10/07/15 08:45, Ming Lei wrote: Hi, Commit 0cff8dc0099f6d4f(ACPICA: ACPI 6.0: Add changes for MADT table.) causes the following failure on APM mustang board(arm64) when

[PATCH v3 2/2] kconfig: Regenerate shipped zconf.{hash,lex}.c files

2015-07-10 Thread Andreas Ruprecht
Update the shipped files generated by flex and gperf to support the explicit use of ---help--- and to emit warnings for unsupported characters on COMMAND tokens. As I could not find out which flex/gperf version was used to generate the previous version, I used flex 2.5.35 and gperf 3.0.4 from

[PATCH v3 0/2] kconfig: warn of unhandled characters in Kconfig commands

2015-07-10 Thread Andreas Ruprecht
This patchset changes the lexer file to emit a warning if any unhandled characters are found in the input. So far, Kconfig options like +config FOO bool [...] (note the wrong '+'!) were parsed without a warning. As simply adding a warning for '.' produces lots of warnings as

[PATCH v3 1/2] kconfig: warn of unhandled characters in Kconfig commands

2015-07-10 Thread Andreas Ruprecht
In Kconfig, definitions of options take the following form: COMMAND PARAM PARAM COMMANDs and PARAMs are treated slightly different by the underlying parser. While commit 2e0d737fc76f (kconfig: don't silently ignore unhandled characters) introduced a warning for unsupported characters around

[tip:perf/urgent] x86, perf: Fix static_key bug in load_mm_cr4()

2015-07-10 Thread tip-bot for Peter Zijlstra
Commit-ID: a833581e372a4adae2319d8dc379493edbc444e9 Gitweb: http://git.kernel.org/tip/a833581e372a4adae2319d8dc379493edbc444e9 Author: Peter Zijlstra pet...@infradead.org AuthorDate: Thu, 9 Jul 2015 19:23:38 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Fri, 10 Jul 2015

Re: [PATCH v3] kexec: Make a pair of map and unmap reserved pages when kdump fails to start

2015-07-10 Thread Michael Holzheu
On Fri, 10 Jul 2015 12:05:27 +0800 Minfei Huang mnfhu...@gmail.com wrote: On 07/09/15 at 05:54P, Michael Holzheu wrote: On Tue, 7 Jul 2015 17:18:40 -0400 Vivek Goyal vgo...@redhat.com wrote: On Thu, Jul 02, 2015 at 09:45:52AM +0800, Minfei Huang wrote: [snip] I am thinking

Re: [PATCH v2 2/5] dt-bindings: Add a binding for Mediatek xHCI host controller

2015-07-10 Thread Roger Quadros
Hi, On 08/07/15 12:41, Chunfeng Yun wrote: add a DT binding documentation of xHCI host controller for the MT8173 SoC from Mediatek. Signed-off-by: Chunfeng Yun chunfeng@mediatek.com --- .../devicetree/bindings/usb/mt8173-xhci.txt| 27 ++ 1 file changed,

Re: [PATCH v2 4/7] clk: samsung: exynos4x12: add cpu clock configuration data and instantiate cpu clock

2015-07-10 Thread Krzysztof Kozlowski
On 10.07.2015 00:43, Bartlomiej Zolnierkiewicz wrote: With the addition of the new Samsung specific cpu-clock type, the arm clock can be represented as a cpu-clock type. Add the CPU clock configuration data and instantiate the CPU clock type for Exynos4x12. Based on the earlier work by

Re: [PATCH 02/11] soc/fsl: Introduce DPAA BMan device management driver

2015-07-10 Thread Paul Bolle
On do, 2015-07-09 at 16:21 -0400, Roy Pledge wrote: --- /dev/null +++ b/drivers/soc/fsl/qbman/Kconfig @@ -0,0 +1,33 @@ +menuconfig FSL_DPA + bool Freescale DPAA support + depends on FSL_SOC || COMPILE_TEST Are you sure about COMPILE_TEST? + default n + help +

Re: [PATCH v3 14/15] PCI/MSI: pci-xgene-msi: Get rid of struct msi_controller

2015-07-10 Thread Marc Zyngier
Hi Duc, On 09/07/15 23:12, Duc Dang wrote: On Tue, Jul 7, 2015 at 10:18 AM, Marc Zyngier marc.zyng...@arm.com wrote: The XGene MSI driver only uses the msi_controller structure as a way to match the host bridge with its MSI HW, and thus the msi_domain. But now that we can directly

Re: [PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC

2015-07-10 Thread Shawn Guo
On Wed, Jun 24, 2015 at 02:03:39PM +0530, Sanchayan Maity wrote: Hello, This patchset adds a dt binding for specifying sample time for the vybrid adc driver and takes this into account for sampling frequency calculation and related configuration in the driver. The patchset is based on

Re: [PATCH 1/1] perf/x86/intel/uncore: Add Broadwell-DE uncore support

2015-07-10 Thread Stephane Eranian
Hi, On Thu, Jul 2, 2015 at 5:12 AM, kan.li...@intel.com wrote: From: Kan Liang kan.li...@intel.com The uncore subsystem for Broadwell-DE is similar to Haswell-EP. There are some differences in pci device IDs, box number and constraints. Please refer to the public document.

Re: [PATCH-v3 04/11] i2c: pxa: Remove compile warnning in 64bit mode

2015-07-10 Thread Uwe Kleine-König
Hello, $Subject ~= s/warnning/warning/ and I'd rather write Fix instead of Remove. Best regards Uwe -- Pengutronix e.K. | Uwe Kleine-König| Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send

[PATCH v5] arm64:Modify the dump mem for 64 bit addresses

2015-07-10 Thread Maninder Singh
From: Rohit Thapliyal r.thapli...@samsung.com On 64bit kernel, the dump_mem gives 32 bit addresses on the stack dump. This gives unorganized information regarding the 64bit values on the stack. Hence, modified to get a complete 64bit memory dump. With patch: [ 93.534801] Process insmod (pid:

Re: [PATCH-v3 07/11] i2c: pxa: enable/disable i2c module across msg xfer

2015-07-10 Thread Wolfram Sang
On Tue, Jul 07, 2015 at 12:54:51AM +0530, Vaibhav Hiremath wrote: From: Yi Zhang yizh...@marvell.com Enable i2c module/unit before transmission and disable when it finishes. why? It's because the i2c bus may be distrubed if the slave device, typically a touch, powers on. As we do not

[PATCH v2] backlight: lp855x: use private data for regulator control

2015-07-10 Thread Milo Kim
LP855x backlight device can be enabled by external VDD input. The 'supply' data is used for this purpose. It's kind of private data which runs internally, so there is no reason to expose to the platform data. And devm_regulator_get() is moved from _parse_dt() to _probe(). Regulator

Re: [RFC PATCH 0/2] spi: add dual parallel stacked mode support in Zynq MPSoC GQSPI controller

2015-07-10 Thread Mike Looijmans
On 09-07-15 14:44, Ranjit Waghmode wrote: This series of patches is to add dual parallel and stacked mode support for Zynq Ultrascale+ MPSoC GQSPI controller driver. These are all very high level changes and expected to make an idea clear. Comments and suggestions are welcomed. ... What is

Re: [PATCH 2/3] Input: of_touchscreen - fix setting max values on X/Y axis

2015-07-10 Thread Roger Quadros
On 09/07/15 21:16, Dmitry Torokhov wrote: On Thu, Jul 09, 2015 at 11:32:11AM +0300, Roger Quadros wrote: Dmitry, On 08/07/15 18:08, Dmitry Torokhov wrote: On Wed, Jul 08, 2015 at 10:59:04AM +0300, Roger Quadros wrote: Dmitry, On 07/07/15 19:25, Dmitry Torokhov wrote: Hi Roger, On Tue,

Re: [RFC PATCH] perf: Provide status of known PMUs

2015-07-10 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Thu, Jul 09, 2015 at 02:32:05PM +0200, Ingo Molnar wrote: perf record error: The 'bts' PMU is not available, because the CPU does not support it This one makes sense. perf record error: The 'bts' PMU is not available, because

Re: [PATCH v2 5/7] ARM: dts: Exynos4x12: add CPU OPP and regulator supply property

2015-07-10 Thread Krzysztof Kozlowski
On 10.07.2015 00:43, Bartlomiej Zolnierkiewicz wrote: For Exynos4x12 platforms, add CPU operating points (using opp-v2 bindings) and CPU regulator supply properties for migrating from Exynos specific cpufreq driver to using generic cpufreq driver. Based on the earlier work by Thomas

Re: [PATCH] dmaengine: xgene-dma: Fix the resource map to handle overlapping

2015-07-10 Thread Rameshwar Sahu
Hi Vinod, On Tue, Jul 7, 2015 at 3:34 PM, Rameshwar Prasad Sahu rs...@apm.com wrote: There is an overlap in dma ring cmd csr region due to sharing of ethernet ring cmd csr region. This patch fix the resource overlapping by mapping the entire dma ring cmd csr region. Signed-off-by: Rameshwar

[PATCH v3 1/3] clk: mediatek: Fix PLL registers setting flow

2015-07-10 Thread James Liao
Write postdiv and pcw settings at the same time for PLLs if postdiv and pcw settings are on the same register. This is need by PLLs such as MT8173 MMPLL and ARM*PLL. Signed-off-by: James Liao jamesjj.l...@mediatek.com --- drivers/clk/mediatek/clk-pll.c | 21 - 1 file

[PATCH v3 2/3] clk: mediatek: Fix calculation of PLL rate settings

2015-07-10 Thread James Liao
Avoid u32 overflow when calculate post divider setting, and increase the max post divider setting from 3 (/8) to 4 (/16). Signed-off-by: James Liao jamesjj.l...@mediatek.com --- drivers/clk/mediatek/clk-pll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v3 0/3] Fixes for MT8173 PLLs

2015-07-10 Thread James Liao
Title changed. Previous title is Add MT8173 MMPLL change rate support and can be found in [1]. This patchset contains some fixes for changing rate of PLLs, especially for MMPLL. The first 2 patches are common fixes for PLLs, and the last patch is a fix to support MT8173 MMPLL changing rate

[PATCH v3 3/3] clk: mediatek: Add MT8173 MMPLL change rate support

2015-07-10 Thread James Liao
MT8173 MMPLL frequency settings are different from common PLLs. It needs different post divider settings for some ranges of frequency. This patch add support for MT8173 MMPLL frequency setting by adding div-rate table to lookup suitable post divider setting under a specified frequency.

Re: [RFC][PATCH 04/24] arm64: Provide atomic_{or,xor,and}

2015-07-10 Thread Will Deacon
Hi Peter, On Thu, Jul 09, 2015 at 06:28:59PM +0100, Peter Zijlstra wrote: Implement atomic logic ops -- atomic_{or,xor,and}. These will replace the atomic_{set,clear}_mask functions that are available on some archs. Signed-off-by: Peter Zijlstra (Intel) pet...@infradead.org --- Whilst

Re: [PATCH v6 1/4] drm/layerscape: Add Freescale DCU DRM driver

2015-07-10 Thread Emil Velikov
Hi Jianwei, On 10 July 2015 at 08:47, Wang J.W. jianwei.w...@freescale.com wrote: Hi Mark, Thank you very much for your review! I have update my DRM driver. All your three comments have been applied in this latest version. I replied the last email several times, but all refused the mailist.

Re: [PATCH] x86/kconfig/32: Make CONFIG_VM86 default to n and remove EXPERT

2015-07-10 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: [...] The one thing we might want to do is to rename the config option, simply to make sure that people who do make oldconfig will actually see the new question and hopefully pick the new default rather than just getting their old

Re: [RFC PATCH] i2c: busses: i2c-omap: Increase timeout for i2c interrupt

2015-07-10 Thread Alexander Sverdlin
Hi Vignesh, On 10/07/15 07:09, ext Vignesh R wrote: When system is under load and there is an i2c transaction running following warning appears on the console: [ 730.003617] omap_i2c 4807.i2c: controller timed out [ 731.023643] omap_i2c 4807.i2c: controller timed out This is

Re: [PATCH 1/2] of_mdio: add new DT property 'link' for fixed-link

2015-07-10 Thread Sebastien Rannou
On Fri, 10 Jul 2015, Stas Sergeev wrote: 10.07.2015 00:15, Florian Fainelli пишет: Then, if the in-band status indication is not reliable (which really should be completely understood), Agree! But this is not something I can help with. Sebastien Rannou reports the problem, please ask him

Re: Gemini Soc timers

2015-07-10 Thread Linus Walleij
On Thu, Jul 9, 2015 at 6:48 PM, Roman Yeryomin ro...@advem.lv wrote: [Me] As usual they are just keeping it out of mainline, and this is adding sched_clock() and other goodies so should probably be upstreamed ASAP. This is what I initially submitted here. Ah. I missed part of the start of

Re: [PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-07-10 Thread Shawn Guo
On Wed, Jun 24, 2015 at 02:03:41PM +0530, Sanchayan Maity wrote: Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com ---

  1   2   3   4   5   6   7   8   9   >