RE: [PATCH] da8xx: Allow use by am33xx based devices

2012-12-12 Thread Hiremath, Vaibhav
On Wed, Dec 12, 2012 at 12:50:28, Manjunathappa, Prakash wrote: Hi Vaibhav, On Mon, Dec 10, 2012 at 14:32:06, Hiremath, Vaibhav wrote: On 12/6/2012 1:38 PM, Manjunathappa, Prakash wrote: Hi Tomi, On Wed, Oct 31, 2012 at 10:52:59, Manjunathappa, Prakash wrote: Hi, On

Re: [RFC] AES instead of SHA1 for /dev/urandom

2012-12-12 Thread Ondřej Bílka
On Wed, Dec 12, 2012 at 01:08:26PM +1100, NeilBrown wrote: On Wed, 12 Dec 2012 03:03:54 +0100 Ondřej Bílka nel...@seznam.cz wrote: I consider to speed-up /dev/urandom on recent intel processors by using hardware aes. Same for accelerated aes crypto. Would you accept a patch if I wrote

Re: [RFC v3] Support volatile range for anon vma

2012-12-12 Thread Minchan Kim
On Wed, Dec 12, 2012 at 02:43:49PM +0800, Wanpeng Li wrote: On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote: Sorry, resending with fixing compile error. :( From 0cfd3b65e4e90ab59abe8a337334414f92423cad Mon Sep 17 00:00:00 2001 From: Minchan Kim minc...@kernel.org Date: Tue, 11

Re: [GIT PULL] thermal management updates for v3.8-rc1

2012-12-12 Thread Zhang Rui
Hi, Linus, On Wed, 2012-12-12 at 12:57 +0800, Zhang Rui wrote: Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git release to receive thermal management updates for v3.8. sorry that I missed the latest two fixes. Please

[PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread NeilBrown
This patch is based on an earlier patch by Grant Erickson which provided pwm devices using the 'legacy' interface. This driver instead uses the new framework interface. Cc: Grant Erickson maratho...@gmail.com Signed-off-by: NeilBrown ne...@suse.de diff --git a/drivers/pwm/Kconfig

Re: [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices

2012-12-12 Thread Javier Martinez Canillas
On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: IGEP technology devices are TI OMAP3 SoC based industrial embedded and computer-on-module boards. This patch-set adds initial device tree support for these devices. The device trees allows to boot

[PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Jianguo Wu
Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path: setup_hugepagesz hugetlb_add_hstate hugetlb_cgroup_file_init

[PATCH] block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.

2012-12-12 Thread NeilBrown
If you create a block2mtd device that is larger than main memory, and write to all of it, then lots of pages will be dirtied but they will never be flushed out as nothing calls any variant of balance_dirty_pages. It would be nice to call set_page_dirty_balance(), but that isn't exported, so

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-12 Thread Andy Shevchenko
On Wed, 2012-12-12 at 08:30 +0530, Viresh Kumar wrote: * It requires slave drivers to know that they are using the dw_dmac driver and pass a pointer to dw_generic_filter, which is not generic at all * It requires the dmac node to have information about all slaves There are also

Re: [PATCH v4] backlight: corgi_lcd: Use gpio_set_value_cansleep() to avoid WARN_ON

2012-12-12 Thread Jingoo Han
On Monday, December 10, 2012 5:18 PM, Jingoo Han wrote On Thursday, December 06, 2012 4:22 AM, Russell King - ARM Linux wrote On Wed, Dec 05, 2012 at 07:20:00PM +0100, Marko Katić wrote: On Wed, Dec 5, 2012 at 10:30 AM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed,

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-12 Thread Andy Shevchenko
On Mon, 2012-12-10 at 22:08 +, Arnd Bergmann wrote: The build bug is not the problem however, but the abuse of the API is. Andy, are you sure you understood what this does when you gave you Reviewed-by comment? Thank you for pointing this out to refresh my memories and go through

Re: [PATCH 0/3] Add O_DENY* flags to fcntl and cifs

2012-12-12 Thread David Laight
On Sat, Dec 08, 2012 at 12:43:14AM +0400, Pavel Shilovsky wrote: The problem is the possibility of denial-of-service attacks here. We can try to prevent them by: FWIW I already see a DoS 'attack'. I have some filestore shared using NFS (to Linux and Solaris) and using samba (to Windows). I

Re: [RFC v3] Support volatile range for anon vma

2012-12-12 Thread Minchan Kim
On Wed, Dec 12, 2012 at 04:17:14PM +0800, Wanpeng Li wrote: On Wed, Dec 12, 2012 at 02:43:49PM +0800, Wanpeng Li wrote: On Tue, Dec 11, 2012 at 11:41:04AM +0900, Minchan Kim wrote: Sorry, resending with fixing compile error. :( From 0cfd3b65e4e90ab59abe8a337334414f92423cad Mon Sep 17

Re: [PATCH V3 2/3] dmaengine: dw_dmac: Enhance device tree support

2012-12-12 Thread Viresh Kumar
On 12 December 2012 14:10, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: Will we survive if the patch is in mainline? I mean how big the impact of it is? It doesn't fail to do fulfill its purpose and even ALL DT stuff would work well. Its just the matter of using the right API's,

Re: [PATCH 2/2] uio: do not expose inode to uio open/release hooks

2012-12-12 Thread Hans J. Koch
On Tue, Dec 11, 2012 at 08:46:48PM -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 02:42:22AM +0100, Hans J. Koch wrote: On Tue, Dec 11, 2012 at 03:20:32PM -0800, Greg KH wrote: On Wed, Dec 12, 2012 at 12:12:02AM +0100, Benedikt Spranger wrote: The inode parameter is unused by in kernel

[PATCH 2/2] spi: devicetree: add support for loopback mode

2012-12-12 Thread Felipe Balbi
there are a few spi master drivers which make use of that flag but there is no way to pass it through devicetree. This patch just creates a way to pass SPI_LOOP via devicetree. Signed-off-by: Felipe Balbi ba...@ti.com --- Documentation/devicetree/bindings/spi/spi-bus.txt | 2 ++

[PATCH 1/2] spi: omap2: disable DMA requests before complete()

2012-12-12 Thread Felipe Balbi
No actual errors have been found for completing before disabling DMA request lines, but it just looks more semantically correct that on our DMA callback we quiesce the whole thing before stating transfer is finished. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/spi/spi-omap2-mcspi.c | 8

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-12-12 Thread Michal Hocko
On Tue 11-12-12 14:43:37, Ying Han wrote: On Tue, Dec 11, 2012 at 8:15 AM, Michal Hocko mho...@suse.cz wrote: On Tue 11-12-12 16:50:25, Michal Hocko wrote: On Sun 09-12-12 08:59:54, Ying Han wrote: On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko mho...@suse.cz wrote: [...] +

Re: [PATCH 2/2] uio: do not expose inode to uio open/release hooks

2012-12-12 Thread Benedikt Spranger
Am Wed, 12 Dec 2012 09:50:54 +0100 schrieb Hans J. Koch h...@hansjkoch.de: On Tue, Dec 11, 2012 at 08:46:48PM -0800, Greg KH wrote: Yes, but what does that have to do with this in-kernel, internal api? Ah, OK. You're right, the commit message is confusing. Bene, it's enough to say we

[PATCH RESEND 3] ARM: plat-versatile: move secondary CPU startup into cpuinit

2012-12-12 Thread Claudio Fontana
Using __CPUINIT instead of __INIT puts the secondary CPU startup code into the right section: it will not be freed in hotplug configurations, allowing hot-add of cpus, while still getting freed in non-hotplug configs. Signed-off-by: Claudio Fontana claudio.font...@huawei.com Tested-by: Claudio

Re: [PATCH v3 4/4] leds: leds-pwm: Add device tree bindings

2012-12-12 Thread Peter Ujfalusi
On 12/11/2012 08:25 AM, Thierry Reding wrote: +static const struct of_device_id of_pwm_leds_match[] = { +{ .compatible = pwm-leds, }, +{}, +}; Doesn't this cause a compiler warning for !OF builds? This is not causing any compiler warnings. -- Péter -- To unsubscribe from this

[PATCH v4 2/7] leds: leds-pwm: Preparing the driver for device tree support

2012-12-12 Thread Peter Ujfalusi
In order to be able to add device tree support for leds-pwm driver we need to rearrange the data structures used by the drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/leds/leds-pwm.c | 39 +++ 1 file changed, 23 insertions(+), 16

[PATCH v4 1/7] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-12 Thread Peter Ujfalusi
Update the driver to use the new API for requesting pwm so we can take advantage of the pwm_lookup table to find the correct pwm to be used for the LED functionality. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/leds/leds-pwm.c | 19 ++-

[PATCH v4 0/7] leds: leds-pwm: Device tree support

2012-12-12 Thread Peter Ujfalusi
Hello, Changes since v3: Addressed comments from Thierry Redding: - DT binding documentation for leds-pwm updated - of_pwm_request() renamed as of_pwm_get() - introduction of devm_of_pwm_get() - Commit message updates - Other comments has been also addressed - Acked-by from Grant is not added to

[PATCH v4 4/7] pwm: core: Rename of_pwm_request() to of_pwm_get() and export it

2012-12-12 Thread Peter Ujfalusi
Allow client driver to use of_pwm_get() to get the PWM they need. This is needed for drivers which handle more than one PWM separately, like leds-pwm driver, which have: pwmleds { compatible = pwm-leds; kpad { label = omap4::keypad; pwms = twl_pwm 0

Re: [patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-12-12 Thread Michal Hocko
On Tue 11-12-12 14:36:10, Ying Han wrote: On Tue, Dec 11, 2012 at 7:54 AM, Michal Hocko mho...@suse.cz wrote: On Sun 09-12-12 11:39:50, Ying Han wrote: On Mon, Nov 26, 2012 at 10:47 AM, Michal Hocko mho...@suse.cz wrote: [...] if (reclaim) { -

[PATCH v4 3/7] pwm: Correct parameter name in header for *pwm_get() functions

2012-12-12 Thread Peter Ujfalusi
To synchronize the header file definition and the actual code. In the code the consumer parameter is named as con_id, change the header file and replace consumer - con_id in the parameter list. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/pwm.h | 4 ++-- 1 file changed,

[PATCH v4 5/7] pwm: Add devm_of_pwm_get() as exported API for users

2012-12-12 Thread Peter Ujfalusi
When booted with DT users can use devm version of of_pwm_get() to benefit from automatic resource release. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/pwm/core.c | 30 ++ include/linux/pwm.h | 9 + 2 files changed, 39 insertions(+) diff

[PATCH v4 6/7] leds: leds-pwm: Simplify cleanup code

2012-12-12 Thread Peter Ujfalusi
The code looks more nicer if we use: while (i--) instead: if (i 0) for (i = i - 1; i = 0; i--) Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/leds/leds-pwm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/leds/leds-pwm.c

Re: [RFC] AES instead of SHA1 for /dev/urandom

2012-12-12 Thread NeilBrown
On Wed, 12 Dec 2012 09:58:16 +0100 Ondřej Bílka nel...@seznam.cz wrote: On Wed, Dec 12, 2012 at 01:08:26PM +1100, NeilBrown wrote: On Wed, 12 Dec 2012 03:03:54 +0100 Ondřej Bílka nel...@seznam.cz wrote: I consider to speed-up /dev/urandom on recent intel processors by using hardware

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-12 Thread Tang Chen
On 12/12/2012 08:49 AM, Jiang Liu wrote: This patch introduces a new array zone_movable_limit[] to store the ZONE_MOVABLE limit from movablecore_map boot option for all nodes. The function sanitize_zone_movable_limit() will find out to which node the ranges in movable_map.map[] belongs, and

[PATCH v4 7/7] leds: leds-pwm: Add device tree bindings

2012-12-12 Thread Peter Ujfalusi
Support for device tree booted kernel. For usage see: Documentation/devicetree/bindings/leds/leds-pwm.txt Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- .../devicetree/bindings/leds/leds-pwm.txt | 48 + drivers/leds/leds-pwm.c| 112

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-12-12 Thread Vladimir Kondratiev
On Tuesday, December 11, 2012 02:55:55 PM Luis R. Rodriguez wrote: Vladimir, to be clear, you can continue with waiting for the patches to get into 3.9 but that will take a while but given that you want your driver in 3.8 you can fold those routines into your driver as you had before but with

Re: [PATCH 3/4 v2] gpio/mvebu: convert to use irq_domain_add_simple()

2012-12-12 Thread Thomas Petazzoni
Dear Linus Walleij, On Wed, 12 Dec 2012 08:56:03 +0100, Linus Walleij wrote: Unfortunately, this creates the following warning at boot time for each GPIO bank: Grant has a patch in his irqdomain tree that will turn this warning into a simple pr_info() thing instead. It's not that bad...

[PATCH, resend] dma-buf: remove fallback for !CONFIG_DMA_SHARED_BUFFER

2012-12-12 Thread Maarten Lankhorst
Documentation says that code requiring dma-buf should add it to select, so inline fallbacks are not going to be used. A link error will make it obvious what went wrong, instead of silently doing nothing at runtime. Signed-off-by: Maarten Lankhorst maarten.lankho...@canonical.com Reviewed-by:

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-12 Thread Simon Jeons
On Wed, 2012-12-12 at 17:09 +0800, Tang Chen wrote: On 12/12/2012 08:49 AM, Jiang Liu wrote: This patch introduces a new array zone_movable_limit[] to store the ZONE_MOVABLE limit from movablecore_map boot option for all nodes. The function sanitize_zone_movable_limit() will find out to

Re: [PATCH v3 4/5][RESEND] page_alloc: Make movablecore_map has higher priority

2012-12-12 Thread Tang Chen
Hi Simon, Thanks for reviewing. This logic is aimed at make movablecore_map coexist with kernelcore/movablecore. Please see below. :) On 12/12/2012 09:33 AM, Simon Jeons wrote: @@ -4839,9 +4839,17 @@ static void __init find_zone_movable_pfns_for_nodes(void) required_kernelcore

[GIT PULL] First round of SCSI updates for the 3.7+ merge window

2012-12-12 Thread James Bottomley
This patch set includes two large new drivers: mpt3sas (for the next gen fusion SAS hardware) and csiostor a FCoE offload driver for the Chelsio converged network cards (this includes some net changes which I've OK'd with DaveM). The rest of the patch is driver updates (qla2xxx, lpfc, hptiop,

[PATCH 0/7] various ste_dma40 fixes

2012-12-12 Thread Fabio Baltieri
Hi all, this patch set contains some fixes for the ste_dma40 driver. Thanks, Fabio Gerald Baeza (1): dmaengine: ste_dma40: support fixed physical channel allocation Narayanan (1): dmaengine: ste_dma40: reset priority bit for logical channels Narayanan G (1): dmaengine: ste_dma40: don't

[PATCH 2/7] dmaengine: ste_dma40: use writel_relaxed for lcxa

2012-12-12 Thread Fabio Baltieri
From: Per Forlin per.for...@stericsson.com lcpa and lcla are written often and the cache_sync() overhead in writel is costly, especially for wlan where every single network packet (in RX mode) corresponds to a separate DMA transfer. Signed-off-by: Per Forlin per.for...@stericsson.com

[PATCH 7/7] dmaengine: ste_dma40: support fixed physical channel allocation

2012-12-12 Thread Fabio Baltieri
From: Gerald Baeza gerald.ba...@stericsson.com This patch makes existing use_fixed_channel field (of stedma40_chan_cfg structure) applicable to physical channels. Signed-off-by: Gerald Baeza gerald.ba...@stericsson.com Tested-by: Yannick Fertre yannick.fer...@stericsson.com Reviewed-by: Per

[PATCH 4/7] dmaengine: ste_dma40: limit burst size to 16

2012-12-12 Thread Fabio Baltieri
From: Per Forlin per.for...@stericsson.com The client is not aware of the maximum burst size in the dma driver. If the size exceeds 16 set max to 16. Signed-off-by: Per Forlin per.for...@stericsson.com Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Fabio Baltieri

Re: [Xen-devel] [PATCH] xen/swiotlb: Exchange to contiguous memory for map_sg hook

2012-12-12 Thread Jan Beulich
On 12.12.12 at 02:03, Xu, Dongxiao dongxiao...@intel.com wrote: From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] On Tue, Dec 11, 2012 at 06:39:35AM +, Xu, Dongxiao wrote: From: Konrad Rzeszutek Wilk [mailto:konrad.w...@oracle.com] What if this check was done in the routines

[PATCH 6/7] dmaengine: ste_dma40: don't allow high priority dest event lines

2012-12-12 Thread Fabio Baltieri
From: Rabin Vincent rabin.vinc...@stericsson.com Hardware bug: when a logical channel is triggerred by a high priority destination event line, an extra packet transaction is generated in case of important data write response latency on previous logical channel A and if the source transfer of

RE: [PATCH] sched/rt: don't enable runtime if already enabled

2012-12-12 Thread Mike Galbraith
On Tue, 2012-12-11 at 21:38 -0800, Neil Zhang wrote: Ingo and All, Hm, /me wonders why we would even need update_runtime() handler. We disable at CPU_DOWN_PREPARE in update_runtime(), again at CPU_DYING in migration_call(), and enable at CPU_ONLINE in both. -Original Message- From:

[PATCH 5/7] dmaengine: ste_dma40: don't check for pm_runtime_suspended()

2012-12-12 Thread Fabio Baltieri
From: Narayanan G narayanan.gopalakrish...@stericsson.com The check for runtime suspend is not needed during a regular suspend, as the framework takes care of this. This fixes the issue of DMA driver not letting the system to go to deepsleep in the first attempt. Signed-off-by: Narayanan G

[PATCH 3/7] dmaengine: ste_dma40: set dma max seg size

2012-12-12 Thread Fabio Baltieri
From: Per Forlin per.for...@stericsson.com Maximum DMA seg size is (0x x data_width). If max seg size is not set it deafults to 64k. This results in failure if transferring 64k in byte mode. Large seg sizes may be supported by splitting large transfer. Signed-off-by: Per Forlin

[PATCH 1/7] dmaengine: ste_dma40: reset priority bit for logical channels

2012-12-12 Thread Fabio Baltieri
From: Narayanan G narayanan.gopalakrish...@stericsson.com This patch sets the SSCFG/SDCFG bit[7] PRI only for physical channel requests with high priority. For logical channels, this bit will be zero. Signed-off-by: Narayanan G narayanan.gopalakrish...@stericsson.com Reviewed-by: Rabin Vincent

Re: [PATCH] xen/blkback: prevent repeated backend_changed invocations

2012-12-12 Thread Jan Beulich
On 11.12.12 at 21:50, Olaf Hering o...@aepfle.de wrote: backend_changed might be called multiple times, which will leak be-mode. Make sure it will be called only once. Remove some unneeded checks. Also the be-mode string was leaked, release the memory on device shutdown. So did I miss some

Re: [PATCH 1/2] HID: autodetect USB HID sensor hubs.

2012-12-12 Thread Jiri Kosina
On Sun, 9 Dec 2012, Alexander Holler wrote: It should not be necessary to add IDs for HID sensor hubs to lists in hid-core.c and hid-sensor-hub.c. So instead of a whitelist, autodetect such USB HID sensor hubs, based on a collection of type physical inside a useage page of type sensor. If

Re: [PATCH v3] llist: add a safe version of llist_for_each_entry

2012-12-12 Thread Roger Pau Monné
On 12/12/12 01:37, Huang Ying wrote: On Tue, 2012-12-11 at 12:25 +0100, Roger Pau Monne wrote: Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Huang Ying ying.hu...@intel.com Cc: Konrad Rzeszutek Wilk kon...@kernel.org --- Changes since v2: * Allow to pass a NULL node as the first

Re: [braindump][RFC] signals and syscall restarts (Re: [PATCH v2 19/44] metag: Signal handling)

2012-12-12 Thread James Hogan
On 08/12/12 18:14, Al Viro wrote: On Thu, Dec 06, 2012 at 10:09:55PM +, Al Viro wrote: What we need to guarantee is * restarts do not happen on signals caught in interrupts or exceptions * restarts do not happen on signals caught in sigreturn() Since we don't currently have an orig

[Suggestion] drivers/staging/tidspbridge: pr_err and pr_debug for uninitialized buffer (name buf not initialized).

2012-12-12 Thread Chen Gang
Hello Omar Ramirez Luna: in drivers/staging/tidspbridge/core/io_sm.c: it is for function dump_dsp_stack. char name[256] is not initialized. (line 1898) name is as out buf for node_find_addr (line 2021..2024, 2066..2071, 2098..2103) if node_find_addr fails, pr_err may cause

Re: [PATCH] xen/blkback: prevent repeated backend_changed invocations

2012-12-12 Thread Olaf Hering
On Wed, Dec 12, Jan Beulich wrote: On 11.12.12 at 21:50, Olaf Hering o...@aepfle.de wrote: backend_changed might be called multiple times, which will leak be-mode. Make sure it will be called only once. Remove some unneeded checks. Also the be-mode string was leaked, release the memory on

Re: [PATCH 4/4 v3] rtc: add rtc-driver for HID sensors of type time

2012-12-12 Thread Lars-Peter Clausen
On 12/11/2012 07:21 PM, Alexander Holler wrote: This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by

Re: [PATCH 0/18] sched: simplified fork, enable load average into LB and power awareness scheduling

2012-12-12 Thread Amit Kucheria
On Tue, Dec 11, 2012 at 10:10 PM, Arjan van de Ven ar...@linux.intel.com wrote: On 12/11/2012 8:13 AM, Borislav Petkov wrote: On Tue, Dec 11, 2012 at 08:03:01AM -0800, Arjan van de Ven wrote: On 12/11/2012 7:48 AM, Borislav Petkov wrote: On Tue, Dec 11, 2012 at 08:10:20PM +0800, Alex Shi

Re: [PATCH] xen/blkback: prevent repeated backend_changed invocations

2012-12-12 Thread Jan Beulich
On 12.12.12 at 10:47, Olaf Hering o...@aepfle.de wrote: On Wed, Dec 12, Jan Beulich wrote: On 11.12.12 at 21:50, Olaf Hering o...@aepfle.de wrote: backend_changed might be called multiple times, which will leak be-mode. Make sure it will be called only once. Remove some unneeded

linux-next: no release today (20121212)

2012-12-12 Thread Stephen Rothwell
Normal releases will resume tomorrow. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpx6rukip8fi.pgp Description: PGP signature

Re: [Suggestion] drivers/staging/tidspbridge: pr_err and pr_debug for uninitialized buffer (name buf not initialized).

2012-12-12 Thread Chen Gang
于 2012年12月12日 17:48, Chen Gang 写道: Hello Omar Ramirez Luna: in drivers/staging/tidspbridge/core/io_sm.c: it is for function dump_dsp_stack. char name[256] is not initialized. (line 1898) name is as out buf for node_find_addr (line 2021..2024, 2066..2071, 2098..2103)

[GIT PULL] Automatic NUMA Balancing V11

2012-12-12 Thread Mel Gorman
Hi Linus, This is a pull request for Automatic NUMA Balancing V11. The list of changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linux 3.7-rc6 (2012-11-16 17:42:40 -0800) are available in the git repository at:

Re: linux-next: no release today (20121212)

2012-12-12 Thread Sedat Dilek
On Wed, Dec 12, 2012 at 10:59 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Normal releases will resume tomorrow. Good, no more ambitions to repair my Ubuntu/precise WUBI installation after Win7 updates or sth. else broke the wubi-loader... - Sedat - -- Cheers, Stephen Rothwell

Re: [PATCH] ARM: decompressor: Flush tlb before swiching domain 0 to client mode

2012-12-12 Thread Santosh Shilimkar
On Wednesday 12 December 2012 02:41 AM, Arve Hjønnevåg wrote: If the bootloader used a page table that is incompatible with domain 0 in client mode, then swithing domain 0 to client mode causes a fault if we don't flush the tlb after updating the page table pointer. Signed-off-by: Arve

Re: Read starvation by sync writes

2012-12-12 Thread Jan Kara
On Wed 12-12-12 10:55:15, Shaohua Li wrote: 2012/12/11 Jan Kara j...@suse.cz: Hi, I was looking into IO starvation problems where streaming sync writes (in my case from kjournald but DIO would look the same) starve reads. This is because reads happen in small chunks and until a

Re: [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices

2012-12-12 Thread Benoit Cousson
Hi Javier, On 12/12/2012 09:25 AM, Javier Martinez Canillas wrote: On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: IGEP technology devices are TI OMAP3 SoC based industrial embedded and computer-on-module boards. This patch-set adds initial

Fwd: Re: [Suggestion] drivers/staging/tidspbridge: pr_err and pr_debug for uninitialized buffer (name buf not initialized).

2012-12-12 Thread Chen Gang
Hello Greg Kroah-Hartman: excuse me, I have to forward this mail to you. I have sent it to Omar Ramirez Luna omar.rami...@ti.com, but failed. (get mail delivery failed ) thanks. gchen 原始消息 主题: Re: [Suggestion] drivers/staging/tidspbridge: pr_err and pr_debug for

Re: [PATCH 4/4 v3] rtc: add rtc-driver for HID sensors of type time

2012-12-12 Thread Alexander Holler
Am 12.12.2012 10:51, schrieb Lars-Peter Clausen: Looks good, but as I wrote during the last review the __devinits need to go. A few other suggerstions online Oh, have forgotten it. Ok, will make a v4, changing the other few things too. + case HID_USAGE_SENSOR_TIME_MONTH: +

Re: [PATCH 0/7] various ste_dma40 fixes

2012-12-12 Thread Fabio Baltieri
On Wed, Dec 12, 2012 at 10:37:14AM +0100, Fabio Baltieri wrote: this patch set contains some fixes for the ste_dma40 driver. Adding DMA maintainers to the thread. Want me to resend the whole set? Thanks, Fabio -- Fabio Baltieri -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 4/4 v3] rtc: add rtc-driver for HID sensors of type time

2012-12-12 Thread Lars-Peter Clausen
On 12/12/2012 11:14 AM, Alexander Holler wrote: Am 12.12.2012 10:51, schrieb Lars-Peter Clausen: Looks good, but as I wrote during the last review the __devinits need to go. A few other suggerstions online Oh, have forgotten it. Ok, will make a v4, changing the other few things too. +

Re: [PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Michal Hocko
On Wed 12-12-12 16:25:59, Jianguo Wu wrote: Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path: setup_hugepagesz hugetlb_add_hstate

[PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices and support new switch command

2012-12-12 Thread fangxiaozhi 00110321
From: fangxiaozhi huana...@huawei.com 1. To optimize the match rules for the Huawei USB storage devices. Avoid to load USB storage driver for modem interface with Huawei devices. 2. Add to support new switch command for new Huawei USB dongles. Signed-off-by: fangxiaozhi huana...@huawei.com

Re: [PATCH V4 3/3] MCE: fix an error of mce_bad_pages statistics

2012-12-12 Thread Borislav Petkov
On Wed, Dec 12, 2012 at 11:35:33AM +0800, Xishi Qiu wrote: Since MCE is an x86 concept, and this code is in mm/, it would be better to use the name num_poisoned_pages instead of mce_bad_pages. Signed-off-by: Xishi Qiu qiuxi...@huawei.com Signed-off-by: Jiang Liu jiang@huawei.com

[GIT PULL] battery-2.6.git

2012-12-12 Thread Anton Vorontsov
Hello Linus, Here are a few updates and new drivers queued for v3.8. All the patches were sitting in the -next tree for awhile, except for the last merge commit -- I made it a few hours ago just to fix some conflicts, so that you won't have to bother. Highlights for this pull: - Two new drivers

Re: [tip:x86/microcode] x86/microcode_intel_early.c: Early update ucode on Intel's CPU

2012-12-12 Thread Yinghai Lu
On Tue, Dec 11, 2012 at 11:14 PM, Yinghai Lu ying...@kernel.org wrote: please check draft version for early_memremap version for microcode... 1. make find_cpio take map/unmap function pointer, and use that to set sliding window. 2. clean the end to size in some function to fix -1 offset 3.

Re: Read starvation by sync writes

2012-12-12 Thread Jan Kara
On Wed 12-12-12 15:18:21, Dave Chinner wrote: On Wed, Dec 12, 2012 at 03:31:37AM +0100, Jan Kara wrote: On Tue 11-12-12 16:44:15, Jeff Moyer wrote: Jan Kara j...@suse.cz writes: Hi, I was looking into IO starvation problems where streaming sync writes (in my case

Re: [PATCH v3 3/5] page_alloc: Introduce zone_movable_limit[] to keep movable limit for nodes

2012-12-12 Thread Tang Chen
Hi Simon, On 12/12/2012 05:29 PM, Simon Jeons wrote: Thanks for your clarify. Enable PAE on x86 32bit kernel, 8G memory, movablecore=6.5G Could you please provide more info ? Such as the whole kernel commondline. And did this happen after you applied these patches ? What is the output

Re: [Xen-devel] [PATCH] xen/blkback: prevent repeated backend_changed invocations

2012-12-12 Thread Ian Campbell
On Wed, 2012-12-12 at 09:42 +, Jan Beulich wrote: On 11.12.12 at 21:50, Olaf Hering o...@aepfle.de wrote: backend_changed might be called multiple times, which will leak be-mode. Make sure it will be called only once. Remove some unneeded checks. Also the be-mode string was leaked,

Re: [PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices and support new switch command

2012-12-12 Thread Felipe Balbi
Hi, ok, let's start. On Wed, Dec 12, 2012 at 06:20:33PM +0800, fangxiaozhi 00110321 wrote: From: fangxiaozhi huana...@huawei.com 1. To optimize the match rules for the Huawei USB storage devices. Avoid to load USB storage driver for modem interface with Huawei devices. 2. Add to support

Re: [Xen-devel] [PATCH] xen/blkback: prevent repeated backend_changed invocations

2012-12-12 Thread Olaf Hering
On Wed, Dec 12, Ian Campbell wrote: On Wed, 2012-12-12 at 09:42 +, Jan Beulich wrote: On 11.12.12 at 21:50, Olaf Hering o...@aepfle.de wrote: backend_changed might be called multiple times, which will leak be-mode. Make sure it will be called only once. Remove some unneeded

Re: [PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Xishi Qiu
On 2012/12/12 18:19, Michal Hocko wrote: On Wed 12-12-12 16:25:59, Jianguo Wu wrote: Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This failure is caused by following code path:

Re: [PATCH 1/1]linux-usb: optimize to match the Huawei USB storage devices and support new switch command

2012-12-12 Thread Alan Cox
On Wed, 12 Dec 2012 18:20:33 +0800 fangxiaozhi 00110321 fangxiao...@huawei.com wrote: From: fangxiaozhi huana...@huawei.com 1. To optimize the match rules for the Huawei USB storage devices. Avoid to load USB storage driver for modem interface with Huawei devices. 2. Add to support new

Re: [PATCH V4 3/3] MCE: fix an error of mce_bad_pages statistics

2012-12-12 Thread Xishi Qiu
On 2012/12/12 18:25, Borislav Petkov wrote: On Wed, Dec 12, 2012 at 11:35:33AM +0800, Xishi Qiu wrote: Since MCE is an x86 concept, and this code is in mm/, it would be better to use the name num_poisoned_pages instead of mce_bad_pages. Signed-off-by: Xishi Qiu qiuxi...@huawei.com

Re: [PATCH] avoid entropy starvation due to stack protection

2012-12-12 Thread Stephan Mueller
On 11.12.2012 13:33:04, +0100, Stephan Mueller smuel...@chronox.de wrote: Hi, I just noticed a misuse of a variable in my initial patch + if (r-limit == 2 r-entropy_count = r-poolinfo-poolwords) Instead of r-entropy_count, the code should use entropy_count. Please see new patch attached.

Re: pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50 [snd_hda_intel] returns -11

2012-12-12 Thread Borislav Petkov
On Wed, Dec 12, 2012 at 12:44:33AM +0100, Rafael J. Wysocki wrote: On Tuesday, December 11, 2012 06:55:08 PM Borislav Petkov wrote: On Tue, Dec 11, 2012 at 06:48:23PM +0100, Rafael J. Wysocki wrote: Boris, please send the output of lspci -vvv' from that box. Attached. So the audio is

Re: [PATCH 0/2] kernel BUG at mm/huge_memory.c:212!

2012-12-12 Thread Kirill A. Shutemov
On Wed, Dec 12, 2012 at 01:36:36PM +0800, Bob Liu wrote: On Mon, Dec 3, 2012 at 9:02 PM, Jiri Slaby jsl...@suse.cz wrote: On 11/30/2012 04:03 PM, Kirill A. Shutemov wrote: From: Kirill A. Shutemov kirill.shute...@linux.intel.com Hi Jiri, Sorry for late answer. It took time to

Re: pci_pm_runtime_suspend(): azx_runtime_suspend+0x0/0x50 [snd_hda_intel] returns -11

2012-12-12 Thread Takashi Iwai
At Wed, 12 Dec 2012 00:44:33 +0100, Rafael J. Wysocki wrote: On Tuesday, December 11, 2012 06:55:08 PM Borislav Petkov wrote: On Tue, Dec 11, 2012 at 06:48:23PM +0100, Rafael J. Wysocki wrote: Boris, please send the output of lspci -vvv' from that box. Attached. So the audio is a

Re: [PATCH v2 0/3] gpio: twl4030: Correct status reporting for outputs

2012-12-12 Thread Peter Ujfalusi
Hi Grant, On 12/07/2012 09:09 AM, Linus Walleij wrote: On Thu, Dec 6, 2012 at 11:52 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: As Grant commneted on the first version: https://lkml.org/lkml/2012/12/5/53 Introduce bitfields to cache the directionand output status of the pins so we can

[PATCH 4/4 v4] rtc: add rtc-driver for HID sensors of type time

2012-12-12 Thread Alexander Holler
This driver makes the time from HID sensors (hubs) which are offering such available like any other RTC does. Currently the time can only be read. Setting the time must be done through sending a report, which currently isn't supported by hid-sensor-hub. (I've planned to submit patches.) It is

Re: [PATCH v3 2/3] mtd: devices: elm: Add support for ELM error correction

2012-12-12 Thread Sekhar Nori
On 12/10/2012 12:13 PM, Philip, Avinash wrote: On Fri, Dec 07, 2012 at 16:07:23, Nori, Sekhar wrote: On 11/29/2012 5:16 PM, Philip, Avinash wrote: [...] +struct device *elm_request(enum bch_ecc bch_type) +{ + struct elm_info *info; + + list_for_each_entry(info, elm_devices, list) { +

[PATCH] Mfd: Initial support for Texas Instruments AIC family of CODECs

2012-12-12 Thread Mehar Bajwa
Initial support for TI's AIC platform and TLV320AIC3262 CODEC device. The AIC platform provides common interface to series of low power audio CODECS. This MFD core driver instantiates subdevices that help in supporting range of features provided by AIC family of devices. Signed-off-by: Mehar

Re: [PATCH] mm/hugetlb: create hugetlb cgroup file in hugetlb_init

2012-12-12 Thread Michal Hocko
On Wed 12-12-12 18:44:13, Xishi Qiu wrote: On 2012/12/12 18:19, Michal Hocko wrote: On Wed 12-12-12 16:25:59, Jianguo Wu wrote: Build kernel with CONFIG_HUGETLBFS=y,CONFIG_HUGETLB_PAGE=y and CONFIG_CGROUP_HUGETLB=y, then specify hugepagesz=xx boot option, system will boot fail. This

Re: [PATCH] OMAP: add pwm driver using dmtimers.

2012-12-12 Thread Thierry Reding
On Wed, Dec 12, 2012 at 07:24:30PM +1100, NeilBrown wrote: This patch is based on an earlier patch by Grant Erickson which provided pwm devices using the 'legacy' interface. This driver instead uses the new framework interface. I'd prefer some kind of description about the driver here.

[PATCH] x86: Add support for 64bit get_user() on x86-32

2012-12-12 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@linux.intel.com Implement __get_user_8() for x86-32. It will return the 64bit result in edx:eax register pair, and ecx is used to pass in the address and return the error value. For consistency, change the register assignment for all other __get_user_x()

Re: [PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices

2012-12-12 Thread Javier Martinez Canillas
On Wed, Dec 12, 2012 at 11:11 AM, Benoit Cousson b-cous...@ti.com wrote: Hi Javier, On 12/12/2012 09:25 AM, Javier Martinez Canillas wrote: On Mon, Dec 3, 2012 at 1:41 PM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: IGEP technology devices are TI OMAP3 SoC based

Re: [RFC PATCH] sched: rt: fix selecting runqueue for task to be pushed

2012-12-12 Thread Hillf Danton
On Wed, Dec 12, 2012 at 10:46 AM, Steven Rostedt rost...@goodmis.org wrote: On Tue, 2012-12-11 at 20:54 -0500, Steven Rostedt wrote: I'm actually thinking that that test should always fail. The cpupri_find() does a scan of all priorities up to but not including the current task's priority. If

[PATCH] regulator: core: if voltage scaling fails, restore original voltage values

2012-12-12 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com --- drivers/regulator/core.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index e872c8b..c347fd0 100644 --- a/drivers/regulator/core.c +++

Re: [PATCH v2 0/3] gpio: twl4030: Correct status reporting for outputs

2012-12-12 Thread Grant Likely
On Wed, Dec 12, 2012 at 11:12 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: Hi Grant, On 12/07/2012 09:09 AM, Linus Walleij wrote: On Thu, Dec 6, 2012 at 11:52 AM, Peter Ujfalusi peter.ujfal...@ti.com wrote: As Grant commneted on the first version: https://lkml.org/lkml/2012/12/5/53

[PATCH] regulator: core: if voltage scaling fails, restore original

2012-12-12 Thread Paolo Pisati
And after a second look it's clear what's going on: [...] [5.575744] cpu cpu0: cpufreq-omap: 300 MHz, -1 mV -- 800 MHz, 1325 mV [5.582946] voltdm_scale: No voltage scale API registered for vdd_mpu_iva [5.590332] cpu cpu0: omap_target: unable to scale voltage up. [1] [5.596649]

Re: [PATCH] drivers/pinctrl/pinctrl-at91.c: convert kfree to devm_kfree

2012-12-12 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:58 Tue 11 Dec , Julia Lawall wrote: From: Julia Lawall julia.law...@lip6.fr The function at91_dt_node_to_map is ultimately called by the function pinctrl_get, which is an exported function. Since it is possible that this function is not called from within a probe function, for

Re: [PATCH] regulator: vexpress: Add missing n_voltages setting

2012-12-12 Thread Pawel Moll
On Tue, 2012-12-11 at 23:39 +, Axel Lin wrote: I was thinking below patch to fix the issue: diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index cd1b201..891bc96 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1885,9 +1885,14 @@ int

Re: [[PATCH v9 3/3] 1/1] virtio_console: Remove buffers from out_vq at port removal

2012-12-12 Thread Amit Shah
On (Wed) 12 Dec 2012 [10:31:04], Rusty Russell wrote: Amit Shah amit.s...@redhat.com writes: On (Tue) 11 Dec 2012 [09:39:41], Rusty Russell wrote: Amit Shah amit.s...@redhat.com writes: On (Fri) 16 Nov 2012 [11:22:09], Rusty Russell wrote: Amit Shah amit.s...@redhat.com writes:

  1   2   3   4   5   6   7   8   9   10   >