Re: [PATCH net] macvlan: don't touch promisc without passthrough

2013-06-13 Thread John Fastabend
On 06/12/2013 06:56 AM, Sergei Shtylyov wrote: Hello. On 12-06-2013 15:34, Michael S. Tsirkin wrote: commit df8ef8f3aaa6692970a436204c4429210addb23a in linux 3.5 added a way Please also specify that commit's summary line in parens. to control NOPROMISC macvlan flag through netlink.

Re: [PATCH v2 2/3] ARM: SAMSUNG: Consolidate uncompress subroutine

2013-06-13 Thread Tushar Behera
On 06/04/2013 09:49 AM, Tushar Behera wrote: For mach-exynos, uart_base is a pointer and the value is calculated in the machine folder. For other machines, uart_base is defined as a macro in platform directory. For symmetry, the uart_base macro definition is removed and the uart_base

Re: [PATCH v2 3/3] ARM: s5p64x0: Use common uncompress.h part for plat-samsung

2013-06-13 Thread Tushar Behera
On 06/04/2013 09:49 AM, Tushar Behera wrote: From: Tomasz Figa tomasz.f...@gmail.com Since uart_base can be set dynamically in arch_detect_cpu(), there is no need to have a copy of all code locally, just to override UART base address. This patch removes any duplicate code in uncompress.h

Re: [PATCHSET v2 cgroup/for-3.11] cgroup: convert cgroup_subsys_state refcnt to percpu_ref

2013-06-13 Thread Li Zefan
On 2013/6/13 12:04, Tejun Heo wrote: Hello, The changes from the last take[L] are, * Rebased on top of further percpu-refcount updates. * 0003: Broken patch description updated. * 0004: Stupid list_del_init() conversions from the last decade dropped. * 0005: Typo fix. *

Re: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-13 Thread Sekhar Nori
On 6/12/2013 5:40 PM, Philip, Avinash wrote: On Wed, Jun 12, 2013 at 13:13:59, Nori, Sekhar wrote: On 6/11/2013 6:25 PM, Philip, Avinash wrote: On Tue, Jun 11, 2013 at 17:26:06, Nori, Sekhar wrote: On 5/22/2013 12:40 PM, Philip Avinash wrote: @@ -179,13 +204,10 @@ static int __init

[PATCH] uprobes: fix return value in error handling path

2013-06-13 Thread zhangwei(Jovi)
When I inject incorrect argument into uprobe_events, [root@jovi tracing]# echo 'p:myprobe /bin/bash' uprobe_events [root@jovi tracing]# it doesn't return any error value in there, this patch fix it. Signed-off-by: zhangwei(Jovi) jovi.zhang...@huawei.com --- kernel/trace/trace_uprobe.c |4

Re: [PATCH] arm64: Add support to pass earlyprintk argument via device tree

2013-06-13 Thread Pranavkumar Sawargaonkar
Hi Grant, On 12 June 2013 18:58, Grant Likely grant.lik...@secretlab.ca wrote: On Mon, 3 Jun 2013 21:21:11 +0530, Pranavkumar Sawargaonkar pranavku...@linaro.org wrote: This patch adds support for defining and passing earlyprintk related information i.e. device and address information via

Re: [net-next PATCH 1/2] macvtap: slient sparse warnings

2013-06-13 Thread Jason Wang
On 06/13/2013 01:48 PM, Eric Dumazet wrote: On Thu, 2013-06-13 at 12:21 +0800, Jason Wang wrote: This patch silents the following sparse warnings: dr Signed-off-by: Jason Wang jasow...@redhat.com --- drivers/net/macvtap.c |2 +- include/linux/if_macvlan.h |2 +- 2 files

Re: [PATCH 4/8] vrange: Clear volatility on new mmaps

2013-06-13 Thread Minchan Kim
Hey John, On Tue, Jun 11, 2013 at 09:22:47PM -0700, John Stultz wrote: At lsf-mm, the issue was brought up that there is a precedence with interfaces like mlock, such that new mappings in a pre-existing range do no inherit the mlock state. This is mostly because mlock only modifies the

[net-next PATCH V2 1/2] macvtap: slient sparse warnings

2013-06-13 Thread Jason Wang
This patch silents the following sparse warnings: drivers/net/macvtap.c:98:9: warning: incorrect type in assignment (different address spaces) drivers/net/macvtap.c:98:9:expected struct macvtap_queue *noident drivers/net/macvtap.c:98:9:got struct macvtap_queue [noderef] asn:4*noident

[net-next PATCH V2 2/2] macvtap: fix uninitialized return value macvtap_ioctl_set_queue()

2013-06-13 Thread Jason Wang
Return -EINVAL on illegal flag instead of uninitialized value. This fixes the kbuild test warning. Signed-off-by: Jason Wang jasow...@redhat.com --- drivers/net/macvtap.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/macvtap.c b/drivers/net/macvtap.c index

Re: [PATCH] ncpfs: fix rmdir returns Device or resource busy

2013-06-13 Thread Al Viro
On Thu, Jun 13, 2013 at 03:01:22AM +0100, Al Viro wrote: On Fri, Jun 07, 2013 at 05:14:52PM +0100, Al Viro wrote: On Fri, Jun 07, 2013 at 11:09:05AM -0500, Dave Chiluk wrote: Can't you just use the patch from my original e-mail? Anyhow I attached it an already signed-off patch. Al

Re: [PATCH] MDIO: FSL_PQ_MDIO: Fix bug on incorrect offset of tbipa register

2013-06-13 Thread Oded Gabbay
On 06/12/2013 09:31 PM, Scott Wood wrote: On 06/12/2013 10:08:29 AM, Sebastian Andrzej Siewior wrote: On 06/12/2013 02:47 PM, Oded Gabbay wrote: This patch fixes a bug in the fsl_pq_mdio.c module and in relevant device-tree files regarding the correct offset of the tbipa register in the

Re: [RFC] PTR_ERR: return 0 if ptr isn't an error value.

2013-06-13 Thread Rusty Russell
Julia Lawall julia.law...@lip6.fr writes: On Mon, 3 Jun 2013, Uwe Kleine-König wrote: For a random example, here is a function that currently uses PTR_RET: Heheh, nice choice: I think I wrote that code originally :) static int __net_init iptable_raw_net_init(struct net *net) {

Re: [PATCH] crypto: aesni_intel - fix accessing of unaligned memory

2013-06-13 Thread Herbert Xu
On Tue, Jun 11, 2013 at 10:25:22PM +0300, Jussi Kivilinna wrote: The new XTS code for aesni_intel uses input buffers directly as memory operands for pxor instructions, which causes crash if those buffers are not aligned to 16 bytes. Patch changes XTS code to handle unaligned memory

RE: [PATCH v2 02/14] ARM: OMAP2+: AM43x: Kconfig

2013-06-13 Thread Mohammed, Afzal
Hi Tony, On Wed, Jun 12, 2013 at 22:42:00, Tony Lindgren wrote: I've updated this patch to remove the default y and depends on ARCH_OMAP2PLUS entries for the usual reasons and applied the first ten patches into omap-for-v3.11/soc. Thanks. Patch 10 ARM: OMAP2+: AM43x: basic dt support is

Re: [PATCH] slab: prevent warnings when allocating with __GFP_NOWARN

2013-06-13 Thread Pekka Enberg
On Wed, Jun 12, 2013 at 1:34 AM, Andrew Morton a...@linux-foundation.org wrote: __GFP_NOWARN is frequently used by kernel code to probe for how big an allocation can I get. That's a bit lame, but it's used on slow paths and is pretty simple. Applied to slab/urgent, thanks guys! -- To

Re: [PATCH v3 0/7] cpuset: implement sane hierarchy behaviors

2013-06-13 Thread Li Zefan
On 2013/6/10 0:03, Tejun Heo wrote: Hello, Li. On Sun, Jun 09, 2013 at 05:14:02PM +0800, Li Zefan wrote: v2 - v3: Currently some cpuset behaviors are not friendly when cpuset is co-mounted with other cgroup controllers. Now with this patchset if cpuset is mounted with sane_behavior

[PATCH v2] macvlan: don't touch promisc without passthrough

2013-06-13 Thread Michael S. Tsirkin
commit df8ef8f3aaa6692970a436204c4429210addb23a macvlan: add FDB bridge ops and macvlan flags added a way to control NOPROMISC macvlan flag through netlink. However, with a non passthrough device we never set promisc on open, even if NOPROMISC is off. As a result: If userspace clears NOPROMISC

Re: [Patch 3/3] clk: Avoid re-parenting orphan clk's having invalid parent index.

2013-06-13 Thread Ambresh K
Sorry for not being descriptive in commit message. a) Avoids unnecessary re-parenting cycle for orphan clock's with invalid parent for every clock True, but this is a minor optimisation. If this is a big optimization for you then you really need to fix your bootloader. We

[PATCH v4 7/7] cpuset: fix to migrate mm correctly in a corner case

2013-06-13 Thread Li Zefan
Before moving tasks out of empty cpusets, update_tasks_nodemask() is called, which calls do_migrate_pages(xx, from, to). Then those tasks are moved to an ancestor, and do_migrate_pages() is called again. The first time: from = node_to_be_offlined, to = empty. The second time: from = empty, to =

Re: [PATCH] fuse: hold i_mutex in fuse_file_fallocate()

2013-06-13 Thread Maxim Patlasov
Anand, Brian, 06/12/2013 11:04 PM, Anand Avati пишет: On 6/11/13 3:59 AM, Maxim Patlasov wrote: -if (mode FALLOC_FL_PUNCH_HOLE) { +if (lock_inode) mutex_lock(inode-i_mutex); +if (mode FALLOC_FL_PUNCH_HOLE) fuse_set_nowrite(inode); -} Just for

Re: [PATCH v4] cpufreq: fix governor start/stop race condition

2013-06-13 Thread Xiaoguang Chen
2013/6/13 Viresh Kumar viresh.ku...@linaro.org: On 13 June 2013 11:10, Xiaoguang Chen chenxg.marv...@gmail.com wrote: 2013/6/12 Viresh Kumar viresh.ku...@linaro.org: On 12 June 2013 14:39, Xiaoguang Chen che...@marvell.com wrote: ret = policy-governor-governor(policy, event); We

Re: [BUG] PCI related panic on powerpc based board with 3.10-rcX

2013-06-13 Thread Rojhalat Ibrahim
On Wednesday 12 June 2013 16:50:26 Scott Wood wrote: On 06/12/2013 03:19:30 AM, Rojhalat Ibrahim wrote: On Tuesday 11 June 2013 12:28:59 Scott Wood wrote: Yes, I figured it was non-PCIe because the code change that you said helped was on the non-PCIe branch of the if/else. Generally it's

Re: 3.10-rc: bluetooth disappeared on thinkpad x60 (regression)

2013-06-13 Thread Johan Hedberg
Hi Pavel, On Wed, Jun 12, 2013, Pavel Machek wrote: HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0 HCI Event: Command Complete (0x0e) plen 68 Read Local Supported Commands (0x04|0x0002) ncmd 1 status 0x00 Commands: 130f3f As I

RE: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-13 Thread Philip, Avinash
On Thu, Jun 13, 2013 at 11:47:52, Nori, Sekhar wrote: On 6/12/2013 5:40 PM, Philip, Avinash wrote: On Wed, Jun 12, 2013 at 13:13:59, Nori, Sekhar wrote: On 6/11/2013 6:25 PM, Philip, Avinash wrote: On Tue, Jun 11, 2013 at 17:26:06, Nori, Sekhar wrote: On 5/22/2013 12:40 PM, Philip

Привет

2013-06-13 Thread sales
Вы Верно воротите зрение - методика причитается абсолютно всем! http://goo.gl/P1lMr?/XhNsbzz Тип Что поможет Вам всегда. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: pinctrl:when two device use the same pin

2013-06-13 Thread Linus Walleij
On Thu, Jun 13, 2013 at 4:43 AM, xulinuxkernel xulinuxker...@gmail.com wrote: I am using the kernel pinctrl subsystem, and I have a problem,when two devices use the same pin,how about the consumer devices handle the conflict pins? some thing like this: assumer the device A and B use the same

Re: [PATCH] netlink: make compare exist all the time

2013-06-13 Thread David Miller
From: Gao feng gaof...@cn.fujitsu.com Date: Thu, 13 Jun 2013 10:05:38 +0800 Commit da12c90e099789a63073fc82a19542ce54d4efb9 netlink: Add compare function for netlink_table only set compare at the time we create kernel netlink, and reset compare to NULL at the time we finially release netlink

Re: [RFC] PTR_ERR: return 0 if ptr isn't an error value.

2013-06-13 Thread Michael S. Tsirkin
On Thu, Jun 13, 2013 at 02:07:40PM +0930, Rusty Russell wrote: Julia Lawall julia.law...@lip6.fr writes: On Mon, 3 Jun 2013, Uwe Kleine-König wrote: For a random example, here is a function that currently uses PTR_RET: Heheh, nice choice: I think I wrote that code originally :) static

Re: [PATCH -next v2] dmaengine: ste_dma40: fix error return code in d40_probe()

2013-06-13 Thread Linus Walleij
On Wed, Jun 12, 2013 at 11:54 AM, Vinod Koul vinod.k...@intel.com wrote: Let me know how you want it, I've removed it from my dma40 branch for the time being. Have you removed, Also I see a v3 of this, do you want to ack that before I apply Acked-by: Linus Walleij linus.wall...@linaro.org

[PATCH] HID: i2c-hid: add DT bindings

2013-06-13 Thread Benjamin Tissoires
Add device tree based support for HID over I2C devices. Tested on an Odroid-X board with a Synaptics touchpad. Signed-off-by: Benjamin Tissoires benjamin.tissoi...@redhat.com --- Hi guys, well, as the commit message says, this is the DT binding for HID over I2C. I honestly don't know if it

[PATCH] powerpc/pci: Fix setup of Freescale PCI / PCIe controllers

2013-06-13 Thread Rojhalat Ibrahim
Commit 50d8f87d2b3 (powerpc/fsl-pci Make PCIe hotplug work with Freescale PCIe controllers) does not handle non-PCIe controllers properly, which causes a panic during boot for certain configurations. This patch fixes the issue for 83xx devices by calling the proper setup function. For booke/86xx

[PATCH] ipvs: sloppy TCP and SCTP

2013-06-13 Thread Alexander Frolkin
This adds support for sloppy TCP and SCTP modes to IPVS. When enabled (sysctls net.ipv4.vs.sloppy_tcp and net.ipv4.vs.sloppy_sctp), allows IPVS to create connection state on any packet, not just a TCP SYN (or SCTP INIT). This allows connections to fail over from one IPVS director to another

Re: [RFC] PTR_ERR: return 0 if ptr isn't an error value.

2013-06-13 Thread Julia Lawall
On Thu, 13 Jun 2013, Michael S. Tsirkin wrote: On Thu, Jun 13, 2013 at 02:07:40PM +0930, Rusty Russell wrote: Julia Lawall julia.law...@lip6.fr writes: On Mon, 3 Jun 2013, Uwe Kleine-König wrote: For a random example, here is a function that currently uses PTR_RET: Heheh, nice

Re: [RFC v1] MFD: Change TWL6025 references to TWL6032

2013-06-13 Thread Oleksandr Kozaruk
On 06/07/2013 05:44 PM, g...@slimlogic.co.uk wrote: On 2013-06-07 15:36, Mark Brown wrote: On Fri, Jun 07, 2013 at 01:53:10PM +0300, Oleksandr Kozaruk wrote: From: Graeme Gregory g...@slimlogic.co.uk The TWL6025 was never released beyond sample form and was replaced by the PhoenixLite range

Re: [PATCH net-next 1/2] net: remove NET_LL_RX_POLL config menue

2013-06-13 Thread Daniel Borkmann
On 06/13/2013 04:13 AM, Eliezer Tamir wrote: On 13/06/2013 05:01, Stephen Hemminger wrote: On Wed, 12 Jun 2013 15:12:05 -0700 (PDT) David Miller da...@davemloft.net wrote: From: Eliezer Tamir eliezer.ta...@linux.intel.com Date: Tue, 11 Jun 2013 17:24:28 +0300 depends on X86_TSC Wait

Re: 3.10-rc: bluetooth disappeared on thinkpad x60 (regression)

2013-06-13 Thread Johan Hedberg
Hi Pavel, On Thu, Jun 13, 2013, Johan Hedberg wrote: On Wed, Jun 12, 2013, Pavel Machek wrote: HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0 HCI Event: Command Complete (0x0e) plen 68 Read Local Supported Commands (0x04|0x0002) ncmd 1 status 0x00

Re: [PATCH 1/2] pinctrl: add function to parse generic pinconfig properties from a dt node

2013-06-13 Thread Linus Walleij
Tisdagen den 13:e Juni 2013 klock 12:22 AM, skrev Heiko Stübner he...@sntech.de: Am Mittwoch, 12. Juni 2013, 16:55:12 schrieb James Hogan: +static struct pinconf_generic_dt_params dt_params[] = { + { bias-disable, PIN_CONFIG_BIAS_DISABLE, 0 }, + { bias-high-impedance,

[PATCH] fuse: hold i_mutex in fuse_file_fallocate() - v2

2013-06-13 Thread Maxim Patlasov
Changing size of a file on server and local update (fuse_write_update_size) should be always protected by inode-i_mutex. Otherwise a race like this is possible: 1. Process 'A' calls fallocate(2) to extend file (~FALLOC_FL_KEEP_SIZE). fuse_file_fallocate() sends FUSE_FALLOCATE request to the

Re: [PATCH v2] macvlan: don't touch promisc without passthrough

2013-06-13 Thread David Miller
From: Michael S. Tsirkin m...@redhat.com Date: Thu, 13 Jun 2013 10:07:29 +0300 commit df8ef8f3aaa6692970a436204c4429210addb23a macvlan: add FDB bridge ops and macvlan flags added a way to control NOPROMISC macvlan flag through netlink. However, with a non passthrough device we never set

Re: [PATCH 0/3]

2013-06-13 Thread Daniel Vetter
On Thu, Jun 06, 2013 at 04:59:26PM +0300, Jani Nikula wrote: With Greg's address fixed. Please drop the old one from any replies. Sorry for the noise. Oops, replied with the old one still there. Greg, Andrew: Imo it's best to merge all three patches through the same tree, so: Acked-by:

Re: [net-next PATCH V2 1/2] macvtap: slient sparse warnings

2013-06-13 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Thu, 13 Jun 2013 14:23:35 +0800 This patch silents the following sparse warnings: ... Signed-off-by: Jason Wang jasow...@redhat.com Applied. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

Re: [net-next PATCH V2 2/2] macvtap: fix uninitialized return value macvtap_ioctl_set_queue()

2013-06-13 Thread David Miller
From: Jason Wang jasow...@redhat.com Date: Thu, 13 Jun 2013 14:23:36 +0800 Return -EINVAL on illegal flag instead of uninitialized value. This fixes the kbuild test warning. Signed-off-by: Jason Wang jasow...@redhat.com Applied. -- To unsubscribe from this list: send the line unsubscribe

Re: [Update][PATCH] ACPI / scan: Simplify ACPI driver probing

2013-06-13 Thread Aaron Lu
On 06/10/2013 06:18 AM, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / scan: Simplify ACPI driver probing There is no particular reason why acpi_bus_driver_init() needs to be a separate function and its location with respect to its only caller,

Re: [PATCH V3] irqchip: Add TB10x interrupt controller driver

2013-06-13 Thread Christian Ruppert
On Sat, Jun 01, 2013 at 01:01:33PM +0200, Christian Ruppert wrote: On Fri, May 31, 2013 at 11:18:14PM +0100, Grant Likely wrote: On Fri, 31 May 2013 19:32:34 +0200 (CEST), Thomas Gleixner t...@linutronix.de wrote: On Fri, 31 May 2013, Christian Ruppert wrote: The SOC interrupt

Re: [PATCH] ipvs: sloppy TCP and SCTP

2013-06-13 Thread Julian Anastasov
Hello, On Thu, 13 Jun 2013, Alexander Frolkin wrote: This adds support for sloppy TCP and SCTP modes to IPVS. When enabled (sysctls net.ipv4.vs.sloppy_tcp and net.ipv4.vs.sloppy_sctp), allows IPVS to create connection state on any packet, not just a TCP SYN (or SCTP INIT). This

Re: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-13 Thread Sekhar Nori
On 6/13/2013 1:02 PM, Philip, Avinash wrote: With tnetv107x_defconfig build is failing arch/arm/mach-davinci/board-tnetv107x-evm.c:282:15: error: 'davinci_timer_init' undeclared here (not in a function) arch/arm/mach-davinci/board-tnetv107x-evm.c:284:15: error: 'davinci_init_late'

Re: [PATCH] drivers/net/ethernet/3com: Drop EISA dependency from VORTEX

2013-06-13 Thread David Miller
From: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Date: Wed, 12 Jun 2013 00:45:54 +0400 We have the user of 3Com EISA cards on this list and I've fixed EISA specific bug in this driver not long ago. Then I obviously must reject this patch. -- To unsubscribe from this list: send the

Re: [PATCH] drivers/net/ethernet/3com: Drop EISA dependency from VORTEX

2013-06-13 Thread Markos Chandras
On 06/13/13 09:34, David Miller wrote: From: Sergei Shtylyov sergei.shtyl...@cogentembedded.com Date: Wed, 12 Jun 2013 00:45:54 +0400 We have the user of 3Com EISA cards on this list and I've fixed EISA specific bug in this driver not long ago. Then I obviously must reject this patch.

[PATCH v3 0/2] dmaengine: at_hdmac: dt dma bindings update

2013-06-13 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com Vinod, This version removes the extra tab in patch 2/2 and add Arnd's ack. Thanks Regards Ludovic This set of patches update the dt dma binding for at_hdmac since we need one more parameter. In order to keep backward compatibility, an

[PATCH v3 2/2] at_hdmac: add FIFO configuration parameter to DMA DT binding

2013-06-13 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com For most devices the FIFO configuration is the same i.e. when half FIFO size is available/filled, a source/destination request is serviced. But USART devices have to do it when there is enough space/data available to perform a single AHB access

Re: [PATCH v4] cpufreq: fix governor start/stop race condition

2013-06-13 Thread Viresh Kumar
On 13 June 2013 12:49, Xiaoguang Chen chenxg.marv...@gmail.com wrote: So you add the return value checking, I was about to do it in another patch :) What? I couldn't related that statement to my code. this patch is simpler than my previous patch, it is ok for me. Do I need to submit it

[PATCH v3 1/2] ARM: at91: dt: add header to define at_hdmac configuration

2013-06-13 Thread ludovic.desroches
From: Ludovic Desroches ludovic.desroc...@atmel.com DMA-cell content is a concatenation of several values. In order to keep this stuff human readable, macros are introduced. The values for the FIFO configuration are not the same as the ones used in the configuration register in order to keep

Re: [PATCH 00/32] ARM: ux500: Enable clocks for Device Tree

2013-06-13 Thread Linus Walleij
On Wed, Jun 12, 2013 at 3:27 PM, Lee Jones lee.jo...@linaro.org wrote: After this patchset has been applied, we can request clocks directly from Device Tree without using any AUXDATA device-name hacks. We also take care to remove all of thos at the end of the set. So it looks like Mike and

[PATCH v7 9/9] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-06-13 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-twl4030-usb.c | 55 - 1 file changed, 12

[PATCH v7 3/9] usb: phy: twl4030: use the new generic PHY framework

2013-06-13 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. However using the old usb phy library cannot

Re: 3.10-rc: bluetooth disappeared on thinkpad x60 (regression)

2013-06-13 Thread Pavel Machek
On Thu 2013-06-13 11:04:42, Johan Hedberg wrote: Hi Pavel, On Thu, Jun 13, 2013, Johan Hedberg wrote: On Wed, Jun 12, 2013, Pavel Machek wrote: HCI Command: Read Local Supported Commands (0x04|0x0002) plen 0 HCI Event: Command Complete (0x0e) plen 68 Read Local Supported

[PATCH v7 0/9] Generic PHY Framework

2013-06-13 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that uses external PHY (PHY functionality is not embedded

[PATCH v7 1/9] drivers: phy: add generic PHY framework

2013-06-13 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[PATCH v7 7/9] usb: musb: omap2430: use the new generic PHY framework

2013-06-13 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on/get_sync and power_off/put_sync to align with the new PHY framework. musb-xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a

[PATCH v7 2/9] usb: phy: omap-usb2: use the new generic PHY framework

2013-06-13 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. However using the old USB PHY library cannot be completely removed because OTG is intertwined with PHY and moving to the new framework will break

[PATCH v7 6/9] ARM: dts: omap: update usb_otg_hs data

2013-06-13 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at

[PATCH v7 5/9] ARM: OMAP: USB: Add phy binding information

2013-06-13 Thread Kishon Vijay Abraham I
In order for controllers to get PHY in case of non dt boot, the phy binding information (phy device name) should be added in the platform data of the controller. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- arch/arm/mach-omap2/usb-musb.c |6 +- include/linux/usb/musb.h |

[PATCH v7 4/9] usb: phy: twl4030: twl4030 shouldn't be subsys_initcall

2013-06-13 Thread Kishon Vijay Abraham I
Changed the inticall from subsys_initcall to module_init for twl4030-usb. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-twl4030-usb.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/drivers/usb/phy/phy-twl4030-usb.c

[PATCH v7 8/9] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-06-13 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com --- drivers/usb/phy/phy-omap-usb2.c | 24 1 file changed, 24 deletions(-) diff --git

Re: [PATCH] dma-mapping: Add BUG_ON for uninitialized dma_ops

2013-06-13 Thread Marek Szyprowski
On 6/12/2013 5:06 PM, Arnd Bergmann wrote: On Tuesday 11 June 2013, James Bottomley wrote: Really, no, it's not a good idea at all. It invites tons of patches littering the code with BUG_ONs where we might possibly get a NULL dereference. All it does is add extra instructions to a code

Re: [PATCH v5 3/5] vmcore: Introduce remap_oldmem_pfn_range()

2013-06-13 Thread Michael Holzheu
On Thu, 13 Jun 2013 10:32:48 +0900 HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: Perhaps one open issue remains: Can we remove the page from the page cache if __read_vmcore() fails? Yes, use page_cache_release() after unlocking the page like: if

Re: [PATCH, RFC] mm: Implement RLIMIT_RSS

2013-06-13 Thread Minchan Kim
Hey Jörn, On Tue, Jun 11, 2013 at 05:53:20PM -0400, Jörn Engel wrote: On Tue, 11 June 2013 17:16:01 -0400, Johannes Weiner wrote: On Tue, Jun 11, 2013 at 02:29:21PM -0400, Jörn Engel wrote: I've seen a couple of instances where people try to impose a vsize limit simply because there is

[PATCH 0/3] some optimization code cleanup

2013-06-13 Thread Haicheng Li
Fix some issues found by code review. Haicheng Li (3): f2fs: remove unnecessary parameter offset from __add_sum_entry() f2fs: make locate_dirty_segment() as static f2fs: optimize do_write_data_page() fs/f2fs/data.c|5 +++-- fs/f2fs/f2fs.h|1 - fs/f2fs/segment.c | 12

[PATCH 2/3] f2fs: make locate_dirty_segment() as static

2013-06-13 Thread Haicheng Li
It's used only locally and could be static. Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/f2fs.h|1 - fs/f2fs/segment.c |2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h index a05aa65..3e7cb33 100644 ---

Re: Commit f9afbd45b0d0 broke mips r4k.

2013-06-13 Thread Ralf Baechle
On Wed, Jun 12, 2013 at 09:35:16PM -0500, Rob Landley wrote: My aboriginal linux project builds tiny linux systems to run under qemu, producing as close to the same system as possible across a bunch of different architectures. The above change broke the mips r4k build I've been running under

[PATCH 1/3] f2fs: remove unnecessary parameter offset from __add_sum_entry()

2013-06-13 Thread Haicheng Li
We can get the value directly from pointer curseg. Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/segment.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/f2fs/segment.c b/fs/f2fs/segment.c index be668ff..77f31c0 100644 ---

Re: [RFC] Allow GPIO ranges based on pinctl pin groups

2013-06-13 Thread Linus Walleij
On Wed, Jun 12, 2013 at 6:44 PM, Christian Ruppert christian.rupp...@abilis.com wrote: This patch allows the definition of GPIO ranges based on pin groups in addition to the traditional linear pin ranges. GPIO ranges based on pin groups have the following advantages over traditional pin

[PATCH 3/3] f2fs: optimize do_write_data_page()

2013-06-13 Thread Haicheng Li
Since need_inplace_update() == true is a very rare case, using unlikely() to give compiler a chance to optimize the code. Signed-off-by: Haicheng Li haicheng...@linux.intel.com --- fs/f2fs/data.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fs/f2fs/data.c

[PATCH v5] cpufreq: fix governor start/stop race condition

2013-06-13 Thread Xiaoguang Chen
cpufreq governor stop and start should be kept in sequence. If not, there will be unexpected behavior, for example: we have 4 cpus and policy-cpu=cpu0, cpu1/2/3 are linked to cpu0. the normal sequence is as below: 1) Current governor is userspace, one application tries to set governor to

Re: am335x: TSC ADC reworking including DT pieces, take 5

2013-06-13 Thread Samuel Ortiz
Hi Sebastian, On Wed, Jun 12, 2013 at 06:58:01PM +0200, Sebastian Andrzej Siewior wrote: Hi Samuel, I did the cosmetic changes of the subject line and removed the changes from within the sob lines in each patch. I dropped the #define XPP STEPCONFIG_XPP thingy and patch #1 which removed

[PATCH v2 1/3] ARM: tegra: basic support for Trusted Foundations

2013-06-13 Thread Alexandre Courbot
Add basic support for booting secondary processors on Tegra devices using the Trusted Foundations secure monitor. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- Documentation/devicetree/bindings/arm/tegra.txt| 11 + .../devicetree/bindings/vendor-prefixes.txt| 1 +

[PATCH v2 2/3] ARM: tegra: split setting of CPU reset handler

2013-06-13 Thread Alexandre Courbot
Not all Tegra devices need to set the CPU reset handler in the same way. In particular, devices using a TrustZone secure monitor cannot set the reset handler directly and need to do it through a firmware operation. This patch separates the act of setting the reset handler from its preparation, so

[PATCH v2 3/3] ARM: tegra: set CPU reset handler with firmware op

2013-06-13 Thread Alexandre Courbot
Use a firmware operation to set the CPU reset handler and only resort to doing it ourselves if there is none defined. This supports the booting of secondary CPUs on devices using a TrustZone secure monitor. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/mach-tegra/reset.c |

[PATCH v2 0/3] ARM: tegra: add basic support for Trusted Foundations

2013-06-13 Thread Alexandre Courbot
New revision of the initial patch, fixed according to the many suggestions received. (thanks!) Changes since v1: - Split patch into logical chunks as suggested by Tomasz - Simplified smc function according to comments from Russel and David - Use proper Trusted Foundations naming for firmware

Re: [PATCH v5] cpufreq: fix governor start/stop race condition

2013-06-13 Thread Viresh Kumar
On 13 June 2013 14:31, Xiaoguang Chen che...@marvell.com wrote: cpufreq governor stop and start should be kept in sequence. If not, there will be unexpected behavior, for example: we have 4 cpus and policy-cpu=cpu0, cpu1/2/3 are linked to cpu0. the normal sequence is as below: 1) Current

[PATCH v3 5/9] memcg: use css_get/put when charging/uncharging kmem

2013-06-13 Thread Li Zefan
Sorry for updating the patchset so late. I've made some changes for the memory barrier thing, and I agree with Michal that there can be improvement but can be a separate patch. If this version is ok for everyone, I'll send the whole patchset out to Andrew. = Use

RE: [PATCH 03/11] gpio: davinci: Modify to platform driver

2013-06-13 Thread Philip, Avinash
On Thu, Jun 13, 2013 at 13:59:53, Nori, Sekhar wrote: On 6/13/2013 1:02 PM, Philip, Avinash wrote: With tnetv107x_defconfig build is failing arch/arm/mach-davinci/board-tnetv107x-evm.c:282:15: error: 'davinci_timer_init' undeclared here (not in a function)

Re: am335x: TSC ADC reworking including DT pieces, take 5

2013-06-13 Thread Sebastian Andrzej Siewior
On 06/13/2013 11:07 AM, Samuel Ortiz wrote: Hi Sebastian, Hi Samuel, Pulled and pushed back to mfd-next, thanks. Thank you. I fixed a couple of unused variable warnings on top of it. I saw your patch at git.k.o and I am asking you not to taking it :) The code is:

Re: [PATCH 1/1] move exit_task_namespaces() outside of exit_notify()

2013-06-13 Thread Andrew Vagin
On Sat, Apr 13, 2013 at 05:55:21PM +0200, Oleg Nesterov wrote: exit_notify() does exit_task_namespaces() after forget_original_parent(). This was needed to ensure that -nsproxy can't be cleared prematurely, an exiting child we are going to reparent can do do_notify_parent() and use the

Re: [PATCH v2 09/11] ARM:stixxxx: Add stixxxx options to multi_v7_defconfig

2013-06-13 Thread Srinivas KANDAGATLA
On 10/06/13 14:15, Mark Rutland wrote: CONFIG_EXPERIMENTAL's gone as of 3d374d09f1: final removal of CONFIG_EXPERIMENTAL, so that's fine to go. CONFIG_GPIO_PL061 and CONFIG_MMC_WMT get selected elsewhere, so that's fine. Am planning to send a patch to clean this up, so that any new platform

Re: [PATCHv7 01/11] clockevents: Prefer CPU local devices over global devices

2013-06-13 Thread Daniel Lezcano
On 06/12/2013 11:44 PM, Stephen Boyd wrote: On 06/06, Stephen Boyd wrote: On 06/07, Daniel Lezcano wrote: On 06/06/2013 08:04 PM, Stephen Boyd wrote: On 06/06, Daniel Lezcano wrote: On 06/03/2013 10:33 PM, Stephen Boyd wrote: On an SMP system with only one global clockevent and a dummy

Re: [PATCH 00/32] ARM: ux500: Enable clocks for Device Tree

2013-06-13 Thread Lee Jones
On Thu, 13 Jun 2013, Linus Walleij wrote: On Wed, Jun 12, 2013 at 3:27 PM, Lee Jones lee.jo...@linaro.org wrote: After this patchset has been applied, we can request clocks directly from Device Tree without using any AUXDATA device-name hacks. We also take care to remove all of thos at the

Re: am335x: TSC ADC reworking including DT pieces, take 5

2013-06-13 Thread Samuel Ortiz
Hi Sebastian, On Thu, Jun 13, 2013 at 11:25:26AM +0200, Sebastian Andrzej Siewior wrote: I fixed a couple of unused variable warnings on top of it. I saw your patch at git.k.o and I am asking you not to taking it :) I understand why now, I'll remove it. Sorry about that. Cheers, Samuel. --

Re: [RFC PATCH v3 0/2] drivers: mfd: Versatile Express SPC support

2013-06-13 Thread Pawel Moll
On Thu, 2013-06-13 at 01:13 +0100, Samuel Ortiz wrote: Now, about the driver itself, besides the really odd code design, the static variables all over the place, the nasty init hacks and the unneeded long function names, someone should refresh my memory and explain to me why is this guy under

Re: [PATCH 1/3] net: add support for MOST protocol

2013-06-13 Thread David Miller
From: Giancarlo Asnaghi giancarlo.asna...@st.com Date: Mon, 10 Jun 2013 14:52:25 +0200 This patch adds core support for the MOST protocol. More information about the protocol can be found at: http://www.mostcooperation.com/ See the lkml message [PATCH 0/3] MOST network protocol sent on Jun

[PATCH v2 0/4] gpu: host1x: add runtime pm support

2013-06-13 Thread Mayuresh Kulkarni
This patch-set series adds runtime pm support for host1x, gr2d dc. It retains the current behaviour if CONFIG_PM_RUNTIME is not enabled. For host1x gr2d, the clocks are now enabled in .probe and disabled on its exit. This is needed for correct init of hardware. Additionally for gr2d, the

[PATCH v2 1/4] gpu: host1x: shuffle job APIs

2013-06-13 Thread Mayuresh Kulkarni
This patch moves the API host1x_job_submit to job.c file. It also adds a new API host1x_job_complete. This is in preparation to add runtime PM support to host1x its modules. The idea is to call pm_runtime_get from host1x_job_submit and pm_runtime_put from host1x_job_complete. This way the

Re: [PATCH v2 02/14] ARM: OMAP2+: AM43x: Kconfig

2013-06-13 Thread Tony Lindgren
* Mohammed, Afzal af...@ti.com [130613 00:04]: Hi Tony, On Wed, Jun 12, 2013 at 22:42:00, Tony Lindgren wrote: I've updated this patch to remove the default y and depends on ARCH_OMAP2PLUS entries for the usual reasons and applied the first ten patches into omap-for-v3.11/soc.

Re: [RFC PATCH v3 2/2] drivers: mfd: vexpress: add Serial Power Controller (SPC) support

2013-06-13 Thread Lorenzo Pieralisi
Hi Samuel, first things first, thanks a lot for having a look. On Thu, Jun 13, 2013 at 01:01:43AM +0100, Samuel Ortiz wrote: Hi Lorenzo, I don't particularily like this code, but I guess most of my dislike comes from the whole bridge interface API and how that forces you into implementing

[PATCH v2 4/4] gpu: host1x: add runtime pm support for host1x

2013-06-13 Thread Mayuresh Kulkarni
Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/dev.c | 57 1 file changed, 57 insertions(+) diff --git a/drivers/gpu/host1x/dev.c b/drivers/gpu/host1x/dev.c index 28e28a2..b43eb29 100644 --- a/drivers/gpu/host1x/dev.c

[PATCH v2 2/4] gpu: host1x: add runtime pm support for gr2d

2013-06-13 Thread Mayuresh Kulkarni
Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/drm/gr2d.c | 56 ++- drivers/gpu/host1x/job.c | 9 +++ 2 files changed, 64 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/host1x/drm/gr2d.c

[PATCH v2 3/4] gpu: host1x: add runtime pm support for dc

2013-06-13 Thread Mayuresh Kulkarni
As of now, the dc clock is enabled in its .probe via runtime pm and disabled in .remove Signed-off-by: Mayuresh Kulkarni mkulka...@nvidia.com --- drivers/gpu/host1x/drm/dc.c | 60 + 1 file changed, 55 insertions(+), 5 deletions(-) diff --git

Re: [PATCH] Revert V4L/DVB: uvc: Enable USB autosuspend by default on uvcvideo

2013-06-13 Thread Adam Lee
On Thu, Apr 25, 2013 at 02:33:06PM +0800, Adam Lee wrote: On Wed, Apr 24, 2013 at 11:17:52AM +0200, Laurent Pinchart wrote: Hi Adam, Thanks for the patch. On Wednesday 24 April 2013 15:57:19 adam@canonical.com wrote: From: Adam Lee adam@canonical.com This reverts

  1   2   3   4   5   6   7   8   9   10   >