[PATCH] Do not tweak clock in pxa serial write() function

2013-01-17 Thread Haojun Bao
The write() function could be used by printk(), which is atomic and tweaking clock there can cause BUG: sleeping function called from invalid context. Signed-off-by: Bao Haojun hj...@marvell.com --- drivers/tty/serial/pxa.c |2 -- 1 file changed, 2 deletions(-) diff --git

[PATCH v4] dw_dmac: don't exceed AHB master number in dwc_get_data_width

2013-01-17 Thread Andy Shevchenko
The driver assumes that hardware has two AHB masters which might not be always true. In such cases we must not exceed number of the AHB masters present in the hardware. In the proposed scheme in this patch, we would choose the master with highest possible number whenever we exceed max AHB masters.

[PATCH 1/6] cgroup: initialize cgrp-dentry before css_alloc()

2013-01-17 Thread Li Zefan
With this change, it's guaranteed that cgroup_path() won't see NULL cgrp-dentry, and thus we can remove the NULL check in it. (Well, it's not true, because dummptop.dentry is always NULL) Signed-off-by: Li Zefan lize...@huawei.com --- kernel/cgroup.c | 7 --- 1 file changed, 4

[PATCH 2/6] sched: split out tg creation/destruction to css_online/css_offline

2013-01-17 Thread Li Zefan
With this change, it's safe to access tg-css.cgroup while iterating the global task_group list. This is a preparation for later patches. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/sched.h | 3 +++ kernel/sched/auto_group.c | 3 +++ kernel/sched/core.c | 49

[PATCH] security/device_cgroup: lock assert fails in dev_exception_clean()

2013-01-17 Thread dev
From: Jerry Snitselaar jerry.snitsel...@oracle.com devcgroup_css_free() calls dev_exception_clean() without the devcgroup_mutex being locked. Shutting down a kvm virt was giving me the following trace: [36280.732764] [ cut here ] [36280.732778] WARNING: at

[PATCH 4/6] cgroup: remove duplicate RCU free on struct cgroup

2013-01-17 Thread Li Zefan
When destroying cgroup, though in cgroup_diput() we've called synchronize_rcu(), we then still have to free cgroup via call_rcu(). The story is, long ago to fix a race between reading /proc/sched_debug and freeing cgroup, the code was changed to utilize call_rcu(). Now we've splitted part of cpu

[PATCH 3/6] sched: remove redundant NULL cgroup check in task_group_path()

2013-01-17 Thread Li Zefan
cpu_cgroup_css_online() is called after cgroup is fully created, and it makes this check redundant. Signed-off-by: Li Zefan lize...@huawei.com --- kernel/sched/debug.c | 7 --- 1 file changed, 7 deletions(-) diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c index 2cd3c1b..38df0db

[PATCH 5/6] cgroup: remove synchronize_rcu() from cgroup_diput()

2013-01-17 Thread Li Zefan
Free cgroup via call_rcu(). The actual work is done through workqueue. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 1 + kernel/cgroup.c| 73 ++ 2 files changed, 45 insertions(+), 29 deletions(-) diff --git

Re: [PATCH v4] dw_dmac: don't exceed AHB master number in dwc_get_data_width

2013-01-17 Thread Viresh Kumar
On Thu, Jan 17, 2013 at 1:33 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: The driver assumes that hardware has two AHB masters which might not be always true. In such cases we must not exceed number of the AHB masters present in the hardware. In the proposed scheme in this

[PATCH 6/6] cgroup: remove bogus comments in cgroup_diput()

2013-01-17 Thread Li Zefan
Since commit 48ddbe194623ae089cc0576e60363f2d2e85662a (cgroup: make css-refcnt clearing on cgroup removal optional), each css holds a ref on cgroup's dentry, so cgroup_diput() won't be called until all css' refs go down to 0, which invalids the comments. Signed-off-by: Li Zefan lize...@huawei.com

Re: [PATCH 85/86] mm: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread David Rientjes
On Wed, 16 Jan 2013, Kees Cook wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. CC: Andrew Morton

Re: [PATCH] gpio: samsung: add GPIO interrupt registration for exynos5

2013-01-17 Thread Linus Walleij
On Fri, Dec 14, 2012 at 11:44 AM, Joonyoung Shim jy0922.s...@samsung.com wrote: This adds GPIO interrupt registration and modification needs to register GPIO interrupt rightly for exynos5 SoCs. EXYNOS5_GPYx gpios shouldn't be counted to GPIO interrupt group register number because they doesn't

Re: [PATCH 17/86] drivers/net/wireless/rt2x00: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Gertjan van Wingerde
On Thu, Jan 17, 2013 at 3:53 AM, Kees Cook keesc...@chromium.org wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. CC: Ivo

[PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Venu Byravarasu
As Tegra PHY driver need to access one of the Host registers, added few APIs to ehci tegra driver. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- delta from v1: Taken care of RWC bits, while accessing PORTSC register. drivers/usb/host/ehci-tegra.c | 70

[PATCH] ARM: spear3xx: Fix pl080-related build failure

2013-01-17 Thread Thierry Reding
Include linux/amba/pl08x.h to pull in the various PL080_* macros. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/mach-spear3xx/spear3xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c index

Re: [PATCH 1/2] pinctrl: tegra: add support for rcv-sel and drive type

2013-01-17 Thread Linus Walleij
On Sat, Jan 5, 2013 at 1:02 PM, Laxman Dewangan ldewan...@nvidia.com wrote: From: Pritesh Raithatha praitha...@nvidia.com NVIDIA's Tegra114 added two more configuration parameter in pinmux i.e. rcv-sel and drive type. rcv-sel: Select between High and Normal VIL/VIH receivers.

Re: [PATCH V2] mm/slab: add a leak decoder callback

2013-01-17 Thread Joonsoo Kim
Hello, Liu Bo. On Wed, Jan 16, 2013 at 11:03:13AM +0800, Liu Bo wrote: This adds a leak decoder callback so that slab destruction can use to generate debugging output for the allocated objects. Callers like btrfs are using their own leak tracking which will manage allocated objects in a

Re: [PATCH] ARM: spear3xx: Fix pl080-related build failure

2013-01-17 Thread Viresh Kumar
On Thu, Jan 17, 2013 at 1:59 PM, Thierry Reding thierry.red...@avionic-design.de wrote: Include linux/amba/pl08x.h to pull in the various PL080_* macros. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/mach-spear3xx/spear3xx.c | 1 + 1 file changed, 1

Re: [PATCH 1/2] pinctrl: tegra: add support for rcv-sel and drive type

2013-01-17 Thread Laxman Dewangan
On Thursday 17 January 2013 02:00 PM, Linus Walleij wrote: On Sat, Jan 5, 2013 at 1:02 PM, Laxman Dewangan ldewan...@nvidia.com wrote: From: Pritesh Raithatha praitha...@nvidia.com NVIDIA's Tegra114 added two more configuration parameter in pinmux i.e. rcv-sel and drive type. rcv-sel: Select

Re: [PATCH 2/3] binfmt_elf: Verify signature of signed elf binary

2013-01-17 Thread Elena Reshetova
Ok, that's the point I am missing. So I can sign a file and signatures are in a separate file. And these signatures are installed in extended attributes at file installation time (IOW rpm installation time) on target. If all this works, this sounds reasonable so far. Except the point

Re: [PATCH 1/1] ipv6: fix header length calculation in ip6_append_data()

2013-01-17 Thread David Miller
From: Romain KUNTZ r.ku...@ipflavors.com Date: Wed, 16 Jan 2013 23:47:40 +0100 Commit 299b0767 (ipv6: Fix IPsec slowpath fragmentation problem) has introduced a error in the header length calculation that provokes corrupted packets when non-fragmentable extensions headers (Destination

Re: [PATCH 03/10] goldfish: tty driver

2013-01-17 Thread Felipe Balbi
Hi, On Wed, Jan 16, 2013 at 06:25:20PM +, Alan Cox wrote: On Wed, 16 Jan 2013 19:01:22 +0200 Felipe Balbi ba...@ti.com wrote: Hi, On Wed, Jan 16, 2013 at 04:59:03PM +, Alan Cox wrote: +static int goldfish_tty_probe(struct platform_device *pdev) +{ + struct goldfish_tty

Re: [PATCH 17/86] drivers/net/wireless/rt2x00: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Ivo Van Doorn
On Thu, Jan 17, 2013 at 3:53 AM, Kees Cook keesc...@chromium.org wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. CC: Ivo

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-17 Thread Preeti U Murthy
Hi Alex, On 01/16/2013 07:38 PM, Alex Shi wrote: On 01/08/2013 04:41 PM, Preeti U Murthy wrote: Hi Mike, Thank you very much for such a clear and comprehensive explanation. So when I put together the problem and the proposed solution pieces in the current scheduler scalability,the

Re: [PATCH v2 1/1] block: blk-merge: don't merge the pages with non-contiguous descriptors

2013-01-17 Thread James Bottomley
On Wed, 2013-01-16 at 23:14 +, Russell King - ARM Linux wrote: On Wed, Jan 16, 2013 at 10:32:35AM +, James Bottomley wrote: On Wed, 2013-01-16 at 12:07 +0530, Subhash Jadavani wrote: Now consider this call stack from MMC block driver (this is on the ARmv7 based board):

Re: [PATCH] Tell the world we gave up on pushing CC_OPTIMIZE_FOR_SIZE

2013-01-17 Thread Borislav Petkov
On Fri, Nov 23, 2012 at 07:10:40PM -0500, Dave Jones wrote: FWIW, we gave up using this in Fedora quite a few releases back because we kept finding workloads that it truly sucked on. For code that is quite bloaty and not particularly performance critical, maybe we could move -Os to individual

Re: [PATCH v2 4/4] usb: Add APIs to access host registers from Tegra PHY

2013-01-17 Thread Felipe Balbi
Hi, On Thu, Jan 17, 2013 at 01:58:12PM +0530, Venu Byravarasu wrote: As Tegra PHY driver need to access one of the Host registers, added few APIs to ehci tegra driver. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com Stephen is this another of those patches you're gonna take care of

Re: [PATCH V2 2/2] pinctrl: tegra114: add pinctrl driver for NVIDIA's Tegra114 SoC

2013-01-17 Thread Pritesh Raithatha
On Tuesday 08 January 2013 01:02 PM, Laxman Dewangan wrote: From: Pritesh Raithatha praitha...@nvidia.com This adds a driver for the Tegra114 pinmux, and required parameterization data for Tegra114. The driver uses the common Tegra pincontrol driver utility functions to implement the

Re: 3.8.0-rc3: possible circular locking dependency: tty-legacy_mutex / tty-hangup_work with serial/RFCOMM connection via USB bluetooth dongle

2013-01-17 Thread Sander Eikelenboom
Saturday, January 12, 2013, 7:46:39 PM, you wrote: Hi, Running a 3.8.0-rc3 kernel (latest commit b719f43059903820c31edb30f4663a2818836e7f) kernel (debian squeeze os), i'm running into this lockdep warning when: Ok, this seems to be fixed by commit:

[PATCH v2] ARM: spear3xx: Fix pl080-related build failure

2013-01-17 Thread Thierry Reding
Include linux/amba/pl080.h to pull in the various PL080_* macros. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/mach-spear3xx/spear3xx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c index

Re: [PATCH] ARM: spear3xx: Fix pl080-related build failure

2013-01-17 Thread Thierry Reding
On Thu, Jan 17, 2013 at 02:05:58PM +0530, Viresh Kumar wrote: On Thu, Jan 17, 2013 at 1:59 PM, Thierry Reding thierry.red...@avionic-design.de wrote: Include linux/amba/pl08x.h to pull in the various PL080_* macros. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de ---

Re: [PATCH v2 1/1] block: blk-merge: don't merge the pages with non-contiguous descriptors

2013-01-17 Thread James Bottomley
On Wed, 2013-01-16 at 15:18 -0800, Tejun Heo wrote: On Wed, Jan 16, 2013 at 10:32:35AM +, James Bottomley wrote: diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 6b2fb87..ab88c5b 100644 --- a/arch/arm/mm/dma-mapping.c +++ b/arch/arm/mm/dma-mapping.c @@ -809,7

Re: [PATCH] ata: sata_mv: fix sg_tbl_pool alignment

2013-01-17 Thread Soeren Moch
On 16.01.2013 18:52, Jason Cooper wrote: On Wed, Jan 16, 2013 at 06:05:59PM +0100, Soeren Moch wrote: On 16.01.2013 16:50, Jason Cooper wrote: On Wed, Jan 16, 2013 at 09:55:55AM +0100, Soeren Moch wrote: On 16.01.2013 04:24, Soeren Moch wrote: On 16.01.2013 03:40, Jason Cooper wrote: On

Re: [PATCH v6 03/22] mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error path

2013-01-17 Thread Roger Quadros
On 01/16/2013 09:37 PM, Sergei Shtylyov wrote: Hello. On 01/16/2013 05:43 PM, Roger Quadros wrote: Use devm_ variants of kzalloc() and ioremap(). Simplify the error path. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-tll.c | 36

[PATCH v2 1/2] pwm: pwm-tiehrpwm: Low power sleep support

2013-01-17 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for EHRPWM driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - check the enabled status of pwm device for handling module

[PATCH v2 0/2] LOW power sleep support for TI PWM submodules

2013-01-17 Thread Philip Avinash
TI PWM sub modules like ECAP EHRPWM can enter in low power sleep state during low power transitions of the platforms (like in AM33XX). This patch series support low power sleep transition support. This patch series depend on [1] and [2] and tested for low sleep support on AM335x-evm for ECAP

[PATCH v2 2/2] pwm: pwm-tiecap: Low power sleep support

2013-01-17 Thread Philip Avinash
In low power modes of AM33XX platforms, peripherals power is cut off. This patch supports low power sleep transition support for ECAP driver. Signed-off-by: Philip Avinash avinashphi...@ti.com --- Changes since v1: - check the enabled status of pwm device for handling module

Re: [PATCH 25/86] arch/microblaze/platform: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Michal Simek
2013/1/17 Kees Cook keesc...@chromium.org: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. CC: Michal Simek mon...@monstr.eu

Re: [PATCH 02/11] spi/pxa2xx: convert to the pump message infrastructure

2013-01-17 Thread Linus Walleij
On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: The SPI core provides infrastructure for standard message queueing so use that instead of handling everything in the driver. This simplifies the driver. Signed-off-by: Mika Westerberg

Re: [PATCH 69/86] drivers/vlynq: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Florian Fainelli
On 01/17/2013 03:54 AM, Kees Cook wrote: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs. Cc: Florian Fainelli flor...@openwrt.org

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Peter Ujfalusi
Hi Luca, On 01/16/2013 10:45 PM, Luciano Coelho wrote: The code to enable and disable the WiLink shared transport has been removed from the TI-ST driver, so it must be implemented in the board files instead. Add the relevant operations to Panda's board file. Additionally, add the UART2

Re: [PATCH v2] ARM: spear3xx: Fix pl080-related build failure

2013-01-17 Thread Viresh Kumar
On Thu, Jan 17, 2013 at 2:39 PM, Thierry Reding thierry.red...@avionic-design.de wrote: Include linux/amba/pl080.h to pull in the various PL080_* macros. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- arch/arm/mach-spear3xx/spear3xx.c | 1 + 1 file changed, 1

[PATCH, resubmit] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-17 Thread Freddy Xin
This is a resubmission. The _nopm version usb functions were added to access register in suspend and resume functions. Serveral variables allocted dynamically were removed and replaced by stack variables. ax88179_get_eeprom were modified from asix_get_eeprom in asix_common. This patch adds a

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 10:30:15AM +0100, Peter Ujfalusi wrote: Hi Luca, On 01/16/2013 10:45 PM, Luciano Coelho wrote: The code to enable and disable the WiLink shared transport has been removed from the TI-ST driver, so it must be implemented in the board files instead. Add the

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Luciano Coelho
On Thu, 2013-01-17 at 10:30 +0100, Peter Ujfalusi wrote: Hi Luca, Hi Péter! On 01/16/2013 10:45 PM, Luciano Coelho wrote: static struct ti_st_plat_data wilink_platform_data = { - .nshutdown_gpio = 46, .dev_name = /dev/ttyO1, .flow_cntrl = 1, .baud_rate =

Re: linux-next: error when fething the git.secretlab.ca trees

2013-01-17 Thread Grant Likely
On Thu, Jan 17, 2013 at 12:32 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Grant, On Thu, 17 Jan 2013 00:16:12 + Grant Likely grant.lik...@secretlab.ca wrote: Thanks for letting me know. I was mucking about with my server to enable gitolite. I probably messed it up. I've just

Re: [PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set

2013-01-17 Thread Linus Walleij
On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: The PXA SPI driver uses PXA platform specific private DMA implementation which does not work on non-PXA platforms. In order to use this driver on other platforms we need to move the private DMA

Re: [RFC PATCH 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-01-17 Thread Roger Quadros
On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: New platforms are added which has multiple PHY's (of same type) and which has multiple USB controllers. The binding information has to be present in the PHY library (otg.c) in order for it to return the appropriate PHY whenever the USB

Re: [RFC PATCH 2/6] ARM: OMAP: USB: Add phy binding information

2013-01-17 Thread Roger Quadros
On 01/16/2013 05:00 PM, Kishon Vijay Abraham I wrote: This is in preparation for the changes in PHY library to support adding and getting multiple PHYs of the same type. In the new design, the binding information between the PHY and the USB controller should be specified in the platform

Re: [PATCH v7 0/6] solve deadlock caused by memory allocation with I/O

2013-01-17 Thread Oliver Neukum
On Thursday 17 January 2013 09:28:14 Ming Lei wrote: - we still need some synchronization to avoid accessing the storage between sys_sync and device suspend, just like system sleep case, pm_restrict_gfp_mask is needed even sys_sync has been done inside enter_state().

Re: [PATCH 07/11] spi/pxa2xx: add support for DMA engine

2013-01-17 Thread Linus Walleij
On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: In order to use DMA with this driver on non-PXA platforms we implement support for the generic DMA engine API. This allows to use different DMA engines with little or no modification to the driver.

Re: linux-next: manual merge of the char-misc tree with the tty tree

2013-01-17 Thread Samuel Iglesias Gonsalvez
On Thu, Jan 17, 2013 at 01:54:20PM +1100, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the char-misc tree got a conflict in drivers/ipack/devices/ipoctal.c between commit 2e124b4a390c (TTY: switch tty_flip_buffer_push) from the tty tree and commits 7e5730d7c222

Re: [RFCv2 00/12] Introduce host-side virtio queue and CAIF Virtio.

2013-01-17 Thread Michael S. Tsirkin
On Thu, Jan 17, 2013 at 12:40:29PM +1030, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: On Wed, Jan 16, 2013 at 01:43:32PM +1030, Rusty Russell wrote: Michael S. Tsirkin m...@redhat.com writes: +static int resize_iovec(struct vringh_iov *iov, gfp_t gfp) +{ +

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Peter Ujfalusi
On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in this form. I think the GPIO handling should be done in the driver itself rather than in the board file. that can (should ?) be moved to

RE: [dm-devel] Announcement: STEC EnhanceIO SSD caching software for Linux kernel

2013-01-17 Thread Amit Kale
Hi Joe, Kent, [Adding Kent as well since bcache is mentioned below as one of the contenders for being integrated into mainline kernel.] My understanding is that these three caching solutions all have three principle blocks. 1. A cache block lookup - This refers to finding out whether a block

Re: [PATCH 06/11] spi/pxa2xx: use the private DMA API only when CONFIG_ARCH_PXA is set

2013-01-17 Thread Mika Westerberg
On Thu, Jan 17, 2013 at 10:36:19AM +0100, Linus Walleij wrote: On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: The PXA SPI driver uses PXA platform specific private DMA implementation which does not work on non-PXA platforms. In order to use this

[PATCH v3] ACPI: add support for CSRT table

2013-01-17 Thread Mika Westerberg
Core System Resources Table (CSRT) is a proprietary ACPI table that contains resources for certain devices that are not found in the DSDT table. Typically a shared DMA controller might be found here. This patch adds support for this table. We go through all entries in the table and make platform

Re: [PATCH 1/2] pinctrl: tegra: add support for rcv-sel and drive type

2013-01-17 Thread Linus Walleij
On Thu, Jan 17, 2013 at 9:36 AM, Laxman Dewangan ldewan...@nvidia.com wrote: On Thursday 17 January 2013 02:00 PM, Linus Walleij wrote: Stephen, can you look at this patch? Authors: you need Stephen's ACK on this. Stephen have already given his reviewed by on thi series and I posted V2

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Peter Ujfalusi
Hi Luca, On 01/17/2013 10:35 AM, Luciano Coelho wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in this form. I think the GPIO handling should be done in the driver itself rather than in the board file. I agree. The problem

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Felipe Balbi
Hi, On Thu, Jan 17, 2013 at 10:55:14AM +0100, Peter Ujfalusi wrote: On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in this form. I think the GPIO handling should be done in the driver

Re: [PATCH] Support Jess/Saitek Color Rumble Pad

2013-01-17 Thread Jiri Kosina
On Tue, 15 Jan 2013, Michael Karcher wrote: Add support for another gamepad to the hid-pl driver. The color rumble pad P580 marketed using the Saitek brand in Germany, and using a USB Vendor ID attributed to Jess seems to be electronically identical to the 4-field variant of the Green Asia

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 12:05:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 17, 2013 at 10:55:14AM +0100, Peter Ujfalusi wrote: On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You are not going to have the ability to use callback in

Re: [PATCH 39/86] drivers/edac: remove depends on CONFIG_EXPERIMENTAL

2013-01-17 Thread Mauro Carvalho Chehab
Em Wed, 16 Jan 2013 18:53:31 -0800 Kees Cook keesc...@chromium.org escreveu: The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any depends on lines in Kconfigs.

Re: sched: Consequences of integrating the Per Entity Load Tracking Metric into the Load Balancer

2013-01-17 Thread Preeti U Murthy
Hi Namhyung, I re-written the patch as following. hackbench/aim9 doest show clean performance change. Actually we can get some profit. it also will be very slight. :) BTW, it still need another patch before apply this. Just to show the logical. === From

[PATCH] time: x86: report_lost_ticks doesn't exist any more

2013-01-17 Thread Jiri Kosina
'report_lost_ticks' parameter has been removed back in 2007 through 1489939f0ab (time: x86_64: convert x86_64 to use GENERIC_TIME). Signed-off-by: Jiri Kosina jkos...@suse.cz --- Documentation/x86/x86_64/boot-options.txt |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-17 Thread Linus Walleij
On Wed, Jan 9, 2013 at 2:00 PM, Lee Jones lee.jo...@linaro.org wrote: If a user has to edit the configuration files in order to configure the kernel as they desire, then the configuration system has failed - or we have failed to properly think out how to represent the allowable

PROBLEM: __list_del_entry in lib/list_debug.c does not delete the node if the list is corrupted

2013-01-17 Thread Shankar Brahadeeswaran
Hi, The following is the Bug Report on list_debug.c implementation. [1.] The __list_del_entry implemented in lib/list_debug.c does not delete the node if the list is corrupted [2.] Full description of the problem/report: The function __list_del_entry implemented in include/linux/list.h always

Re: [PATCH 4/4 v3] net/smsc911x: Provide common clock functionality

2013-01-17 Thread Linus Walleij
On Wed, Jan 9, 2013 at 9:55 AM, Lee Jones lee.jo...@linaro.org wrote: On Thu, 03 Jan 2013, Linus Walleij wrote: On Thu, Jan 3, 2013 at 12:14 PM, Lee Jones lee.jo...@linaro.org wrote: Some platforms provide clocks which require enabling before the SMSC911x chip will power on. This patch

Re: [RFC 0/4] perf tool: Adding ratios support

2013-01-17 Thread Will Deacon
On Wed, Jan 16, 2013 at 01:30:33PM +, Jiri Olsa wrote: On Wed, Jan 16, 2013 at 01:13:18PM +, Will Deacon wrote: On Tue, Jan 15, 2013 at 01:39:50PM +, Jiri Olsa wrote: The formula can currently contain any event from the set::events plus any number (int). There'll be support in

Re: [PATCH] Proposed removal of IS_ERR_OR_NULL() (was: Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface)

2013-01-17 Thread Linus Walleij
On Wed, Jan 9, 2013 at 4:04 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: So, it seems there's some concensus building here, and it seems that I've become the chosen victi^wvolunteer for this. So, here's a patch. It's missing a Guns-supplied-by: tag though. From: Russell King

[PATCH 2/4] i2c-designware: always set the STOP bit after last byte

2013-01-17 Thread Mika Westerberg
If IC_EMPTYFIFO_HOLD_MASTER_EN is set to one, the DesignWare I2C controller doesn't generate STOP on the bus when the FIFO is empty. This violates the rules of Linux I2C stack as it requires that the STOP is issued once the i2c_transfer() is finished. However, there is no way to detect this from

[PATCH 1/4] i2c-designware: add missing MODULE_LICENSE

2013-01-17 Thread Mika Westerberg
The driver can also be built as a module so add MODULE_LICENSE for it. In addition add MODULE_DESCRIPTION as well. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/i2c/busses/i2c-designware-core.c |4 1 file changed, 4 insertions(+) diff --git

[PATCH 4/4] i2c-designware: add support for Intel Lynxpoint

2013-01-17 Thread Mika Westerberg
Intel Lynxpoint has two I2C controllers. These controllers are enumerated from ACPI namespace with IDs INT33C2 and INT33C3. Add support for these to the I2C DesignWare platform driver. This is based on the work of Dirk Brandewie. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com ---

Re: [PATCH V2 3/3] ARM: davinci: da850: add NAND driver entries

2013-01-17 Thread Linus Walleij
On Wed, Jan 9, 2013 at 1:47 PM, Sekhar Nori nsek...@ti.com wrote: On 1/8/2013 1:50 PM, Kumar, Anil wrote: +pmx_core{ + pinctrl-names = default; + pinctrl-0 = + nand_cs3_pins + ; This means that the NAND pins are configured even if NAND is not probed. Right? This

[PATCH 3/4] i2c-designware: add minimal support for runtime PM

2013-01-17 Thread Mika Westerberg
In order to save power the device should be put to low power states whenever it is not being used. We implement this by enabling minimal runtime PM support. There isn't much to do for the device itself as it is disabled once the last transfer is completed but subsystem/domain runtime PM hooks can

[PATCH 0/4] i2c-designware: add Intel Lynxpoint support

2013-01-17 Thread Mika Westerberg
Hi all, This series adds support for the Intel Lynxpoint Low Power Subsystem I2C controllers. They are compatible with the DesignWare I2C controller. Patches [1/4] and [2/4] are fixes that are necessary to get the driver working on Lynxpoint. Patch [3/4] brings minimal runtime PM support for

Re: [PATCH 4/6] block: Optionally snapshot page contents to provide stable pages during write

2013-01-17 Thread Jan Kara
On Wed 16-01-13 19:01:32, Darrick J. Wong wrote: diff --git a/block/blk-core.c b/block/blk-core.c index c973249..277134c 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -1474,6 +1474,11 @@ void blk_queue_bio(struct request_queue *q, struct bio *bio) */

Re: [PATCH v6 03/22] mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error path

2013-01-17 Thread Roger Quadros
On 01/17/2013 11:12 AM, Roger Quadros wrote: On 01/16/2013 09:37 PM, Sergei Shtylyov wrote: Hello. On 01/16/2013 05:43 PM, Roger Quadros wrote: Use devm_ variants of kzalloc() and ioremap(). Simplify the error path. Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 2/4] i2c-designware: always set the STOP bit after last byte

2013-01-17 Thread Felipe Balbi
Hi, On Thu, Jan 17, 2013 at 12:31:05PM +0200, Mika Westerberg wrote: If IC_EMPTYFIFO_HOLD_MASTER_EN is set to one, the DesignWare I2C controller doesn't generate STOP on the bus when the FIFO is empty. This violates the rules of Linux I2C stack as it requires that the STOP is issued once the

Re: [PATCH 3/4] gpio: palmas: Add support for Palams GPIO

2013-01-17 Thread Linus Walleij
On Thu, Jan 3, 2013 at 11:46 AM, Laxman Dewangan ldewan...@nvidia.com wrote: Add gpio driver for TI Palmas series PMIC. This has 8 gpio which can work as input/output. Signed-off-by: Laxman Dewangan ldewan...@nvidia.com OK you Mark have convinced me that this driver is OK as it stands.

Re: [PATCH 07/11] spi/pxa2xx: add support for DMA engine

2013-01-17 Thread Mika Westerberg
On Thu, Jan 17, 2013 at 10:48:15AM +0100, Linus Walleij wrote: On Mon, Jan 7, 2013 at 11:44 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: In order to use DMA with this driver on non-PXA platforms we implement support for the generic DMA engine API. This allows to use

Re: [PATCH 3/4] gpio: palmas: Add support for Palams GPIO

2013-01-17 Thread Mark Brown
On Thu, Jan 17, 2013 at 11:34:42AM +0100, Linus Walleij wrote: Do you want me to apply it to my GPIO tree or does it have dependencies so you'll take it through MFD or something? The MFD has been merged for a couple of releases now. -- To unsubscribe from this list: send the line unsubscribe

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Luciano Coelho
On Thu, 2013-01-17 at 12:09 +0200, Felipe Balbi wrote: On Thu, Jan 17, 2013 at 12:05:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 17, 2013 at 10:55:14AM +0100, Peter Ujfalusi wrote: On 01/17/2013 10:34 AM, Felipe Balbi wrote: I just wonder how this is going to work with DT... You

Re: [PATCH v2 1/1] block: blk-merge: don't merge the pages with non-contiguous descriptors

2013-01-17 Thread Russell King - ARM Linux
On Thu, Jan 17, 2013 at 09:11:20AM +, James Bottomley wrote: On Wed, 2013-01-16 at 15:18 -0800, Tejun Heo wrote: On Wed, Jan 16, 2013 at 10:32:35AM +, James Bottomley wrote: diff --git a/arch/arm/mm/dma-mapping.c b/arch/arm/mm/dma-mapping.c index 6b2fb87..ab88c5b 100644 ---

Re: [PATCH 3/4] gpio: palmas: Add support for Palams GPIO

2013-01-17 Thread Laxman Dewangan
On Thursday 17 January 2013 04:05 PM, Mark Brown wrote: On Thu, Jan 17, 2013 at 11:34:42AM +0100, Linus Walleij wrote: Do you want me to apply it to my GPIO tree or does it have dependencies so you'll take it through MFD or something? The MFD has been merged for a couple of releases now. Yes,

Re: [PATCH 2/4] i2c-designware: always set the STOP bit after last byte

2013-01-17 Thread Mika Westerberg
On Thu, Jan 17, 2013 at 12:32:48PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 17, 2013 at 12:31:05PM +0200, Mika Westerberg wrote: If IC_EMPTYFIFO_HOLD_MASTER_EN is set to one, the DesignWare I2C controller doesn't generate STOP on the bus when the FIFO is empty. This violates the rules

Re: [PATCH] mtd: m25p80: Flash protection support for STmicro chips

2013-01-17 Thread Artem Bityutskiy
On Fri, 2013-01-04 at 13:02 +1300, Austin Boyle wrote: This patch adds generic support for flash protection on STmicro chips. On chips with less than 3 protection bits, the unused bits are don't cares and so can be written anyway. The lock function will only change the protection bits if it

Re: [[PATCH v2]] OMAP: omap4-panda: add WiLink shared transport power functions

2013-01-17 Thread Peter Ujfalusi
On 01/17/2013 11:35 AM, Luciano Coelho wrote: This out-of-tree code doesn't explain why we need to do the enable/disable in the board file. We just need to do things a bit differently in the driver. I'll start cleaning all this stuff up for -next pretty soon. For now, ie. 3.7 (stable) and

Re: [PATCH v3] gpio: twl4030: Cache the direction and output states in private data

2013-01-17 Thread Linus Walleij
On Thu, Jan 10, 2013 at 2:09 PM, Peter Ujfalusi peter.ujfal...@ti.com wrote: On 01/10/2013 11:41 AM, Linus Walleij wrote: Sorry Peter this must have been missed somehow. This does not apply to the current v3.8-rc3, could you respin this on top of Torvalds' tree? Grant applied the patch

Re: [PATCH 2/4] i2c-designware: always set the STOP bit after last byte

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 12:42:47PM +0200, Mika Westerberg wrote: On Thu, Jan 17, 2013 at 12:32:48PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 17, 2013 at 12:31:05PM +0200, Mika Westerberg wrote: If IC_EMPTYFIFO_HOLD_MASTER_EN is set to one, the DesignWare I2C controller doesn't

Re: [PATCH 2/3] gpio: pca953x: add support for pca9505

2013-01-17 Thread Linus Walleij
On Thu, Jan 10, 2013 at 2:31 PM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: On 01/10/2013 12:15 PM, Linus Walleij wrote: On Sun, Jan 6, 2013 at 6:34 PM, Gregory CLEMENT gregory.clem...@free-electrons.com wrote: Now that pca953x driver can handle GPIO expanders with more than

Re: [PATCH] usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare

2013-01-17 Thread Linus Walleij
On Thu, Jan 10, 2013 at 2:38 PM, Fabio Baltieri fabio.balti...@linaro.org wrote: On Thu, Jan 10, 2013 at 12:23:32PM +0100, Linus Walleij wrote: On Mon, Jan 7, 2013 at 5:47 PM, Fabio Baltieri fabio.balti...@linaro.org wrote: This patch converts the module to use clk_prepare_enable and

Re: [PATCH 4/4 v3] net/smsc911x: Provide common clock functionality

2013-01-17 Thread Lee Jones
Some platforms provide clocks which require enabling before the SMSC911x chip will power on. This patch uses the new common clk framework to do just that. If no clock is provided, it will just be ignored and the driver will continue to assume that no clock is required for the chip

Re: [PATCH v2 1/1] block: blk-merge: don't merge the pages with non-contiguous descriptors

2013-01-17 Thread Russell King - ARM Linux
On Thu, Jan 17, 2013 at 10:37:42AM +, Russell King - ARM Linux wrote: On Thu, Jan 17, 2013 at 09:11:20AM +, James Bottomley wrote: I'd actually prefer page = pfn_to_page(page_to_pfn(page) + 1); because it makes the code look like the hack it is. The preferred form for all iterators

Re: [PATCH v2] sparc: kernel/sbus.c: fix memory leakage

2013-01-17 Thread Richard Mortimer
On 16/01/2013 22:01, Cong Ding wrote: the variable iommu and strbuf are not freed if it goes to error. Signed-off-by: Cong Ding ding...@gmail.com --- arch/sparc/kernel/sbus.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sparc/kernel/sbus.c b/arch/sparc/kernel/sbus.c index

Re: [PATCH v2] mm: dmapool: use provided gfp flags for all dma_alloc_coherent() calls

2013-01-17 Thread Arnd Bergmann
On Wednesday 16 January 2013, Soeren Moch wrote: I will see what I can do here. Is there an easy way to track the buffer usage without having to wait for complete exhaustion? DMA_API_DEBUG OK, maybe I can try this. Any success with this? It should at least tell you if there is a

Re: [PATCH] usb: musb: ux500: use clk_prepare_enable and clk_disable_unprepare

2013-01-17 Thread Felipe Balbi
On Thu, Jan 17, 2013 at 11:46:30AM +0100, Linus Walleij wrote: On Thu, Jan 10, 2013 at 2:38 PM, Fabio Baltieri fabio.balti...@linaro.org wrote: On Thu, Jan 10, 2013 at 12:23:32PM +0100, Linus Walleij wrote: On Mon, Jan 7, 2013 at 5:47 PM, Fabio Baltieri fabio.balti...@linaro.org wrote:

Re: [RFC PATCH v1 25/31] ARC: [plat-arcfpga] Hooking up platform to ARC UART

2013-01-17 Thread Arnd Bergmann
On Thursday 17 January 2013, Vineet Gupta wrote: So my strategy for v2 series (based off 3.8-rcx) is to introduce devicetree, multi-platform-image support (and other key fixes such as syscall restart issues) as slap-on patches on top of old code. This is not to avoid any chop-n-dice of

Re: [RFC Patch v1 52/55] ARC: Support for single cycle Close Coupled Mem (CCM)

2013-01-17 Thread Arnd Bergmann
On Thursday 17 January 2013, Vineet Gupta wrote: Actually in ARC Port these are used in Linker script to layout the kernel code/data at the addr where these hardware blocks are wired up. So can't be done at runtime. Ok, makes sense. Arnd -- To unsubscribe from this list: send the

Re: CoreSight framework and drivers

2013-01-17 Thread Will Deacon
On Wed, Jan 16, 2013 at 12:14:59AM +, Pratik Patel wrote: On Mon, Jan 07, 2013 at 11:58:36AM +, Will Deacon wrote: On Thu, Jan 03, 2013 at 06:06:43PM +, Pratik Patel wrote: Whats the advantage in using debugfs here? The main things I like about debugfs are (a) it's a

  1   2   3   4   5   6   7   8   9   10   >