Re: [PATCH] Input - elantech: force a resolution of 31 u/mm

2015-07-09 Thread Hans de Goede
Hi, On 10-07-15 02:32, Peter Hutterer wrote: All Elantech touchpads pre-v4 with dynamic resolution queries have a fixed resolution of 800dpi -> 31.49 units/mm. Set this statically, so userspace does not have to guess. Cc: Duson Lin Signed-off-by: Peter Hutterer Ah I was planning on writing

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

2015-07-09 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 wrote: > On Thu, Jul 09, 2015 at 02:45:22PM +0200, anders.fridl...@gmail.com wrote: >> From: Anders Fridlund > same comm

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

2015-07-09 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 > --- > > Changes since first version: >

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

2015-07-09 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 ne

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

2015-07-09 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 f

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

2015-07-09 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 --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html ---

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

2015-07-09 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 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 (accept "-0

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

2015-07-09 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 > > --- > > The coccinelle script which generated the patch was sent here: > http://www.spinics.net/lists/kernel/msg202

[git pull] drm fixes

2015-07-09 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 fix

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

2015-07-09 Thread Sascha Hauer
On Wed, Jul 08, 2015 at 05:41:05PM +0800, Chunfeng Yun wrote: > Signed-off-by: Chunfeng Yun > --- > drivers/usb/phy/Kconfig | 10 + > drivers/usb/phy/Makefile | 1 + > drivers/usb/phy/phy-mt65xx-usb3.c | 856 > ++ > 3 files changed, 867 i

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

2015-07-09 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 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 start the

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- 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 | 1 - drivers/rtc/rtc-

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

2015-07-09 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 > ) > > @ defines_module_init @ > declarer name module_init, module_exit; > declarer name DEFI

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

2015-07-09 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] rtc: Drop owner assignment from platform_driver

2015-07-09 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 +++ b/dri

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

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

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

2015-07-09 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 a

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

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- arch/powerpc/platforms/powernv/opal-prd.c

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

2015-07-09 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 > ) > > @ defines_module_init @ > declarer name module_init, module_exit; > declarer nam

[PATCH] pci: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/pci/host/pci-xgene-msi.c | 1 - 1

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

2015-07-09 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-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/video/fbdev/omap2/displays-new/enc

[PATCH] vfio: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/vfio/platform/vfio_platform.c | 1

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/video/fbdev/ssd1307fb.c | 1 - 1 file change

[PATCH] w1: Drop owner assignment from i2c_driver

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

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/tty/serial/sc16is7xx.c | 1 - 1 file changed

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

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/tty/serial/8250/8250_ingenic.c | 1

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

2015-07-09 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 3/3] staging: Drop owner assignment from i2c_driver

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

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/staging/media/lirc/lirc_zilog.c | 1 - drive

[PATCH] thermal: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/thermal/hisi_thermal.c | 1 - 1 fi

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/staging/iio/addac/adt7316-i2c.c | 1 - drive

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

2015-07-09 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] crypto: Drop owner assignment from platform_driver

2015-07-09 Thread Boris Brezillon
On Fri, 10 Jul 2015 14:46:16 +0900 Krzysztof Kozlowski wrote: > platform_driver does not need to set an owner because > platform_driver_register() will set it. > > Signed-off-by: Krzysztof Kozlowski Acked-by: Boris Brezillon > > --- > > The coccinelle script which generated the patch was se

[PATCH] spi: Drop owner assignment from i2c_driver

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

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

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/soc/mediatek/mtk-pmic-wrap.c | 1 -

[PATCH] net: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/net/ethernet/hisilicon/hip04_eth.c

[PATCH] pwm: Drop owner assignment from i2c_driver

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

[PATCH] pinctrl: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/pinctrl/sirf/pinctrl-atlas7.c | 1

[PATCH] phy: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/phy/phy-berlin-usb.c| 1 -

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

2015-07-09 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 --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/of/unittest.c | 3 --- 1 file changed, 3 de

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

2015-07-09 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 > >

[PATCH] nfc: Drop owner assignment from i2c_driver

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

[PATCH] misc: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/misc/ad525x_dpot-i2c.c | 1 - driver

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/dvb-frontends/a8293.c | 1 -

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

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

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

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

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/radio/radio-tea5764.c | 1 - drivers/m

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

2015-07-09 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

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/usb/go7007/s2250-board.c | 1 - driver

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

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/platform/s5p-tv/hdmiphy_drv.c | 1 - d

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

2015-07-09 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/7] [media] dvb-frontends: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/media/dvb-frontends/rtl2832_sdr.c

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

2015-07-09 Thread Simon Wood
Patch HID report descriptor to add joystick axis for the L1 button (previously missing). Signed-off-by: Simon Wood --- 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 ed2f008..69586b3 100644

Re: Query: Clock driver requests mailbox channel

2015-07-09 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 wrote: > > > > Hi all, > > > > > > > > i'm

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

2015-07-09 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 wrote: > >> Sometimes the input from user may cause an unexpected result. >> >> for example, echo "1-3," > /proc/irq//smp_affinity_list. >> The correct resul

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

2015-07-09 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 --- arch/arm/boot/dts/mt6580.dtsi | 20 1 file c

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

2015-07-09 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 --- Documentation/devicetre

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

2015-07-09 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 su

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

2015-07-09 Thread Scott Shu
This adds the SCPSYS device node to the MT6580 dtsi file. Signed-off-by: Scott Shu --- 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 --- a/arch/arm/boot/dts/mt6580

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

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

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

2015-07-09 Thread Scott Shu
We enable GTP6 which ungates the arch timer clock. Signed-off-by: Scott Shu --- 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 6b38d67..469d332 100644 --- a/arch

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

2015-07-09 Thread Scott Shu
This adds a CPU power domain driver for the Mediatek SCPSYS unit on MT6580. Signed-off-by: Scott Shu --- arch/arm/mach-mediatek/Makefile | 2 +- arch/arm/mach-mediatek/generic.h | 23 arch/arm/mach-mediatek/hotplug.c | 267 +++ 3 files changed, 291 in

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

2015-07-09 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] mailbox: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/mailbox/bcm2835-mailbox.c | 1 - 1

[PATCH] leds: Drop owner assignment from i2c_driver

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

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

2015-07-09 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 exac

[PATCH] input: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/input/keyboard/adp5589-keys.c | 1 - d

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

2015-07-09 Thread Alexandre Belloni
Hi Guenter, On 09/07/2015 at 20:14:38 -0700, Guenter Roeck wrote : > > This patch introduces a new compatible string: "atmel,sama5d3-rstc" for the > > reset driver of sama5d3 and later chips. > > As in sama5d3 or later chips, we don't have to shutdown the DDR controller > > before reset. Shutdown

[PATCH] iio: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/iio/accel/bma180.c | 1 - dr

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

2015-07-09 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 a

[PATCH] i2c: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/i2c/i2c-slave-eeprom.c | 1 - drivers/i

[PATCH] acpi-cpufreq: Add a miss ifdef CONFIG_X86_ACPI_CPUFREQ_CPB

2015-07-09 Thread Pan Xinhui
If CONFIG_X86_ACPI_CPUFREQ_CPB has not been defined, the placeholder for cpb is not needed. Add ifdef around it. Signed-off-by: Pan Xinhui --- drivers/cpufreq/acpi-cpufreq.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c ind

[PATCH] hwmon: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/hwmon/g762.c | 1 - 1 file changed, 1 deleti

[PATCH] gpio: Drop owner assignment from i2c_driver

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

[PATCH] hid: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/hid/i2c-hid/i2c-hid.c | 1 - 1 file changed,

[PATCH] extcon: Drop owner assignment from i2c_driver

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

linux-next: Tree for Jul 10

2015-07-09 Thread Stephen Rothwell
Hi all, Changes since 20150709: The drm-intel tree gained conflicts against the drm-intel-fixes trees. Non-merge commits (relative to Linus' tree): 1420 1324 files changed, 75720 insertions(+), 21647 deletions(-) --

Re: [PATCH 36/36] PCI: Don't set flags to 0 when assign resource fail

2015-07-09 Thread Yinghai Lu
On Thu, Jul 9, 2015 at 7:48 PM, Yinghai Lu wrote: > On Thu, Jul 9, 2015 at 7:30 PM, Wei Yang wrote: >> If you could update your for-pci-v4.3-next branch, that would be more >> convenient for me to do the test. > > Just updated that branch, please check it. > just updated the branch again. If yo

[PATCH] edac: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/edac/xgene_edac.c | 1 - 1 file ch

Re: [PATCH v2 2/2] clk: mediatek: Add MT8173 MMPLL change rate support

2015-07-09 Thread James Liao
Hi Stephen, On Wed, 2015-07-08 at 17:46 -0700, Stephen Boyd wrote: > On 07/08/2015 01:37 AM, James Liao wrote: > > diff --git a/drivers/clk/mediatek/clk-pll.c b/drivers/clk/mediatek/clk-pll.c > > index 68af518..622e7b6 100644 > > --- a/drivers/clk/mediatek/clk-pll.c > > +++ b/drivers/clk/mediatek/

[PATCH] crypto: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/crypto/marvell/cesa.c | 1 - 1 fil

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

2015-07-09 Thread Sergey Senozhatsky
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 result. > > * From v1 > * remove unnecessary found variable - Sergey > >

Re: [PATCH 0/2] Add MT8173 MMPLL change rate support

2015-07-09 Thread James Liao
Hi Stephen, On Wed, 2015-07-08 at 17:44 -0700, Stephen Boyd wrote: > On 07/08/2015 01:37 AM, James Liao wrote: > > 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

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

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

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

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/regulator/da9062-regulator.c | 1 -

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

2015-07-09 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] power_supply: Drop owner assignment from i2c_driver

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

[PATCH] phy: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/phy/phy-armada375-usb2.c | 1 - 1 file chang

[PATCH] drm: Drop owner assignment from i2c_driver

2015-07-09 Thread Krzysztof Kozlowski
i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- drivers/gpu/drm/bridge/ps8622.c | 1 - d

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

2015-07-09 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] Staging: sm750fb: ddk750_dvi.h: Fix brace coding style issue

2015-07-09 Thread Sudip Mukherjee
On Thu, Jul 09, 2015 at 02:45:22PM +0200, anders.fridl...@gmail.com wrote: > From: Anders Fridlund same comment that I gave to your another patch. "No need to mention this From: here. Please fix your .gitconfig so that git send-email will put your name in the email From: header." regards sudip --

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

2015-07-09 Thread Sergey Senozhatsky
On (07/10/15 14:21), Minchan Kim wrote: > > I mean I find your argument that some level of fragmentation > > can be of use to be valid, to some degree. > > The benefit I had in mind was to prevent failure of allocation. > Sure. I tested the patch. cat /sys/block/zram0/mm_stat 3122102272 2882639

[PATCH] char: Drop owner assignment from i2c_driver

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

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

2015-07-09 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 v2] zsmalloc: consider ZS_ALMOST_FULL as migrate source

2015-07-09 Thread Minchan Kim
From: Minchan Kim 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 result. * From v1 * remove unnecessary found variable - Sergey Signed-off-by: Minchan Kim --- mm/z

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

2015-07-09 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] ASoC: Drop owner assignment from platform_driver

2015-07-09 Thread Krzysztof Kozlowski
platform_driver does not need to set an owner because platform_driver_register() will set it. Signed-off-by: Krzysztof Kozlowski --- The coccinelle script which generated the patch was sent here: http://www.spinics.net/lists/kernel/msg2029903.html --- sound/soc/mediatek/mt8173-max98090.c

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

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

RE: [RFC] genalloc:add an gen_pool_alloc_align func to genalloc

2015-07-09 Thread Zhao Qiang
> -Original Message- > From: Wood Scott-B07421 > Sent: Friday, July 10, 2015 6:20 AM > To: Zhao Qiang-B45475 > Cc: lau...@codeaurora.org; linux-kernel@vger.kernel.org; linuxppc- > d...@lists.ozlabs.org; a...@linux-foundation.org; o...@lixom.net; > catalin.mari...@arm.com; Xie Xiaobo-R630

  1   2   3   4   5   6   7   8   9   >