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

2013-01-16 Thread Andy Shevchenko
The driver's default assumes that hardware has two AHB masters which might be not true. In such rare cases we have not to exceed a number of the AHB masters present in the hardware. Thus, the AHB master with highest possible number will be used to retrieve the data witdh value. The patch also

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

2013-01-16 Thread Soeren Moch
On 16.01.2013 04:24, Soeren Moch wrote: On 16.01.2013 03:40, Jason Cooper wrote: Soeren, On Wed, Jan 16, 2013 at 01:17:59AM +0100, Soeren Moch wrote: On 15.01.2013 22:56, Jason Cooper wrote: On Tue, Jan 15, 2013 at 03:16:17PM -0500, Jason Cooper wrote: If my understanding is correct, one of

[PATCH] tty: Correct tty buffer flush.

2013-01-16 Thread Ilya Zykov
The root of problem is carelessly zeroing pointer(in function __tty_buffer_flush()), when another thread can use it. It can be cause of "NULL pointer dereference". Main idea of the patch, this is never free last (struct tty_buffer) in the active buffer. Only flush the data for

Re: [PATCH 00/18] AB8500 battery management series upgrade

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Anton Vorontsov wrote: > On Fri, Jan 11, 2013 at 01:12:48PM +, Lee Jones wrote: > > Here we go again. This patches include your suggested fixups. > > > > Please find the next instalment of the AB8500 Power drivers upgrade. > > A lot of work has taken place on the

Re: [PATCH 03/18] power: ab8500_charger: Detect charger removal

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Anton Vorontsov wrote: > On Fri, Jan 11, 2013 at 01:12:51PM +, Lee Jones wrote: > > Add two new work queues to provide USB and AC charger disconnect > > detection. > > > > Signed-off-by: Lee Jones > > --- > [] > > + if ((statval & usbch)) != usbch) > >

Re: [PATCH 06/18] power: ab8500_bm: Recharge condition not optimal for battery

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Anton Vorontsov wrote: > On Fri, Jan 11, 2013 at 01:12:54PM +, Lee Jones wrote: > > From: Marcus Cooper > > > > Today the battery recharge is determined with a voltage threshold. This > > voltage threshold is only valid when the battery is relaxed. In charging > >

Re: [PATCH 2/3] slub: correct bootstrap() for kmem_cache, kmem_cache_node

2013-01-16 Thread Joonsoo Kim
On Tue, Jan 15, 2013 at 03:36:10PM +, Christoph Lameter wrote: > On Tue, 15 Jan 2013, Joonsoo Kim wrote: > > > These didn't make any error previously, because we normally don't free > > objects which comes from kmem_cache's first slab and kmem_cache_node's. > > And these slabs are on the

Re: [PATCH 1/3] slub: correct to calculate num of acquired objects in get_partial_node()

2013-01-16 Thread Joonsoo Kim
On Tue, Jan 15, 2013 at 03:46:17PM +, Christoph Lameter wrote: > On Tue, 15 Jan 2013, Joonsoo Kim wrote: > > > There is a subtle bug when calculating a number of acquired objects. > > After acquire_slab() is executed at first, page->inuse is same as > > page->objects, then, available is

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

2013-01-16 Thread Kumar, Anil
On Wed, Jan 16, 2013 at 09:18:20, Kumar, Anil wrote: > 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

Re: Linux 3.8-rc1 - another regression on USB :-(

2013-01-16 Thread Oliver Neukum
On Tuesday 15 January 2013 23:26:20 Woody Suwalski wrote: > The modules are insmoded in a fixed order: > usb-common, usbcore, xhci-hcd, ehci-hcd, uhci-hcd, ohci-hcd, usbhid, > usb_storage,... > > If all USB is built as modules - I get read errors from USB drives when > accessing squash image,

Re: [dm-devel] [PATCH 0/3 v3] add resync speed control for dm-raid1

2013-01-16 Thread Guangliang Zhao
On Wed, Jan 09, 2013 at 12:43:21AM -0500, Mikulas Patocka wrote: > Hi Hi, I think it is very good that your patches could be used for other targets(snapshot, thin) after reviewing yours, but I find some issues (maybe not, please correct me if I am wrong). > > I did this already some times ago.

How to use DEBUG macros in compressed/head.S

2013-01-16 Thread zhaoyilong
When I open the macro DEBUG in the front of file arch/arm/boot/decompressed/head.S,the kernel runs and stops at"Uncompressing Linux... done, booting the kernel." CONFIG_DEBUG_ICEDCC is closed by default, so I am sure the code runs tothe following branch: ... ... ...

Re: [PATCH v4 2/9] clk: tegra: Add tegra specific clocks

2013-01-16 Thread Hiroshi Doyu
Stephen Warren wrote @ Fri, 11 Jan 2013 22:35:28 +0100: > On 01/11/2013 04:48 AM, Hiroshi Doyu wrote: > > Hi Prahant, > > > > Some nit-pick/cosmetic comments inlined... > > FYI, Prashant is on vacation for the next week or two, so I'll take over > this series to clean up any last review

[PATCH v3 1/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-16 Thread Lin Feng
It's implemented by adding a new Kconfig option named CONFIG_HAVE_BOOTMEM_INFO_NODE, which will be automatically selected by memory-hotplug feature fully supported archs(currently only on x86_64). Reported-by: Michal Hocko Signed-off-by: Lin Feng --- ChangeLog v2->v3: - Rename the patch title

[PATCH v3 0/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-16 Thread Lin Feng
Memory-hotplug codes for x86_64 have been implemented by patchset: https://lkml.org/lkml/2013/1/9/124 While other platforms haven't been completely implemented yet. If we enable both CONFIG_MEMORY_HOTPLUG_SPARSE and CONFIG_SPARSEMEM_VMEMMAP, register_page_bootmem_info_node() may be buggy, which

[PATCH 2/2] memory-hotplug: cleanup: removing the arch specific functions without any implementation

2013-01-16 Thread Lin Feng
From: Michal Hocko After introducing CONFIG_HAVE_BOOTMEM_INFO_NODE Kconfig option, the related arch specific functions become confusing, remove them. Guys who want to implement memory-hotplug feature on such archs for this part should look into register_page_bootmem_info_node() and flesh out

Re: [PATCH] tty: Only wakeup the line discipline idle queue when queue is active

2013-01-16 Thread Preeti U Murthy
Hi Ivo, Can you explain how this problem could create a scheduler overhead? I am a little confused, because as far as i know,scheduler does not come in the picture of the wake up path right? select_task_rq() in try_to_wake_up() is where the scheduler comes in,and this is after the task wakes up.

Re: [PATCH 1/2] ACPI: intel-idle: Don't register CPU notifier if we are not running.

2013-01-16 Thread Srivatsa S. Bhat
On 01/16/2013 03:53 AM, Konrad Rzeszutek Wilk wrote: > The 'intel_idle_probe' probes the CPU and sets the CPU notifier. > But if later on during the module initialization we fail (say > in cpuidle_register_driver) we stop loading but we neglected > to unregister the CPU notifier. This means that

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

2013-01-16 Thread Michael S. Tsirkin
On Wed, Jan 16, 2013 at 01:43:32PM +1030, Rusty Russell wrote: > "Michael S. Tsirkin" writes: > >> +static int resize_iovec(struct vringh_iov *iov, gfp_t gfp) > >> +{ > >> + struct iovec *new; > >> + unsigned int new_num = iov->max * 2; > > > > We must limit this I think, this is coming > >

[RFC PATCH 1/3] staging, zsmalloc: introduce zs_mem_[read/write]

2013-01-16 Thread Joonsoo Kim
If object is on boundary of page, zs_map_object() copy content of object to pre-allocated page and return virtual address of this pre-allocated page. If user inform zsmalloc of memcpy region, we can avoid this copy overhead. This patch implement two API and these get information of memcpy region.

[PATCH 3/3] staging, zram: use zs_mem_[read/write]

2013-01-16 Thread Joonsoo Kim
Now, we have newly introduced APIs which reduce copy overhead of zsmalloc for objects on page boundary. So use it in zram. Signed-off-by: Joonsoo Kim diff --git a/drivers/staging/zram/zram_drv.c b/drivers/staging/zram/zram_drv.c index fb4a7c9..554a742 100644 ---

[PATCH 2/3] staging, zcache: use zs_mem_[read/write]

2013-01-16 Thread Joonsoo Kim
Now, we have newly introduced APIs which reduce copy overhead of zsmalloc for objects on page boundary. So use it in zcache. Signed-off-by: Joonsoo Kim diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index 52b43b7..d1dee76 100644 ---

RE: [PATCH 6/9] Thermal: Add Documentation to new APIs

2013-01-16 Thread Mattias NILSSON1
Hi Durgadoss, Rui, all, Please see some questions inline below from a user space thermal control loop point of view. I should maybe have tagged this as QUESTIONS but relates pretty well to the sysfs documentation so I hope you excuse me for addressing the topic in this thread. Btw, let me

Re: [PATCHv5 7/8] ARM: tegra: Add board data and 2D clocks

2013-01-16 Thread Terje Bergström
On 15.01.2013 20:44, Stephen Warren wrote: > On 01/15/2013 04:26 AM, Terje Bergstrom wrote: >> Add a driver alias gr2d for Tegra 2D device, and assign a duplicate >> of 2D clock to that driver alias. > > FYI on this one patch - it won't be applied to the Tegra tree until > after Prashant's common

Re: [PATCHv5 7/8] ARM: tegra: Add board data and 2D clocks

2013-01-16 Thread Terje Bergström
On 15.01.2013 20:44, Stephen Warren wrote: On 01/15/2013 04:26 AM, Terje Bergstrom wrote: Add a driver alias gr2d for Tegra 2D device, and assign a duplicate of 2D clock to that driver alias. FYI on this one patch - it won't be applied to the Tegra tree until after Prashant's common clock

RE: [PATCH 6/9] Thermal: Add Documentation to new APIs

2013-01-16 Thread Mattias NILSSON1
Hi Durgadoss, Rui, all, Please see some questions inline below from a user space thermal control loop point of view. I should maybe have tagged this as QUESTIONS but relates pretty well to the sysfs documentation so I hope you excuse me for addressing the topic in this thread. Btw, let me

[PATCH 2/3] staging, zcache: use zs_mem_[read/write]

2013-01-16 Thread Joonsoo Kim
Now, we have newly introduced APIs which reduce copy overhead of zsmalloc for objects on page boundary. So use it in zcache. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index 52b43b7..d1dee76 100644

[RFC PATCH 1/3] staging, zsmalloc: introduce zs_mem_[read/write]

2013-01-16 Thread Joonsoo Kim
If object is on boundary of page, zs_map_object() copy content of object to pre-allocated page and return virtual address of this pre-allocated page. If user inform zsmalloc of memcpy region, we can avoid this copy overhead. This patch implement two API and these get information of memcpy region.

[PATCH 3/3] staging, zram: use zs_mem_[read/write]

2013-01-16 Thread Joonsoo Kim
Now, we have newly introduced APIs which reduce copy overhead of zsmalloc for objects on page boundary. So use it in zram. Signed-off-by: Joonsoo Kim iamjoonsoo@lge.com diff --git a/drivers/staging/zram/zram_drv.c b/drivers/staging/zram/zram_drv.c index fb4a7c9..554a742 100644 ---

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

2013-01-16 Thread Michael S. Tsirkin
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) +{ + struct iovec *new; + unsigned int new_num = iov-max * 2; We must limit this I think, this is coming from

Re: [PATCH 1/2] ACPI: intel-idle: Don't register CPU notifier if we are not running.

2013-01-16 Thread Srivatsa S. Bhat
On 01/16/2013 03:53 AM, Konrad Rzeszutek Wilk wrote: The 'intel_idle_probe' probes the CPU and sets the CPU notifier. But if later on during the module initialization we fail (say in cpuidle_register_driver) we stop loading but we neglected to unregister the CPU notifier. This means that

Re: [PATCH] tty: Only wakeup the line discipline idle queue when queue is active

2013-01-16 Thread Preeti U Murthy
Hi Ivo, Can you explain how this problem could create a scheduler overhead? I am a little confused, because as far as i know,scheduler does not come in the picture of the wake up path right? select_task_rq() in try_to_wake_up() is where the scheduler comes in,and this is after the task wakes up.

[PATCH v3 0/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-16 Thread Lin Feng
Memory-hotplug codes for x86_64 have been implemented by patchset: https://lkml.org/lkml/2013/1/9/124 While other platforms haven't been completely implemented yet. If we enable both CONFIG_MEMORY_HOTPLUG_SPARSE and CONFIG_SPARSEMEM_VMEMMAP, register_page_bootmem_info_node() may be buggy, which

[PATCH 2/2] memory-hotplug: cleanup: removing the arch specific functions without any implementation

2013-01-16 Thread Lin Feng
From: Michal Hocko mho...@suse.cz After introducing CONFIG_HAVE_BOOTMEM_INFO_NODE Kconfig option, the related arch specific functions become confusing, remove them. Guys who want to implement memory-hotplug feature on such archs for this part should look into register_page_bootmem_info_node()

[PATCH v3 1/2] memory-hotplug: introduce CONFIG_HAVE_BOOTMEM_INFO_NODE and revert register_page_bootmem_info_node() when platform not support

2013-01-16 Thread Lin Feng
It's implemented by adding a new Kconfig option named CONFIG_HAVE_BOOTMEM_INFO_NODE, which will be automatically selected by memory-hotplug feature fully supported archs(currently only on x86_64). Reported-by: Michal Hocko mho...@suse.cz Signed-off-by: Lin Feng linf...@cn.fujitsu.com ---

Re: [PATCH v4 2/9] clk: tegra: Add tegra specific clocks

2013-01-16 Thread Hiroshi Doyu
Stephen Warren swar...@wwwdotorg.org wrote @ Fri, 11 Jan 2013 22:35:28 +0100: On 01/11/2013 04:48 AM, Hiroshi Doyu wrote: Hi Prahant, Some nit-pick/cosmetic comments inlined... FYI, Prashant is on vacation for the next week or two, so I'll take over this series to clean up any last

How to use DEBUG macros in compressed/head.S

2013-01-16 Thread zhaoyilong
When I open the macro DEBUG in the front of file arch/arm/boot/decompressed/head.S,the kernel runs and stops atUncompressing Linux... done, booting the kernel. CONFIG_DEBUG_ICEDCC is closed by default, so I am sure the code runs tothe following branch: ... ... ... .macro

Re: [dm-devel] [PATCH 0/3 v3] add resync speed control for dm-raid1

2013-01-16 Thread Guangliang Zhao
On Wed, Jan 09, 2013 at 12:43:21AM -0500, Mikulas Patocka wrote: Hi Hi, I think it is very good that your patches could be used for other targets(snapshot, thin) after reviewing yours, but I find some issues (maybe not, please correct me if I am wrong). I did this already some times ago.

Re: Linux 3.8-rc1 - another regression on USB :-(

2013-01-16 Thread Oliver Neukum
On Tuesday 15 January 2013 23:26:20 Woody Suwalski wrote: The modules are insmoded in a fixed order: usb-common, usbcore, xhci-hcd, ehci-hcd, uhci-hcd, ohci-hcd, usbhid, usb_storage,... If all USB is built as modules - I get read errors from USB drives when accessing squash image, boot

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

2013-01-16 Thread Kumar, Anil
On Wed, Jan 16, 2013 at 09:18:20, Kumar, Anil wrote: 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

Re: [PATCH 1/3] slub: correct to calculate num of acquired objects in get_partial_node()

2013-01-16 Thread Joonsoo Kim
On Tue, Jan 15, 2013 at 03:46:17PM +, Christoph Lameter wrote: On Tue, 15 Jan 2013, Joonsoo Kim wrote: There is a subtle bug when calculating a number of acquired objects. After acquire_slab() is executed at first, page-inuse is same as page-objects, then, available is always 0. So,

Re: [PATCH 2/3] slub: correct bootstrap() for kmem_cache, kmem_cache_node

2013-01-16 Thread Joonsoo Kim
On Tue, Jan 15, 2013 at 03:36:10PM +, Christoph Lameter wrote: On Tue, 15 Jan 2013, Joonsoo Kim wrote: These didn't make any error previously, because we normally don't free objects which comes from kmem_cache's first slab and kmem_cache_node's. And these slabs are on the partial

Re: [PATCH 06/18] power: ab8500_bm: Recharge condition not optimal for battery

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Anton Vorontsov wrote: On Fri, Jan 11, 2013 at 01:12:54PM +, Lee Jones wrote: From: Marcus Cooper marcus.xm.coo...@stericsson.com Today the battery recharge is determined with a voltage threshold. This voltage threshold is only valid when the battery is relaxed.

Re: [PATCH 03/18] power: ab8500_charger: Detect charger removal

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Anton Vorontsov wrote: On Fri, Jan 11, 2013 at 01:12:51PM +, Lee Jones wrote: Add two new work queues to provide USB and AC charger disconnect detection. Signed-off-by: Lee Jones lee.jo...@linaro.org --- [] + if ((statval usbch)) != usbch)

Re: [PATCH 00/18] AB8500 battery management series upgrade

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Anton Vorontsov wrote: On Fri, Jan 11, 2013 at 01:12:48PM +, Lee Jones wrote: Here we go again. This patches include your suggested fixups. Please find the next instalment of the AB8500 Power drivers upgrade. A lot of work has taken place on the internal

[PATCH] tty: Correct tty buffer flush.

2013-01-16 Thread Ilya Zykov
The root of problem is carelessly zeroing pointer(in function __tty_buffer_flush()), when another thread can use it. It can be cause of NULL pointer dereference. Main idea of the patch, this is never free last (struct tty_buffer) in the active buffer. Only flush the data for

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

2013-01-16 Thread Soeren Moch
On 16.01.2013 04:24, Soeren Moch wrote: On 16.01.2013 03:40, Jason Cooper wrote: Soeren, On Wed, Jan 16, 2013 at 01:17:59AM +0100, Soeren Moch wrote: On 15.01.2013 22:56, Jason Cooper wrote: On Tue, Jan 15, 2013 at 03:16:17PM -0500, Jason Cooper wrote: If my understanding is correct, one of

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

2013-01-16 Thread Andy Shevchenko
The driver's default assumes that hardware has two AHB masters which might be not true. In such rare cases we have not to exceed a number of the AHB masters present in the hardware. Thus, the AHB master with highest possible number will be used to retrieve the data witdh value. The patch also

[PATCH v7 4/4] sd: change to auto suspend mode

2013-01-16 Thread Aaron Lu
From: Lin Ming ming.m@intel.com Uses block layer runtime pm helper functions in scsi_runtime_suspend/resume. Remove scsi_autopm_* from sd open/release path and check_events path. And remove the quiesce call in runtime suspend path, as we know there is no request to quiesce for the device.

[PATCH v7 3/4] block: implement runtime pm strategy

2013-01-16 Thread Aaron Lu
From: Lin Ming ming.m@intel.com When a request is added: If device is suspended or is suspending and the request is not a PM request, resume the device. When the last request finishes: Call pm_runtime_mark_last_busy(). When pick a request: If device is resuming/suspending,

[PATCH v7 0/4] block layer runtime pm

2013-01-16 Thread Aaron Lu
In August 2010, Jens and Alan discussed about Runtime PM and the block layer. http://marc.info/?t=12825910841r=1w=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsim=133727953625963w=2 To test: # ls -l /sys/block/sda

[PATCH v7 1/4] block: add a flag to identify PM request

2013-01-16 Thread Aaron Lu
From: Lin Ming ming.m@intel.com Add a flag REQ_PM to identify the request is PM related, such requests will not change the device request queue's runtime status. It is intended to be used in driver's runtime PM callback, so that driver can perform some IO to the device there with the queue's

[PATCH v7 2/4] block: add runtime pm helpers

2013-01-16 Thread Aaron Lu
From: Lin Ming ming.m@intel.com Add runtime pm helper functions: void blk_pm_runtime_init(struct request_queue *q, struct device *dev) - Initialization function for drivers to call. int blk_pre_runtime_suspend(struct request_queue *q) - If any requests are in the queue, mark last busy

Re: [PATCH v4 0/8] rtsx patchset for MFD and MMC tree

2013-01-16 Thread wwang
于 2013年01月08日 17:57, 王炜 写道: From: Wei WANG wei_w...@realsil.com.cn v2: 1. Add commit message for patch 2 2. Move pci_set_dma_mask before the pci_enable_device(pcidev) call v3: 1. Add commit message for patch 3 2. Add patch 8: Use macro defines to replace some variables v4: 1. Describe

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

2013-01-16 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

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

2013-01-16 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] tty: Add driver unthrottle in ioctl(...,TCFLSH,..).

2013-01-16 Thread Ilya Zykov
Regression 'tty: fix IRQ45: nobody cared' Regression commit 7b292b4bf9a9d6098440d85616d6ca4c608b8304 Function reset_buffer_flags() also invoked during the ioctl(...,TCFLSH,..). At the time of request we can have full buffers and throttled driver too. If we don't unthrottle driver, we can get

[PATCH V5 3/3] ARM: davinci: da850: add NAND driver DT entries

2013-01-16 Thread Kumar, Anil
Add NAND driver DT node and related pinctrl DT data to export NAND functionality on da850 evm. Signed-off-by: Kumar, Anil anilkuma...@ti.com --- :100644 100644 087ba28... 98c1a48... M arch/arm/boot/dts/da850-evm.dts :100644 100644 160ebac... f014f7b... M arch/arm/boot/dts/da850.dtsi

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

2013-01-16 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

Re: Re: [perf PATCH] Use pclose() instead of fclose() on pipe stream

2013-01-16 Thread Thomas Jarosch
Hi Arnaldo, On Friday, 11. January 2013 01:16:03 you wrote: Also fix descriptor leak on error Signed-off-by: Thomas Jarosch thomas.jaro...@intra2net.com --- tools/perf/util/sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) After applying this: CC

Re: [next-20130114] Call-trace in LTP (lite) madvise02 test (block|mm|vfs related?)

2013-01-16 Thread Sedat Dilek
On Tue, Jan 15, 2013 at 4:11 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi all, On Mon, 14 Jan 2013 22:09:18 +0100 Sedat Dilek sedat.di...@gmail.com wrote: Looks like this is the fix from Sasha [1]. Culprit commit is [2]. Testing... - Sedat - [1]

[PATCH] dw_dmac: switch to use dma_pool API

2013-01-16 Thread Andy Shevchenko
It makes the code cleaner and allows developer not to worry about cache coherency issues. The price for this is a bit slower access to the descriptor structures. Signed-off-by: Andy Shevchenko andriy.shevche...@linux.intel.com Tested-by: Mika Westerberg mika.westerb...@linux.intel.com ---

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

2013-01-16 Thread Viresh Kumar
Looks fine now, just some minor issues. - I believe there should be a space between PATCH and v2 in subject. - Changelog missing v1-v2, place it after three dash - and before file name present below. On Wed, Jan 16, 2013 at 2:27 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: The

Re: [PATCH] tty: Only wakeup the line discipline idle queue when queue is active

2013-01-16 Thread Ivo Sieben
Hi Preeti, 2013/1/16 Preeti U Murthy pre...@linux.vnet.ibm.com: Hi Ivo, Can you explain how this problem could create a scheduler overhead? I am a little confused, because as far as i know,scheduler does not come in the picture of the wake up path right? select_task_rq() in try_to_wake_up()

Re: -next: no resume from suspend

2013-01-16 Thread Jani Nikula
On Mon, 14 Jan 2013, Jiri Slaby jsl...@suse.cz wrote: On 01/14/2013 01:56 PM, Rafael J. Wysocki wrote: On Monday, January 14, 2013 11:11:52 AM Jiri Slaby wrote: Hi, since friday's -next (the last known to be working is the last monday's) I cannot resume from suspend. The last thing I see

Re: [PATCH 05/13] perf hists: Resort hist entries using group members for output

2013-01-16 Thread Namhyung Kim
Hi Arnaldo, On Tue, 15 Jan 2013 15:29:15 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 15, 2013 at 04:31:49PM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com When event group is enabled, sorting hist entries on periods for output should consider groups members'

Re: 3.8-rc2 lockdep complains about console_lock vs. fb_notifier_list.rwsem

2013-01-16 Thread Sedat Dilek
On Tue, Jan 15, 2013 at 3:25 PM, Takashi Iwai ti...@suse.de wrote: At Sat, 5 Jan 2013 13:13:27 +0100, Sedat Dilek wrote: Hi Jiri, ...known issue (see thread in [1]), please feel free to test patches from Alan and Andrew (see [1], [2] and [3]) and report. Regards, - Sedat - [1]

Re: [PATCH 06/13] perf ui/hist: Add support for event group view

2013-01-16 Thread Namhyung Kim
On Tue, 15 Jan 2013 15:31:10 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 15, 2013 at 04:31:50PM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp

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

2013-01-16 Thread James Bottomley
On Wed, 2013-01-16 at 12:07 +0530, Subhash Jadavani wrote: On 1/15/2013 9:49 PM, James Bottomley wrote: On Tue, 2013-01-15 at 21:31 +0530, Subhash Jadavani wrote: blk_rq_map_sg() function merges the physically contiguous pages to use same scatter-gather node without checking if their page

Re: Linux 3.8-rc1

2013-01-16 Thread David Nyström
On 12/22/2012 03:57 AM, Steven Rostedt wrote: On Fri, Dec 21, 2012 at 06:00:58PM -0800, Linus Torvalds wrote: The longest night of the year is upon us (*), and what better thing to do than get yourself some nice mulled wine, sit back, relax, and play Hi Linus, Was there anything wrong with

Re: [PATCH 1/1] clk-divider: fix is_power_of_two()

2013-01-16 Thread James Hogan
On 16/01/13 00:56, Mike Turquette wrote: Quoting Joe Perches (2013-01-15 10:31:05) On Tue, 2013-01-15 at 10:28 +, James Hogan wrote: The macro is_power_of_two() in clk-divider.c was defined as !(i ~i) which is always true. Correct it to !(i (i - 1)). [] diff --git

Re: 3.8-rc2 lockdep complains about console_lock vs. fb_notifier_list.rwsem

2013-01-16 Thread Takashi Iwai
At Wed, 16 Jan 2013 10:21:46 +0100, Sedat Dilek wrote: On Tue, Jan 15, 2013 at 3:25 PM, Takashi Iwai ti...@suse.de wrote: At Sat, 5 Jan 2013 13:13:27 +0100, Sedat Dilek wrote: Hi Jiri, ...known issue (see thread in [1]), please feel free to test patches from Alan and Andrew (see

Re: [PATCH 2/2] decompressors: make the default XZ_BCJ_* config match the selected architecture

2013-01-16 Thread Florian Fainelli
On 01/15/2013 07:11 PM, Lasse Collin wrote: On 2013-01-15 Florian Fainelli wrote: This patch changes the defautl XZ_BCJ_* config symbol to match the configured architecture. It is perfectly legitimate to support multiple XZ BCJ filters for different architectures (e.g.: to mount foreign

[PATCH] update comments to fit the current code

2013-01-16 Thread hamo
From: Yang Bai hamo...@gmail.com Since fs/super.c has changed a lot and fs/namespace.c appears, the comments at the head of the files do not match the code. --- fs/namespace.c | 4 fs/super.c | 7 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/fs/namespace.c

Re: [madvise] kernel BUG at block/blk-core.c:2981!

2013-01-16 Thread Jens Axboe
On Wed, Jan 16 2013, Fengguang Wu wrote: Shaohua, I tried bisect and 0d18d770b9180ffc2c3f63b9eb8406ef80105e05 is the first bad commit. commit 0d18d770b9180ffc2c3f63b9eb8406ef80105e05 Author: Shaohua Li s...@kernel.org Date: Sat Jan 12 10:56:05 2013 +1100 mm: make

[GIT PULL] sh fixes for 3.8-rc4

2013-01-16 Thread Paul Mundt
The following changes since commit 254adaa465c40151df11fc1f88f93e6e86eb61d4: seq_file: fix new kernel-doc warnings (2013-01-10 14:35:24 -0800) are available in the git repository at: git://github.com/pmundt/linux-sh.git tags/sh-for-linus for you to fetch changes up to

[PATCH RESEND] Update comments to match the current code

2013-01-16 Thread hamo
From: Yang Bai hamo...@gmail.com Since fs/super.c has changed a lot and fs/namespace.c appears, the comments at the head of the files do not match the code. Signed-off-by: Yang Bai hamo...@gmail.com --- fs/namespace.c | 4 fs/super.c | 7 +-- 2 files changed, 5 insertions(+), 6

Re: [PATCH] dw_dmac: switch to use dma_pool API

2013-01-16 Thread Viresh Kumar
On Wed, Jan 16, 2013 at 2:40 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: It makes the code cleaner and allows developer not to worry about cache coherency issues. The price for this is a bit slower access to the descriptor structures. A good patch to have. But i would write

Re: [PATCH] firmware: make sure the fw file size is not 0

2013-01-16 Thread Luciano Coelho
On Wed, 2013-01-16 at 11:43 +0800, Ming Lei wrote: On Tue, Jan 15, 2013 at 4:43 PM, Luciano Coelho coe...@ti.com wrote: If the requested firmware file size is 0 bytes in the filesytem, we will try to vmalloc(0), which causes a warning: [37834.750274] vmalloc: allocation failure: 0 bytes

Re: [PATCH 07/13] perf hist browser: Add support for event group view

2013-01-16 Thread Namhyung Kim
On Tue, 15 Jan 2013 15:32:26 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 15, 2013 at 04:31:51PM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp

Re: 3.8-rc2 lockdep complains about console_lock vs. fb_notifier_list.rwsem

2013-01-16 Thread Sedat Dilek
-lockdep-mess.patch did not hit next-20130116! Thanks for the link! Normally Andrew sents out a mmotm release marking patches from his tree destinated for Linux-Next with a *. To quote from the latest mmotm release-notes: This mmotm tree contains the following patches against 3.8-rc3: (patches marked

Re: [PATCH 2/4] clk: ux500: Ensure the FMSC clock is obtainable

2013-01-16 Thread Lee Jones
On Tue, 15 Jan 2013, Mike Turquette wrote: Quoting Lee Jones (2012-12-19 09:19:45) The FMSC clock is traditionally used for NAND flash devices when used on the ux500 series platforms. This patch makes it searchable during a clock-name search. Cc: Mike Turquette mturque...@linaro.org

Re: [3.8-{rc1,rc2}] ata1.00: failed to get Identify Device Data, Emask 0x1

2013-01-16 Thread Sedat Dilek
and is pending on Jeff's acceptance. Sorry for the trouble to you guys. [ CCing Linus ] Thanks for taking care (my latest experiences on LKML/linux-next tell me even this is no more the fact!)! Your patch finally hit Linux-Next (next-20130116) and IIRC it is also marked for previous Linux-kernel

[PATCH -tip] sched: Pair ttwu_activate() with uwtt_deactivate()

2013-01-16 Thread Alexander Gordeev
Try to make reading of __schedule() bit more easy. Signed-off-by: Alexander Gordeev agord...@redhat.com --- kernel/sched/core.c | 42 -- 1 files changed, 24 insertions(+), 18 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index

[PATCH] MODSIGN: Warn when module signature checking fails

2013-01-16 Thread Chris Samuel
/* Please CC me, I'm not on LKML */ * Reworked from the original patch based on feedback from Josh Boyer * (putting the code in load_module()) and Rusty Russel (use * KERN_NOTICE). Extended to cover the other failure modes. Currently if a signature check fails on module load for any reason no

Re: [PATCH] printk: Avoid softlockups in console_unlock()

2013-01-16 Thread Jan Kara
On Tue 15-01-13 23:37:42, Andrew Morton wrote: On Tue, 15 Jan 2013 18:58:34 +0100 Jan Kara j...@suse.cz wrote: A CPU can be caught in console_unlock() for a long time (tens of seconds are reported by our customers) when other CPUs are using printk heavily and serial console makes

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

2013-01-16 Thread Thierry Reding
On Thu, Jan 10, 2013 at 12:24:17PM -0700, Jason Gunthorpe wrote: On Thu, Jan 10, 2013 at 08:03:27PM +0100, Thierry Reding wrote: You'd piece a mapping together, each bus requires 16 64k mappings, a simple 2d array of busnr*16 of pointers would do the trick. A more clever solution

Re: [PATCH 08/13] perf gtk/browser: Add support for event group view

2013-01-16 Thread Namhyung Kim
On Tue, 15 Jan 2013 15:34:05 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 15, 2013 at 04:31:52PM +0900, Namhyung Kim escreveu: From: Namhyung Kim namhyung@lge.com Show group members' overhead also when showing the leader's if event group is enabled. Use macro for defining hpp

Re: [Xen-devel] kernel 3.7+ cpufreq regression on AMD system running as dom0

2013-01-16 Thread Jan Beulich
On 15.01.13 at 18:53, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Mon, Jan 14, 2013 at 05:34:45PM +0100, Borislav Petkov wrote: On Mon, Jan 14, 2013 at 04:58:54PM +0100, Stefan Bader wrote: --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c @@ -340,6

Re: [PATCH] mips: kernel/vpe.c: fix wrong KERN_WARNING message

2013-01-16 Thread Ralf Baechle
Thanks, applied. Ralf -- 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 http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

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

2013-01-16 Thread James Bottomley
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): [ 98.918174] [c001b50c] (v7_dma_inv_range+0x30/0x48) from [c0017b8c] (dma_cache_maint_page+0x1c4/0x24c) [ 98.927819] [c0017b8c]

Re: [PATCHSET 00/13] perf report: Add support for event group view (v8)

2013-01-16 Thread Namhyung Kim
On Tue, 15 Jan 2013 15:38:58 -0300, Arnaldo Carvalho de Melo wrote: Em Tue, Jan 15, 2013 at 04:31:44PM +0900, Namhyung Kim escreveu: This is my 8th attempt to enable the event group view for perf report. For basic idea and usage example, please see my initial post [1]. This version is

Re: -next: no resume from suspend

2013-01-16 Thread Jiri Slaby
On 01/16/2013 10:20 AM, Jani Nikula wrote: Hi Jiri, the dmesgs for both cases with drm.debug=0xe module param might give us some clues. Does it work without no_console_suspend? Hi, no, it does not work either way. But what I found out with debug enabled, that it's a completely different

Re: [Linaro-mm-sig] [PATCH 5/7] seqno-fence: Hardware dma-buf implementation of fencing (v4)

2013-01-16 Thread Maarten Lankhorst
Op 16-01-13 07:28, Inki Dae schreef: 2013/1/15 Maarten Lankhorst m.b.lankho...@gmail.com: This type of fence can be used with hardware synchronization for simple hardware that can block execution until the condition (dma_buf[offset] - value) = 0 has been met. A software fallback still has to

Re: [GIT] x86 platform driver bugfixes for 3.8

2013-01-16 Thread Bjørn Mork
Matthew Garrett matthew.garr...@nebula.com writes: This set covers regressions and two obvious bugfixes. The rest can wait for 3.9. Hello Matthew, may I request that you include the patch sony-laptop: fully enable SNY controlled modems for 3.8 as well? I'd even like it to go to

[PATCH V5 2/3] vhost_net: handle polling errors when setting backend

2013-01-16 Thread Jason Wang
Currently, the polling errors were ignored, which can lead following issues: - vhost remove itself unconditionally from waitqueue when stopping the poll, this may crash the kernel since the previous attempt of starting may fail to add itself to the waitqueue - userspace may think the backend

[PATCH V5 3/3] tuntap: allow polling/writing/reading when detached

2013-01-16 Thread Jason Wang
We forbid polling, writing and reading when the file were detached, this may complex the user in several cases: - when guest pass some buffers to vhost/qemu and then disable some queues, host/qemu needs to do its own cleanup on those buffers which is complex sometimes. We can do this simply

Re: -next: no resume from suspend

2013-01-16 Thread Jiri Slaby
: activation failed dpm_run_callback(): pnp_bus_resume+0x0/0x80 returns -5 PM: Device 00:06 failed to resume: error -5 if (!length) return error; makes it resume again with the errors above... This was 3.8.0-rc3-next-20130114. Going to test 20130116 as there are these patches: 616979e memory-hotplug

Re: [PATCH] tty: Only wakeup the line discipline idle queue when queue is active

2013-01-16 Thread Preeti U Murthy
Hi Ivo, On 01/16/2013 02:46 PM, Ivo Sieben wrote: Hi Preeti, 2013/1/16 Preeti U Murthy pre...@linux.vnet.ibm.com: Hi Ivo, Can you explain how this problem could create a scheduler overhead? I am a little confused, because as far as i know,scheduler does not come in the picture of the wake

Re: [PATCH v2] HID: add support for Sony RF receiver with USB product id 0x0374

2013-01-16 Thread Jiri Kosina
On Wed, 16 Jan 2013, Fernando Luis Vazquez Cao wrote: I noticed that the patch was tagged for-3.9. Does this mean that it is too late to get it merged during the current release cycle? I currently don't have anything queued for 3.8, and this particular patch doesn't justify a separate pull

<    5   6   7   8   9   10   11   12   13   14   >