Re: [PATCH 1/2] writeback: add dirty_background_time per bdi variable

2012-09-12 Thread Namjae Jeon
2012/9/12, Namjae Jeon linkinj...@gmail.com: 2012/9/12, Fengguang Wu fengguang...@intel.com: On Wed, Sep 12, 2012 at 08:12:40AM +0900, Namjae Jeon wrote: To be frank, no realistic NFS servers will use USB disk as backing storage. So that rational for reducing initial delays is weak.

Re: [PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-12 Thread Linus Walleij
On Wed, Sep 12, 2012 at 12:17 AM, Stephen Warren swar...@wwwdotorg.org wrote: the drivers in this patch seem to invert the data-structures a little - in other words, instead of defining a global list of functions, they define a list of groups, and for each group, list the functions that can

Re: [PATCH 2/2] netprio_cgroup: Optimize the priomap copy loop slightly

2012-09-12 Thread Srivatsa S. Bhat
On 09/11/2012 05:12 PM, David Laight wrote: -for (i = 0; - old_priomap (i old_priomap-priomap_len); - i++) -new_priomap-priomap[i] = old_priomap-priomap[i]; +if (old_priomap) { +old_len = old_priomap-priomap_len; + +for (i = 0;

linux-next: build failure after merge of the staging tree

2012-09-12 Thread Stephen Rothwell
Hi Greg, After merging the staging tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/hid/hid-sensor-hub.c: In function 'sensor_hub_probe': drivers/hid/hid-sensor-hub.c:599:3: error: too few arguments to function 'mfd_add_devices' Caused by commit 401ca24fb34a (HID:

[v2 PATCH 1/2] netprio_cgroup: Remove update_netdev_tables() since it is unnecessary

2012-09-12 Thread Srivatsa S. Bhat
The update_netdev_tables() function appears to be unnecessary, since the write_update_netdev_table() function will adjust the priomaps as and when required anyway. So drop the usage of update_netdev_tables() entirely. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com ---

[v2 PATCH 2/2] netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

2012-09-12 Thread Srivatsa S. Bhat
Replace the current (inefficient) for-loop with memcpy, to copy priomap. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- net/core/netprio_cgroup.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/net/core/netprio_cgroup.c

[PATCH] perf, tools: Stop perf stat -p when profiled process exits

2012-09-12 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com When counting a process with perf stat -p check if the process died and exit collection if yes. Signed-off-by: Andi Kleen a...@linux.intel.com --- tools/perf/builtin-stat.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git

Re: runtime PM and special power switches

2012-09-12 Thread Dave Airlie
On Wed, Sep 12, 2012 at 3:13 PM, Dave Airlie airl...@gmail.com wrote: On Wed, Sep 12, 2012 at 8:58 AM, Rafael J. Wysocki r...@sisk.pl wrote: On Wednesday, September 12, 2012, Dave Airlie wrote: On Wed, Sep 12, 2012 at 7:32 AM, Alan Stern st...@rowland.harvard.edu wrote: On Tue, 11 Sep 2012,

Re: [PATCH 1/2] writeback: add dirty_background_time per bdi variable

2012-09-12 Thread Fengguang Wu
I will update simple table for this result in changelog in patch. That would be good, thanks a lot for the testing! Thanks, Fengguang -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] spi: omap2-mcspi: Cleanup the omap2_mcspi_txrx_dma function

2012-09-12 Thread Shubhrajyoti
On Wednesday 12 September 2012 08:51 AM, Mark Brown wrote: On Tue, Sep 11, 2012 at 12:13:20PM +0530, Shubhrajyoti D wrote: Currently in omap2_mcspi_txrx_dma the tx and the rx support is interleaved. Make the rx related code in omap2_mcspi_rx_dma and the tx related code omap2_mcspi_tx_dma

Re: [PATCH] gpio: pcf857x: fixup smatch WARNING

2012-09-12 Thread Linus Walleij
On Wed, Sep 12, 2012 at 7:19 AM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: This patch fixes it Reported-by: Fengguang Wu fengguang...@intel.com Signed-off-by: Kuninori Morimoto kuninori.morimoto...@renesas.com Hey you fix things quicker than I can read my mail :-) :-)

Re: [RFC v8 PATCH 00/20] memory-hotplug: hot-remove physical memory

2012-09-12 Thread Minchan Kim
On Tue, Sep 11, 2012 at 01:18:24PM +0800, Jerry wrote: Hi Kim, Thank you for your kindness. Let me clarify this: On ARM architecture, there are 32 bits physical addresses space. However, the addresses space is divided into 8 banks normally. Each bank disabled/enabled by a chip selector

Re: [PATCH v4 00/21] OMAP UART Patches

2012-09-12 Thread Felipe Balbi
Hi, On Tue, Sep 11, 2012 at 10:02:48PM +, Paul Walmsley wrote: Hi Felipe Just tested these OMAP serial changes at commit e36851d0fa94b0f7802b3cc80406dbd3ef4f2f16 (serial: omap: fix compile breakage). There's good news and bad news... The good news is that after applying this

Re: [PATCH 4/5] perf ui/browser: Use perf_hpp__format functions

2012-09-12 Thread Namhyung Kim
On Sat, 08 Sep 2012 23:05:43 +0900, Namhyung Kim wrote: On Fri, 7 Sep 2012 17:32:18 -0700, Arnaldo Carvalho de Melo wrote: I folded the patch below so that we have the lines starting at column 1 like before, i.e. we were using %5.2f for the overhead and now you changed it to %5.2f. Looks

Re: [PATCH] virtio-balloon spec: provide a version of the silent deflate feature that works

2012-09-12 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: We have several options: 1. No memory overcommit feature. This is always the case ATM! 2. Do not hot-plug assigned device. 3. Hot-unplug assigned device. 4. Some assigned devices can be able to handle memory errors e.g. using ATS. Limit hotplug

Re: [PATCH v2 2/2] virtio-ring: Allocate indirect buffers from cache when possible

2012-09-12 Thread Rusty Russell
Thomas Lendacky t...@linux.vnet.ibm.com writes: I ran some TCP_RR and TCP_STREAM sessions, both host-to-guest and guest-to-host, with a form of the histogram patch applied against a RHEL6.3 kernel. The histogram values were reset after each test. Hey, thanks! This is exactly what I wanted to

Re: [RFC 1/2] virtio_console: Add support for DMA memory allocation

2012-09-12 Thread Rusty Russell
Michael S. Tsirkin m...@redhat.com writes: virtio: don't crash when device is buggy Because of a sanity check in virtio_dev_remove, a buggy device can crash kernel. And in case of rproc it's userspace so it's not a good idea. We are unloading a driver so how bad can it be? Be less

Re: [RFCv3] virtio_console: Add support for virtio remoteproc serial

2012-09-12 Thread Rusty Russell
sjur.brandel...@stericsson.com writes: I actually like this new approach better. It solves the issues Michael has pointed out, and we don't have to think through side effects of weired combination of feature bits. Agreed. Just one thing, should it depend on CONFIG_REMOTEPROC? And have

Re: [PATCH] Add a page cache-backed balloon device driver.

2012-09-12 Thread Rusty Russell
Mike Waychison mi...@google.com writes: On Mon, Sep 10, 2012 at 3:59 PM, Michael S. Tsirkin m...@redhat.com wrote: On Mon, Sep 10, 2012 at 01:37:06PM -0400, Mike Waychison wrote: On Mon, Sep 10, 2012 at 5:05 AM, Michael S. Tsirkin m...@redhat.com wrote: On Tue, Jun 26, 2012 at 01:32:58PM

Re: [PATCH v2] arm: omap: hwmod: make *phy_48m* as the main_clk of ocp2scp

2012-09-12 Thread ABRAHAM, KISHON VIJAY
Hi, On Wed, Sep 12, 2012 at 3:58 AM, Paul Walmsley p...@pwsan.com wrote: Hi Kishon, Benoît, On Fri, 7 Sep 2012, Kishon Vijay Abraham I wrote: Made *ocp2scp_usb_phy_phy_48m* as the main_clk for ocp2scp. Since this ocp2scp module does not have any fck but does have a single opt_clock, it is

linux-next: manual merge of the tegra tree with the usb tree

2012-09-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tegra tree got a conflict in drivers/usb/phy/tegra_usb_phy.c between commit 1ba8216f0bc0 (usb: move phy driver from mach-tegra to drivers/usb) from the usb tree and commit b0e51927b1e5 (ARM: tegra: remove useless includes of mach/*.h) from the tegra tree.

[PATCH 1/2] perf ui/hist: Fix output for 100.00%

2012-09-12 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Current hpp format functions assume that the output will fit to 6 character including % sign (XX.YY%) so used %5.2f%% as a format string. However it might be the case if collapsing resulted in a single entry which has 100.00% (7 character) of period. In

[PATCH 2/2] perf ui/browser: Fix first column printing

2012-09-12 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com As a side effect of commit f5951d56a2ab (perf hists browser: Use perf_hpp__format functions) perf report TUI got a problem of not refreshing the first character. Since the previous patch restores the column width of overhead to 7 we can start at column 0

linux-next: manual merge of the tegra tree with the tree

2012-09-12 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tegra tree got a conflict in arch/arm/mach-tegra/devices.c arch/arm/mach-tegra/devices.h between commits 2db4ddfe6e23 (ARM: pmu: remove arm_pmu_type enumeration) from the arm-perf tree and 1ba8216f0bc0 (usb: move phy driver from mach-tegra to drivers/usb)

Re: [ 92/95] NFS: Fix Oopses in nfs_lookup_revalidate and nfs4_lookup_revalidate

2012-09-12 Thread Suresh Jayaraman
On 09/10/2012 04:13 AM, Ben Hutchings wrote: 3.2-stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@netapp.com Fix the following Oops in 3.5.1: BUG: unable to handle kernel NULL pointer dereference at

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-12 Thread Johannes Berg
On Tue, 2012-09-11 at 22:57 -0700, Marc MERLIN wrote: On Wed, Sep 12, 2012 at 07:16:28AM +0200, Eric Dumazet wrote: On Tue, 2012-09-11 at 16:25 -0700, Andrew Morton wrote: Asking for a 256k allocation is pretty crazy - this is an operating system kernel, not a userspace application.

Re: [PATCH v3 1/9] pinctrl: mvebu: pinctrl driver core

2012-09-12 Thread Thomas Petazzoni
Le Tue, 11 Sep 2012 16:17:13 -0600, Stephen Warren swar...@wwwdotorg.org a écrit : +static struct mvebu_mpp_mode dove_mpp_modes[] = { + MPP_MODE(0, + MPP_FUNCTION(0x00, gpio, NULL), + MPP_FUNCTION(0x02, uart2, rts), + MPP_FUNCTION(0x03, sdio0, cd),

Re: [PATCH v3 6/9] ARM: mvebu: add pinctrl device in DT for Armada 370/XP SoCs

2012-09-12 Thread Thomas Petazzoni
Le Tue, 11 Sep 2012 16:23:19 -0600, Stephen Warren swar...@wwwdotorg.org a écrit : On 09/10/2012 02:39 AM, Sebastian Hesselbarth wrote: From: Thomas Petazzoni thomas.petazz...@free-electrons.com The Armada 370 and XP SoCs have configurable muxing for a certain number of their pins,

Re: [PATCH] ACPI / PM: Infer parent power state from child if unknown, v2

2012-09-12 Thread Aaron Lu
On Tue, Sep 11, 2012 at 10:38:06PM +0200, Rafael J. Wysocki wrote: It turns out that there are ACPI BIOSes defining device objects with _PSx and without either _PSC or _PRx. For devices corresponding to those ACPI objetcs __acpi_bus_get_power() returns ACPI_STATE_UNKNOWN and their initial

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-12 Thread Anton Vorontsov
On Tue, Sep 11, 2012 at 09:40:35PM -0700, Colin Cross wrote: [..] the polling rx function should clear the interrupt for you. Yes, that's an option. But that way we add a new semantic for the polling routines, and effecitvely we just merge the two callbacks. Of course, if Alan is OK

[PATCH] fix x2apic defect that Linux kernel doesn't mask 8259A interrupt during the time window between changing VT-d table base address and initializing these VT-d entries

2012-09-12 Thread Zhang, Lin-Bao (ESSN-MCXS-Linux Kernel RD)
Hi all, This defect can be observed when the x2apic setting in BIOS is set to auto and the BIOS has virtual wire mode enabled on a power up. This defect was found on a 2.6.32 based kernel. The kernel code (smpboot.c, apic.c) does not mask 8259A interrupts before changing and initializing the

Re: [PATCH 13/16] ARM: omap: move platform_data definitions

2012-09-12 Thread Pihet-XID, Jean
Hi Arnd, On Tue, Sep 11, 2012 at 2:59 PM, Arnd Bergmann a...@arndb.de wrote: Platform data for device drivers should be defined in include/linux/platform_data/*.h, not in the architecture and platform specific directories. This moves such data out of the omap include directories

[PATCH] usb: host: tegra: code clean up

2012-09-12 Thread Venu Byravarasu
As part of code clean up, used devm counterparts for the APIs possible. Signed-off-by: Venu Byravarasu vbyravar...@nvidia.com --- drivers/usb/host/ehci-tegra.c | 46 ++-- 1 files changed, 16 insertions(+), 30 deletions(-) diff --git

Re: [PATCH v3] can: rename LED trigger name on netdev renames

2012-09-12 Thread Kurt Van Dijck
On Tue, Sep 11, 2012 at 09:13:14AM +0200, Fabio Baltieri wrote: Hi Oliver, On Tue, Sep 11, 2012 at 07:42:19AM +0200, Oliver Hartkopp wrote: On 10.09.2012 22:08, Kurt Van Dijck wrote: But the initial name must have been set properly already in that case... Yes it is. See

[PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread wzch
From: Wenzeng Chen w...@marvell.com In cpu suspend function __cpu_suspend_save(), we save cp15 registers, resume function, sp and suspend_pgd, then flush the data to DDR, but no need to flush all D cache, only need to flush range. Change-Id: I591a1fde929f3f987c69306b601843ed975d3e41

Linux based bootloader

2012-09-12 Thread Jorge Dominguez
Hello, I find link on Web that describes a module to load other linux kernel or bootloader with a commandline params inside a linux. Works are perform by bootloader kernel module that get kernel, initrd and command line params. http://www.embeddedarm.com/software/arm-linux-bootloader.php

Re: [PATCH] remtoteproc: Export notification id range

2012-09-12 Thread Ohad Ben-Cohen
Hi Sjur, On Mon, Sep 3, 2012 at 4:48 PM, sjur.brandel...@stericsson.com wrote: diff --git a/drivers/remoteproc/remoteproc_core.c b/drivers/remoteproc/remoteproc_core.c index d5c2dbf..00e1674 100644 --- a/drivers/remoteproc/remoteproc_core.c +++ b/drivers/remoteproc/remoteproc_core.c @@

Re: [PATCH 1/2] staging/vme: Use pr_ printks in vme_user.c

2012-09-12 Thread Toshiaki Yamane
On Wed, Sep 12, 2012 at 4:08 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Tue, Sep 11, 2012 at 04:16:14PM +0900, Toshiaki Yamane wrote: The below checkpatch warnings was fixed, -WARNING: Prefer pr_info(... to printk(KERN_INFO, ... -WARNING: Prefer pr_warn(... to

Re: [PATCH] allow gpiolib to be a module

2012-09-12 Thread Jan Beulich
On 11.09.12 at 19:38, Linus Walleij linus.wall...@linaro.org wrote: On Mon, Sep 10, 2012 at 2:16 PM, Jan Beulich jbeul...@suse.com wrote: +#ifndef MODULE subsys_initcall(gpiolib_debugfs_init); +#endif #endif /* DEBUG_FS */ + +#ifdef MODULE +int __init gpiolib_init(void) +{ +

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Shilimkar, Santosh
+ Lorenzo, On Wed, Sep 12, 2012 at 12:48 PM, wzch w...@marvell.com wrote: From: Wenzeng Chen w...@marvell.com In cpu suspend function __cpu_suspend_save(), we save cp15 registers, resume function, sp and suspend_pgd, then flush the data to DDR, but no need to flush all D cache, only need to

[PATCH] netfilter/iptables: Fix log-level processing

2012-09-12 Thread Joe Perches
auto75914...@hushmail.com reports that iptables does not correctly output the KERN_level. $IPTABLES -A RULE_0_in -j LOG --log-level notice --log-prefix DENY in: result with linux 3.6-rc5 Sep 12 06:37:29 x kernel: 5DENY in: IN=eth0 OUT= MAC=... result with linux 3.5.3 and older: Sep

RE: [PATCH] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-09-12 Thread Hebbar, Gururaja
On Tue, Sep 04, 2012 at 18:39:11, Hebbar, Gururaja wrote: HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for the high speed cards. From AM335x TRM (SPRUH73F -

RE: [PATCH] mmc: omap_hsmmc: Pass on the suspend failure to the PM core

2012-09-12 Thread Hebbar, Gururaja
On Tue, Sep 11, 2012 at 11:13:26, S, Venkatraman wrote: On Tue, Sep 4, 2012 at 6:38 PM, Hebbar, Gururaja gururaja.heb...@ti.com wrote: From: Vaibhav Bedia vaibhav.be...@ti.com In some cases mmc_suspend_host() is not able to claim the host and proceed with the suspend process. The core

Re: [v2 PATCH 2/2] netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

2012-09-12 Thread David Miller
From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Date: Wed, 12 Sep 2012 11:37:47 +0530 + memcpy(new_priomap-priomap, old_priomap-priomap, + old_priomap-priomap_len * + sizeof(old_priomap-priomap[0])); This argument

Re: Linux based bootloader

2012-09-12 Thread Geert Uytterhoeven
Hi Jorge, On Wed, Sep 12, 2012 at 9:25 AM, Jorge Dominguez jma...@televes.com wrote: I find link on Web that describes a module to load other linux kernel or bootloader with a commandline params inside a linux. Works are perform by bootloader kernel module that get kernel, initrd and command

[PATCH -tip/perf/core] perf probe: Add union member access support

2012-09-12 Thread Hyeoncheol Lee
Union members can be accessed with '.' or '-' like data structure member access Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Signed-off-by: Hyunchul Lee hyc@gmail.com --- tools/perf/util/probe-finder.c | 24 1

Re: [PATCH v2] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-12 Thread Tushar Behera
On 09/11/2012 08:18 PM, Thierry Reding wrote: On Tue, Sep 11, 2012 at 03:14:15PM +0530, Tushar Behera wrote: Add dummy implemention of public symbols for compilation-safe inclusion of include/linux/pwm.h file when CONFIG_PWM is not defined. While at it, also reorganize the file.

Re: [PATCH v11 0/4] AT91: replace old i2c-at91.c TWI driver

2012-09-12 Thread Nicolas Ferre
On 08/29/2012 09:28 AM, Nikolaus Voss : The old driver has two main deficencies: i) No repeated start (Sr) condiction is possible, this makes it unusable e.g. for most SMBus transfers. ii) I/O was done with polling/busy waiting what caused over-/underruns even at light system loads

Re: [PATCH 2/2] sched: trigger_load_balance clean up

2012-09-12 Thread Alex Shi
On 09/12/2012 02:36 AM, Suresh Siddha wrote: On Mon, 2012-09-10 at 15:10 +0800, Alex Shi wrote: Remove a redundant check for on_null_domain(cpu), and rerange the code that make it more readable. hmm, but we are now doing the on_null_domain() check always, irrespective of whether we need

Re: [PATCH] Fix queueing work if !bdi_cap_writeback_dirty()

2012-09-12 Thread OGAWA Hirofumi
Fengguang Wu fengguang...@intel.com writes: On Wed, Sep 12, 2012 at 03:28:42AM +0900, OGAWA Hirofumi wrote: If bdi has BDI_CAP_NO_WRITEBACK, bdi_forker_thread() doesn't start writeback thread. This means there is no consumer of work item made by bdi_queue_work(). This adds to checking of

Re: [PATCH] sg_io: allow UNMAP and WRITE SAME without CAP_SYS_RAWIO

2012-09-12 Thread James Bottomley
On Tue, 2012-09-11 at 19:56 +0200, Paolo Bonzini wrote: The set of use cases is so variable that no single filter can accomodate all of them: high availability people want persistent reservations, NAS people want trim/discard, but these are just two groups. Someone is using a Windows VM to

Re: [PATCH] drivers/media: Removes useless kfree()

2012-09-12 Thread Dan Carpenter
On Tue, Sep 11, 2012 at 08:00:32PM +0200, Peter Senna Tschudin wrote: diff --git a/drivers/media/dvb-frontends/lg2160.c b/drivers/media/dvb-frontends/lg2160.c index cc11260..748da5d 100644 --- a/drivers/media/dvb-frontends/lg2160.c +++ b/drivers/media/dvb-frontends/lg2160.c @@ -1451,7

Re: qemu-kvm loops after kernel udpate

2012-09-12 Thread Avi Kivity
On 09/11/2012 10:41 PM, Jiri Slaby wrote: On 09/11/2012 09:03 PM, Marcelo Tosatti wrote: On Tue, Sep 11, 2012 at 08:11:36PM +0200, Jiri Slaby wrote: Hi, it looks like an update from next-20120824 to next-20120910 makes kvm defunct. When I try to run qemu, it loops forever without printing

Re: [PATCH] netfilter/iptables: Fix log-level processing

2012-09-12 Thread Eric Dumazet
On Wed, 2012-09-12 at 00:46 -0700, Joe Perches wrote: auto75914...@hushmail.com reports that iptables does not correctly output the KERN_level. $IPTABLES -A RULE_0_in -j LOG --log-level notice --log-prefix DENY in: result with linux 3.6-rc5 Sep 12 06:37:29 x kernel: 5DENY in:

Re: [PATCH v3 1/2] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2012-09-12 Thread Nobuhiro Iwamatsu
Hi, On Tue, Sep 11, 2012 at 3:10 PM, Hideki EIRAKU h...@igel.co.jp wrote: This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The

Re: Linux based bootloader

2012-09-12 Thread Jorge Dominguez
HiGeert, Excuse me for my lack of boldness when searching on Internet Best Regards, Jorge El 12/09/2012 9:57, Geert Uytterhoeven escribió: Hi Jorge, On Wed, Sep 12, 2012 at 9:25 AM, Jorge Dominguezjma...@televes.com wrote: I find link on Web that describes a module to load other linux

Re: [PATCH 1/4] staging: omap-thermal: Correct checkpatch.pl warnings

2012-09-12 Thread Dan Carpenter
On Tue, Sep 11, 2012 at 07:06:52PM +0300, Eduardo Valentin wrote: From: J Keerthy j-keer...@ti.com Removes checkpatch warnings on omap-bandgap.c. Which checkpatch.pl warnings? + omap_bandgap_writel(bg_ptr, +

Re: linux-next: manual merge of the staging tree with the thermal tree

2012-09-12 Thread Valentin, Eduardo
Hello Stephen, On Wed, Sep 12, 2012 at 8:52 AM, Stephen Rothwell s...@canb.auug.org.au wrote: Hi Greg, Today's linux-next merge of the staging tree got a conflict in drivers/staging/omap-thermal/omap-thermal-common.c between commit 76f726fb24bd (Thermal: Remove tc1/tc2 in generic thermal

Re: qemu-kvm loops after kernel udpate

2012-09-12 Thread Jiri Slaby
On 09/12/2012 10:06 AM, Avi Kivity wrote: On 09/11/2012 10:41 PM, Jiri Slaby wrote: On 09/11/2012 09:03 PM, Marcelo Tosatti wrote: On Tue, Sep 11, 2012 at 08:11:36PM +0200, Jiri Slaby wrote: Hi, it looks like an update from next-20120824 to next-20120910 makes kvm defunct. When I try to run

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-09-12 Thread Avi Kivity
On 09/12/2012 07:40 AM, Fengguang Wu wrote: Hi, 3 of my test boxes running v3.5 kernel become unaccessible and I find two of them kept emitting this dmesg: vmx_handle_exit: unexpected, valid vectoring info (0x8b0e) and exit reason is 0x31 The other one has froze and the above

Re: qemu-kvm loops after kernel udpate

2012-09-12 Thread Avi Kivity
On 09/12/2012 11:13 AM, Jiri Slaby wrote: Please provide the output of vmxcap (http://goo.gl/c5lUO), Unrestricted guest no The big real mode fixes. and a snapshot of kvm_stat while the guest is hung. kvm statistics exits

Re: [PATCH] sg_io: allow UNMAP and WRITE SAME without CAP_SYS_RAWIO

2012-09-12 Thread Paolo Bonzini
Il 12/09/2012 10:05, James Bottomley ha scritto: This is why the whole filter thing was mutable via sysfs. That way the admin could set this up per device. It sounds like this is what you want to fix, rather than opening up more holes in an already leaky security apparatus. It is, thanks

Re: qemu-kvm loops after kernel udpate

2012-09-12 Thread Jiri Slaby
On 09/12/2012 10:18 AM, Avi Kivity wrote: On 09/12/2012 11:13 AM, Jiri Slaby wrote: kvm statistics exits 6778198 615942 host_state_reload 1988 187 irq_exits 1523 138

Re: [v2 PATCH 2/2] netprio_cgroup: Use memcpy instead of the for-loop to copy priomap

2012-09-12 Thread Srivatsa S. Bhat
On 09/12/2012 01:19 PM, David Miller wrote: From: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com Date: Wed, 12 Sep 2012 11:37:47 +0530 +memcpy(new_priomap-priomap, old_priomap-priomap, +old_priomap-priomap_len * +

Re: [3.5.0 BUG] vmx_handle_exit: unexpected, valid vectoring info (0x80000b0e)

2012-09-12 Thread Fengguang Wu
On Wed, Sep 12, 2012 at 11:15:40AM +0300, Avi Kivity wrote: On 09/12/2012 07:40 AM, Fengguang Wu wrote: Hi, 3 of my test boxes running v3.5 kernel become unaccessible and I find two of them kept emitting this dmesg: vmx_handle_exit: unexpected, valid vectoring info (0x8b0e) and

Warning: E-mail viruses detected

2012-09-12 Thread MailScanner
Our e-mail content detector has just been triggered by a message you sent: To: prok...@rfbr.ru Subject: prok...@rfbr.ru Date: Wed Sep 12 12:26:11 2012 One or more of the attachments (document.zip, document.htm.com) are on the list of unacceptable attachments for this site and will not have

Re: [PATCH 1/4] staging: omap-thermal: Correct checkpatch.pl warnings

2012-09-12 Thread Dan Carpenter
On Wed, Sep 12, 2012 at 11:11:27AM +0300, Dan Carpenter wrote: On Tue, Sep 11, 2012 at 07:06:52PM +0300, Eduardo Valentin wrote: From: J Keerthy j-keer...@ti.com Removes checkpatch warnings on omap-bandgap.c. Which checkpatch.pl warnings? +

Re: [PATCH] mfd/ab3100: split ab3100 headers out of abx500.h

2012-09-12 Thread Linus Walleij
On Fri, Aug 10, 2012 at 10:32 AM, Linus Walleij linus.wall...@stericsson.com wrote: From: Marcus Cooper marcus.xm.coo...@stericsson.com The U8500 has its own set of separate header, so the abx500 becomes completely abstract. Do the same split for the AB3100 legacy ASIC. Signed-off-by:

Re: [PATCH] [RFC]power: battery: Generic battery driver using IIO

2012-09-12 Thread anish singh
On Tue, Sep 11, 2012 at 3:29 PM, Lars-Peter Clausen l...@metafoo.de wrote: On 09/10/2012 05:40 PM, anish kumar wrote: From: anish kumar anish198519851...@gmail.com This is the cleaned up code after the valuable inputs from the Jonathan, Lars and Anton. I have tried to accomodate all the

Re: [PATCH] perf, tools: Stop perf stat -p when profiled process exits

2012-09-12 Thread Namhyung Kim
Hi Andi, On Tue, 11 Sep 2012 23:09:04 -0700, Andi Kleen wrote: From: Andi Kleen a...@linux.intel.com When counting a process with perf stat -p check if the process died and exit collection if yes. I guess we need something similar for perf record as well. Signed-off-by: Andi Kleen

Re: [RFC PATCH v1 01/22] PCI: use pci_get_domain_bus_and_slot() to avoid race conditions

2012-09-12 Thread Jiang Liu
On 2012-9-12 6:00, Bjorn Helgaas wrote: On Tue, Aug 7, 2012 at 10:10 AM, Jiang Liu liu...@gmail.com wrote: There's a typical usage pattern to search a PCI device under a specific PCI bus (domian, busno) as below: struct pci_bus *pci_bus = pci_find_bus(domain, busno); struct pci_dev *pci_dev =

Re: [PATCH] mfd/ab3100: split ab3100 headers out of abx500.h

2012-09-12 Thread Samuel Ortiz
Hi Linus, On Fri, Aug 10, 2012 at 10:32:35AM +0200, Linus Walleij wrote: From: Marcus Cooper marcus.xm.coo...@stericsson.com The U8500 has its own set of separate header, so the abx500 becomes completely abstract. Do the same split for the AB3100 legacy ASIC. Signed-off-by: Marcus Cooper

Re: [PATCH -tip/perf/core] perf probe: Add union member access support

2012-09-12 Thread Namhyung Kim
Hi Hyeoncheol, It seems you don't use git send-email which adds people on Cc: lines of changelog into actual CC list automatically. Or did you send the email to Masami and Srikar privately? Thanks, Namhyung On Wed, 12 Sep 2012 16:57:45 +0900, Hyeoncheol Lee wrote: Union members can be

linux-next: Tree for Sept 12

2012-09-12 Thread Stephen Rothwell
Hi all, Changes since 201209011: The pci tree lost its build failure. The mfd tree gained a conflict against Linus' tree. The omap_dss2 tree lost its conflict. The trivial tree gained a conflict against the mfd tree. The kvm tree gained a conflict against Linus' tree. The workqueues tree

Re: [PATCH] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-09-12 Thread S, Venkatraman
On Tue, Sep 4, 2012 at 6:39 PM, Hebbar, Gururaja gururaja.heb...@ti.com wrote: HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for the high speed cards. From AM335x

Re: [RFC PATCH v1 02/22] PCI: trivial cleanups for drivers/pci/remove.c

2012-09-12 Thread Jiang Liu
On 2012-9-12 6:03, Bjorn Helgaas wrote: On Tue, Aug 7, 2012 at 10:10 AM, Jiang Liu liu...@gmail.com wrote: Trivial cleanups for drivers/pci/remove.c: 1) move the comment for pci_stop_and_remove_bus_device() to the right place 2) rename __pci_remove_behind_bridge() to pci_remove_behind_bridge()

Re: [PATCH] amd64_edac: Memory size reported double on processor family 0Fh

2012-09-12 Thread Borislav Petkov
On Tue, Sep 11, 2012 at 06:02:01PM -0500, Josh Hunt wrote: On 09/11/2012 05:52 PM, Josh Hunt wrote: With recent kernels we noticed that edac was reporting double the memory size on systems running with AMD family 0Fh processors. I'm not very familiar with the code, but this resolves it

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: On Wed, Sep 12, 2012 at 12:48 PM, wzch w...@marvell.com wrote: void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr) { + u32 *ptr_orig = ptr; *save_ptr = virt_to_phys(ptr); /*

Re: [PATCH v2] regulator: gpio-regulator: add DT bindings

2012-09-12 Thread Daniel Mack
Hi Stephen, On 10.09.2012 21:40, Stephen Warren wrote: On 09/10/2012 09:03 AM, Daniel Mack wrote: Add DT bindings for the gpio-regulator driver and some documentation on how to use it. +++ b/Documentation/devicetree/bindings/regulator/gpio-regulator.txt @@ -0,0 +1,58 @@ +Device tree

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Lorenzo Pieralisi
On Wed, Sep 12, 2012 at 08:43:33AM +0100, Shilimkar, Santosh wrote: + Lorenzo, On Wed, Sep 12, 2012 at 12:48 PM, wzch w...@marvell.com wrote: From: Wenzeng Chen w...@marvell.com In cpu suspend function __cpu_suspend_save(), we save cp15 registers, resume function, sp and suspend_pgd,

Re: [RFC PATCH v1 21/22] PCI: cleanups for PCI bus lock implementation

2012-09-12 Thread Jiang Liu
On 2012-9-12 7:21, Bjorn Helgaas wrote: On Tue, Aug 7, 2012 at 10:11 AM, Jiang Liu liu...@gmail.com wrote: Now all Archs have been converted to the new PCI bus lock mechanism, so clean up unused code. When you say all arches, do you really mean x86 and ia64? I assume all the other

[PATCH v3] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-12 Thread Tushar Behera
Add dummy implemention of public symbols for compilation-safe inclusion of include/linux/pwm.h file when CONFIG_PWM is not defined. Reported-by: Sachin Kamat sachin.ka...@linaro.org Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- Changes since v2: * #if condition for legacy functions

Re: [RFC PATCH 3/3] perf tool: Allow wildcard in PMU name

2012-09-12 Thread Jiri Olsa
On Wed, Sep 12, 2012 at 09:30:19AM +0800, Yan, Zheng wrote: On 09/11/2012 10:05 PM, Jiri Olsa wrote: On Mon, Sep 10, 2012 at 03:53:51PM +0800, Yan, Zheng wrote: From: Yan, Zheng zheng.z@intel.com SNIP +int parse_events_add_pmu(struct list_head **_list, int *idx,

Re: [PATCH 5/7] pwm: i.MX: add devicetree support

2012-09-12 Thread Sascha Hauer
On Tue, Sep 11, 2012 at 04:40:43PM +0200, Thierry Reding wrote: On Mon, Sep 10, 2012 at 10:59:35AM +0200, Sascha Hauer wrote: From: Philipp Zabel p.za...@pengutronix.de At the same time remove platform based support. No user for this driver has made it into mainline so far, so all we

Re: [RFC][PATCH] Reset PCIe devices to address DMA problem on kdump with iommu

2012-09-12 Thread Takao Indoh
(2012/09/11 23:43), Vivek Goyal wrote: On Tue, Sep 11, 2012 at 07:32:35PM +0900, Takao Indoh wrote: [..] I'll post new patch which clears bus master bit and resets devices in second kernel. As to the boot parameter to enable this function, you suggested using reset_devices. I found that on a

Re: [PATCH] rpmsg: use right device paramter when calling dma_free_coherent function

2012-09-12 Thread Ohad Ben-Cohen
Hi Fernando, On Thu, Aug 30, 2012 at 3:24 AM, Fernando Guzman Lugo fernando.l...@ti.com wrote: dma_alloc/free_coherent APIs requires the platform specific remoteproc device as the device parameter. We are passing vdev-dev.parent to the dma_free_coherent function which is the generic rproc

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 2:24 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: On Wed, Sep 12, 2012 at 12:48 PM, wzch w...@marvell.com wrote: void __cpu_suspend_save(u32 *ptr, u32 ptrsz, u32 sp, u32 *save_ptr) {

Re: [PATCH 1/4] staging: omap-thermal: Correct checkpatch.pl warnings

2012-09-12 Thread Valentin, Eduardo
Hello Dan, On Wed, Sep 12, 2012 at 11:26 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Wed, Sep 12, 2012 at 11:11:27AM +0300, Dan Carpenter wrote: On Tue, Sep 11, 2012 at 07:06:52PM +0300, Eduardo Valentin wrote: From: J Keerthy j-keer...@ti.com Removes checkpatch warnings on

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Shilimkar, Santosh
On Wed, Sep 12, 2012 at 2:28 PM, Lorenzo Pieralisi lorenzo.pieral...@arm.com wrote: On Wed, Sep 12, 2012 at 08:43:33AM +0100, Shilimkar, Santosh wrote: + Lorenzo, On Wed, Sep 12, 2012 at 12:48 PM, wzch w...@marvell.com wrote: From: Wenzeng Chen w...@marvell.com In cpu suspend function

Re: [PATCH] mmc: omap_hsmmc: Enable HSPE bit for high speed cards

2012-09-12 Thread T Krishnamoorthy, Balaji
On Tue, Sep 4, 2012 at 6:39 PM, Hebbar, Gururaja gururaja.heb...@ti.com wrote: HSMMC IP on AM33xx need a special setting to handle High-speed cards. Other platforms like TI81xx, OMAP4 may need this as-well. This depends on the HSMMC IP timing closure done for the high speed cards. From AM335x

Re: iwl3945: order 5 allocation during ifconfig up; vm problem?

2012-09-12 Thread Stanislaw Gruszka
On Tue, Sep 11, 2012 at 04:25:36PM -0700, Andrew Morton wrote: On Mon, 10 Sep 2012 13:11:13 +0200 Pavel Machek pa...@ucw.cz wrote: On Sun 2012-09-09 15:40:55, David Rientjes wrote: On Sun, 9 Sep 2012, Pavel Machek wrote: On 3.6.0-rc2+, I tried to turn on the wireless, but got

Re: [RFC] tty/serial/kgdboc: Add and wire up clear_irqs callback

2012-09-12 Thread Alan Cox
Of course, if Alan is OK with this, I'm more than OK too. :-) It may well be better. (But the polling routines would need to clear all interrupts, not just rx/tx. For example, if the controller indicated some error, and nobody clears it, then we'll start reentering infinitely.) For a lot of

Re: [PATCH 03/20] Staging: ipack/bridges/tpci200: provide new callbacks to tpci200

2012-09-12 Thread Jens Taprogge
On Tue, Sep 11, 2012 at 11:47:02AM +0300, Dan Carpenter wrote: I had a few style comments on this patchset. Nothing that couldn't be fixed later. On Mon, Sep 10, 2012 at 10:51:41AM +0200, Samuel Iglesias Gonsálvez wrote: From: Jens Taprogge jens.tapro...@taprogge.org Provide

Re: [PATCH v3 09/31] arm64: Cache maintenance routines

2012-09-12 Thread Catalin Marinas
Hi Simon, On Fri, Sep 07, 2012 at 08:35:42PM +0100, Simon Baatz wrote: On Fri, Sep 07, 2012 at 05:26:44PM +0100, Catalin Marinas wrote: +#define ARCH_HAS_FLUSH_ANON_PAGE +static inline void flush_anon_page(struct vm_area_struct *vma, + struct page *page, unsigned long

[PATCH v2] kbuild: setlocalversion: ignore private tags while reporting local version

2012-09-12 Thread Tushar Behera
The output of 'git describe' is relative to the immediate preceding tag. When the immediate tag preceding or at the HEAD is a private tag, setlocalversion extracts information with respect to the private tag and wrongly reports them with respect to Linux tag. Fixing this to extract information

Re: [PATCH tip/core/rcu 11/26] rcu: Exit RCU extended QS on user preemption

2012-09-12 Thread Peter Zijlstra
On Mon, 2012-09-10 at 22:26 +0200, Frederic Weisbecker wrote: OK, so colour me unconvinced.. why are we doing this? Typically when we call schedule nr_running != 1 (we need current to be running and a possible target to switch to). So I'd prefer to simply have schedule()

Re: [PATCH v3] pwm: Fix compilation error when CONFIG_PWM is not defined

2012-09-12 Thread Thierry Reding
On Wed, Sep 12, 2012 at 02:30:12PM +0530, Tushar Behera wrote: Add dummy implemention of public symbols for compilation-safe inclusion of include/linux/pwm.h file when CONFIG_PWM is not defined. Reported-by: Sachin Kamat sachin.ka...@linaro.org Signed-off-by: Tushar Behera

[PATCH] at24: make module parameters changeable via sysfs

2012-09-12 Thread Uwe Kleine-König
The respective values are evaluated at each read/write, so no further action is required than to change the perm argument to module_param. Note there is no sanity check so root can make the driver effectively unusable but that's what root is for :-) Signed-off-by: Uwe Kleine-König

RE: [PATCH v7 1/8] Talitos: Support for async_tx XOR offload

2012-09-12 Thread Liu Qiang-B32616
Will this engine be coordinating with another to handle memory copies? The dma mapping code for async_tx/raid is broken when dma mapping requests overlap or cross dma device boundaries [1]. [1]: http://marc.info/?l=linux-arm-kernelm=129407269402930w=2 Yes, it needs fsl-dma to handle

Re: [PATCH] ARM: suspend: use flush range instead of flush all

2012-09-12 Thread Russell King - ARM Linux
On Wed, Sep 12, 2012 at 02:40:45PM +0530, Shilimkar, Santosh wrote: On Wed, Sep 12, 2012 at 2:24 PM, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Wed, Sep 12, 2012 at 01:13:33PM +0530, Shilimkar, Santosh wrote: On Wed, Sep 12, 2012 at 12:48 PM, wzch w...@marvell.com wrote:

  1   2   3   4   5   6   7   8   9   10   >