Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-09 Thread Viresh Kumar
On 9 May 2014 06:39, Jonghwan Choi jhbird.c...@samsung.com wrote: - In exynos cpufreq driver, if we want to support more frequency, then Don't add - to your replies, it doesn't make it more readable but less. we have to describe frequency information in dts file and have to change exynos

[PATCH] sched: clean up select_task_rq_fair conditionals and indentation

2014-05-09 Thread Rik van Riel
This cleanup goes on top of the previous patch. We could also skip the whole domain iteration if !want_affine, but that doesn't fit nicely in 80 columns and may have to be done in yet another patch (breaking that bit of the code out into its own function?) ---8--- Subject: sched: clean up

Re: [PATCHSET 00/17] perf report: Add -F option for specifying output fields (v4)

2014-05-09 Thread Namhyung Kim
Hi Don, On Wed, 7 May 2014 11:22:19 -0400, Don Zickus wrote: On Wed, May 07, 2014 at 12:05:58PM +0900, Namhyung Kim wrote: Hi Don, On Wed, 30 Apr 2014 09:35:55 -0400, Don Zickus wrote: On Wed, Apr 30, 2014 at 08:38:10AM +0900, Namhyung Kim wrote: Hi Don, On Tue, 29 Apr 2014 13:27:35

[PATCH 2/2] drm/exynos: Fix double locks at PM resume

2014-05-09 Thread Takashi Iwai
The recent commit [3ea87855: drm/helper: lock all around force mode restore] introduced drm_modeset_lock_all() in drm_helper_resume_force_mode() itself, while exynos driver takes this lock before calling it. Move the function call outside the lock for avoiding a deadlock. Signed-off-by: Takashi

[PATCH 1/2] drm/ast: Fix double lock at PM resume

2014-05-09 Thread Takashi Iwai
The recent commit [3ea87855: drm/helper: lock all around force mode restore] introduced drm_modeset_lock_all() in drm_helper_resume_force_mode() itself, while ast driver still takes this lock before calling it. Remove the caller side lock for avoid a fatal deadlock. Signed-off-by: Takashi Iwai

Re: [PATCH v3 1/4] DMA-API: Clarify physical/bus address distinction

2014-05-09 Thread Arnd Bergmann
On Thursday 08 May 2014 14:48:54 Bjorn Helgaas wrote: The DMA-API documentation sometimes refers to physical addresses when it really means bus addresses. Sometimes these are identical, but they may be different if the bridge leading to the bus performs address translation. Update the

Re: [PATCH v5] mm: support madvise(MADV_FREE)

2014-05-09 Thread Minchan Kim
Hello Rik, On Thu, May 08, 2014 at 04:04:33PM -0400, Rik van Riel wrote: On 04/20/2014 09:56 PM, Minchan Kim wrote: In summary, MADV_FREE is about 2 time faster than MADV_DONTNEED. This is awesome. Thanks! I have a few nitpicks with the patch, though :) +static long

Re: Re: [RFC PATCH 0/2] kpatch: dynamic kernel patching

2014-05-09 Thread Masami Hiramatsu
(2014/05/08 21:48), Josh Poimboeuf wrote: No, I was not demanding that at all, my suggestion was: My claim is that if a patch is correct/safe in the old fashioned way, then a fundamental principle is that a live patching subsystem must either safely apply, or safely reject the

Re: [RFC PATCH] net:Add basic DWC Ethernet QoS Driver

2014-05-09 Thread Andreas Irestål
On Thursday 08 May 2014 19:29:37 David Miller wrote: Why did you post this patch twice? Is there some difference between the two versions? No they're not. It was a mistake by me as the patch did not appear on my netdev subscription, fooling me to send a second time. Please ignore the

Re: [PATCH v5] mm: support madvise(MADV_FREE)

2014-05-09 Thread Minchan Kim
On Fri, May 09, 2014 at 03:17:14PM +0900, Minchan Kim wrote: Hello Rik, On Thu, May 08, 2014 at 04:04:33PM -0400, Rik van Riel wrote: On 04/20/2014 09:56 PM, Minchan Kim wrote: In summary, MADV_FREE is about 2 time faster than MADV_DONTNEED. This is awesome. Thanks! I

[RFC PATCH] ARM: dts: am33xx: Re-arrange the USB dt to reflect the h/w configuration

2014-05-09 Thread George Cherian
Re arrange the USB dt for AM33xx to take it a bit closer to the hardware configuration. The USBSS is designed as follows USB control Module 0x44e10_0620 USBSS 0x4740_ USB00x4740_1000 USB0_PHY0x4740_1300 USB0_CORE

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-05-09 Thread Chanwoo Choi
Hi Tomasz, On 04/26/2014 08:38 PM, Tomasz Figa wrote: On 26.04.2014 02:51, Tomasz Figa wrote: Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: From: Tomasz Figa t.f...@samsung.com This patch add new exynos3250.dtsi to support Exynos3250 SoC based on Cortex-A7 dual core and includes

[PATCH net-next RESEND] vlan: rename __vlan_find_dev_deep() to __vlan_find_dev_deep_rcu_rcu()

2014-05-09 Thread Ding Tianhong
The __vlan_find_dev_deep should always called in RCU, according David's suggestion, rename to __vlan_find_dev_deep_rcu looks more reasonable. Signed-off-by: Ding Tianhong dingtianh...@huawei.com --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c | 2 +-

[PATCH v3 3/3] ARM: vt8500: drop CONFIG_COMMON_CLK_DEBUG

2014-05-09 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch drops CONFIG_COMMON_CLK_DEBUG option as this config option is now obsolete. CC: Olof Johansson o...@lixom.net CC: Tony Prisk li...@prisktech.co.nz Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com ---

[PATCH v3 2/3] ARM: sunxi: drop CONFIG_COMMON_CLK_DEBUG

2014-05-09 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch drops CONFIG_COMMON_CLK_DEBUG option as this config option is now obsolete. CC: Maxime Ripard maxime.rip...@free-electrons.com CC: Olof Johansson o...@lixom.net Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com ---

[PATCH v3 1/3] ARM: integrator: drop CONFIG_COMMON_CLK_DEBUG

2014-05-09 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch drops CONFIG_COMMON_CLK_DEBUG option as this config option is now obsolete. CC: Linus Walleij linus.wall...@linaro.org Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/configs/integrator_defconfig |1 - 1 file

[PATCH v3 0/3] ARM: defconfig: drop CONFIG_COMMON_CLK_DEBUG option

2014-05-09 Thread Lad, Prabhakar
From: Lad, Prabhakar prabhakar.cse...@gmail.com Hi All, This patch series drops the CONFIG_COMMON_CLK_DEBUG option from rest of the defconfig files. Changes for v3: a Splitted up the patch so that individual owners can pick it up. Lad, Prabhakar (3): ARM: integrator: drop

Re: [PATCH] pci: rcar host needs OF

2014-05-09 Thread Arnd Bergmann
On Thursday 08 May 2014 17:21:54 Arnd Bergmann wrote: On Thursday 08 May 2014 17:16:32 Geert Uytterhoeven wrote: On Thu, May 8, 2014 at 5:06 PM, Ben Dooks ben.do...@codethink.co.uk wrote: @@ -27,7 +27,7 @@ config PCI_TEGRA config PCI_RCAR_GEN2 bool Renesas R-Car Gen2

Re: [PATCH] mdio_bus: fix devm_mdiobus_alloc_size export

2014-05-09 Thread Prabhakar Lad
On Thu, May 8, 2014 at 8:16 PM, Arnd Bergmann a...@arndb.de wrote: commit 6d48f44b7b2 mdio_bus: implement devm_mdiobus_alloc/devm_mdiobus_free introduced a new function devm_mdiobus_alloc_size() but added an export for a different function devm_mdiobus_alloc(), which was obviously a simple

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-05-09 Thread Chanwoo Choi
Hi Tomasz, On 05/09/2014 02:02 PM, Tomasz Figa wrote: Hi Chanwoo, On 09.05.2014 03:06, Chanwoo Choi wrote: On 04/26/2014 09:51 AM, Tomasz Figa wrote: On 25.04.2014 03:16, Chanwoo Choi wrote: [snip] +cpus { +#address-cells = 1; +#size-cells = 0; + +cpu@0

Re: [PATCH v2] ARM: configs: drop CONFIG_COMMON_CLK_DEBUG

2014-05-09 Thread Prabhakar Lad
Hi Santosh, On Fri, May 9, 2014 at 1:01 AM, Santosh Shilimkar santosh.shilim...@ti.com wrote: On Tuesday 29 April 2014 03:07 AM, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch removes COMMON_CLK_DEBUG config option from defconfig file as this config option is

Re: [PATCH 1/5] x86, nmi: Add new nmi type 'external'

2014-05-09 Thread Ingo Molnar
* Don Zickus dzic...@redhat.com wrote: On Thu, May 08, 2014 at 07:35:01PM +0200, Ingo Molnar wrote: * Don Zickus dzic...@redhat.com wrote: Again, I don't have a solution to juggle between PMI performance and reliable delivery. We could do away with the spinlocks and go

Re: [linux-sunxi] Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-09 Thread Lee Jones
The PRCM (Power/Reset/Clock Management) block exposes several subdevices in different subsystems (clk, reset ...) Add basic support for the PRCM unit with clk (AR100, AHB0, and APB0 clks) and reset controller subdevices. Other subdevices might be added later (if needed).

Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-09 Thread Lee Jones
+static struct platform_driver sun6i_prcm_driver = { + .driver = { + .name = sun6i-prcm, + .owner = THIS_MODULE, + .of_match_table = sun6i_prcm_dt_ids, + }, + .probe = sun6i_prcm_probe, You need a .remove() call-back. This driver cannot be compiled

Re: linux-next: manual merge of the mmc tree with Linus' tree

2014-05-09 Thread Lee Jones
Today's linux-next merge of the mmc tree got a conflict in drivers/mmc/host/rtsx_pci_sdmmc.c between commit 98fcc5762dce (mmc: rtsx: Revert mmc: rtsx: add support for pre_req and post_req) from the tree and commit 1f7b581b3ffc (mmc: rtsx: modify error handle and remove smatch warnings) from

Re: [PATCH/RFC v3 5/5] media: Add registration helpers for V4L2 flash sub-devices

2014-05-09 Thread Jacek Anaszewski
Hi Sakari, On 05/07/2014 09:58 AM, Sakari Ailus wrote: Hi Jacek, On Wed, May 07, 2014 at 09:20:17AM +0200, Jacek Anaszewski wrote: On 05/06/2014 11:10 AM, Sakari Ailus wrote: Hi Jacek, On Tue, May 06, 2014 at 08:44:41AM +0200, Jacek Anaszewski wrote: Hi Sakari, On 05/02/2014 01:06 PM,

Re: [3.15-rc3] BUG: null ptr dereference in ichx_gpio_request_regions()

2014-05-09 Thread Lee Jones
On Thu, 08 May 2014, Linus Walleij wrote: On Wed, May 7, 2014 at 4:33 PM, Peter Hurley pe...@hurleysoftware.com wrote: Hi Vincent, On 05/07/2014 10:05 AM, Vincent Donnefort wrote: Hello Peter, This is almost certainly caused by the uninitialized regs ptr in the ich6_desc struct

Re: [RFC][PATCH 1/3] PM / sleep: Flag to speed up suspend-resume of runtime-suspended devices

2014-05-09 Thread Ulf Hansson
Hi Rafael, @@ -1485,3 +1486,10 @@ out: return ret; } EXPORT_SYMBOL_GPL(pm_runtime_force_resume); + +void pm_set_direct_resume(struct device *dev, bool val) +{ + spin_lock_irq(dev-power.lock); + __set_direct_resume(dev, val); + spin_unlock_irq(dev-power.lock);

Re: [patch v2] Documentation/email-clients.txt: add a section about git

2014-05-09 Thread Dan Carpenter
On Fri, May 09, 2014 at 09:24:56AM +0900, Namhyung Kim wrote: +Git +-- +These days most developers use `git send-email` instead of regular +email clients. On the receiving end, maintainers use `git am` to +apply the

Re: [patch v2] Documentation/email-clients.txt: add a section about git

2014-05-09 Thread Dan Carpenter
On Thu, May 08, 2014 at 05:28:46PM +0800, Hillf Danton wrote: And a howto to tame gmail is doule apprecaited. There is actually a gmail section in the man page. `man git send-email` It's a the bottom. EXAMPLE Use gmail as the smtp server To use git send-email to send your patches

Re: [PATCH] [media] s2255drv: fix memory leak s2255_probe()

2014-05-09 Thread Sakari Ailus
Hi Daeseok, Thanks for the update! :-) On Fri, May 09, 2014 at 07:57:18AM +0900, Daeseok Youn wrote: smatch says: drivers/media/usb/s2255/s2255drv.c:2246 s2255_probe() warn: possible memory leak of 'dev' Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- V2: use the same pattern for

Re: [PATCH] sched: wake up task on prev_cpu if not in SD_WAKE_AFFINE domain with cpu

2014-05-09 Thread Mike Galbraith
On Fri, 2014-05-09 at 01:27 -0400, Rik van Riel wrote: On Thu, 08 May 2014 22:20:25 -0400 Rik van Riel r...@redhat.com wrote: Looks like SD_BALANCE_WAKE is not gotten from the sd flags at all, but passed into select_task_rq by try_to_wake_up, as a hard coded sd_flags argument.

Re: [PATCH 1/2] input: fix ps2/serio module dependency

2014-05-09 Thread Arnd Bergmann
On Thursday 08 May 2014 08:59:31 Dmitry Torokhov wrote: Hi Arnd, On Thu, May 08, 2014 at 04:56:26PM +0200, Arnd Bergmann wrote: @@ -71,7 +71,7 @@ config KEYBOARD_ATKBD default y select SERIO select SERIO_LIBPS2 - select SERIO_I8042 if X86 + select

Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-09 Thread Hans de Goede
Hi, On 05/09/2014 09:12 AM, Lee Jones wrote: +static struct platform_driver sun6i_prcm_driver = { + .driver = { + .name = sun6i-prcm, + .owner = THIS_MODULE, + .of_match_table = sun6i_prcm_dt_ids, + }, + .probe = sun6i_prcm_probe, You need a .remove()

[PATCH] RFT: pinctrl: sunxi: convert to GPIO irqchip helpers

2014-05-09 Thread Linus Walleij
This switches the sunxi pinctrl driver over to using the generic gpiolib irqchip helpers for its chained irqs. As the .to_irq() callback on the gpiochip was doing some function indexing this was moved over to the .irq_startup callback on the irqchip (where it belongs, since it is perfectly legal

Re: [PATCH] ACPI/Battery: Accelerate battery resume callback

2014-05-09 Thread Pavel Machek
Hi! Most time of battery resume callback is spent on executing AML code _BTP, _BIF and _BIF to get battery info, status and set alarm. These AML methods may access EC operation regions several times and consumes time. These operations are not necessary during devices resume and can run

Re: [PATCH] PM / suspend: Always use deepest C-state in the freeze sleep state

2014-05-09 Thread Pavel Machek
On Mon 2014-05-05 00:51:54, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com If freeze_enter() is called, we want to bypass the current cpuidle governor and always use the deepest available (that is, not disabled) C-state, because we want to save as much energy as

Re: RFC: A reduced Linux network stack for small systems

2014-05-09 Thread Pavel Machek
Hi! wants to build it and try it out: https://github.com/tzanussi/meta-galileo/blob/daisy/meta-galileo/README It's very much a work-in-progress with a lot of rough edges, but it is a fully functional system on real hardware (Galileo board/Quark processor) with a usable shell (ps

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-09 Thread Pavel Machek
On Mon 2014-05-05 23:12:29, David Miller wrote: From: Andi Kleen a...@firstfloor.org Date: Mon, 5 May 2014 15:25:57 -0700 This is all the code that saves connection information between different sockets. Not really essential for small systems. It is absolutely essential unless you

Re: RFC: A reduced Linux network stack for small systems

2014-05-09 Thread Pavel Machek
that is likely working only for the given very limited set of applications. Kernel function profiling can potentially achieve the same thing. Profile the kernel with the set of apps and then prune all cold functions out of kernel. Right, and are Profile-Guided-Optimization results now

Re: linux-next: manual merge of the mmc tree with Linus' tree

2014-05-09 Thread Ulf Hansson
On 9 May 2014 09:14, Lee Jones lee.jo...@linaro.org wrote: Today's linux-next merge of the mmc tree got a conflict in drivers/mmc/host/rtsx_pci_sdmmc.c between commit 98fcc5762dce (mmc: rtsx: Revert mmc: rtsx: add support for pre_req and post_req) from the tree and commit 1f7b581b3ffc (mmc:

Re: [PATCH] ACPI/Battery: Accelerate battery resume callback

2014-05-09 Thread Lan Tianyu
On 2014年05月09日 15:38, Pavel Machek wrote: Hi! Most time of battery resume callback is spent on executing AML code _BTP, _BIF and _BIF to get battery info, status and set alarm. These AML methods may access EC operation regions several times and consumes time. These operations are not

[PATCHv2 2/5] devfreq: Add resource-managed function for devfreq device

2014-05-09 Thread Chanwoo Choi
This patch add resource-managed function for devfreq device as following functions. The devm_devfreq_add_device() manages automatically the memory of devfreq device using device resource management. - devm_devfreq_add_device() - devm_devfreq_remove_device() Signed-off-by: Chanwoo Choi

[PATCHv2 3/5] devfreq: Add devm_devfreq_{register,unregister}_opp_notfier function

2014-05-09 Thread Chanwoo Choi
This patch add resource-managed function for devfreq opp as following functions. The devm_devfreq_register_opp_notifier() manages automatically the registration of devfreq opp using device resource management. - devm_devfreq_register_opp_notifier - devm_devfreq_unregister_opp_notifier()

[PATCHv2 5/5] devfreq: exynos5: Use devm_devfreq_* function using device resource management

2014-05-09 Thread Chanwoo Choi
This patch uses devm_devfreq_add_device()/devm_devfreq_register_opp_notifier() to control automatically the resource of devfreq. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Cc: Kukjin Kim kgene@samsung.com Cc: Sachin Kamat sachin.ka...@linaro.org Cc: Bartlomiej Zolnierkiewicz

[PATCH] Fix _IOC_TYPECHECK sparse error

2014-05-09 Thread Hans Verkuil
Andrew, can you merge this for 3.15 or 3.16 (you decide)? While it fixes a sparse error for the media subsystem, it is not really appropriate to go through our media tree. Thanks, Hans When running sparse over drivers/media/v4l2-core/v4l2-ioctl.c I get these errors:

[PATCHv2 0/5] devfreq: Support resource management functions and code clean

2014-05-09 Thread Chanwoo Choi
This patchset fix devfreq_remove_device() to remove duplicate function call of _remove_devfreq() and add following functions for the resource management of devfreq device and simpify the control of resource on exynos4_bus/exynos5_bus driver. - devm_devfreq_add_device - devm_devfreq_remove_device -

[PATCHv2 4/5] devfreq: exynos4: Use devm_devfreq_* function using device resource management

2014-05-09 Thread Chanwoo Choi
This patch uses devm_devfreq_add_device()/devm_devfreq_register_opp_notifier() to control automatically the resource of devfreq. Signed-off-by: Chanwoo Choi cw00.c...@samsung.com Cc: Kukjin Kim kgene@samsung.com Cc: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Cc: Wei Yongjun

[PATCHv2 1/5] devfreq: Fix devfreq_remove_device() to improve the sequence of resource free

2014-05-09 Thread Chanwoo Choi
This patch modify devfreq_remove_device() to improve the sequence of resource free. If executing existing devfreq_remove_device(), this function always executes _remove_devfreq() twice. In result, second _remove_devfreq() always return error value. So, This patch resolves complicated function

linux-next: Tree for May 9

2014-05-09 Thread Stephen Rothwell
Hi all, This tree still fails (more than usual) the powerpc allyesconfig build and also the celleb_defconfig. Changes since 20140508: The powerpc tree still had its build failure. The bluetooth tree gained a conflict against Linus' tree. The crypto tree gained conflicts against the

Re: [alsa-devel] [PATCH] sound: soc: intel: remove unneeded dependency from Makefile

2014-05-09 Thread Jarkko Nikula
On Thu, May 08, 2014 at 10:56:11AM +0530, Lad Prabhakar wrote: From: Lad, Prabhakar prabhakar.cse...@gmail.com this patch removes drops the entries form Makefile, fixing following issues when make clean was run, scripts/Makefile.clean:17: sound/soc/intel/board/Makefile: No such file or

Re: [PATCH 1/2] x86: Fix typo preventing msr_set/clear_bit from having an effect

2014-05-09 Thread Borislav Petkov
On Fri, May 09, 2014 at 03:29:16AM +0200, Andres Freund wrote: Due to a typo the msr accessor function introduced in 22085a66c2fab6cf9b9393c056a3600a6b4735de didn't have any lasting effects because they accidentally wrote the old value back. After c0a639ad0bc6b178b46996bd1f821a04643e2bde

Re: [regression 3.15-rc3] Resume from s4 broken by 1f81b6d22a5980955b01e08cf27fb745dc9b686f

2014-05-09 Thread Mathias Nyman
I can't see how this relates to Julius patch though, and I'm not sure yet why it only triggers when devices are connected to SS ports. Maybe just unlucky timing? I think the non-SS ports are connected to the EHCI controllers rather than the XHCI controllers. So that explains at least one

Re: [PATCH 2/2] x86: Fix typo in MSR_IA32_MISC_ENABLE_LIMIT_CPUID macro

2014-05-09 Thread Borislav Petkov
On Fri, May 09, 2014 at 03:29:17AM +0200, Andres Freund wrote: The spuriously added semicolon didn't have any effect because the macro isn't currently in use. c0a639ad0bc6b178b46996bd1f821a04643e2bde Signed-off-by: Andres Freund and...@anarazel.de Cc: Borislav Petkov b...@suse.de Cc: H.

Re: [lm-sensors] coretemp.0 folder contents changed

2014-05-09 Thread Jean Delvare
Hi Guenter, On Wed, 07 May 2014 05:10:58 -0700, Guenter Roeck wrote: On 05/07/2014 12:13 AM, Jean Delvare wrote: On Tue, 06 May 2014 06:32:15 -0700, Guenter Roeck wrote: Can we implement a similar approach to network devices and make hwmon path names (ie the /sys/class/hwmon/XXX path name)

[PATCH] drm/gk20a/fb: fix NULL dereference

2014-05-09 Thread Alexandre Courbot
gk20a_ram_put() can be called with a NULL nouveau_mem in case of error. Handle that case the way is it done in other RAM drivers. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- drivers/gpu/drm/nouveau/core/subdev/fb/ramgk20a.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [PATCH 1/3] staging: cxt1e1: Fix no spaces at the start of a line in musycc.c

2014-05-09 Thread Dan Carpenter
On Fri, May 09, 2014 at 10:38:43AM +0900, Daeseok Youn wrote: clean up checkpatch.pl warning: WARNING: please no spaces at the start of a line in Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- This patch includes cleanup for fixing line length. This patch is super hard to

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-05-09 Thread Tomasz Figa
On 09.05.2014 08:49, Chanwoo Choi wrote: Hi Tomasz, On 04/26/2014 08:38 PM, Tomasz Figa wrote: On 26.04.2014 02:51, Tomasz Figa wrote: Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: From: Tomasz Figa t.f...@samsung.com This patch add new exynos3250.dtsi to support Exynos3250 SoC

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-05-09 Thread Tomasz Figa
On 09.05.2014 09:10, Chanwoo Choi wrote: Hi Tomasz, On 05/09/2014 02:02 PM, Tomasz Figa wrote: Hi Chanwoo, On 09.05.2014 03:06, Chanwoo Choi wrote: On 04/26/2014 09:51 AM, Tomasz Figa wrote: On 25.04.2014 03:16, Chanwoo Choi wrote: [snip] +cpus { +#address-cells = 1; +

[PATCH 01/12] drm: Move DRM_ROTATE bits out of omapdrm into drm_crtc.h

2014-05-09 Thread sonika . jindal
From: Ville Syrjälä ville.syrjala at linux.intel.com The rotation property stuff should be standardized among all drivers. Move the bits to drm_crtc.h from omap_drv.h. Cc: David Airlie airl...@linux.ie Cc: Tomi Valkeinen tomi.valkei...@ti.com Cc: Dave Airlie airl...@redhat.com Cc: Rob Clark

kmemcheck: got WARNING when dynamicly adjust /proc/sys/kernel/kmemcheck to 0/1

2014-05-09 Thread Xishi Qiu
OS boot with kmemcheck=0, then set 1, do something, set 0, do something, set 1... then I got the WARNING log. Does kmemcheck support dynamicly adjust? Thanks, Xishi Qiu [ 20.200305] igb: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 20.208652] ADDRCONF(NETDEV_UP): eth0: link

Re: [RFT PATCH -next ] [BUGFIX] kprobes: Fix Failed to find blacklist error on ia64 and ppc64

2014-05-09 Thread Masami Hiramatsu
(2014/05/08 15:16), Ananth N Mavinakayanahalli wrote: On Thu, May 08, 2014 at 02:40:00PM +0900, Masami Hiramatsu wrote: (2014/05/08 13:47), Ananth N Mavinakayanahalli wrote: On Wed, May 07, 2014 at 08:55:51PM +0900, Masami Hiramatsu wrote: ... +#if defined(CONFIG_PPC64)

Re: [PATCH 2/3] Staging: cxt1e1: Fix line length over 80 characters in musycc.c

2014-05-09 Thread Dan Carpenter
This patch is ok, but here are some additional hints. On Fri, May 09, 2014 at 10:39:48AM +0900, Daeseok Youn wrote: @@ -1100,7 +1102,9 @@ musycc_bh_rx_eom(mpi_t *pi, int gchan) */ if (hdlcnum = 228) { if

Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-09 Thread Lee Jones
+static struct platform_driver sun6i_prcm_driver = { +.driver = { +.name = sun6i-prcm, +.owner = THIS_MODULE, +.of_match_table = sun6i_prcm_dt_ids, +}, +.probe = sun6i_prcm_probe, You need a .remove()

Re: [RESEND PATCH 1/6] mfd: stmpe: root out static GPIO and IRQ assignments

2014-05-09 Thread Lee Jones
The only platform using the STMPE expander now boots from device tree using all-dynamic GPIO and IRQ number assignments, so remove the mechanism to pass this from the device tree entirely. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/gpio/gpio-stmpe.c | 18

Re: [RESEND PATCH 2/6] mfd: stmpe: add optional regulators

2014-05-09 Thread Lee Jones
The STMPE has VCC and VIO supply lines, and sometimes (as on Ux500) this comes from a software-controlled regulator. Make it possible to supply the STMPE with power from these regulators. Signed-off-by: Linus Walleij linus.wall...@linaro.org --- drivers/mfd/stmpe.c | 18

Re: [RESEND PATCH 3/6] mfd: stmpe: probe properly from the device tree

2014-05-09 Thread Lee Jones
The current STMPE I2C probing code does not really match the compatible strings - it matches node names happening to give the right device name. Instead, let's introduce some real compatible matching, more complex, more accurate. Make the driver depend on OF since all platforms using it are

Re: [RESEND PATCH 4/6] mfd: stmpe: mask off unused blocks properly

2014-05-09 Thread Lee Jones
The STMPE driver would just read/modify/write the system control register on the STMPE1601, meaning it would not properly mask off the PWM block, which remained active if it was on at boot time. This makes sure the blocks are always masked off if they were active on boot, saving some power.

Re: IMA + O_DIRECT (Re: [PATCH 0/1] fix IMA + Apparmor kernel panic)

2014-05-09 Thread Dmitry Kasatkin
On 09/05/14 06:10, J. R. Okajima wrote: Dmitry Kasatkin: Following patch replaces IMA usage of kernel_read() with special version which skips security check that triggers kernel panic when Apparmor and IMA appraisal are enabled together. I know this is related to exit(2), but this behaviour

Re: [PATCH 07/20] arch,cris: Fold atomic_ops

2014-05-09 Thread Jesper Nilsson
On Thu, May 08, 2014 at 08:17:34PM +0200, Peter Zijlstra wrote: On Thu, May 08, 2014 at 01:34:51PM -0400, David Miller wrote: You did this for sparc too. I did indeed. And sparc32 and sparc64 compile file without these spurious hunks. I'm sure I needed that to make it compile at one

Re: [PATCHv4 7/7] ARM: dts: Add device tree sources for Exynos3250

2014-05-09 Thread Chanwoo Choi
Hi Tomasz, On 05/09/2014 05:01 PM, Tomasz Figa wrote: On 09.05.2014 08:49, Chanwoo Choi wrote: Hi Tomasz, On 04/26/2014 08:38 PM, Tomasz Figa wrote: On 26.04.2014 02:51, Tomasz Figa wrote: Hi Chanwoo, On 25.04.2014 03:16, Chanwoo Choi wrote: From: Tomasz Figa t.f...@samsung.com This

Linux 3.12.19

2014-05-09 Thread Jiri Slaby
I'm announcing the release of the 3.12.19 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH v12 4/4] usb: ehci-exynos: Change to use phy provided by the generic phy framework

2014-05-09 Thread Tomasz Figa
Hi Vivek, On 05.05.2014 07:02, Vivek Gautam wrote: From: Kamil Debski k.deb...@samsung.com Add the phy provider, supplied by new Exynos-usb2phy using Generic phy framework. Keeping the support for older USB phy intact right now, in order to prevent any functionality break in absence of

Re: [PATCH v6 3/4] usb: ohci-exynos: Add facility to use phy provided by the generic phy framework

2014-05-09 Thread Tomasz Figa
Hi Vivek, On 05.05.2014 07:02, Vivek Gautam wrote: Add support to consume phy provided by Generic phy framework. Keeping the support for older usb-phy intact right now, in order to prevent any functionality break in absence of relevant device tree side change for ohci-exynos. Once we move to

Re: [PATCH] staging: winbond: use dev_err() instead of printk()

2014-05-09 Thread Pavel Machek
On Thu 2014-05-08 13:38:33, Martin Kepplinger wrote: For obvious error messages, use dev_err() in order to provide userspace with more useful information and use the common kernel coding style. Acked-by: Pavel Machek pa...@ucw.cz -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 1/3] staging: cxt1e1: Fix no spaces at the start of a line in musycc.c

2014-05-09 Thread DaeSeok Youn
2014-05-09 16:59 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Fri, May 09, 2014 at 10:38:43AM +0900, Daeseok Youn wrote: clean up checkpatch.pl warning: WARNING: please no spaces at the start of a line in Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- This patch includes

Re: sched_{set,get}attr() manpage

2014-05-09 Thread Michael Kerrisk (man-pages)
Hi Peter, I'm working on this text. I see the following in kernel/sched/core.c: [[ static int __sched_setscheduler(struct task_struct *p, const struct sched_attr *attr, bool user) { ... int policy =

Re: [PATCH] netdev: add support for interface name retrieval from DT aliases

2014-05-09 Thread Boris BREZILLON
Hi David, On 09/05/2014 04:42, David Miller wrote: From: Boris BREZILLON boris.brezil...@free-electrons.com Date: Tue, 6 May 2014 17:36:34 +0200 There is currently no proper way to bind a net interface to a specific name. The interface name is chosen based on the interface type (eth, wlan,

Re: [PATCH 2/3] Staging: cxt1e1: Fix line length over 80 characters in musycc.c

2014-05-09 Thread DaeSeok Youn
2014-05-09 17:07 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: This patch is ok, but here are some additional hints. On Fri, May 09, 2014 at 10:39:48AM +0900, Daeseok Youn wrote: @@ -1100,7 +1102,9 @@ musycc_bh_rx_eom(mpi_t *pi, int gchan) */

Re: [PATCH 1/3] staging: cxt1e1: Fix no spaces at the start of a line in musycc.c

2014-05-09 Thread Dan Carpenter
On Fri, May 09, 2014 at 05:22:18PM +0900, DaeSeok Youn wrote: 2014-05-09 16:59 GMT+09:00 Dan Carpenter dan.carpen...@oracle.com: On Fri, May 09, 2014 at 10:38:43AM +0900, Daeseok Youn wrote: clean up checkpatch.pl warning: WARNING: please no spaces at the start of a line in

Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-09 Thread Boris BREZILLON
On 09/05/2014 10:18, Hans de Goede wrote: Hi, On 05/09/2014 10:08 AM, Lee Jones wrote: +static struct platform_driver sun6i_prcm_driver = { + .driver = { + .name = sun6i-prcm, + .owner = THIS_MODULE, + .of_match_table = sun6i_prcm_dt_ids, +

Re: [PATCH 3.12 00/50] 3.12.19-stable review

2014-05-09 Thread Jiri Slaby
On 05/06/2014 04:57 PM, Shuah Khan wrote: On 05/05/2014 06:28 AM, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.19 release. There are 50 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied,

Re: [PATCH] RFT: pinctrl: msm: switch to using generic GPIO irqchip helpers

2014-05-09 Thread Linus Walleij
On Tue, Apr 29, 2014 at 8:06 PM, Linus Walleij linus.wall...@linaro.org wrote: This switches the Qualcomm MSM pin control driver over to using the generic GPIO irqchip helpers. Cc: Bjorn Andersson bjorn.anders...@sonymobile.com Cc: Stephen Boyd sb...@codeaurora.org Cc: Josh Cartwright

Re: [RFC PATCH v5 2/2] Use kernfs_break_active_protection() for device online store callbacks

2014-05-09 Thread Li Zhong
viOn Tue, 2014-04-22 at 11:34 +0800, Li Zhong wrote: On Mon, 2014-04-21 at 18:46 -0400, Tejun Heo wrote: Hello, On Mon, Apr 21, 2014 at 05:23:50PM +0800, Li Zhong wrote: Proper /** function comment would be nice. Ok, will try to write some in next version. +struct

[PATCH] pwm: lpss: remove dependency on clk framework

2014-05-09 Thread Heikki Krogerus
Unlike other Intel LPSS devices, the PWM does not have the clock dividers or the gate. All we get from the clock is the rate. Since PCI case uses the driver data to get the rate, we can drop the clk and use the same data also in case of ACPI. The frequency is the same. Signed-off-by: Heikki

Re: [PATCH] pinctrl: msm: Add more MSM8X74 pin definitions

2014-05-09 Thread Linus Walleij
On Fri, May 2, 2014 at 6:44 AM, Andy Gross agr...@codeaurora.org wrote: This patch adds pin definitiones for the MSM8x74 TLMM. New definitions include: BLSP devices (I2C, UART, UART flow control, SPI, and UIM), mi2s, gp clk, pdm, gcc clk, cci_timer, cci_i2c, cam_clk, hsic, tsif, sdc3, sdc4,

[PATCH 0/2] tick: NO_HZ_FULL: get rid of unnecessary interruption

2014-05-09 Thread Viresh Kumar
This happened for me during my NO_HZ_FULL testing on isolated CPU, but may happen otherwise as well. When the last htimer of a CPU is cancelled (For example: for NO_HZ_FULL when expires == KTIME_MAX), we do not SHUTDOWN the event device. And because of that we will get interrupted unnecessarily

[PATCH 2/2] tick: SHUTDOWN event-dev if no events are required for KTIME_MAX

2014-05-09 Thread Viresh Kumar
When expires is set to KTIME_MAX in tick_program_event(), we are sure that there are no events enqueued for a very long time and so there is no point keeping event device running. We will get interrupted without any work to do many a times, for example when timer's counter overflows. So, its

[RFC PATCH v6 1/2 ] Use lock_device_hotplug() in cpu_probe_store() and cpu_release_store()

2014-05-09 Thread Li Zhong
While auditing the usage of lock_device_hotplug_sysfs() for implementing it in another way in following patch, it seems to me that the code here is to add/remove device, and the files probe/release themselves won't be removed. lock_device_hotplug_sysfs() is used to solve the deadlocks of s_active

[PATCH 1/2] hrtimer: reprogram event for expires=KTIME_MAX in hrtimer_force_reprogram()

2014-05-09 Thread Viresh Kumar
In hrtimer_force_reprogram(), we are reprogramming event device only if the next timer event is before KTIME_MAX. But what if it is equal to KTIME_MAX? As we aren't reprogramming it again, it will be set to the last value it was, probably tick interval, i.e. few milliseconds. And we will get a

[RFC PATCH v6 2/2] Implement lock_device_hotplug_sysfs() by breaking active protection

2014-05-09 Thread Li Zhong
This patch tries to solve the device hot remove locking issues in a different way from commit 5e33bc41, as kernfs already has a mechanism to break active protection. The active protection is there to keep the file alive by blocking deletion while operations are on-going in the file. This

Re: [PATCH v2] ipc,shm: document new limits in the uapi header

2014-05-09 Thread Michael Kerrisk (man-pages)
On Wed, May 7, 2014 at 9:17 PM, Davidlohr Bueso davidl...@hp.com wrote: This is useful in the future and allows users to better understand the reasoning behind the changes. Signed-off-by: Davidlohr Bueso davidl...@hp.com --- include/uapi/linux/shm.h | 15 +-- 1 file changed, 9

Re: [Query]: tick-sched: why don't we stop tick when we are running idle task?

2014-05-09 Thread Viresh Kumar
On 23 April 2014 16:42, Viresh Kumar viresh.ku...@linaro.org wrote: On 15 April 2014 15:00, Frederic Weisbecker fweis...@gmail.com wrote: Ok, I'm a bit buzy with a conference right now but I'm going to summarize that soonish. Hi Frederic, Please see if you can find some time to close this,

Re: [PATCH 2/2] drm/exynos: Fix double locks at PM resume

2014-05-09 Thread Inki Dae
Hi, On 2014년 05월 09일 15:14, Takashi Iwai wrote: The recent commit [3ea87855: drm/helper: lock all around force mode restore] introduced drm_modeset_lock_all() in drm_helper_resume_force_mode() itself, while exynos driver takes this lock before calling it. Move the function call outside the

Re: [PATCH v4 00/16] perf, persistent: Add persistent events

2014-05-09 Thread Robert Richter
On 08.05.14 20:36:29, Borislav Petkov wrote: On Wed, May 07, 2014 at 07:01:55PM +0200, Robert Richter wrote: For general-purpose... Why 512k buffers are ok? Depending on the event, smaller buffers are maybe good enough, esp. since they are permanently enabled and use system resources. Or,

Re: sched_{set,get}attr() manpage

2014-05-09 Thread Peter Zijlstra
On Fri, May 09, 2014 at 10:23:22AM +0200, Michael Kerrisk (man-pages) wrote: Hi Peter, I'm working on this text. I see the following in kernel/sched/core.c: [[ static int __sched_setscheduler(struct task_struct *p, const struct sched_attr *attr,

Re: [PATCH v2 3/7] mfd: add support for sun6i PRCM (Power/Reset/Clock Management) unit

2014-05-09 Thread Lee Jones
+static struct platform_driver sun6i_prcm_driver = { + .driver = { + .name = sun6i-prcm, + .owner = THIS_MODULE, + .of_match_table = sun6i_prcm_dt_ids, + }, + .probe = sun6i_prcm_probe, You need a .remove() call-back. This driver

Re: [PATCH] backlight: gpio-backlight: Fix warning when the GPIO is on a I2C chip

2014-05-09 Thread Linus Walleij
On Fri, May 9, 2014 at 5:42 AM, Jingoo Han jg1@samsung.com wrote: Linus Walleij, Is there any reason to keep these two functions such as gpiod_set_raw_value_cansleep() and gpiod_set_raw_value()? Yes, the former can *not* be called from interrupt context, and thus erroneous usage can be

RE: [PATCH] usb: gadget: fsl: check vbus presence on probe

2014-05-09 Thread suresh.gu...@freescale.com
-Original Message- From: Paul Fertser [mailto:fercer...@gmail.com] Sent: Friday, May 09, 2014 1:44 AM To: Gupta Suresh-B42813 Cc: ba...@ti.com; Li Yang-Leo-R58472; linux-...@vger.kernel.org; linux- ker...@vger.kernel.org Subject: Re: [PATCH] usb: gadget: fsl: check vbus presence

Re: [PATCH 2/2] sched: Fix next_balance logic in rebalance_domains() and idle_balance()

2014-05-09 Thread Peter Zijlstra
On Thu, May 08, 2014 at 05:49:22PM -0700, Jason Low wrote: On Thu, 2014-05-08 at 15:14 -0700, Jason Low wrote: Hi Ingo, Peter, Were there NULL domains on the test system? If so, I think we can address the problem by doing update_next_balance() only if the below

  1   2   3   4   5   6   7   8   9   10   >