Re: rcu_bh stalls on 3.2.28

2012-09-03 Thread Michael Wang
On 09/01/2012 07:02 AM, Henrique de Moraes Holschuh wrote: Just got one of these: kernel: INFO: rcu_bh detected stall on CPU 2 (t=0 jiffies) kernel: Pid: 0, comm: swapper/2 Not tainted 3.2.28+ #2 kernel: Call Trace: kernel: IRQ [810d1609] __rcu_pending+0x159/0x400 kernel:

Re: [PATCH] fat: remove redundent call to fat_detach in vfat_unlink

2012-09-03 Thread Namjae Jeon
2012/9/1, Al Viro v...@zeniv.linux.org.uk: On Fri, Aug 31, 2012 at 12:48:07PM -0400, Namjae Jeon wrote: As after file is removed fat_evict_inode will be called and fat_detach will be called from that place. So, fat_detach can be removed from vfat_unlink NAK. Please, realize that unlink and

Re: [PATCH -v2 13/13] x86, 64bit: Map first 1M ram early before memblock_x86_fill()

2012-09-03 Thread Yinghai Lu
On Sun, Sep 2, 2012 at 10:50 PM, Pekka Enberg penb...@kernel.org wrote: On Sun, Sep 2, 2012 at 10:46 AM, Yinghai Lu ying...@kernel.org wrote: This one intend to fix bugs: when efi booting have too many memmap entries, will need to double memblock memory array or reserved array. Okay, why do

[PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support

2012-09-03 Thread Taehun Kim
This patch adds WIZnet W5300E01 board. I tested this code in the board. Please review this patch and apply it if do not have any problems. Taehun kim Signed-off-by: Taehun Kim kth3...@gmail.com --- arch/arm/mach-s3c24xx/Kconfig |5 + arch/arm/mach-s3c24xx/Makefile|1 +

Re: [PATCH -v2 12/13] x86, mm: Use func pointer to table size calculation and mapping.

2012-09-03 Thread Yinghai Lu
On Sun, Sep 2, 2012 at 10:43 PM, Pekka Enberg penb...@kernel.org wrote: On Sun, Sep 2, 2012 at 10:46 AM, Yinghai Lu ying...@kernel.org wrote: +static void __init with_all_ram_ranges( + void (*work_fn)(unsigned long, unsigned long, void *), + void

Re: [PATCH -v2 11/13] x86/mm: calculate_table_space_size based on memory ranges that are being mapped

2012-09-03 Thread Yinghai Lu
On Sun, Sep 2, 2012 at 10:36 PM, Pekka Enberg penb...@kernel.org wrote: Yinghai's sign-off is missing. will add that next version if needed. -- 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 v2] kernel/resource.c: fix stack overflow in __reserve_region_with_split

2012-09-03 Thread Ram Pai
On Fri, Aug 31, 2012 at 03:04:25PM -0600, T Makphaibulchoke wrote: Using recurvise call to try adding a non-conflicting region in the function __reserve_region_with_split() could result in a stack overflow in the case that the recursive calls are too deep. Convert the recursive calls to an

Re: [PATCH -v2 13/13] x86, 64bit: Map first 1M ram early before memblock_x86_fill()

2012-09-03 Thread Pekka Enberg
On Mon, Sep 3, 2012 at 9:17 AM, Yinghai Lu ying...@kernel.org wrote: On Sun, Sep 2, 2012 at 10:50 PM, Pekka Enberg penb...@kernel.org wrote: On Sun, Sep 2, 2012 at 10:46 AM, Yinghai Lu ying...@kernel.org wrote: This one intend to fix bugs: when efi booting have too many memmap entries, will

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

2012-09-03 Thread Paolo Bonzini
Il 02/07/2012 02:29, Rusty Russell ha scritto: VIRTIO_BALLOON_F_MUST_TELL_HOST implies you should tell the host (eventually). I don't know if any implementations actually care though. This is indeed broken, because it is a negative feature: it tells you that implicit deflate is _not_

Re: input0: bad kobj_uevent_env content in show_uevent()

2012-09-03 Thread Bjørn Mork
Greg Kroah-Hartman gre...@linuxfoundation.org writes: On Mon, Sep 03, 2012 at 12:38:31AM +0800, Fengguang Wu wrote: It also works reliably for me: 300 boots without a single failure. Tested-by: Fengguang Wu fengguang...@intel.com Thanks for figuring this out. I'll apply it for 3.6, but

[PATCH 1/2] cpu_hotplug: unmap cpu2node when the cpu is hotremoved

2012-09-03 Thread Wen Congyang
When a cpu is hotpluged, we call acpi_map_cpu2node() in _acpi_map_lsapic() to store the cpu's node. But we don't clear the cpu's node in acpi_unmap_lsapic() when this cpu is hotremove. If the node is also hotremoved, We will get the following messages: [ 1646.771485] kernel BUG at

Re: [PATCH 1/3] mtd: cmdlinepart: make the partitions rule more strict

2012-09-03 Thread Artem Bityutskiy
On Sun, 2012-08-26 at 13:21 -0400, Huang Shijie wrote: + * + * Note: + * If you choose to set the @offset for the partdef, please set all + * the partitions with the same syntax, such as: + * gpmi-nand:100m@0(boot),100m@100m(kernel),1g@200m(rootfs) + * + * Please do _NOT_ set the

Re: [PATCH 2/3] mtd: cmdlinepart: sort the unsorted partitions

2012-09-03 Thread Artem Bityutskiy
On Sun, 2012-08-26 at 13:21 -0400, Huang Shijie wrote: +/* There are only several partitions, so the Bubble sort is enough. */ +static inline void sort_partitons(struct mtd_partition *parts, int num_parts) +{ + int i, j; + + if (num_parts 2) + return; Not necessary,

Re: [PATCH -v2 13/13] x86, 64bit: Map first 1M ram early before memblock_x86_fill()

2012-09-03 Thread Yinghai Lu
On Sun, Sep 2, 2012 at 11:26 PM, Pekka Enberg penb...@kernel.org wrote: Yup, or move the globals together with the comment to arch/x86/mm/init.c. That said, max_pfn_high_mapped really ought to be kept together with the other pfn_mapped globals and the comment should be updated.

[PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sakari

[PATCH 0/1 v2] leds: Add new LED driver for lm355x chips

2012-09-03 Thread G.Shark Jeong
From: G.Shark Jeong gshark.je...@gmail.com LM3554 and LM3556 have similar functions but very different register map. This driver is a general version for lm3554 and lm3556 both,led chips of TI. lm3556 driver can be replaced by this driver. LM3554 : The LM3554 is a 2 MHz fixed-frequency

[PATCH 1/1 v2] leds: Add new LED driver for lm355x chips

2012-09-03 Thread G.Shark Jeong
From: G.Shark Jeong gshark.je...@gmail.com LM3554 and LM3556 have similar functions but very different register map. This driver is a general version for lm3554 and lm3556 both,led chips of TI. lm3556 driver can be replaced by this driver. LM3554 : The LM3554 is a 2 MHz fixed-frequency

Re: [RFC v8 PATCH 08/20] memory-hotplug: remove /sys/firmware/memmap/X sysfs

2012-09-03 Thread Wen Congyang
At 09/01/2012 05:06 AM, Andrew Morton Wrote: On Tue, 28 Aug 2012 18:00:15 +0800 we...@cn.fujitsu.com wrote: From: Yasuaki Ishimatsu isimatu.yasu...@jp.fujitsu.com When (hot)adding memory into system, /sys/firmware/memmap/X/{end, start, type} sysfs files are created. But there is no code

Re: [PATCH 1/2] dw_dmac: make driver endianness configurable

2012-09-03 Thread Andy Shevchenko
On Tue, Aug 28, 2012 at 10:39 AM, Felipe Balbi ba...@ti.com wrote: Can you not read this from any internal register ? Synopsys generally adds a set of read only registers which we can use to guess which features where enabled in the IP when configuring it with their IP configuration tool. You

Re: [PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support

2012-09-03 Thread Vasily Khoruzhick
On Mon, Sep 3, 2012 at 9:20 AM, Taehun Kim kth3...@gmail.com wrote: This patch adds WIZnet W5300E01 board. I tested this code in the board. Please review this patch and apply it if do not have any problems. Hi, Taehun kim Signed-off-by: Taehun Kim kth3...@gmail.com ---

[PATCH 2/2] numa: don't check if node is NUMA_NO_NODE

2012-09-03 Thread Wen Congyang
If we don't debug per_cpu maps, the cpu's node is stored in per_cpu variable numa_node. If node is NUMA_NO_NODE, it means the caller want to clear the cpu's node. So we should also call set_cpu_numa_node() in this case. Signed-off-by: Wen Congyang we...@cn.fujitsu.com --- arch/x86/mm/numa.c |

Re: [PATCH 0/2] mfd: twl: Move PWM driver to PWM framework

2012-09-03 Thread Peter Ujfalusi
Hi, On 09/02/2012 01:40 PM, Thierry Reding wrote: Hi, This mini series replaces the twl_has_*() macros by the equivalent standard IS_ENABLED() macro and moves the PWM driver to the PWM framework. I'll take the second patch through the PWM tree but would like to have some Acked-bys from

[PATCH] spi/pl022: Fix chipselects pointer computation

2012-09-03 Thread Roland Stigge
The new chip select handling via GPIO introduced a pointer computation bug: (int *) pl022 + sizeof(struct pl022) doesn't point to the data immediately after the actual struct pl022 (as was intended) but to a multiple of bytes after it because of the (int *) type. Replacing the kludgy

Re: [PATCH 2/2] pwm: Move TWL6030 PWM driver to PWM framework

2012-09-03 Thread Peter Ujfalusi
On 09/02/2012 01:40 PM, Thierry Reding wrote: diff --git a/drivers/mfd/twl-core.c b/drivers/mfd/twl-core.c index 5fbb2a6..1b1a789 100644 --- a/drivers/mfd/twl-core.c +++ b/drivers/mfd/twl-core.c @@ -638,6 +638,13 @@ add_children(struct twl4030_platform_data *pdata, unsigned irq_base,

Re: [PATCH] ALSA: fix possible memory leak in snd_mixer_oss_build_input()

2012-09-03 Thread Takashi Iwai
At Sun, 2 Sep 2012 22:10:27 +0800, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn uinfo has been allocated in this function and should be freed before leaving from the error handling cases. spatch with a semantic match is used to found this problem.

Re: [PATCH] sound: Remove the last mention of SNDRV_MAIN_OBJECT_FILE

2012-09-03 Thread Takashi Iwai
At Sun, 2 Sep 2012 20:04:17 -0700, Josh Triplett wrote: SNDRV_MAIN_OBJECT_FILE hasn't done anything since the pre-git days, and the only remaining reference occurs as a #define in sound/last.c. Drop that last mention of it. Signed-off-by: Josh Triplett j...@joshtriplett.org Applied now.

[PATCH 2/7] perf scripts: Add --symbols option to handle specific symbols

2012-09-03 Thread Feng Tang
Since perf script no longer only handle the trace points, we can add the symbol filter option so that scripts can handle specified samples. Signed-off-by: Feng Tang feng.t...@intel.com --- tools/perf/builtin-script.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[PATCH 4/7] perf scripts: Export a find_scripts() function

2012-09-03 Thread Feng Tang
So that other perf commands/browser has a way to dig out the available scripts info in system, this is a preparation for the script browser. Signed-off-by: Feng Tang feng.t...@intel.com --- tools/perf/builtin-script.c | 46 +++ tools/perf/builtin.h

[PATCH 5/7] perf ui/browser: Add a browser for perf script

2012-09-03 Thread Feng Tang
Create a script browser, so that user can check all the available scripts and run them inside the main perf report or annotation browsers, for all the perf samples or samples belong to one thread/symbol. The work flow is, users can use function key to list all the available scripts in system and

[PATCH 0/7] perf ui/browser: Add browser for perf script

2012-09-03 Thread Feng Tang
Hi Arnaldo and all, This is a patch set mainly to add a browser for perf script, which will be integrated into the main hists and annotation browser. Patch 1-4 are some preparation for adding the script patch 5 introduce the script browser patch 6-7 integrate the browser to hists browser and

[PATCH 1/7] perf symbols: Filter samples with unresolved symbol when --symbols option is used

2012-09-03 Thread Feng Tang
Report/top commands support to only handle specific symbols with --symbols option, but current code will keep those samples whose symbol can't be resolved, which should actually be filtered. If we run following commands: $perf record -a tree $perf report --symbols intel_idle -n the output will

[PATCH 3/7] perf scripts: Add event_analyzing_sample-record/report

2012-09-03 Thread Feng Tang
So that event_analyzing_sample.py can be shown by perf script -l Signed-off-by: Feng Tang feng.t...@intel.com --- .../python/bin/event_analyzing_sample-record |8 .../python/bin/event_analyzing_sample-report |3 +++ 2 files changed, 11 insertions(+), 0 deletions(-)

[PATCH 6/7] perf ui/browser: Integrate script browser into annotation browser

2012-09-03 Thread Feng Tang
Integrate the script browser into annotation, users can press function key 'r' to list all perf scripts and select one of them to run that script, the output will be shown in a separate browser. Signed-off-by: Feng Tang feng.t...@intel.com --- tools/perf/ui/browsers/annotate.c |8 1

[PATCH 7/7] perf ui/browser: Integrate script browser into main hists browser

2012-09-03 Thread Feng Tang
Integrate the script browser into perf report framework, users can use function key 'r' or the drop down menu to list all perf scripts and select one of them, just like they did for the annotation. Signed-off-by: Feng Tang feng.t...@intel.com --- tools/perf/ui/browsers/hists.c | 39

Re: [PATCH v4 2/3] dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register

2012-09-03 Thread Andy Shevchenko
On Sun, Sep 2, 2012 at 8:54 PM, Hein Tibosch hein_tibo...@yahoo.es wrote: From: Hein Tibosch hein_tibo...@yahoo.es v4: now based and tested on 3.6-rc4 The dw_dmac driver was earlier adapted to do 64-bit transfers on the memory side (see https://lkml.org/lkml/2012/1/18/52) This works on ARM

Re: [PATCH v4 1/7] mfd: add syscon driver based on regmap

2012-09-03 Thread Dong Aisheng
On Mon, Sep 03, 2012 at 11:09:01AM +0800, Shawn Guo wrote: On Mon, Sep 03, 2012 at 10:31:03AM +0800, Dong Aisheng wrote: I think of_node_put should be moved out from here and put into syscon_node_to_regmap and syscon_regmap_lookup_by_compatible. I guess no, if you want to move

[ASoC] Fix: Revert 'ASoC: imx-ssi: Remove mono support'.

2012-09-03 Thread Javier Martin
The following commit should be reverted: 0865a75d4166bddc533fd50831829ceefb94f9b0 The bug this patch is meant to solve doesn't occur in Visstrim_M10 boards. Furthermore, after applying this patch sound in Visstrim_M10 is played at slower rates. Signed-off-by: Javier Martin

Re: [PATCH v4 3/3] avr32: at32ap700x: set DMA slave properties for MCI dw_dmac

2012-09-03 Thread Andy Shevchenko
On Sun, Sep 2, 2012 at 8:54 PM, Hein Tibosch hein_tibo...@yahoo.es wrote: --- a/arch/avr32/mach-at32ap/at32ap700x.c +++ b/arch/avr32/mach-at32ap/at32ap700x.c @@ -1355,6 +1355,10 @@ at32_add_device_mci(unsigned int id, struct mci_platform_data *data) |

Re: [PATCH v4 2/3] dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register

2012-09-03 Thread Viresh Kumar
On 3 September 2012 13:55, Andy Shevchenko andy.shevche...@gmail.com wrote: #define DW_MEM_WIDTH_64 0 /* default */ #define DW_MEM_WIDTH_32 1 /* e.g. for avr32 */ There are 4 options: 32, 64, 128, and 256 bits. I would prefer to see the value in conjunction with

file Documentation/usb/usbmon.txt should list the .config settings

2012-09-03 Thread Alexander
Please indicate in the Documentation/usb/usbmon.txt file that the kernel needs to be compiled with: CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_FS=y CONFIG_USB_MON=y CONFIG_USB_DEVICEFS=y , in order for usbmon to be useable on the system. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH v7 3/3] KVM: perf: kvm events analysis tool

2012-09-03 Thread don
于 2012年08月31日 02:29, David Ahern 写道: In addition to Andrew's comment about making the stats struct and functions generic... Yes. :-) On 8/27/12 3:51 AM, Dong Hao wrote: ---8--- +static void exit_event_decode_key(struct event_key *key, char decode[20]) +{ + const char *exit_reason =

Re: [PATCH v4 2/3] dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register

2012-09-03 Thread Andy Shevchenko
On Mon, Sep 3, 2012 at 11:30 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 3 September 2012 13:55, Andy Shevchenko andy.shevche...@gmail.com wrote: #define DW_MEM_WIDTH_64 0 /* default */ #define DW_MEM_WIDTH_32 1 /* e.g. for avr32 */ There are 4 options: 32,

Re: [PATCH] ARM: S3C24XX: Add WIZnet W5300E01-ARM board support

2012-09-03 Thread Sylwester Nawrocki
Hi, On 09/03/2012 09:56 AM, Vasily Khoruzhick wrote: +static void __init w5300e01_init(void) +{ + s3c_nand_set_platdata(w5300e01_nand_info); + platform_add_devices(w5300e01_devices, ARRAY_SIZE(w5300e01_devices)); + + /* W5300 interrupt pin. */ +

Re: mxc_nand.c on mach-imx/imx53

2012-09-03 Thread Sascha Hauer
On Fri, Aug 31, 2012 at 12:57:37PM +0200, Roland Stigge wrote: On 08/31/2012 11:05 AM, Roland Stigge wrote: I tried to port this on top of Sascha's patches for imx53, only for mxc v3 for now, as below. Unfortunately, I still get: ... UnCorrectable RS-ECC Error UnCorrectable

Re: [PATCH v4 2/3] dw_dmac: max_mem_width limits value for SRC/DST_TR_WID register

2012-09-03 Thread Viresh Kumar
On 3 September 2012 14:19, Andy Shevchenko andy.shevche...@gmail.com wrote: On Mon, Sep 3, 2012 at 11:30 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Which register are you talking about? This configuration is outside of DMAC controller and i am not sure if dw DMAC controller can do 128 or

Re: [PATCH] net/can: rename peak_usb dump_mem function

2012-09-03 Thread Marc Kleine-Budde
On 09/02/2012 07:13 PM, Randy Dunlap wrote: From: Randy Dunlap rdun...@xenotime.net Rename generic-sounding function dump_mem() to pcan_dump_mem() so that it does not conflict with the dump_mem() function in arch/sh/include/asm/kdebug.h. drivers/net/can/usb/peak_usb/pcan_usb_core.c:

Re: [PATCH tip/core/rcu 07/23] rcu: Provide OOM handler to motivate lazy RCU callbacks

2012-09-03 Thread Lai Jiangshan
On 08/31/2012 02:18 AM, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org In kernels built with CONFIG_RCU_FAST_NO_HZ=y, CPUs can accumulate a large number of lazy callbacks, which as the name implies will be slow to be invoked. This can be a problem on small-memory

Re: [PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Hans Verkuil
On Mon September 3 2012 09:20:51 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com

Re: mxc_nand.c on mach-imx/imx53

2012-09-03 Thread Roland Stigge
On 09/03/2012 10:55 AM, Sascha Hauer wrote: On Fri, Aug 31, 2012 at 12:57:37PM +0200, Roland Stigge wrote: On 08/31/2012 11:05 AM, Roland Stigge wrote: I tried to port this on top of Sascha's patches for imx53, only for mxc v3 for now, as below. Unfortunately, I still get: ...

Re: [PATCH v6 1/3] spi/pl022: Add chip select handling via GPIO

2012-09-03 Thread Linus Walleij
On Sun, Sep 2, 2012 at 3:12 PM, shiraz hashim shiraz.linux.ker...@gmail.com wrote: Hi Linus, Yes that is why the allocation looks like this: + master = spi_alloc_master(dev, sizeof(struct pl022) + sizeof(int) * + platform_info-num_chipselect); The

Re: [PATCH] spi/pl022: Fix chipselects pointer computation

2012-09-03 Thread Linus Walleij
On Mon, Sep 3, 2012 at 10:14 AM, Roland Stigge sti...@antcom.de wrote: The new chip select handling via GPIO introduced a pointer computation bug: (int *) pl022 + sizeof(struct pl022) doesn't point to the data immediately after the actual struct pl022 (as was intended) but to a

Re: [PATCH] KVM: VMX: invalidate vpid for invlpg instruction

2012-09-03 Thread Avi Kivity
On 09/03/2012 02:27 AM, Davidlohr Bueso wrote: On Fri, 2012-08-31 at 14:37 -0300, Marcelo Tosatti wrote: On Fri, Aug 31, 2012 at 06:10:48PM +0200, Davidlohr Bueso wrote: For processors that support VPIDs we should invalidate the page table entry specified by the lineal address. For this

[PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli manjunath.ha...@ti.com Cc: Sakari Ailus sakari.ai...@iki.fi Cc:

[PATCH v2 -tip 0/5] x86, MSI, AHCI: Support multiple MSIs

2012-09-03 Thread Alexander Gordeev
This series is against the latest tip tree. Currently multiple MSI mode is limited to a single vector per device (at least on x86 and PPC). This series breathes life into pci_enable_msi_block() and makes it possible to set interrupt affinity for multiple IRQs, similarly to MSI-X. Yet, only for

[PATCH v2 -tip 1/5] x86, MSI: Support multiple MSIs in presense of IRQ remapping

2012-09-03 Thread Alexander Gordeev
The MSI specification has several constraints in comparison with MSI-X, most notable of them is the inability to configure MSIs independently. As a result, it is impossible to dispatch interrupts from different queues to different CPUs. This is largely devalues the support of multiple MSIs in SMP

[PATCH v2 -tip 2/5] x86, MSI: Allocate as many multiple IRQs as requested

2012-09-03 Thread Alexander Gordeev
When multiple MSIs are enabled with pci_enable_msi_block() the number of allocated IRQs 'nvec' is rounded up to the nearest value of power of two. That could lead to a condition when number of requested and used IRQs is less than number of actually allocated IRQs. This fix introduces

[ext3/4] PROBLEM: fdatasync not syncing appended data (w/test program)

2012-09-03 Thread Kristian Nielsen
It appears that ext3 and ext4 fdatasync() does not fully sync data to disk. Specifically, when new data is written at the end (so that the file length is increased), not all of the new data is synced by fdatasync(). It looks as if the problem is when the new data fits in the last allocated page

[PATCH v2 -tip 3/5] x86, MSI: Minor readability fixes

2012-09-03 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- arch/x86/kernel/apic/io_apic.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/apic/io_apic.c b/arch/x86/kernel/apic/io_apic.c index fbf3916..3c29b00 100644 --- a/arch/x86/kernel/apic/io_apic.c

[PATCH v2 -tip 4/5] PCI, MSI: Enable multiple MSIs with pci_enable_msi_block_auto()

2012-09-03 Thread Alexander Gordeev
The new function pci_enable_msi_block_auto() tries to allocate maximum possible number of MSIs up to the number the device supports. It generalizes a pattern when pci_enable_msi_block() is contiguously called until it succeeds or fails. Opposite to pci_enable_msi_block() which takes the number of

[PATCH v2 -tip 5/5] AHCI: Support multiple MSIs

2012-09-03 Thread Alexander Gordeev
Take advantage of multiple MSIs implementation on x86 - on systems with IRQ remapping AHCI ports not only get assigned separate MSI vectors - but also separate IRQs. As result, interrupts generated by different ports could be serviced on different CPUs rather than on a single one. In cases when

Re: [PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Sylwester Nawrocki
On 09/03/2012 09:20 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor can be either simple or advanced. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by:

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-03 Thread Linus Walleij
On Fri, Aug 31, 2012 at 2:23 PM, Lee Jones lee.jo...@linaro.org wrote: (...) static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) { int ret = 0; struct nmk_i2c_controller *pdata = adev-dev.platform_data; + struct device_node *np =

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Hans Verkuil
On Mon September 3 2012 11:16:17 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the device. Signed-off-by: Lad, Prabhakar prabhakar@ti.com Signed-off-by: Manjunath Hadli

Re: file Documentation/usb/usbmon.txt should list the .config settings

2012-09-03 Thread Oliver Neukum
On Monday 03 September 2012 11:38:57 Alexander wrote: Please indicate in the Documentation/usb/usbmon.txt file that the kernel needs to be compiled with: CONFIG_DEBUG_KERNEL=y CONFIG_DEBUG_FS=y CONFIG_USB_MON=y CONFIG_USB_DEVICEFS=y Are you saying tht the modular options have been

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Sylwester Nawrocki
On 09/03/2012 11:16 AM, Prabhakar Lad wrote: diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 2d7bc15..ae709d1 100644 --- a/drivers/media/v4l2-core/v4l2-ctrls.c +++ b/drivers/media/v4l2-core/v4l2-ctrls.c @@ -430,6 +430,18 @@ const char * const

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:28AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org Some uses of RCU benefit from shorter grace periods, while others benefit more from the greater efficiency provided by longer grace periods. Therefore, this commit allows the

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-03 Thread Josh Triplett
On Mon, Sep 03, 2012 at 02:30:16AM -0700, Josh Triplett wrote: On Thu, Aug 30, 2012 at 11:18:28AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org Some uses of RCU benefit from shorter grace periods, while others benefit more from the greater efficiency

Re: [PATCH tip/core/rcu 14/23] rcu: Remove now-unused rcu_state fields

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:29AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com Moving the RCU grace-period processing to a kthread and adjusting the tracing resulted in two of the rcu_state structure's fields being unused. This commit therefore removes

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

2012-09-03 Thread Linus Walleij
On Sun, Sep 2, 2012 at 10:27 AM, Sebastian Hesselbarth sebastian.hesselba...@gmail.com wrote: there is a v3 of the patch under internal review right now. OK I'll review as you send it out. Will look through the v2 patches to see if I missed some comment. I know Stephen will not like it, but I

Re: [PATCH tip/core/rcu 15/23] rcu: Make rcutree module parameters visible in sysfs

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:30AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com The module parameters blimit, qhimark, and qlomark (and more recently, rcu_fanout_leaf) have permission masks of zero, so that their values are not visible from sysfs. This is

Re: [PATCH tip/core/rcu 16/23] rcu: Prevent initialization-time quiescent-state race

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:31AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com Now the the grace-period initialization procedure is preemptible, it is subject to the following race on systems whose rcu_node tree contains more than one node: 1.CPU

Re: [PATCH v3] media: v4l2-ctrls: add control for dpcm predictor

2012-09-03 Thread Prabhakar Lad
Hi Sylwester, Thanks for the review. On Monday 03 September 2012 02:51 PM, Sylwester Nawrocki wrote: On 09/03/2012 09:20 AM, Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_DPCM_PREDICTOR control of type menu, which determines the dpcm predictor. The predictor

Re: [PATCH tip/core/rcu 17/23] rcu: Fix day-zero grace-period initialization/cleanup race

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:32AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com The current approach to grace-period initialization is vulnerable to extremely low-probabity races. These races stem fro the fact that the old grace period is marked completed

Re: [PATCH tip/core/rcu 18/23] rcu: Add random PROVE_RCU_DELAY to grace-period initialization

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:33AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com There are some additional potential grace-period initialization races on systems with more than one rcu_node structure, for example: 1.CPU 0 completes a grace period, but

Re: [PATCH tip/core/rcu 19/23] rcu: Adjust for unconditional -completed assignment

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:34AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com Now that the rcu_node structures' -completed fields are unconditionally assigned at grace-period cleanup time, they should already have the correct value for the new grace

Re: [PATCH tip/core/rcu 20/23] rcu: Remove callback acceleration from grace-period initialization

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:35AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com Before grace-period initialization was moved to a kthread, the CPU invoking this code would have at least one callback that needed a grace period, often a newly registered

Re: [PATCH tip/core/rcu 21/23] rcu: Eliminate signed overflow in synchronize_rcu_expedited()

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:36AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org In the C language, signed overflow is undefined. It is true that twos-complement arithmetic normally comes to the rescue, but if the compiler can subvert this any time it has

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-03 Thread Wolfram Sang
On Mon, Sep 03, 2012 at 11:22:28AM +0200, Linus Walleij wrote: On Fri, Aug 31, 2012 at 2:23 PM, Lee Jones lee.jo...@linaro.org wrote: (...) static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id) { int ret = 0; struct nmk_i2c_controller *pdata

Re: [PATCH tip/core/rcu 22/23] rcu: Reduce synchronize_rcu_expedited() latency

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:37AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com The synchronize_rcu_expedited() function disables interrupts across a scan of all leaf rcu_node structures, which is not good for real-time scheduling latency on large systems

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Monday 03 September 2012 02:52 PM, Hans Verkuil wrote: On Mon September 3 2012 11:16:17 Prabhakar Lad wrote: From: Lad, Prabhakar prabhakar@ti.com add V4L2_CID_TEST_PATTERN of type menu, which determines the internal test pattern selected by the

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-03 Thread Lee Jones
On Mon, Sep 03, 2012 at 11:44:48AM +0200, Wolfram Sang wrote: On Mon, Sep 03, 2012 at 11:22:28AM +0200, Linus Walleij wrote: On Fri, Aug 31, 2012 at 2:23 PM, Lee Jones lee.jo...@linaro.org wrote: (...) static int nmk_i2c_probe(struct amba_device *adev, const struct amba_id *id)

Re: [PATCH] media: v4l2-ctrls: add control for test pattern

2012-09-03 Thread Prabhakar Lad
Hi Sylwester, Thanks for the review. On Monday 03 September 2012 02:55 PM, Sylwester Nawrocki wrote: On 09/03/2012 11:16 AM, Prabhakar Lad wrote: diff --git a/drivers/media/v4l2-core/v4l2-ctrls.c b/drivers/media/v4l2-core/v4l2-ctrls.c index 2d7bc15..ae709d1 100644 ---

Re: [PATCH tip/core/rcu 23/23] rcu: Simplify quiescent-state detection

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:38AM -0700, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org The current quiescent-state detection algorithm is needlessly complex. It records the grace-period number corresponding to the quiescent state at the time of the quiescent

[PATCH] Staging: bcm: fix possible memory leak in bcm_char_ioctl()

2012-09-03 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn psFwInfo has been allocated in this function and should be freed before leaving from the error handling cases. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[LTP] [ANNOUNCE] The Linux Test Project has been released for SEPTEMBER 2012.

2012-09-03 Thread Shubham Goyal
Hi, The Linux Test Project test suite has been released for the month of SEPTEMBER 2012. The latest version of the test-suite contains 3000+ tests for the Linux OS and can be found at: http://ltp.sourceforge.net/ You can explore our new github page at: https://github.com/linux-test-project/ltp

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-03 Thread Lee Jones
Author: Lee Jones lee.jo...@linaro.org Date: Mon Aug 6 11:09:57 2012 +0100 i2c: nomadik: Add Device Tree support to the Nomadik I2C driver Here we apply the bindings required for successful Device Tree probing of the i2c-nomadik driver. Cc: linux-...@vger.kernel.org

Re: [PATCH 1/2] slab: do ClearSlabPfmemalloc() for all pages of slab

2012-09-03 Thread Mel Gorman
It took me a while to getting around to reviewing this due to attending kernel summit. Sorry about that. On Sat, Aug 25, 2012 at 11:11:10PM +0900, Joonsoo Kim wrote: Now, we just do ClearSlabPfmemalloc() for first page of slab when we clear SlabPfmemalloc flag. It is a problem because we

[PATCH] parport: fix possible memory leak in parport_gsc_probe_port()

2012-09-03 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn ops has been allocated in this function and should be freed before leaving from the error handling cases. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[PATCH] staging: csr: fix possible memory leak in do_patch_convert_download()

2012-09-03 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn pfw has been allocated in function xbv_to_patch() and should be freed before leaving from the error handling cases. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun

[PATCH] dw_dmac: utilize slave_id to pass request line

2012-09-03 Thread Andy Shevchenko
There is slave_id field in the generic slave config structure that is dedicated for the uniq slave number. In our case we have the request lines wired to the certain hardware. Therefore the number of the request line is uniq and could be used as slave_id. It allows us in some cases to drop out the

Re: [PATCH] ARM: ux500: Fix build error due to missing include of asm/pmu.h in cpu-db8500.c

2012-09-03 Thread Linus Walleij
On Sun, Sep 2, 2012 at 2:25 PM, Axel Lin axel@gmail.com wrote: Include asm/pmu.h to fix below build error: CC arch/arm/mach-ux500/cpu-db8500.o arch/arm/mach-ux500/cpu-db8500.c:118:8: error: variable 'db8500_pmu_platdata' has initializer but incomplete type

[PATCH RESEND] audit: fix wrong timeout value in audit_log_start

2012-09-03 Thread Andrea Righi
audit_log_start() does not properly check timeout values when audit_backlog_limit is exceeded, for example it is possible to use negative timeout values with schedule_timeout() triggering error messages like this: schedule_timeout: wrong timeout value 54e4 Be sure to never set

Re: [PATCH] dw_dmac: utilize slave_id to pass request line

2012-09-03 Thread viresh kumar
On Mon, Sep 3, 2012 at 4:16 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: There is slave_id field in the generic slave config structure that is dedicated for the uniq slave number. In our case we have the request lines wired to the certain hardware. Therefore the number of the

[PATCH] lib/dma-debug: check for vmalloc buffers used with the DMA-API

2012-09-03 Thread Jan Luebbe
Signed-off-by: Jan Luebbe j...@pengutronix.de --- I'm not sure why we don't check for high memory, is there any problem with this approach? lib/dma-debug.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/dma-debug.c b/lib/dma-debug.c index 66ce414..7d60ff0 100644 ---

[GIT PULL] DMA-mapping fixes for v3.6

2012-09-03 Thread Marek Szyprowski
Hi Linus, I would like to ask for pulling another set of fixes for ARM dma-mapping subsystem. Commit e9da6e9905e6 replaced custom consistent buffer remapping code with generic vmalloc areas. It however introduced some regressions caused by limited support for allocations in atomic context. This

Re: [PATCH 3/3] i2c: nomadik: Add Device Tree support to the Nomadik I2C driver

2012-09-03 Thread Linus Walleij
On Mon, Sep 3, 2012 at 12:07 PM, Lee Jones lee.jo...@linaro.org wrote: (...) + if (np) { + if (!pdata) { + pdata = devm_kzalloc(adev-dev, sizeof(*pdata), GFP_KERNEL); + if (!pdata) { + ret =

Re: [PATCH v7 2/3] KVM: x86: trace mmio begin and complete

2012-09-03 Thread Avi Kivity
On 08/27/2012 12:51 PM, Dong Hao wrote: From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com 'perf kvm stat record/report' will use kvm_exit and kvm_mmio(read...) to calculate mmio read emulated time for the old kernel, in order to trace mmio read event more exactly, we add kvm_mmio_begin

Re: [PATCH] pwm: Move AB8500 PWM driver to PWM framework

2012-09-03 Thread Linus Walleij
On Sun, Sep 2, 2012 at 12:30 PM, Thierry Reding thierry.red...@avionic-design.de wrote: This commit moves the driver to drivers/pwm and converts it to the new PWM framework. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de --- Note: I'll take this through the PWM tree, but I'd

Re: [PATCH v7 1/3] KVM: x86: export svm/vmx exit code and vector code to userspace

2012-09-03 Thread Avi Kivity
On 08/27/2012 12:51 PM, Dong Hao wrote: From: Xiao Guangrong xiaoguangr...@linux.vnet.ibm.com Exporting KVM exit information to userspace to be consumed by perf. [ Dong Hao haod...@linux.vnet.ibm.com: rebase it on acme's git tree ] Signed-off-by: Xiao Guangrong

Re: [PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-09-03 Thread Linus Walleij
On Thu, Aug 23, 2012 at 1:15 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. This driver provides a common and extensible framework for all Samsung SoC's to interface with the pinctrl and gpiolib subsystems. This

  1   2   3   4   5   6   >