Re: [Linaro-mm-sig] [RFC 0/2] DMA-mapping IOMMU - physically contiguous allocations

2012-10-16 Thread Hiroshi Doyu
Hi Inki/Marek, On Tue, 16 Oct 2012 02:50:16 +0200 Inki Dae inki@samsung.com wrote: 2012/10/15 Marek Szyprowski m.szyprow...@samsung.com: Hello, Some devices, which have IOMMU, for some use cases might require to allocate a buffers for DMA which is contiguous in physical memory. Such

Re: mpol_to_str revisited.

2012-10-16 Thread David Rientjes
On Tue, 16 Oct 2012, KOSAKI Motohiro wrote: I don't think 80de7c3138ee9fd86a98696fd2cf7ad89b995d0a is right fix. It's certainly not a complete fix, but I think it's a much better result of the race, i.e. we don't panic anymore, we simply fail the read() instead. Even though

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-16 Thread David Rientjes
On Tue, 16 Oct 2012, Sha Zhengju wrote: From: Sha Zhengju handai@taobao.com Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering task in out-of-memory situations, but it only works on overall system-wide oom. But it's also a useful indication in memcg so we

Re: [PATCH 5/6] MFD: twl6040: Convert to use regmap_irq

2012-10-16 Thread Mark Brown
On Thu, Oct 11, 2012 at 01:55:32PM +0200, Peter Ujfalusi wrote: With regmap_irq it is possibole to remove the twl6040-irq.c file and simplify the code. Reviewed-by: Mark Brown broo...@opensource.wolfsonmicro.com -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: Write is not atomic?

2012-10-16 Thread Juliusz Chroboczek
This seems out of context. If the file was open(2)ed with O_APPEND, the file offset is first set to the end of the file before writing. The adjustment of the file offset and the write operation are performed as an atomic step. Sounds different, doesn't it? Yes, it

Re: [PATCH v2] ACPI: move acpi_no_s4_hw_signature() declaration into #ifdef CONFIG_HIBERNATION

2012-10-16 Thread Fengguang Wu
On Tue, Oct 16, 2012 at 01:24:12PM +0800, Yuanhan Liu wrote: acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block, but the current code put the declaration in #ifdef CONFIG_PM_SLEEP block. I happened to meet this issue when I turned off PM_SLEEP config manually:

[PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-16 Thread Sha Zhengju
From: Sha Zhengju handai@taobao.com Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering task in out-of-memory situations, but it only works on overall system-wide oom. But it's also a useful indication in memcg so we take it into consideration while oom happening in

Re: [RFC PATCH 01/06] input/rmi4: Public header and documentation

2012-10-16 Thread Mark Brown
On Thu, Oct 11, 2012 at 05:32:59PM +0200, Linus Walleij wrote: On Thu, Oct 11, 2012 at 5:41 AM, Christopher Heiny che...@synaptics.com wrote: In previous patch submissions, we always used these warning functions. But in the feedback on those patches, we were asked to just make sysfs

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-16 Thread Sha Zhengju
On 10/16/2012 02:12 PM, David Rientjes wrote: On Tue, 16 Oct 2012, Sha Zhengju wrote: From: Sha Zhengjuhandai@taobao.com Sysctl oom_kill_allocating_task enables or disables killing the OOM-triggering task in out-of-memory situations, but it only works on overall system-wide oom. But it's

Re: Re: [PATCH] block: Add blk_rq_pos(rq) to sort rq when plushing plug-list.

2012-10-16 Thread Jianpeng Ma
On 2012-10-15 21:18 Shaohua Li s...@kernel.org Wrote: 2012/10/15 Shaohua Li s...@fusionio.com: 2012/10/15 Jianpeng Ma majianp...@gmail.com: My workload is a raid5 which had 16 disks. And used our filesystem to write using direct-io mode. I used the blktrace to find those message: 8,16 0

Re: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP

2012-10-16 Thread HATAYAMA Daisuke
From: Yu, Fenghua fenghua...@intel.com Subject: RE: [PATCH v1 0/2] x86, apic: Disable BSP if boot cpu is AP Date: Tue, 16 Oct 2012 05:14:46 + My motivation is to use multiple CPUs in order to quickly generate crash dump on the machine with huge amount of memory. I assume such machine

Re: [m68k,powerpc,dma,ethernet,freescale RFA] Coldfire m54xx FEC ethernet driver

2012-10-16 Thread Greg Ungerer
Hi Philippe, On 09/10/12 19:07, Philippe De Muyter wrote: [CCing lkml, linux-ppc, netdev, linux-m68k] Hello kernel sources architects I have a working driver for the m54xx FEC ethernet driver that I would like to integrate in the kernel tree. Problems are that - this driver needs an

[git pull] drm fixes

2012-10-16 Thread Dave Airlie
Hi Linus, fixes for i915, nouveau and radeon i915: haswell stability, modeset rework fallout, ums fix nouveau: misc fixes from code rework radeon: pll rework fixes, more 2 level PTE cleanups. core: warning fixes on 32-bit. Dave. The following changes since commit

Re: [PATCH v2 2/4] gpio: add viperboard gpio driver

2012-10-16 Thread Lars Poeschel
On Monday 15 October 2012 at 15:00:12, Linus Walleij wrote: +#define VPRBRD_GPIOA_CLK_1 0 /* (1us = 1MHz) */ +#define VPRBRD_GPIOA_CLK_101 /* (10us = 100kHz) */ +#define VPRBRD_GPIOA_CLK_100 2 /* (100us = 10kHz) */

Re: linux-next: manual merge of the cortex tree with Linus' tree

2012-10-16 Thread Uwe Kleine-König
On Tue, Oct 16, 2012 at 01:20:52PM +1100, Stephen Rothwell wrote: Hi Uwe, Today's linux-next merge of the cortex tree got a conflict in arch/arm/kernel/process.c between commit 9e14f828ee4a (arm: split ret_from_fork, simplify kernel_thread() [based on patch by rmk]) from Linus' tree and

Re: Re: [PATCH v4 2/3] devfreq: Add suspend and resume apis

2012-10-16 Thread MyungJoo Ham
On Monday 08 of October 2012 10:48:24 MyungJoo Ham wrote: On 8 October 2012 03:31, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday 04 of October 2012 14:58:33 Rajagopal Venkat wrote: Add devfreq suspend/resume apis for devfreq users. This patch supports suspend and resume of

Re: Initial report on F2FS filesystem performance

2012-10-16 Thread Namjae Jeon
Hello. Would you share the result about random read ? Thanks. 2012/10/16, Sooman Jeong 77sm...@hanyang.ac.kr: This is a brief summary of our initial filesystem performance study of f2fs against existing two filesystems in linux: EXT4, NILFS2, and f2fs. * test platform  i) Desktop PC :

Re: [PATCH] oom, memcg: handle sysctl oom_kill_allocating_task while memcg oom happening

2012-10-16 Thread Michal Hocko
On Tue 16-10-12 14:32:05, Sha Zhengju wrote: [...] Thanks for reminding! Yes, I cooked it on memcg-devel git repo but a out-of-date since-3.2 branch... But I notice the latest branch is since-3.5(not seeing 3.6/3.7), does it okay to working on this branch? The tree has moved to

Re: [RFC PATCH 1/3] mm: teach mm by current context info to not do I/O during memory allocation

2012-10-16 Thread Ming Lei
On Tue, Oct 16, 2012 at 1:49 PM, Minchan Kim minc...@kernel.org wrote: Fair enough but it wouldn't be a good idea that add new unlikely branch in allocator's fast path. Please move the check into slow path which could be in __alloc_pages_slowpath. Thanks for your comment. I have considered

Re: Fix memory leak in binder--version2

2012-10-16 Thread Greg KH
On Mon, Oct 15, 2012 at 05:39:22PM -0700, Arve Hjønnevåg wrote: On Mon, Oct 15, 2012 at 4:58 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon, Oct 15, 2012 at 04:55:21PM -0700, Arve Hjønnevåg wrote: On Mon, Oct 15, 2012 at 3:52 PM, Greg KH gre...@linuxfoundation.org wrote: On Mon,

Re: [PATCH 1/2] Staging: android: binder: Fix memory leak on thread/process exit

2012-10-16 Thread Greg KH
On Mon, Oct 15, 2012 at 05:32:41PM -0700, Arve Hjønnevåg wrote: If a thread or process exited while a reply, one-way transaction or death notification was pending, the struct holding the pending work was leaked. Change-Id: I2eaafaba1c0ecda3ec0872d449dc16d0721c21e7 What is this field?

Re: [PATCH v2 4/4] iio: adc: add viperboard adc driver

2012-10-16 Thread Lars Poeschel
On Monday 15 October 2012 at 16:26:36, Lars-Peter Clausen wrote: Added linux-...@vger.kernel.org to Cc. On 10/12/2012 04:34 PM, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de This adds the mfd cell to use the adc part of the Nano River Technologies viperboard.

Re: [PATCH 2/2] Staging: android: binder: Allow using highmem for binder buffers

2012-10-16 Thread Greg KH
On Mon, Oct 15, 2012 at 05:32:42PM -0700, Arve Hjønnevåg wrote: Change-Id: I19be5fd89c194abcb8b041e2dd6c4d71ae7b1cc2 Again with the change-id field :( And please provide some information here, _why_ do we want to allow highmem for binder buffers? What does this solve? Is it a bug or just a

Re: [PATCH] staging: csr: fix coding style

2012-10-16 Thread Lauri Hintsala
Hi, On 10/15/2012 10:55 AM, SeongJae Park wrote: Fix coding style of csr_framework_ext_types.h Signed-off-by: SeongJae Park sj38.p...@gmail.com --- drivers/staging/csr/csr_framework_ext_types.h | 33 +++-- 1 file changed, 15 insertions(+), 18 deletions(-) diff --git

Re: [PATCH v2 1/4] mfd: add viperboard driver

2012-10-16 Thread Lars Poeschel
On Monday 15 October 2012 at 19:09:53, Peter Meerwald wrote: minor nitpicking below From: Lars Poeschel poesc...@lemonage.de Add mfd driver for Nano River Technologies viperboard. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- drivers/mfd/Kconfig| 14

[PATCH] avr32: fix build error in atstk1006_defconfig

2012-10-16 Thread Josh Wu
fixed the following compile error when use avr32 atstk1006_defconfig: drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location': drivers/mtd/nand/atmel_nand.c:639: error: implicit declaration of function 'writel_relaxed' which was introduced by commit 1c7b874d33b463 (mtd: at91:

Re: [PATCH] memory cgroup: update root memory cgroup when node is onlined

2012-10-16 Thread Kamezawa Hiroyuki
(2012/09/14 10:36), Hugh Dickins wrote: On Thu, 13 Sep 2012, Johannes Weiner wrote: On Thu, Sep 13, 2012 at 03:14:28PM +0800, Wen Congyang wrote: root_mem_cgroup-info.nodeinfo is initialized when the system boots. But NODE_DATA(nid) is null if the node is not onlined, so

Re: [PATCH v2] ACPI: move acpi_no_s4_hw_signature() declaration into #ifdef CONFIG_HIBERNATION

2012-10-16 Thread Yuanhan Liu
On Tue, Oct 16, 2012 at 02:24:53PM +0800, Fengguang Wu wrote: On Tue, Oct 16, 2012 at 01:24:12PM +0800, Yuanhan Liu wrote: acpi_no_s4_hw_signature is defined in #ifdef CONFIG_HIBERNATION block, but the current code put the declaration in #ifdef CONFIG_PM_SLEEP block. I happened to meet

Re: [Q] Default SLAB allocator

2012-10-16 Thread Eric Dumazet
On Tue, 2012-10-16 at 10:28 +0900, JoonSoo Kim wrote: Hello, Eric. 2012/10/14 Eric Dumazet eric.duma...@gmail.com: SLUB was really bad in the common workload you describe (allocations done by one cpu, freeing done by other cpus), because all kfree() hit the slow path and cpus contend in

[PATCH] backlight: da903x_bl: use dev_get_drvdata() instead of platform_get_drvdata()

2012-10-16 Thread Jingoo Han
dev_get_drvdata() can be used instead of platform_get_drvdata() to make the code smaller. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net Cc: Mike Rapoport m...@compulab.co.il --- drivers/video/backlight/da903x_bl.c |7 +++ 1 files changed, 3

[PATCH 01/17] backlight: 88pm860x_bl: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: quoted string split across lines Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/88pm860x_bl.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 02/17] backlight: atmel-pwm-bl: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: quoted string split across lines Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/atmel-pwm-bl.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git

Re: [PATCH] proc: check vma-vm_file before dereferencing

2012-10-16 Thread Stanislav Kinsbursky
16.10.2012 01:40, Andrew Morton пишет: On Mon, 15 Oct 2012 19:30:03 +0400 Stanislav Kinsbursky skinsbur...@parallels.com wrote: It can be equal to NULL. Please write better changelogs, so people do not have to ask questions such as: - Under what conditions does this bug trigger? - In

[PATCH 03/17] backlight: corgi_lcd: fix checkpatch error and warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error and warning as below: WARNING: please, no space before tabs WARNING: quoted string split across lines ERROR: space required before the open parenthesis '(' Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net ---

[PATCH 04/17] backlight: da903x_bl: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: please, no space before tabs WARNING: quoted string split across lines Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/da903x_bl.c |8 1 files changed, 4

[PATCH 05/17] backlight: generic_bl: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: space prohibited between function name and open parenthesis '(' Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/generic_bl.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH 06/17] backlight: hp680_bl: fix checkpatch error and warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error and warning as below: WARNING: please, no space before tabs WARNING: please, no spaces at the start of a line ERROR: do not initialise statics to 0 or NULL ERROR: code indent should use tabs where possible Signed-off-by: Jingoo Han jg1@samsung.com Cc:

[PATCH 07/17] backlight: ili9320: fix checkpatch error and warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error and warning as below: WARNING: please, no space before tabs WARNING: please, no spaces at the start of a line WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable WARNING: braces {} are not necessary for single statement blocks ERROR:

Re: [PATCH 1/2] regulator: gpio-regulator: Allow use of GPIO controlled regulators though DT

2012-10-16 Thread Lee Jones
On Tue, 16 Oct 2012, Mark Brown wrote: On Mon, Oct 15, 2012 at 02:16:59PM +0100, Lee Jones wrote: Here we provide the GPIO Regulator driver with Device Tree capability, so that when a platform is booting with DT instead of platform data we can still make full use of it. Not looked at

[PATCH 08/17] backlight: jornada720: fix checkpatch error and warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error and warning as below: WARNING: line over 80 characters ERROR: return is not a function, parentheses are not required Also, long comments are fixed for the preferred style. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net

[PATCH 09/17] backlight: l4f00242t03: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: please, no space before tabs Also, unnecessary line is removed. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/l4f00242t03.c |3 +-- 1 files changed, 1 insertions(+),

[PATCH 10/17] backlight: lm3630: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: static const char * array should probably be static const char * const Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/lm3630_bl.c |2 +- 1 files changed, 1

[PATCH 11/17] backlight: locomolcd: fix checkpatch error and warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error and warning as below: WARNING: line over 80 characters WARNING: space prohibited between function name and open parenthesis '(' ERROR: trailing statements should be on next line Also, long comments are fixed for the preferred style and unnecessary lines are

[PATCH 12/17] backlight: omap1: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: ERROR: inline keyword should sit between storage class and type Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/omap1_bl.c |4 ++-- 1 files changed, 2 insertions(+), 2

[PATCH 13/17] backlight: pcf50633: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: please, no spaces at the start of a line Also, long comments are fixed for the preferred style. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/pcf50633-backlight.c |8

[PATCH 14/17] backlight: platform_lcd: fix checkpatch error

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error as below: ERROR: spaces prohibited around that ':' (ctx:WxW) Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/platform_lcd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH 15/17] backlight: tdo24m: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: please, no space before tabs Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/tdo24m.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 16/17] backlight: tosa: fix checkpatch error and warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch error and warning as below: WARNING: line over 80 characters ERROR: spaces required around that '?' (ctx:VxW) ERROR: space required after that ',' (ctx:VxV) Also, unnecessary lines are removed. Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie

[PATCH 17/17] backlight: vgg2432a4: fix checkpatch warning

2012-10-16 Thread Jingoo Han
This patch fixes the checkpatch warning as below: WARNING: please, no space before tabs Signed-off-by: Jingoo Han jg1@samsung.com Cc: Richard Purdie rpur...@rpsys.net --- drivers/video/backlight/vgg2432a4.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [PATCH] Boottime: A tool for automatic measurement of kernel/bootloader boot time

2012-10-16 Thread Lee Jones
root@ME:/ cat /sys/kernel/debug/boottime/bootgraph [0.185254] calling splash+0x0/0x0 [2.984335] initcall splash+0x0/0x0 returned 0 after 2799 msecs. [2.984335] calling autoboot_delay+0x0/0x0 [4.089513] initcall autoboot_delay+0x0/0x0 returned 0 after 1105 msecs. [

Re: [RFC PATCH 3/3] USB: forbid memory allocation with I/O during bus reset if storage interface exits

2012-10-16 Thread Ming Lei
On Tue, Oct 16, 2012 at 12:48 AM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: No, don't limit us for no good reason, that's not acceptable at all. Patching old kernels when new devices show up that work on those old kernels (like USB network devices that follow the spec with no driver

[PATCH RESEND 0/8] TI Touchscreen driver updates and Support for TSC/ADC MFD driver

2012-10-16 Thread Patil, Rachna
This patch set is a cumulative set of [1] and [2] sent earlier. I have merged the patch set so that the MFD patches apply without any issues. Also Note that there are no code changes in either of the patch set, only rebased on top of linux-next to make sure that all the patches apply without any

[PATCH RESEND 3/8] input: TSC: ti_tscadc: set FIFO0 threshold Interrupt

2012-10-16 Thread Patil, Rachna
Code currently uses FIFO1 threshold interrupt. since this is a MFD, Dedicating FIFO0 to touchscreen and making way for other devices to use FIFO1 as well. The FIFO can be shared between 2 devices but since the interrupt used is threshold interrupt on FIFO1, we would end up having wrong interrupts.

[PATCH RESEND 2/8] input: TSC: ti_tscadc: Add Step configuration as platform data

2012-10-16 Thread Patil, Rachna
There are 16 programmable Step Configuration registers which are used by the sequencer. Program the Steps in order to configure a channel input to be sampled. If the same step is applied several times, the coordinate values read are more accurate. Hence we provide the user an option of how many

[PATCH RESEND 1/8] input: TSC: ti_tscadc: Correct register usage

2012-10-16 Thread Patil, Rachna
This patch cleans up the wrong register definitions and usage for touchscreen controller. Bit masks were not defined earlier. For ex: consider a register define as: write(xyz, ABC) ABC is expected to be written to register bits 0-11. Here we see that value written is as expected, but this write

[PATCH RESEND 8/8] IIO : ADC: tiadc: Add support of TI's ADC driver

2012-10-16 Thread Patil, Rachna
This patch adds support for TI's ADC driver. This is a multifunctional device. Analog input lines are provided on which voltage measurements can be carried out. You can have upto 8 input lines. Signed-off-by: Patil, Rachna rac...@ti.com Acked-by: Jonathan Cameron ji...@kernel.org --- Changes in

[PATCH RESEND 4/8] input: TSC: ti_tscadc: Remove definition of End Of Interrupt register

2012-10-16 Thread Patil, Rachna
The touchscreen IP uses level sensitive interrupts rather than edge sensitive interrupts and therefore the is no need to use the EOI register to have the module re-strobe the interrupt line if there pending interrupts exist. Signed-off-by: Patil, Rachna rac...@ti.com ---

[PATCH RESEND 5/8] input: TSC: ti_tscadc: Rename the existing touchscreen driver

2012-10-16 Thread Patil, Rachna
Make way for addition of MFD driver. The existing touchsreen driver is a MFD client. For better readability we rename the file to indicate its functionality as only touchscreen. Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v2: Missed changing the name of touchscreen header

[PATCH RESEND 7/8] input: TSC: ti_tsc: Convert TSC into a MFDevice

2012-10-16 Thread Patil, Rachna
This patch converts touchscreen into a MFD client. All the register definitions, clock initialization, etc has been moved to MFD core driver. Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v2: No changes Changes in v3: No changes Changes in v4: No changes

[PATCH RESEND 6/8] MFD: ti_tscadc: Add support for TI's TSC/ADC MFDevice

2012-10-16 Thread Patil, Rachna
Add the mfd core driver which supports touchscreen and ADC. With this patch we are only adding infrastructure to support the MFD clients. Signed-off-by: Patil, Rachna rac...@ti.com --- Changes in v2: Merged [PATCH 5/5] MFD: ti_tscadc: Add check on number of i/p channels, patch

Re: [PATCH 1/2] regulator: gpio-regulator: Allow use of GPIO controlled regulators though DT

2012-10-16 Thread Mark Brown
On Tue, Oct 16, 2012 at 08:29:56AM +0100, Lee Jones wrote: On Tue, 16 Oct 2012, Mark Brown wrote: Not looked at the patch yet but patch 2 doesn't seem to have appeared? Has it arrived yet? Arnd responded to it, so it hit the list. Since Arnd's comments I've also fired v2 up - do you see

Re: Re: [PATCH] block: Add blk_rq_pos(rq) to sort rq when plushing plug-list.

2012-10-16 Thread Shaohua Li
2012/10/16 Jianpeng Ma majianp...@gmail.com: On 2012-10-15 21:18 Shaohua Li s...@kernel.org Wrote: 2012/10/15 Shaohua Li s...@fusionio.com: 2012/10/15 Jianpeng Ma majianp...@gmail.com: My workload is a raid5 which had 16 disks. And used our filesystem to write using direct-io mode. I used the

Re: [PATCH v2] mmc: core: Add support for idle time BKOPS

2012-10-16 Thread Jaehoon Chung
Hi Maya, I'm testing with your patch..but i need to have the more time for testing. In now, it looks good to me. Thank you for working the idle bkops. Best Regards, Jaehoon Chung --- diff --git a/drivers/mmc/card/block.c b/drivers/mmc/card/block.c index 172a768..ed040d5 100644 ---

Re: [RFC PATCH] posix timers: allocate timer id per task

2012-10-16 Thread Stanislav Kinsbursky
15.10.2012 20:34, Eric Dumazet пишет: On Mon, 2012-10-15 at 20:17 +0400, Stanislav Kinsbursky wrote: This patch is required CRIU project (www.criu.org). To migrate processes with posix timers we have to make sure, that we can restore posix timer with proper id. Currently, this is not true,

Very bad performance on Qemu/KVM

2012-10-16 Thread Nico Schottelius
Good morning LKML, I see extremely slow virtual machines running on qemu-kvm-0.12.1.2-2.295.el6_3.2.x86_64 on Centos 6.3 with Linux 2.6.32-279.5.2.el6.x86_64 on a 64 core machine using AMD Opteron(TM) Processor 6276 (dell r815). The guests are Centos 6.3, Linux 2.6.32-220.13.1.el6.x86_64. The

[RESEND PATCH 1/2] perf, cpu hotplug: Run CPU_STARTING notifiers with irqs disabled

2012-10-16 Thread Srivatsa S. Bhat
The CPU_STARTING notifiers are supposed to be run with irqs disabled. But the perf_cpu_notifier() macro invokes them without doing that. Fix it. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- include/linux/perf_event.h |3 +++ 1 file changed, 3 insertions(+) diff

[RESEND PATCH 2/2] perf, cpu hotplug: Use cached value of smp_processor_id()

2012-10-16 Thread Srivatsa S. Bhat
The perf_cpu_notifier() macro invokes smp_processor_id() multiple times. Optimize it by using a local variable. Signed-off-by: Srivatsa S. Bhat srivatsa.b...@linux.vnet.ibm.com --- include/linux/perf_event.h |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

Linux 2.6.32.xx build breaks with gcc 4.7

2012-10-16 Thread Gabor Z. Papp
lo lo, I'm trying to compile 2.6.32.60 with gcc 4.7.2, and getting the following error: CC arch/x86/kernel/ptrace.o arch/x86/kernel/ptrace.c:1472:17: error: conflicting types for 'syscall_trace_enter' In file included from

Re: [RFC PATCH] posix timers: allocate timer id per task

2012-10-16 Thread Stanislav Kinsbursky
15.10.2012 21:04, Peter Zijlstra пишет: On Mon, 2012-10-15 at 20:17 +0400, Stanislav Kinsbursky wrote: This patch is required CRIU project (www.criu.org). To migrate processes with posix timers we have to make sure, that we can restore posix timer with proper id. Currently, this is not true,

Re: [PATCH v4 06/14] memcg: kmem controller infrastructure

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/12 18:13), Glauber Costa wrote: On 10/12/2012 12:57 PM, Michal Hocko wrote: On Fri 12-10-12 12:44:57, Glauber Costa wrote: On 10/12/2012 12:39 PM, Michal Hocko wrote: On Fri 12-10-12 11:45:46, Glauber Costa wrote: On 10/11/2012 04:42 PM, Michal Hocko wrote: On Mon 08-10-12

Re: [PATCH 1/2] regulator: gpio-regulator: Allow use of GPIO controlled regulators though DT

2012-10-16 Thread Lee Jones
On Tue, 16 Oct 2012, Mark Brown wrote: On Tue, Oct 16, 2012 at 08:29:56AM +0100, Lee Jones wrote: On Tue, 16 Oct 2012, Mark Brown wrote: Not looked at the patch yet but patch 2 doesn't seem to have appeared? Has it arrived yet? Arnd responded to it, so it hit the list. Since

[PATCH 1/1] Documentation: Describe Device Tree bindings for GPIO Regulator driver

2012-10-16 Thread Lee Jones
Here we specify all non-standard bindings which can be used when requesting the use of an GPIO controlled regulator from Device Tree. Cc: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Lee Jones lee.jo...@linaro.org --- .../bindings/regulator/gpio-regulator.txt | 36

Re: [m68k,powerpc,dma,ethernet,freescale RFA] Coldfire m54xx FEC ethernet driver

2012-10-16 Thread Philippe De Muyter
Hi Greg, On Tue, Oct 16, 2012 at 04:39:05PM +1000, Greg Ungerer wrote: Hi Philippe, On 09/10/12 19:07, Philippe De Muyter wrote: [CCing lkml, linux-ppc, netdev, linux-m68k] Hello kernel sources architects I have a working driver for the m54xx FEC ethernet driver that I would like to

Re: [RFC PATCH] posix timers: allocate timer id per task

2012-10-16 Thread Stanislav Kinsbursky
15.10.2012 23:08, Thomas Gleixner пишет: On Mon, 15 Oct 2012, Stanislav Kinsbursky wrote: This patch is required CRIU project (www.criu.org). To migrate processes with posix timers we have to make sure, that we can restore posix timer with proper id. Currently, this is not true, because timer

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-16 Thread Hyeoncheol Lee
Hi, 2012/10/16 Masami Hiramatsu masami.hiramatsu...@hitachi.com: (2012/10/16 10:37), Hyeoncheol Lee wrote: convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Yeah, that one was from my laziness... Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com

Re: [PATCH] perf probe: convert_name_to_addr() allocated the wrong size buffer for a function name

2012-10-16 Thread Hyeoncheol Lee
Hi, 2012/10/16 Srikar Dronamraju sri...@linux.vnet.ibm.com: * Masami Hiramatsu masami.hiramatsu...@hitachi.com [2012-10-16 13:19:57]: (2012/10/16 10:37), Hyeoncheol Lee wrote: convert_name_to_addr() allocated sizeof(char *) * MAX_PROBE_ARGS bytes for a function name Yeah, that one was

Re: [PATCH v2] i2c-hid: introduce HID over i2c specification implementation

2012-10-16 Thread Jiri Slaby
On 10/15/2012 10:38 PM, Benjamin Tissoires wrote: Notes: {1}: I don't have all the informations in the beginning of the probe function to get the real size I need to allocate. So the behavior is to allocate first a buffer by using HID_MIN_BUFFER_SIZE and once I got the information, I can

Re: [PATCH v4 08/14] res_counter: return amount of charges after res_counter_uncharge

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/08 19:06), Glauber Costa wrote: It is useful to know how many charges are still left after a call to res_counter_uncharge. While it is possible to issue a res_counter_read after uncharge, this can be racy. If we need, for instance, to take some action when the counters drop down to

[PATCH V2 RESEND] gpio: samsung: use pr_* instead of printk

2012-10-16 Thread Jingoo Han
This patch uses pr_* instead of printk. Also, gpio_dbg is replaced with pr_debug. Signed-off-by: Ryan Mallon rmal...@gmail.com Signed-off-by: Jingoo Han jg1@samsung.com Reviewed-by: Linus Walleij linus.wall...@linaro.org --- drivers/gpio/gpio-samsung.c | 18 ++ 1 files

Re: [patch 1/3] tty: pty - Move TIOCPKT handling into pty.c

2012-10-16 Thread Cyrill Gorcunov
On Fri, Sep 28, 2012 at 01:10:33AM +0400, Cyrill Gorcunov wrote: Since this ioctl is for pty devices only move it to pty.c. v2: - drop PTY_TYPE_MASTER test since it's master peer ioctl anyway (by jslaby@) Suggested-by: Alan Cox a...@lxorguk.ukuu.org.uk Signed-off-by: Cyrill Gorcunov

Re: [PATCH v2 1/4] mfd: add viperboard driver

2012-10-16 Thread Lars-Peter Clausen
On 10/12/2012 04:34 PM, Lars Poeschel wrote: [...] +static void vprbrd_dev_release(struct device *dev) +{ + return; A empty release callback is usually a good indicator that something is wrong. The release callback will be called once the last reference to the device has been called, so

[PATCH] mm: compaction: Correct the nr_strict_isolated check for CMA

2012-10-16 Thread Mel Gorman
Thierry reported that the iron out patch for isolate_freepages_block() had problems due to the strict check being too strict with mm: compaction: Iron out isolate_freepages_block() and isolate_freepages_range() -fix1. It's possible that more pages than necessary are isolated but the check still

Re: [PATCH v4 09/14] memcg: kmem accounting lifecycle management

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/12 17:41), Michal Hocko wrote: On Fri 12-10-12 11:47:17, Glauber Costa wrote: On 10/11/2012 05:11 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:15, Glauber Costa wrote: Because kmem charges can outlive the cgroup, we need to make sure that we won't free the memcg structure while

[PATCH] dw_mmc: fix multiple drv_data NULL dereferences

2012-10-16 Thread James Hogan
Commit 800d78bfccb3d38116abfda2a5b9c8afdbd5ea21 (mmc: dw_mmc: add support for implementation specific callbacks) merged in v3.7-rc1. The above commit introduced multiple NULL pointer dereferences when the default dw_mci_pltfm_probe() is used, as it sets host-drv_data to NULL, and that's only

[PATCH] dmatest: terminate all ongoing transfers before submitting new one

2012-10-16 Thread Andy Shevchenko
The following error messages come if we have software LLP emulation enabled and enough threads running. modprobe dmatest iterations=40 [ 168.048601] dmatest: Started 1 threads using dma0chan0 [ 168.054546] dmatest: Started 1 threads using dma0chan1 [ 168.060441] dmatest: Started 1 threads

Re: [PATCH RFC 2/6 v3] gpio: Add sysfs support to block GPIO API

2012-10-16 Thread Jean-Christophe PLAGNIOL-VILLARD
On 22:30 Mon 15 Oct , Linus Walleij wrote: I really request Grant to comment on this...too. On Mon, Oct 15, 2012 at 8:19 PM, Greg Kroah-Hartman gre...@linuxfoundation.org wrote: On Mon, Oct 15, 2012 at 08:07:02PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote: On 21:11 Fri 12 Oct

Re: [PATCH v9 12/12] x86, topology: Debug CPU00 hotplug

2012-10-16 Thread Srivatsa S. Bhat
On 10/12/2012 09:39 PM, Fenghua Yu wrote: From: Fenghua Yu fenghua...@intel.com +config DEBUG_HOTPLUG_CPU0 + def_bool n + prompt Debug CPU0 hotplug + depends on HOTPLUG_CPU EXPERIMENTAL + ---help--- + Enabling this option offlines CPU0 (if CPU0 can be offlined) as +

Re: [PATCH v4 10/14] memcg: use static branches when code not in use

2012-10-16 Thread Kamezawa Hiroyuki
(2012/10/12 16:47), Glauber Costa wrote: On 10/11/2012 05:40 PM, Michal Hocko wrote: On Mon 08-10-12 14:06:16, Glauber Costa wrote: We can use static branches to patch the code in or out when not used. Because the _ACTIVE bit on kmem_accounted is only set after the increment is done, we

Re: [PATCH v4] slab: Ignore internal flags in cache creation

2012-10-16 Thread Glauber Costa
On 10/16/2012 04:47 AM, David Rientjes wrote: On Mon, 8 Oct 2012, David Rientjes wrote: diff --git a/mm/slab.h b/mm/slab.h index 7deeb44..4c35c17 100644 --- a/mm/slab.h +++ b/mm/slab.h @@ -45,6 +45,31 @@ static inline struct kmem_cache *__kmem_cache_alias(const char *name, size_t siz

Re: [patch 1/3] tty: pty - Move TIOCPKT handling into pty.c

2012-10-16 Thread Alan Cox
Greg, Alan, what about this series? Is there anything else I should do? Other than resending it now the merge window is closed - I can't think of anything. Alan -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] dmatest: terminate all ongoing transfers before submitting new one

2012-10-16 Thread viresh kumar
On Tue, Oct 16, 2012 at 2:15 PM, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: The following error messages come if we have software LLP emulation enabled and enough threads running. modprobe dmatest iterations=40 [ 168.048601] dmatest: Started 1 threads using dma0chan0 [

Re: [patch 1/3] tty: pty - Move TIOCPKT handling into pty.c

2012-10-16 Thread Cyrill Gorcunov
On Tue, Oct 16, 2012 at 09:58:22AM +0100, Alan Cox wrote: Greg, Alan, what about this series? Is there anything else I should do? Other than resending it now the merge window is closed - I can't think of anything. OK, thanks, I'll resend. -- To unsubscribe from this list: send the line

Re: [Linaro-mm-sig] [RFC 0/2] DMA-mapping IOMMU - physically contiguous allocations

2012-10-16 Thread Russell King - ARM Linux
On Tue, Oct 16, 2012 at 09:04:34AM +0300, Hiroshi Doyu wrote: In addition to those contiguous/discontiguous page allocation, is there any way to _import_ anonymous pages allocated by a process to be used in dma-mapping API later? I'm considering the following scenario, an user process

Low-jitter kernel benchmark.

2012-10-16 Thread Uwaysi Bin Kareem
http://www.phoronix.com/scan.php?page=news_itempx=MTIwNzM While Phoronix usually miss the point of these configs, these benchmarks still show that low-jitter on the desktop, does not affect desktop performance negatively. Only if you are running Apache, on a server, you`d want a different

[PATCH] uprobes tracer: Add stack/memory/retval access support

2012-10-16 Thread Hyeoncheol Lee
Event arguments except @SYM are supported. They are @ADDR, $stack, $stackN, $retval, and offs(arguments). Cc: Masami Hiramatsu masami.hiramatsu...@hitachi.com Cc: Srikar Dronamraju sri...@linux.vnet.ibm.com Signed-off-by: Hyeoncheol Lee hyc@gmail.com --- kernel/trace/trace_kprobe.c |6 +-

Re: Strange crash on Dell R720xd

2012-10-16 Thread Borislav Petkov
On Mon, Oct 15, 2012 at 09:42:58PM +0200, Laurent CARON wrote: Hi, I'm currently replacing an old system (HP DL 380 G5) by new dell R720xd. On those new boxes I did configure the H310 controler as plain JBOD. Those boxes appear to crash more often than not (from 5 mins to a couple of

Re: [PATCH 5/5] efivarfs: efivarfs_fill_super() ensure we clean up correctly on error

2012-10-16 Thread Jeremy Kerr
Hi Andy, If we break out of the loop on the second (and onwards) iteration, won't we still have the other inodes and dentries remaining allocated? As we calling this from the mount_single() wrapper: return mount_single(fs_type, flags, data, efivarfs_fill_super); which does this:

Re: [PATCH] avr32: fix build error in atstk1006_defconfig

2012-10-16 Thread Hans-Christian Egtvedt
Around Tue 16 Oct 2012 15:19:27 +0800 or thereabout, Josh Wu wrote: fixed the following compile error when use avr32 atstk1006_defconfig: drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location': drivers/mtd/nand/atmel_nand.c:639: error: implicit declaration of function

[PATCH v2] loop: Limit the number of requests in the bio list

2012-10-16 Thread Lukas Czerner
Currently there is not limitation of number of requests in the loop bio list. This can lead into some nasty situations when the caller spawns tons of bio requests taking huge amount of memory. This is even more obvious with discard where blkdev_issue_discard() will submit all bios for the range

Re: [RFC PATCH 1/5] irq_work: Move irq_work_raise() declaration/default definition to arch headers

2012-10-16 Thread Arnd Bergmann
On Tuesday 16 October 2012, Mark Brown wrote: On Tue, Oct 16, 2012 at 12:18:05AM +0200, Frederic Weisbecker wrote: I came up with stuff for it, though it needed prettyfying. This seems to do the trick: (It's the diff result of ln -s asm-generic include/asm) Unfortunately, this is not

  1   2   3   4   5   6   7   8   9   10   >