Re: Oops in sound/usb/pcm.c:match_endpoint_audioformats() in current -git

2013-01-10 Thread Jens Axboe
On 2013-01-10 20:45, Eldad Zack wrote: Jens, could you please send me the device's descriptors (lsusb -v)? I'd like to take a closer look at this. Below. Bus 006 Device 010: ID 22e8:dac1 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00

Re: [PATCH RESEND v1 05/16] vfs: add hooks to enable hot tracking

2013-01-10 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:52 AM, David Sterba dste...@suse.cz wrote: On Thu, Dec 20, 2012 at 10:43:24PM +0800, zwu.ker...@gmail.com wrote: --- a/fs/direct-io.c +++ b/fs/direct-io.c @@ -37,6 +37,7 @@ #include linux/uio.h #include linux/atomic.h #include linux/prefetch.h +#include

Re: oops in copy_page_rep()

2013-01-10 Thread Simon Jeons
On Tue, 2013-01-08 at 18:49 +0100, Andrea Arcangeli wrote: Hi Kirill, On Tue, Jan 08, 2013 at 07:30:58PM +0200, Kirill A. Shutemov wrote: Merged patch is obviously broken: huge_pmd_set_accessed() can be called only if the pmd is under splitting. Of course I assume you meant only if the

Re: [PATCH] slub: assign refcount for kmalloc_caches

2013-01-10 Thread Joonsoo Kim
On Thu, Jan 10, 2013 at 08:47:39PM -0800, Paul Hargrove wrote: I just had a look at patch-3.7.2-rc1, and this change doesn't appear to have made it in yet. Am I missing something? -Paul I try to check it. Ccing to Greg. Hello, Pekka and Greg. v3.8-rcX has already fixed by another stuff,

RE: [PATCH v4 05/14] dmaengine: edma: Add TI EDMA device tree binding

2013-01-10 Thread Hebbar, Gururaja
On Fri, Jan 11, 2013 at 11:18:41, Porter, Matt wrote: The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter mpor...@ti.com --- Documentation/devicetree/bindings/dma/ti-edma.txt | 51 + 1 file changed, 51 insertions(+)

Re: [RFC] Reproducible OOM with partial workaround

2013-01-10 Thread Andrew Morton
On Fri, 11 Jan 2013 12:46:15 +1100 paul.sz...@sydney.edu.au wrote: ... I don't believe 64GB of RAM has _ever_ been booted on a 32-bit kernel without either violating the ABI (3GB/1GB split) or doing something that never got merged upstream ... Sorry to be so contradictory: psz@como:~$

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-10 Thread Viresh Kumar
On 10 January 2013 13:24, Shawn Guo shawn@linaro.org wrote: Yes, just played it and it works for me. However, I would have to keep that little ugly code in my patch to save the dependency on your patch. Will send a follow-up to clean that up once your patch hits mainline. Good. Hopefully,

pull request: bluetooth 2013-01-10

2013-01-10 Thread Gustavo Padovan
Hi John, A few fixes for 3.8. Five of them are just new devices ids addition. Apart from the that there is fix to a kernel memory leak to userspace from Anderson Lizardo, two interoperability fixes from Jaganath Kanakkassery and Szymon Janc. And a crash fix by me. Please pull, or let me know of

Re: [PATCH v2 3/3] net: stmmac: add gmac autonego set for ethtool support

2013-01-10 Thread David Miller
From: Byungho An bh74...@samsung.com Date: Tue, 08 Jan 2013 15:32:02 -0800 @@ -348,6 +349,10 @@ stmmac_set_pauseparam(struct net_device *netdev, if (phy-autoneg) { if (netif_running(netdev)) + if((interface == PHY_INTERFACE_MODE_SGMII) || +

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-10 Thread Viresh Kumar
On 10 January 2013 13:24, Shawn Guo shawn@linaro.org wrote: On Wed, Jan 09, 2013 at 04:50:44PM +0530, Viresh Kumar wrote: @Shawn: I believe your driver don't require that ugly code anymore (Though i know there is a situation for that to happen, if we have two cpus, you remove second one

[PATCH] ST_CORE: Error triggered by convert char to int

2013-01-10 Thread channing
When st driver decodes protocol index received from raw data, it does a value convert from char to int. Because it's sign extension from bit8 to bit32, the int value maybe minus, in another word, the protocol index might be minus, but driver doesn't filter such case and may continue access memory

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-10 Thread Shawn Guo
On 10 January 2013 16:05, Viresh Kumar viresh.ku...@linaro.org wrote: Another thing, can i have a tested-by from you for both my patches ? remove and add dev? For both: Tested-by: Shawn Guo shawn@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: pull request: wireless 2013-01-09

2013-01-10 Thread David Miller
From: John W. Linville linvi...@tuxdriver.com Date: Wed, 9 Jan 2013 14:18:18 -0500 Included is a mac80211 pull, of which Johannes says the following: 'This includes a number of fixes for various pieces of mac80211. I've also included Thomas's memory RMC hash table optimisation since it

[PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Stefan Hajnoczi
Multiqueue tun devices support detaching a tun_file from its tun_struct and re-attaching at a later point in time. This allows users to disable a specific queue temporarily. ioctl(TUNSETIFF) allows the user to specify the network interface to attach by name. This means the user can attempt to

Re: [PATCH] sched: Get rid of unnecessary checks from select_idle_sibling

2013-01-10 Thread Preeti U Murthy
no need to check it again and the conditionals can be consolidated. [snip] If NUMA_TTWU_BIAS or NUMA_TTWU_TO is true(it is false by I can't find those bits in the code. I've checked v3.8-rc2, next-20130110, tip/master and tip/numa/core but there's nothing like above. Which tree are you saying

Re: [char-misc-next] mei: drop the warning when cl is not initialized during unlinking

2013-01-10 Thread Sedat Dilek
On Thu, Jan 10, 2013 at 12:10 AM, Tomas Winkler tomas.wink...@intel.com wrote: On systems where wd and amthif is not initialized we will hit cl-dev == NULL. This condition is okay so we don't need to be laud about it. Fixes the follwing warning during suspend [ 137.061985] WARNING: at

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-10 Thread Kamezawa Hiroyuki
(2013/01/10 16:55), Glauber Costa wrote: On 01/10/2013 11:31 AM, Kamezawa Hiroyuki wrote: (2013/01/10 16:14), Glauber Costa wrote: On 01/10/2013 06:17 AM, Tang Chen wrote: Note: if the memory provided by the memory device is used by the kernel, it can't be offlined. It is not a bug. Right.

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-10 Thread Sha Zhengju
On Thu, Jan 10, 2013 at 1:03 PM, Kamezawa Hiroyuki kamezawa.hir...@jp.fujitsu.com wrote: (2013/01/10 13:26), Sha Zhengju wrote: But this method also has its pros and cons(e.g. need lock nesting). So I doubt whether the following is able to deal with these issues all together: (CPU-A does

Re: [resend][PATCH 00/16] dw_dmac related patchset

2013-01-10 Thread Andy Shevchenko
On Wed, 2013-01-09 at 07:44 -0800, Vinod Koul wrote: On Wed, Jan 09, 2013 at 10:16:59AM +0200, Andy Shevchenko wrote: There is a patchset against dw_dmac driver. It has been resent for Vinod to review after he returned back from vacation and holidays. That's why there is no Cc list.

Re: [PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-10 Thread Jean Delvare
Hi Laurent, Thanks for the updated patch. On Wed, 9 Jan 2013 21:50:24 +0100, Laurent Navet wrote: avoid these checkpatch.pl issues : - ERROR: foo * bar should be foo *bar - ERROR: switch and case should be at the same indent - ERROR: (foo*) should be (foo *) - ERROR: do not use assignment

Re: [resend][PATCH 01/16] dw_dmac: call .probe after we have a device in place

2013-01-10 Thread Viresh Kumar
On 9 January 2013 21:08, Vinod Koul vinod.k...@intel.com wrote: subsys_initcall(dw_init); Viresh, Linus We had this discussion sometime back. pl022 use dma and we need DMA before SPI. So if we have pl022 as late_init and dma as device_init. If we have one more dependency then moving

Re: [PATCH 00/14] Rewrite Tegra PCIe driver

2013-01-10 Thread Thomas Petazzoni
Dear Thierry Reding, On Thu, 10 Jan 2013 07:55:37 +0100, Thierry Reding wrote: The reason is that with the latest bindings the matching of root ports to device tree nodes works as-is and nothing else indicates that the emulated host bridge is actually required to make any of this work. So in

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-10 Thread Glauber Costa
If it's configure as ZONE_NORMAL, you need to pray for offlining memory. AFAIK, IBM's ppc? has 16MB section size. So, some of sections can be offlined even if they are configured as ZONE_NORMAL. For them, placement of offlined memory is not important because it's virtualized by LPAR, they

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-10 Thread Thierry Reding
On Wed, Jan 09, 2013 at 11:10:55AM +, Russell King - ARM Linux wrote: [...] err = gpio_request(en_vdd_1v05, EN_VDD_1V05); if (err) { pr_err(%s: gpio_request failed: %d\n, __func__, err); return err; }

Re: [PATCH v6 00/15] memory-hotplug: hot-remove physical memory

2013-01-10 Thread Kamezawa Hiroyuki
(2013/01/10 17:36), Glauber Costa wrote: BTW, shrink_slab() is now node/zone aware ? If not, fixing that first will be better direction I guess. It is not upstream, but there are patches for this that I am already using in my private tree. Oh, I see. If it's merged, it's worth add

Re: [PATCH v2 1/5] virtio: add functions for piecewise addition of buffers

2013-01-10 Thread Paolo Bonzini
Il 08/01/2013 01:12, Rusty Russell ha scritto: Unfortunately, that cannot work because not all architectures support chained scatterlists. WHAT? I can't figure out what an arch needs to do to support this? It needs to use the iterator functions in its DMA driver. But we don't care

RE: [PATCH] ST_CORE: Error triggered by convert char to int

2013-01-10 Thread Liu, Chuansheng
-Original Message- From: Bi, Chao Sent: Thursday, January 10, 2013 4:27 PM To: a...@linux.intel.com; gre...@linuxfoundation.org; a...@linux-foundation.org; pavan_sa...@ti.com Cc: Liu, Chuansheng; linux-kernel@vger.kernel.org Subject: [PATCH] ST_CORE: Error triggered by convert

Re: [PATCH v5] usb: phy: samsung: Add support to set pmu isolation

2013-01-10 Thread Vivek Gautam
Hi Sylwester, On Thu, Jan 10, 2013 at 3:12 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi, On 12/28/2012 10:13 AM, Vivek Gautam wrote: Adding support to parse device node data in order to get required properties to set pmu isolation for usb-phy. Signed-off-by: Vivek

[PATCHv2 09/11] dw_dmac: make usage of dw_dma_slave optional

2013-01-10 Thread Andy Shevchenko
The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some cases we need only the request line as an additional information to the generic slave configuration. The request line is provided by slave_id parameter of the

[PATCHv2 00/11] patches against slave dma subsystem

2013-01-10 Thread Andy Shevchenko
Recend to Vinod for review. Since v1: - is_slave_xfer renamed to is_slave_direction - changelog fixed for dma: dw_dmac: clear suspend bit during termination - typo fixed in the changelog of dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous Andy Shevchenko (10): dmaengine:

[PATCHv2 06/11] dma: ste_dma40: reuse is_slave_direction helper

2013-01-10 Thread Andy Shevchenko
The is_slave_direction helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Reviewed-by: Linus Walleij linus.wall...@linaro.org --- drivers/dma/ste_dma40.c |2 +- 1 file changed, 1

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-10 Thread Julia Lawall
+@r1@ +identifier fn; +identifier xfers; +@@ +fn(...) +{ + ... +( + struct spi_transfer xfers[...]; +| + struct spi_transfer xfers[]; +) + ... +} Can it happen that there would be more than one spi_transfer or spi_message variable per function? This semantic patch

[PATCHv2 11/11] dma: dw_dmac: clear suspend bit during termination

2013-01-10 Thread Andy Shevchenko
From: Heikki Krogerus heikki.kroge...@linux.intel.com The DMA transfer could not be established if previously it was paused and terminated. In that case the channel's suspend bit remains set that prevents to transfer anything until channel is resumed. The patch adds the dwc_chan_resume() call

[PATCHv2 03/11] dma: dw_dmac: check direction properly in dw_dma_cyclic_prep

2013-01-10 Thread Andy Shevchenko
dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com

[PATCHv2 04/11] dma: ep93xx_dma: reuse is_slave_direction helper

2013-01-10 Thread Andy Shevchenko
The is_slave_direction helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Acked-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/dma/ep93xx_dma.c |3 +-- 1 file

[PATCHv2 10/11] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2013-01-10 Thread Andy Shevchenko
The same information could be extracted from the struct dma_chan. The patch introduces helper function dwc_get_data_width() as well. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Acked-by: Viresh Kumar viresh.ku...@linaro.org --- drivers/dma/dw_dmac.c | 27

[PATCHv2 08/11] dw_dmac: store direction in the custom channel structure

2013-01-10 Thread Andy Shevchenko
Currently the direction value comes from the generic slave configuration structure and explicitly as a preparation function parameter. The first one is kinda obsoleted. Thus, we have to store the value passed to the preparation function somewhere in our structures to be able to use it later. The

[PATCHv2 07/11] dw_dmac: call .probe after we have a device in place

2013-01-10 Thread Andy Shevchenko
If we don't yet have the platform device for the driver when it is being loaded we fail to probe the driver. So instead of calling probe() directly we call platform_driver_register(). It will call the probe() immediately if we have the device but also makes the driver to work on platforms where

[PATCHv2 05/11] dma: ipu_idmac: reuse is_slave_direction helper

2013-01-10 Thread Andy Shevchenko
The is_slave_direction helps to check if the transfer type is slave. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Cc: Guennadi Liakhovetski g.liakhovet...@gmx.de --- drivers/dma/ipu/ipu_idmac.c |2 +- 1 file changed, 1

[PATCHv2 01/11] dmaengine: introduce is_slave_direction function

2013-01-10 Thread Andy Shevchenko
This function helps to distinguish the slave type of transfer by checking the direction parameter. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Reviewed-by: Viresh Kumar viresh.ku...@linaro.org Reviewed-by: Mika Westerberg mika.westerb...@linux.intel.com Reviewed-by: Linus

[PATCHv2 02/11] dma: at_hdmac: check direction properly for cyclic transfers

2013-01-10 Thread Andy Shevchenko
dma_transfer_direction is a normal enum. It means we can't usually use the values as bit fields. Let's adjust this check and move it above the usage of the direction parameter, due to the nature of the following usage of it. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com

Re: [PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-10 Thread Laurent Navet
Hi Jean, Unfortunately your patch also add one new checkpatch.pl warning: WARNING: line over 80 characters #245: FILE: drivers/i2c/busses/i2c-nforce2.c:272: + data-word = inb_p(NVIDIA_SMB_DATA) | (inb_p(NVIDIA_SMB_DATA + 1) 8); Please fix. As mentioned previously,

[patch] [SCSI] bfa: fix strncpy() limiter in bfad_start_ops()

2013-01-10 Thread Dan Carpenter
The closing parenthesis is in the wrong place so it takes the sizeof a pointer instead of the sizeof the buffer minus one. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/scsi/bfa/bfad.c b/drivers/scsi/bfa/bfad.c index e6bf126..a5f7690 100644 ---

Re: [PATCH 1/5] module: constify within_module_*

2013-01-10 Thread Rusty Russell
Sasha Levin sasha.le...@oracle.com writes: These helper functions just check a set intersection with a range, and don't actually modify struct module. Signed-off-by: Sasha Levin sasha.le...@oracle.com Thanks, applied. Cheers, Rusty. -- To unsubscribe from this list: send the line

Re: [PATCHv2 09/11] dw_dmac: make usage of dw_dma_slave optional

2013-01-10 Thread Andy Shevchenko
Please, don't push this one yet. I forgot to update the name of is_slave_xfer. On Thu, Jan 10, 2013 at 10:53 AM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some

[PATCHv2.1] dw_dmac: make usage of dw_dma_slave optional

2013-01-10 Thread Andy Shevchenko
The driver requires a custom slave configuration to be present to be able to make the slave transfers. Nevertheless, in some cases we need only the request line as an additional information to the generic slave configuration. The request line is provided by slave_id parameter of the

Re: clk dereference in arch/sh/kernel/cpufreq.c

2013-01-10 Thread Paul Mundt
On Thu, Jan 03, 2013 at 10:40:20AM +0100, Julia Lawall wrote: There has been a discussion recently about how the result of get_clk should be an opaque handle, not a value that can be dereferenced: https://lkml.org/lkml/2012/12/20/105 There is such a dereference in arch/sh/kernel/cpufreq.c,

Re: [Xen-devel] [PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-10 Thread Matt Wilson
On Wed, Jan 09, 2013 at 12:02:09PM +, Ian Campbell wrote: On Wed, 2013-01-09 at 02:40 +, ANNIE LI wrote: @@ -1080,18 +1081,18 @@ static void gnttab_request_version(void) panic(we need grant tables version 2, but only version 1 is available); } else

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Arnd Bergmann
On Thursday 10 January 2013, Thierry Reding wrote: On Wed, Jan 09, 2013 at 04:17:58PM -0700, Jason Gunthorpe wrote: On Wed, Jan 09, 2013 at 04:12:31PM -0700, Stephen Warren wrote: You could decrease the size of the mapping to only span the bus numbers that are configured for use via DT.

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-10 Thread Viresh Kumar
On 9 January 2013 16:50, Viresh Kumar viresh.ku...@linaro.org wrote: diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c +static void update_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu) +{ + cpufreq_frequency_table_update_policy_cpu(old_cpu, cpu); +

Re: [PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-10 Thread Jean Delvare
On Thu, 10 Jan 2013 09:52:36 +0100, Laurent Navet wrote: Hi Jean, Unfortunately your patch also add one new checkpatch.pl warning: WARNING: line over 80 characters #245: FILE: drivers/i2c/busses/i2c-nforce2.c:272: + data-word = inb_p(NVIDIA_SMB_DATA) |

Re: [PATCH v4 1/2] mmc: core: Add support for idle time BKOPS

2013-01-10 Thread merez
Hi Ulf, See below. Thanks, Maya Hi Maya, On 24 December 2012 14:51, Maya Erez me...@codeaurora.org wrote: Devices have various maintenance operations need to perform internally. In order to reduce latencies during time critical operations like read and write, it is better to execute

[PATCHv3 0/8] serial: 8250: 8250_dw changes and dmaengine support

2013-01-10 Thread Heikki Krogerus
Changes since v2: - ACPI support for 8250_dw.c - dmaengine API support for 8250 It looks like there are a few UART drivers that are more or less identical with 8250.c except they include DMA support, so if we had DMA support in 8250.c there may be no need for them. Since dmaengine is now

[PATCHv3 4/8] serial: 8250_dw: Move device tree code to separate function

2013-01-10 Thread Heikki Krogerus
Trivial cleanup. This makes it easier to add different methods to enumerate the device, for example ACPI 5.0 enumeration. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Reviewed-by: Jamie Iles ja...@jamieiles.com Acked-by: Alan Cox a...@linux.intel.com ---

[PATCHv3 3/8] serial: 8250_dw: Map IO memory

2013-01-10 Thread Heikki Krogerus
This needs to be done in order to later access the Designware specific registers. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Reviewed-by: Jamie Iles ja...@jamieiles.com Acked-by: Alan Cox a...@linux.intel.com --- drivers/tty/serial/8250/8250_dw.c |7 +-- 1 file

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-10 Thread Eric Wong
Mel Gorman mgor...@suse.de wrote: page-pfmemalloc can be left set for captured pages so try this but as capture is rarely used I'm strongly favouring a partial revert even if this works for you. I haven't reproduced this using your workload yet but I have found that high-order allocation

[PATCHv3 2/8] serial: 8250_dw: Don't use UPF_FIXED_TYPE

2013-01-10 Thread Heikki Krogerus
Allow 8250.c to determine the port type for us. This allows the driver take advantage of FIFO on Designware UARTs that have it. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Reviewed-by: Jamie Iles ja...@jamieiles.com Acked-by: Alan Cox a...@linux.intel.com ---

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Jason Wang
On Thursday, January 10, 2013 08:59:48 AM Stefan Hajnoczi wrote: Multiqueue tun devices support detaching a tun_file from its tun_struct and re-attaching at a later point in time. This allows users to disable a specific queue temporarily. ioctl(TUNSETIFF) allows the user to specify the

Re: [PATCH V3 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-10 Thread Wanlong Gao
On 01/10/2013 08:49 AM, Rusty Russell wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: On 01/09/2013 07:31 AM, Rusty Russell wrote: Wanlong Gao gaowanl...@cn.fujitsu.com writes: */ static u16 virtnet_select_queue(struct net_device *dev, struct sk_buff *skb) { - int txq =

[PATCHv3 8/8] serial: 8250_dw: Enable DMA support with ACPI

2013-01-10 Thread Heikki Krogerus
With ACPI 5.0 we can use the FixedDMA Resource Descriptor to extract the needed information for DMA support. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/tty/serial/8250/8250_dw.c | 65 + 1 file changed, 65 insertions(+) diff

[PATCHv3 7/8] serial: 8250: Add support for dmaengine

2013-01-10 Thread Heikki Krogerus
Add support for dmaengine API. The drivers can implement the struct uart_8250_dma member in struct uart_8250_port and 8250.c can take care of the rest. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/tty/serial/8250/8250.c | 31 +-

[PATCHv3 6/8] serial: 8250_dw: Add ACPI 5.0 support

2013-01-10 Thread Heikki Krogerus
This adds support for ACPI 5.0 enumerated Designware UARTs. ACPI does not deliver information about uart clk, so delivering it with the driver_data. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com --- drivers/tty/serial/8250/8250_dw.c | 41 +

[PATCHv3 5/8] serial: 8250_dw: Set FIFO size dynamically

2013-01-10 Thread Heikki Krogerus
Designware UART provides optional Component Parameter Register that lists most of the capabilities of the UART, including FIFO size. This uses that register to set FIFO size for the port before registering it. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Reviewed-by: Jamie Iles

[PATCHv3 1/8] serial: 8250: Allow drivers to deliver capabilities

2013-01-10 Thread Heikki Krogerus
Modern UARTs are able to provide information about their capabilities such as FIFO size. This allows the drivers to deliver this information to 8250.c when they are registering ports. Signed-off-by: Heikki Krogerus heikki.kroge...@linux.intel.com Reviewed-by: Jamie Iles ja...@jamieiles.com

Re: clk dereference in arch/sh/kernel/cpufreq.c

2013-01-10 Thread Julia Lawall
On Thu, 10 Jan 2013, Paul Mundt wrote: On Thu, Jan 03, 2013 at 10:40:20AM +0100, Julia Lawall wrote: There has been a discussion recently about how the result of get_clk should be an opaque handle, not a value that can be dereferenced: https://lkml.org/lkml/2012/12/20/105 There is

Re: [PATCH 2/2] ARM: dts: omap: Add omap-usb2 dt data

2013-01-10 Thread kishon
Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Kishon Vijay

Re: [v2] fadvise: perform WILLNEED readahead asynchronously

2013-01-10 Thread Riccardo Magliocchetti
Hello, Il 25/12/2012 03:22, Eric Wong ha scritto: Any other (Free Software) applications that might benefit from lower FADV_WILLNEED latency? Not with fadvise but with madvise. Libreoffice / Openoffice.org have this comment: // On Linux, madvise(..., MADV_WILLNEED) appears to have the

Re: radeon 0000:02:00.0: GPU lockup CP stall for more than 10000msec

2013-01-10 Thread Borislav Petkov
[ deliberately breaking the thread because it got too long] On Sat, Dec 22, 2012 at 09:35:47PM +0100, Borislav Petkov wrote: Hi Alex, got the sickest bug on 3.8-rc1, see below. The GPU locks up somewhere down radeon_fence_wait_seq, judging by the error messages. And this doesn't happen

Re: [PATCH] drivers: i2c-nforce2: fix coding style issues

2013-01-10 Thread Wolfram Sang
Wolfram, it would be great if you could update your tree to avoid that kind of issue. Done now. Sorry for the inconvenience. -- Pengutronix e.K. | Wolfram Sang| Industrial Linux Solutions | http://www.pengutronix.de/ | signature.asc

Re: USB autosuspend vs. URB submission

2013-01-10 Thread Oliver Neukum
On Thursday 10 January 2013 00:05:55 Laurent Pinchart wrote: I've had a quick look at the trace posted at https://bugzilla.redhat.com/show_bug.cgi?id=879462 but usbmon only shows URBs that are successfully submitted. I'm not sure what useful information I could get from the trace. The

Re: [PATCHv2 0/4] clockevents: decouple broadcast mechanism from drivers

2013-01-10 Thread Mark Rutland
On Wed, Jan 09, 2013 at 08:46:18PM +, Stephen Boyd wrote: On 01/09/13 06:46, Mark Rutland wrote: This is an updated version of the series I posted back in December: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137929.html Changes since v1: * Drop removal of

Re: redefinition of devm_gpio_request

2013-01-10 Thread Linus Walleij
On Sun, Dec 16, 2012 at 2:11 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: On current linus/HEAD, m68k allmodconfig gives: drivers/gpio/devres.c:52: error: redefinition of ‘devm_gpio_request’ include/linux/gpio.h:99: error: previous definition of ‘devm_gpio_request’ was here

[PATCH 2/3] regulator-core: update all enable GPIO state in _enable/disable

2013-01-10 Thread Kim, Milo
When a regulator is enabled or disabled, enable GPIO state is changed if it is used. If multiple regulators are controlled by one shared GPIO, pin states of other GPIOs should be updated also. Look up the list of regulators and change the enable pin state if same GPIO is used. It guarantees

[PATCH 1/3] regulator-core: support multiple enable GPIO

2013-01-10 Thread Kim, Milo
This patch fixes a limitation in case of multiple enable pin usages. Several regulators can be enabled/disabled at the same time by one shared GPIO pin. If specific GPIO pin is already used, then skip requesting the GPIO. Signed-off-by: Milo(Woogyom) Kim milo@ti.com ---

[PATCH 3/3] lp8788-ldo: use ena_pin of regulator-core for external control

2013-01-10 Thread Kim, Milo
Regulator core driver provides enable GPIO control for enabling/disabling a regulator. Use this internal working, so unnecessary code are removed. GPIO enable pin configurations are added in digital LDO and analog LDO drivers. Cc: Axel Lin axel@ingics.com Signed-off-by: Milo(Woogyom) Kim

Re: [PATCH 2/3] signalfd: add ability to return siginfo in a raw format (v2)

2013-01-10 Thread Andrey Wagin
2012/12/28 Oleg Nesterov o...@redhat.com: On 12/28, Andrey Vagin wrote: signalfd should be called with the flag SFD_RAW for that. signalfd_siginfo is not full for siginfo with a negative si_code. copy_siginfo_to_user() is copied a full siginfo to user-space, if si_code is negative.

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-10 Thread Lars-Peter Clausen
On 01/10/2013 09:53 AM, Julia Lawall wrote: +@r1@ +identifier fn; +identifier xfers; +@@ +fn(...) +{ +... +( +struct spi_transfer xfers[...]; +| +struct spi_transfer xfers[]; +) +... +} Can it happen that there would be more than one spi_transfer or spi_message

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mika Westerberg
On Wed, Jan 09, 2013 at 11:07:26PM +0100, Rafael J. Wysocki wrote: We hardcode different kinds of information into the kernel anyway, but it would be good to be able to use some criteria to decide whether or not we need that information on the given system. In this particular case, we'll

Re: [PATCH 05/11] spi/pxa2xx: make clock rate configurable from platform data

2013-01-10 Thread Mika Westerberg
On Wed, Jan 09, 2013 at 10:52:12PM +0100, Rafael J. Wysocki wrote: Other problem is that this setup needs manual maintenance as we can't get the configuration from ACPI. So we just happen to know what the rate is supposed to be? What's the source of that information? We get it from the

Re: [PATCH v3 0/3] ARM: dts: omap: add dt data for MUSB

2013-01-10 Thread Benoit Cousson
Hi Kishon, On 01/10/2013 07:19 AM, kishon wrote: On Friday 28 December 2012 12:05 AM, Aaro Koskinen wrote: Hi, On Thu, Sep 20, 2012 at 05:21:15AM +0200, Benoit Cousson wrote: On 09/19/2012 11:32 AM, Kishon Vijay Abraham I wrote: This patch series adds dt data to get MUSB working in omap4

Re: [PATCH 1/1] ipv6: fix the noflags test in addrconf_get_prefix_route

2013-01-10 Thread YOSHIFUJI Hideaki
Romain KUNTZ wrote: From e7ece201c35615c44a3cfdc10ee28ad5a5878f41 Mon Sep 17 00:00:00 2001 From: Romain Kuntz r.ku...@ipflavors.com Date: Wed, 9 Jan 2013 15:02:26 +0100 Subject: [PATCH 1/1] ipv6: fix the noflags test in addrconf_get_prefix_route The tests on the flags in

Re: USB autosuspend vs. URB submission

2013-01-10 Thread Oliver Neukum
On Thursday 10 January 2013 13:13:58 Ming Lei wrote: IMO, there is a minor fault in the error handling path of uvc_status_start() inside uvc_v4l2_open(), and the 'users' count should have been decreased before usb_autopm_put_interface(). In theory, the warning can be triggered when the device

Re: [PATCH 2/2] ARM: dts: omap: Add omap-usb2 dt data

2013-01-10 Thread Benoit Cousson
On 01/10/2013 10:31 AM, kishon wrote: Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt data is added as a child node of ocp2scp. Acked-by: Felipe Balbi

Re: [PATCH] mfd, TWL4030: TWL4030 need select REGMAP_I2C

2013-01-10 Thread Omar Ramirez Luna
Hi, On Mon, Dec 31, 2012 at 4:03 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: On 12/24/2012 03:19 PM, Chuansheng Liu wrote: This patch fix the below build error: drivers/built-in.o: In function `twl_probe': drivers/mfd/twl-core.c:1256: undefined reference to `devm_regmap_init_i2c' make:

Re: [PATCH 0/4] gpio: introduce descriptor-based interface

2013-01-10 Thread Arnd Bergmann
On Thursday 10 January 2013, Alex Courbot wrote: On Wednesday 09 January 2013 18:46:12 Arnd Bergmann wrote: Only legacy users did this. Initially there was only the header file, with the API declared but several different implementations of it. gpiolib was introduced later to reduce code

Re: [PATCH V5 26/30] gfs2: Convert aio_read/write ops to read/write_iter

2013-01-10 Thread Steven Whitehouse
Hi, On Wed, 2013-01-09 at 13:58 -0600, Dave Kleikamp wrote: Signed-off-by: Dave Kleikamp dave.kleik...@oracle.com Cc: Steven Whitehouse swhit...@redhat.com Cc: cluster-de...@redhat.com --- fs/gfs2/file.c | 21 ++--- 1 file changed, 10 insertions(+), 11 deletions(-) diff

Re: pull request: wireless 2013-01-09

2013-01-10 Thread Sedat Dilek
On Wed, Jan 9, 2013 at 8:18 PM, John W. Linville linvi...@tuxdriver.com wrote: Dave, Please pull this batch of fixes (and a new driver) for the 3.8 stream... Included is a mac80211 pull, of which Johannes says the following: 'This includes a number of fixes for various pieces of mac80211.

[PATCH] Documention/x86: fix arch/x86/include/asm/bootparam.h

2013-01-10 Thread Zhang Yanfei
This file is now arch/x86/include/uapi/asm/bootparam.h. Signed-off-by: Zhang Yanfei zhangyan...@cn.fujitsu.com --- Documentation/x86/zero-page.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/x86/zero-page.txt b/Documentation/x86/zero-page.txt index

Re: [PATCH 2/2] ARM: dts: omap: Add omap-usb2 dt data

2013-01-10 Thread kishon
Hi, On Thursday 10 January 2013 03:34 PM, Benoit Cousson wrote: On 01/10/2013 10:31 AM, kishon wrote: Hi Benoit, On Wednesday 19 September 2012 04:02 PM, Kishon Vijay Abraham I wrote: Add omap-usb2 data node in omap4 device tree file. Since omap-usb2 is connected to ocp2scp, omap-usb2 dt

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread Michael S. Tsirkin
On Thu, Jan 10, 2013 at 08:59:48AM +0100, Stefan Hajnoczi wrote: Multiqueue tun devices support detaching a tun_file from its tun_struct and re-attaching at a later point in time. This allows users to disable a specific queue temporarily. ioctl(TUNSETIFF) allows the user to specify the

Re: Oops in sound/usb/pcm.c:match_endpoint_audioformats() in current -git

2013-01-10 Thread Takashi Iwai
At Thu, 10 Jan 2013 09:23:48 +0100, Jens Axboe wrote: Hi, I have a USB DAC that I use for music. Just upgraded my workstation from 3.7-rc7 to 3.8-rc3 this morning, and when the DAC is switched on, I get an immediate oops. I have attached the picture. It's crashing here: (gdb) l

Re: [PATCH 1/4] arm: vt8500: Add support for Wondermedia WM8750/WM8850

2013-01-10 Thread Arnd Bergmann
On Thursday 10 January 2013, Tony Prisk wrote: On Wed, 2013-01-09 at 21:27 +, Arnd Bergmann wrote: Should patches in pull-requests have Ack'd lines already? This is what I thought - and the reason I haven't sent a pull-request for the patch's - I haven't had any Ack's :) Sorry, I

[GIT PULL] s390 patches for the 3.8-rc4

2013-01-10 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: Add the finit_module system call, fix the irq statistics in /proc/stat, fix a s390dbf lockdep problem, a patch revert for a

Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

2013-01-10 Thread John Johansen
On 01/09/2013 05:28 AM, James Morris wrote: On Tue, 8 Jan 2013, John Johansen wrote: I'd say we need to see the actual use-case for Smack and Apparmor being used together, along with at least one major distro committing to support this. Ubuntu is very interested in stacking Which

Re: [PATCH 05/14] lib: Add I/O map cache implementation

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 09:17:19AM +, Arnd Bergmann wrote: On Thursday 10 January 2013, Thierry Reding wrote: On Wed, Jan 09, 2013 at 04:17:58PM -0700, Jason Gunthorpe wrote: On Wed, Jan 09, 2013 at 04:12:31PM -0700, Stephen Warren wrote: You could decrease the size of the mapping to

Re: [PATCH] mfd, TWL4030: TWL4030 need select REGMAP_I2C

2013-01-10 Thread Omar Ramirez Luna
On Thu, Jan 10, 2013 at 4:07 AM, Omar Ramirez Luna omar.rami...@copitl.com wrote: Hi, On Mon, Dec 31, 2012 at 4:03 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: On 12/24/2012 03:19 PM, Chuansheng Liu wrote: This patch fix the below build error: drivers/built-in.o: In function `twl_probe':

Re: [PATCH 1/3] spi: Add helper functions for setting up transfers

2013-01-10 Thread Julia Lawall
On Thu, 10 Jan 2013, Lars-Peter Clausen wrote: On 01/10/2013 09:53 AM, Julia Lawall wrote: +@r1@ +identifier fn; +identifier xfers; +@@ +fn(...) +{ + ... +( + struct spi_transfer xfers[...]; +| + struct spi_transfer xfers[]; +) + ... +} Can it happen that

[PATCH V3 2/3] ARM: davinci: da8xx defconfig: enable pinctrl config option

2013-01-10 Thread Kumar, Anil
Enable pinctrl related config option in da8xx_omapl_defconfig Signed-off-by: Kumar, Anil anilkuma...@ti.com --- :100644 100644 f292239... 0892db4... M arch/arm/configs/da8xx_omapl_defconfig arch/arm/configs/da8xx_omapl_defconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff

[PATCH V3 1/3] ARM: davinci: da850: add pinctrl driver DT entries

2013-01-10 Thread Kumar, Anil
For DT, DaVinci platform can use pinctrl-single driver for handling padconf registers. Enable PINCTRL Kconfig for MACH_DA8XX_DT platform. Add required pinctrl DT entries in da850 dts file. Test procedure 1)Populate DT file with NAND node information. 2)Populate board DT file with pinmux

[PATCH V3 0/3] ARM: davinci: da850: add pinctrl support

2013-01-10 Thread Kumar, Anil
This set of patches adds: * Add pinctrl-single for handling Padconf registers. * Add NAND node to export NAND functionality on da850 EVM. * Add NAND pinctrl node to do pin mux according to pinctrl-single driver. This series applies on top of tag next-20130107 git tree

<    7   8   9   10   11   12   13   14   >