[PATCH v4 0/3] Runtime Interpreted Power Sequences

2012-08-16 Thread Alexandre Courbot
Overdue revision of this new feature, some changes required additional thought and rework. The most important change is in the way power sequences are expressed in the device tree. In order to avoid having to specify #address-cells, #size-cells and reg properties, the @ notation in the step names

[PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-16 Thread Alexandre Courbot
Some device drivers (panel backlights especially) need to follow precise sequences for powering on and off, involving gpios, regulators, PWMs with a precise powering order and delays to respect between each steps. These sequences are board-specific, and do not belong to a particular driver -

[PATCH v4 3/3] tegra: add pwm backlight device tree nodes

2012-08-16 Thread Alexandre Courbot
Signed-off-by: Alexandre Courbot acour...@nvidia.com --- arch/arm/boot/dts/tegra20-ventana.dts | 58 +++ arch/arm/boot/dts/tegra20.dtsi| 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra20-ventana.dts

[PATCH v4 2/3] pwm_backlight: use power sequences

2012-08-16 Thread Alexandre Courbot
Make use of the power sequences specified in the device tree or platform data to control how the backlight is powered on and off. Signed-off-by: Alexandre Courbot acour...@nvidia.com --- .../bindings/video/backlight/pwm-backlight.txt | 62 ++- drivers/video/backlight/Kconfig

Re: [patch 4/8] fs, exportfs: Add export_encode_inode_fh helper

2012-08-16 Thread Cyrill Gorcunov
On Wed, Aug 15, 2012 at 06:06:23PM -0400, J. Bruce Fields wrote: On Thu, Aug 16, 2012 at 01:02:37AM +0400, Cyrill Gorcunov wrote: On Wed, Aug 15, 2012 at 04:45:46PM -0400, J. Bruce Fields wrote: On Wed, Aug 15, 2012 at 01:21:20PM +0400, Cyrill Gorcunov wrote: To provide fsnotify object

Re: [PATCH 04/13] overlay filesystem

2012-08-16 Thread Eric W. Biederman
Miklos Szeredi mik...@szeredi.hu writes: Minor nits below. diff --git a/fs/overlayfs/dir.c b/fs/overlayfs/dir.c new file mode 100644 index 000..6b50823 --- /dev/null +++ b/fs/overlayfs/dir.c @@ -0,0 +1,598 @@ +/* + * + * Copyright (C) 2011 Novell Inc. + * + * This program is free

Re: [GIT PULL] Update LZO compression

2012-08-16 Thread Markus F.X.J. Oberhumer
On 2012-08-15 16:45, Johannes Stezenbach wrote: On Wed, Aug 15, 2012 at 02:02:43PM +0200, Markus F.X.J. Oberhumer wrote: On 2012-08-14 14:39, Johannes Stezenbach wrote: On Tue, Aug 14, 2012 at 01:44:02AM +0200, Markus F.X.J. Oberhumer wrote: On 2012-07-16 20:30, Markus F.X.J. Oberhumer wrote:

Re: [PATCH 2/2] Thermal: Add ST-Ericsson db8500 thermal dirver.

2012-08-16 Thread Zhang Rui
On 四, 2012-08-16 at 14:23 +0800, Hongbo Zhang wrote: Add more people into list. On 10 August 2012 19:20, hongbo.zhang hongbo.zh...@linaro.org wrote: From: hongbo.zhang hongbo.zh...@stericsson.com This diver is based on the thermal management framework in

Re: [PATCH] act_mirred: do not drop packets when fails to mirror it

2012-08-16 Thread Jason Wang
On 08/15/2012 11:10 PM, Jamal Hadi Salim wrote: On Wed, 2012-08-15 at 21:42 +0800, Jason Wang wrote: I met it actually through the following steps: - start a kvm guest with tap and make it to be an interface of the bridge - mirror the ingress traffic of the bridge to the tap - terminate the

Re: linux-next: build failure after merge of the final tree (regulator tree related)

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Stephen Rothwell wrote: From: Stephen Rothwell s...@canb.auug.org.au Date: Thu, 16 Aug 2012 15:11:22 +1000 Subject: [PATCH] regulator: using kfree() requires including slab.h Fixes this build error: drivers/regulator/twl-regulator.c: In function 'twlreg_probe':

Re: [PATCH v3] mm: Restructure kmem_cache_create() to move debug cache integrity checks into a new function

2012-08-16 Thread Pekka Enberg
On Thu, Aug 16, 2012 at 2:53 AM, Andrew Morton a...@linux-foundation.org wrote: On Sun, 12 Aug 2012 10:40:18 -0600 Shuah Khan shuah.k...@hp.com wrote: kmem_cache_create() does cache integrity checks when CONFIG_DEBUG_VM is defined. These checks interspersed with the regular code path has

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-16 Thread preeti
Hi everyone, From what I have understood so far,I try to summarise pin pointed differences between the performance and power policies as found relevant to the scheduler-load balancing mechanism.Any thoughts? *Performance policy*: Q1.Who triggers load_balance? Load balance is triggered when a

Re: [v2.6.34-stable 035/165] md: Fix handling for devices from 2TB to 4TB in 0.90 metadata.

2012-08-16 Thread NeilBrown
On Thu, 16 Aug 2012 05:24:33 +0100 Ben Hutchings b...@decadent.org.uk wrote: On Thu, 2012-08-16 at 06:46 +1000, NeilBrown wrote: On Wed, 15 Aug 2012 15:46:19 -0400 Paul Gortmaker paul.gortma...@windriver.com wrote: From: NeilBrown ne...@suse.de

Re: O_DIRECT to md raid 6 is slow

2012-08-16 Thread Roman Mamedov
On Wed, 15 Aug 2012 18:50:44 -0500 Stan Hoeppner s...@hardwarefreak.com wrote: TTBOMK there are two, and only two, COW filesystems in existence: ZFS and BTRFS. There is also NILFS2: http://www.nilfs.org/en/ And in general, any https://en.wikipedia.org/wiki/Log-structured_file_system is COW

[PATCH 0/2] devfreq: Add sysfs node for representing frequency transition information.

2012-08-16 Thread Jonghwa Lee
This patchset adds sysfs node to devfreq's frame work to measure trasition of frequency on runtime. It will be created under '/sys/class/devfreq/device name/' as the name of 'trans_state'. It contains transition table which represents total number of transition of each frerquency state to

[PATCH 1/2] devfreq: Add sysfs node for representing frequency transition information.

2012-08-16 Thread Jonghwa Lee
This patch adds sysfs node which can be used to get information of frequency transition. It represents transition table which contains total number of transition of each freqeuncy state and time spent. It is inspired CPUFREQ's status driver. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com

[PATCH 2/2] devfreq: exynos4: Support initialization of freq_table and max_state of devfreq's profile.

2012-08-16 Thread Jonghwa Lee
This patch initializes freq_table and max_state of devfreq's profile. They will be used for creating transition table. Signed-off-by: Jonghwa Lee jonghwa3@samsung.com --- drivers/devfreq/exynos4_bus.c | 30 +- 1 files changed, 29 insertions(+), 1 deletions(-)

[net V2] act_mirred: do not drop packets when fails to mirror it

2012-08-16 Thread Jason Wang
We drop packet unconditionally when we fail to mirror it. This is not intended in some cases. Consdier for kvm guest, we may mirror the traffic of the bridge to a tap device used by a VM. When kernel fails to mirror the packet in conditions such as when qemu crashes or stop polling the tap, it's

Re: linux-next: build failure after merge of the infiniband tree

2012-08-16 Thread Stephen Rothwell
Hi Roland, Thanks for the fix. On Wed, 15 Aug 2012 21:07:37 -0700 Roland Dreier rol...@kernel.org wrote: See Rule 1 in Documentation/SubmitChecklist. Heh, but it compiles fine on x86! Which is why we have Rule 1 :-) -- Cheers, Stephen Rothwells...@canb.auug.org.au

Re: [PATCH 2/3] slub: reduce failure of this_cpu_cmpxchg in put_cpu_partial() after unfreezing

2012-08-16 Thread Pekka Enberg
On Sat, 23 Jun 2012, Joonsoo Kim wrote: In current implementation, after unfreezing, we doesn't touch oldpage, so it remain 'NOT NULL'. When we call this_cpu_cmpxchg() with this old oldpage, this_cpu_cmpxchg() is mostly be failed. We can change value of oldpage to NULL after unfreezing,

[ANN] Userspace low memory killer daemon

2012-08-16 Thread Anton Vorontsov
Hi all, This quite long email (sorry!) has two purposes: to announce userland lowmemory killer daemon to a broader audience, and to resume discussion on lowmemory notifications. The userland lowmemory killer daemon (ulmkd), behaves the same way as kernel's lowmemorykiller (LMK) driver, except

Re: [PATCH V3 3/5] clk: mmp: add clock definition for pxa910

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Chao Xie wrote: +enum { + clk32, vctcxo, pll1, pll1_2, pll1_4, pll1_8, pll1_16, pll1_6, pll1_12, + pll1_24, pll1_48, pll1_96, pll1_13, pll1_13_1_5, pll1_2_1_5, + pll1_3_16, uart_pll, twsi0, twsi1, gpio, kpc, rtc, pwm0, pwm1, pwm2, + pwm3,

Re: [PATCH V3 1/5] clk: mmp: add mmp specific clocks

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Chao Xie wrote: +static int clk_apbc_prepare(struct clk_hw *hw) +{ + struct clk_apbc *apbc = to_clk_apbc(hw); + unsigned int data; + unsigned long flags = 0; + + /* +* It may share same register as MUX clock, +* and it

Re: [PATCH] i2c: tegra: I2_M_NOSTART functionality not supported in Tegra20

2012-08-16 Thread Laxman Dewangan
On Tuesday 14 August 2012 10:19 PM, Stephen Warren wrote: On 08/14/2012 03:19 AM, Laxman Dewangan wrote: Tegra20 i2c controller does not support the continue transfer which implements the I2C_M_NOSTART functionality of i2c protocol mangling. Removing the I2C_M_NOSTART functionality for Tegra20.

[PATCH 1/3] iio: add iio_read_channel_offset() consumer api

2012-08-16 Thread Kim, Milo
This allows the iio consumer to get the offset of the channel. The value of offset can be used when calculating the result such as 'result = raw * scale + offset'. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/iio/inkern.c | 21 +

[PATCH 2/3] iio: use IIO_CHAN_INFO_RAW rather than 0

2012-08-16 Thread Kim, Milo
(a) For better readability, replace 0 with IIO_CHAN_INFO_RAW. (b) Make same line-format as other apis() : iio_read_channel_scale() and iio_read_channel_offset() Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/iio/inkern.c |6 -- 1 files changed, 4 insertions(+), 2

Re: powerpc/perf: hw breakpoints return ENOSPC

2012-08-16 Thread Peter Zijlstra
On Thu, 2012-08-16 at 14:23 +1000, Michael Neuling wrote: On this second syscall, fetch_bp_busy_slots() sets slots.pinned to be 1, despite there being no breakpoint on this CPU. This is because the call the task_bp_pinned, checks all CPUs, rather than just the current CPU. POWER7 only has

[PATCH v3 3/3] iio: adc: add new lp8788 adc driver

2012-08-16 Thread Kim, Milo
Patch v3. (a) Delete unnecessary blank line of description (b) Sort alphabetical order for header (c) Replace udelay() with usleep_range() (d) Change read_raw() in case of scale and offset : result can be calculated as raw * (scaleint + scalepart * 100) + offset. (scale: micro unit)

Re: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api

2012-08-16 Thread Peter Meerwald
comment below p. This allows the iio consumer to get the offset of the channel. The value of offset can be used when calculating the result such as 'result = raw * scale + offset'. Signed-off-by: Milo(Woogyom) Kim milo@ti.com --- drivers/iio/inkern.c | 21

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-16 Thread Thierry Reding
On Thu, Aug 16, 2012 at 03:08:55PM +0900, Alexandre Courbot wrote: Some device drivers (panel backlights especially) need to follow precise sequences for powering on and off, involving gpios, regulators, PWMs with a precise powering order and delays to respect between each steps. These

[PATCH v2 0/2] Renesas IPMMU driver for sh7372

2012-08-16 Thread Hideki EIRAKU
This is the Renesas IPMMU driver, IOMMU API implementation and IPMMU device support for sh7372 (AP4EVB and Mackerel). The IPMMU module supports the MMU function and the PMB function. The MMU function provides address translation by pagetable compatible with ARMv6. The PMB function provides

[PATCH v2 2/2] ARM: mach-shmobile: sh7372: Add IPMMU device

2012-08-16 Thread Hideki EIRAKU
This patch adds an IPMMU device and notifies the IPMMU driver which devices are connected via the IPMMU module. All devices connected to the main memory bus via the IPMMU module MUST be registered when SHMOBILE_IPMMU and SHMOBILE_IOMMU are enabled because physical address cannot be used while the

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

2012-08-16 Thread Hideki EIRAKU
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 PMB function provides address translation including tile-linear translation.

Re: [PATCH V3 3/5] clk: mmp: add clock definition for pxa910

2012-08-16 Thread Chao Xie
On Thu, Aug 16, 2012 at 3:17 PM, Arnd Bergmann a...@arndb.de wrote: On Thursday 16 August 2012, Chao Xie wrote: +enum { + clk32, vctcxo, pll1, pll1_2, pll1_4, pll1_8, pll1_16, pll1_6, pll1_12, + pll1_24, pll1_48, pll1_96, pll1_13, pll1_13_1_5, pll1_2_1_5, + pll1_3_16, uart_pll,

RE: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api

2012-08-16 Thread Kim, Milo
int iio_read_channel_scale(struct iio_channel *chan, int *val, int *val2); +/** + * iio_read_channel_offset() - read offset from a given channel + * @channel: The channel being queried. the parameter is 'chan', not 'channel' Oops, this is

Re: [PATCH 3/4] cputime: Consolidate vtime handling on context switch

2012-08-16 Thread Martin Schwidefsky
On Wed, 15 Aug 2012 21:28:17 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 15, 2012 at 05:22:19PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:49 +0200 Frederic Weisbecker fweis...@gmail.com wrote: The archs that implement virtual cputime accounting all

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-16 Thread Glauber Costa
On 08/16/2012 07:37 AM, Greg Thelen wrote: On Wed, Aug 15 2012, Glauber Costa wrote: On 08/15/2012 09:12 PM, Greg Thelen wrote: On Wed, Aug 15 2012, Glauber Costa wrote: On 08/15/2012 08:38 PM, Greg Thelen wrote: On Wed, Aug 15 2012, Glauber Costa wrote: On 08/14/2012 10:58 PM, Greg

Re: [PATCH] regulator: twl-regulator: fix up VINTANA1/VINTANA2

2012-08-16 Thread Rajendra Nayak
On Wednesday 15 August 2012 03:40 AM, Aaro Koskinen wrote: It seems commit 2098e95ce9bb039ff2e7bf836df358d18a176139 (regulator: twl: adapt twl-regulator driver to dt) accidentally deleted VINTANA1. Also the same commit defines VINTANA2 twice with TWL4030_ADJUSTABLE_LDO and TWL4030_FIXED_LDO.

Re: [PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-16 Thread Bart Van Assche
On 08/16/12 01:35, Chanho Min wrote: functions will occur in line. I also don't see why the sdev reference couldn't drop to zero here. scsi_request_fn is called under the lock of request_queue-queue_lock. If we drop the sdev reference to zero here, scsi_device_dev_release_usercontext is

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Martin Schwidefsky
On Wed, 15 Aug 2012 21:09:04 +0200 Frederic Weisbecker fweis...@gmail.com wrote: On Wed, Aug 15, 2012 at 05:03:47PM +0200, Martin Schwidefsky wrote: On Tue, 14 Aug 2012 16:16:47 +0200 Frederic Weisbecker fweis...@gmail.com wrote: S390, ia64 and powerpc all define their own version

Re: [RESEND][PATCH]efi: initialize efi.runtime_version to make query_variable_info/update_capsule workable

2012-08-16 Thread Matt Fleming
On Mon, 2012-08-06 at 18:37 +, Seiji Aguchi wrote: A value of efi.runtime_version is checked before calling update_capsule()/query_variable_info() as follows. But it isn't initialized anywhere. snip static efi_status_t virt_efi_query_variable_info(u32 attr,

Re: [PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-16 Thread James Bottomley
On Thu, 2012-08-16 at 10:35 +0900, Chanho Min wrote: functions will occur in line. I also don't see why the sdev reference couldn't drop to zero here. scsi_request_fn is called under the lock of request_queue-queue_lock. If we drop the sdev reference to zero here,

[PATCH] smsc75xx: add missing entry to MAINTAINERS

2012-08-16 Thread Steve Glendinning
Signed-off-by: Steve Glendinning steve.glendinn...@shawell.net --- MAINTAINERS |6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f875890..560bd30 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7289,6 +7289,12 @@ W: http://www.connecttech.com S:

Re: [PATCH 08/13] fs: limit filesystem stacking depth

2012-08-16 Thread Sedat Dilek
On Wed, Aug 15, 2012 at 5:48 PM, Miklos Szeredi mik...@szeredi.hu wrote: From: Miklos Szeredi mszer...@suse.cz Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-16 Thread Rakib Mullick
On 8/16/12, Alex Shi alex@intel.com wrote: On 08/15/2012 10:24 PM, Rakib Mullick wrote: On 8/13/12, Alex Shi alex@intel.com wrote: Since there is no power saving consideration in scheduler CFS, I has a very rough idea for enabling a new power saving schema in CFS. It bases on the

Re: [PATCH V3 3/5] clk: mmp: add clock definition for pxa910

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Chao Xie wrote: + clocks[uart0_mux] = + clk_register_mux(NULL, uart0_mux, uart_parent, + ARRAY_SIZE(uart_parent), CLK_SET_RATE_PARENT, + apbc_base + APBC_UART0, 4, 3, 0, clk_lock); i can change

Re: [PATCH RESEND] remove the queue unlock in scsi_requset_fn

2012-08-16 Thread James Bottomley
On Thu, 2012-08-16 at 07:52 +, Bart Van Assche wrote: On 08/16/12 01:35, Chanho Min wrote: functions will occur in line. I also don't see why the sdev reference couldn't drop to zero here. scsi_request_fn is called under the lock of request_queue-queue_lock. If we drop the sdev

[PATCH] sched/debug: Limit sd-*_idx range on sysctl

2012-08-16 Thread Namhyung Kim
From: Namhyung Kim namhyung@lge.com Various sd-*_idx's are used for refering the rq's load average table when selecting a cpu to run. However they can be set to any number with sysctl knobs so that it can crash the kernel if something bad is given. Fix it by limiting them into the actual

Re: [PATCH 3/4] UBI: use the whole MTD device size to get bad_peb_limit

2012-08-16 Thread Richard Genoud
2012/8/15 Artem Bityutskiy dedeki...@gmail.com: On Tue, 2012-07-10 at 18:23 +0200, Richard Genoud wrote: + /* we are using here the whole MTD device size and not + * the MTD partition size because the maximum number of + * bad

Re: [PATCH v3] Hardware breakpoints: Invoke __perf_event_disable() if interrupts are already disabled

2012-08-16 Thread Peter Zijlstra
On Wed, 2012-08-15 at 20:42 +0200, Frederic Weisbecker wrote: On Wed, Aug 15, 2012 at 11:07:01PM +0530, Naveen N. Rao wrote: Hi Frederick, Did you get a chance to take a look at this? Regards, Naveen Yeah, I'm ok with the patch. Peter, are you ok with it? Yeah, queued, it. sorry

Re: [PATCH v3 3/3] iio: adc: add new lp8788 adc driver

2012-08-16 Thread Lars-Peter Clausen
On 08/16/2012 09:39 AM, Kim, Milo wrote: Patch v3. (a) Delete unnecessary blank line of description (b) Sort alphabetical order for header (c) Replace udelay() with usleep_range() (d) Change read_raw() in case of scale and offset : result can be calculated as raw * (scaleint + scalepart

[PATCH V3 5/6] GPIO: MIPS: add gpio driver for falcon SoC

2012-08-16 Thread John Crispin
Add driver for GPIO blocks found on Lantiq FALCON SoC. The SoC has 5 banks of up to 32 pads. The GPIO blocks have a per pin IRQs. Signed-off-by: John Crispin blo...@openwrt.org Signed-off-by: Thomas Langer thomas.lan...@lantiq.com Cc: linux-kernel@vger.kernel.org --- Changes in V2 * fix typo in

Re: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api

2012-08-16 Thread Lars-Peter Clausen
On 08/16/2012 09:39 AM, Kim, Milo wrote: This allows the iio consumer to get the offset of the channel. The value of offset can be used when calculating the result such as 'result = raw * scale + offset'. result = (raw + offset) * scale Otherwise it looks good, except for: +/** + *

[PATCH v2 2/5] perf ui/tui: Add tui.h header

2012-08-16 Thread Namhyung Kim
Consolidate TUI-relate header files and declarations into tui.h. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile | 1 + tools/perf/ui/helpline.h | 2 -- tools/perf/ui/tui/helpline.c | 5 + tools/perf/ui/tui/setup.c| 12 +---

Re: [RFC PATCH] mm: introduce N_LRU_MEMORY to distinguish between normal and movable memory

2012-08-16 Thread Hanjun Guo
On 2012/8/14 22:14, Christoph Lameter wrote: On Tue, 14 Aug 2012, Hanjun Guo wrote: N_NORMAL_MEMORY means !LRU allocs possible. Ok. I am fine with that change. However this is a significant change that needs to be mentioned prominently in the changelog and there need to be some comments

Re: [PATCH 1/1] sched: unthrottle rt runqueues in __disable_runtime()

2012-08-16 Thread Peter Zijlstra
On Thu, 2012-08-09 at 15:34 -0700, Peter Boonstoppel wrote: migrate_tasks() uses _pick_next_task_rt() to get tasks from the real-time runqueues to be migrated. When rt_rq is throttled _pick_next_task_rt() won't return anything, in which case migrate_tasks() can't move all threads over and gets

Re: [PATCH 0/4] i2c: tegra: required clock support for controller

2012-08-16 Thread Wolfram Sang
On Wed, Aug 15, 2012 at 10:58:04AM -0600, Stephen Warren wrote: On 08/08/2012 11:57 AM, Stephen Warren wrote: On 08/08/2012 01:51 AM, Laxman Dewangan wrote: The Tegra's i2c controller required two clock sources for proper operation named as div-clk and fast-clk. Adding support to make

[PATCH v2 1/5] perf ui: Introduce struct ui_helpline

2012-08-16 Thread Namhyung Kim
Add struct ui_helpline in order to provide flexible implementation of helpline APIs. And convert existing TUI implementation to use it. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile | 5 ++-- tools/perf/ui/helpline.c | 56

[PATCH v2 5/5] perf ui/gtk: Add perf_gtk__show_helpline() for pr_*

2012-08-16 Thread Namhyung Kim
Use helpline for printing error/debug messages. The code resembles a TUI counter part and only print the first line of the message. Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/gtk/helpline.c | 26 ++

[PATCH v2 4/5] perf ui/gtk: Use helpline API in browser

2012-08-16 Thread Namhyung Kim
As we now have a helpline implementation, use it for displaying help messages. Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/gtk/browser.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/perf/ui/gtk/browser.c

[PATCH v2 3/5] perf ui/gtk: Implement helpline_fns

2012-08-16 Thread Namhyung Kim
Add helpline API implementation to GTK front-end. Cc: Pekka Enberg penb...@kernel.org Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/Makefile | 1 + tools/perf/ui/gtk/gtk.h | 2 ++ tools/perf/ui/gtk/helpline.c | 31 +++

Re: [PATCH 3/4] UBI: use the whole MTD device size to get bad_peb_limit

2012-08-16 Thread Shmulik Ladkani
Hi Artem, Richard, On Wed, 15 Aug 2012 18:08:51 +0300 Artem Bityutskiy dedeki...@gmail.com wrote: 1. Invalid blocks are block that contain one or more bad bits beyond ECC. I would remove this one sentence from the log, it is misleading; invalid blocks are not necessarily related to ECC.

Re: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api

2012-08-16 Thread Lars-Peter Clausen
On 08/16/2012 10:19 AM, Lars-Peter Clausen wrote: On 08/16/2012 09:39 AM, Kim, Milo wrote: This allows the iio consumer to get the offset of the channel. The value of offset can be used when calculating the result such as 'result = raw * scale + offset'. result = (raw + offset) * scale

Re: [PATCH 08/13] fs: limit filesystem stacking depth

2012-08-16 Thread Sedat Dilek
On Thu, Aug 16, 2012 at 10:02 AM, Sedat Dilek sedat.di...@gmail.com wrote: On Wed, Aug 15, 2012 at 5:48 PM, Miklos Szeredi mik...@szeredi.hu wrote: From: Miklos Szeredi mszer...@suse.cz Add a simple read-only counter to super_block that indicates deep this is in the stack of filesystems.

Re: [PATCH 3/4] UBI: use the whole MTD device size to get bad_peb_limit

2012-08-16 Thread Shmulik Ladkani
Hi, One more thing... On Wed, 15 Aug 2012 18:08:51 +0300 Artem Bityutskiy dedeki...@gmail.com wrote: config MTD_UBI_BEB_LIMIT - int Percentage of maximum expected bad eraseblocks - default 2 - range 0 25 + int Maximum expected bad eraseblock count per 1024 eraseblocks +

[PATCH 1/1] fix a compiling error caused by dmar_disabled

2012-08-16 Thread Li, Zhen-Hua
Fix a compiling error caused by dmar_disabled. When CONFIG_INTEL_IOMMU is not defined, dmar_disabled is define as 1, and the codes like dmar_disabled = 1; may cause compiling error. --- Signed-off-by: Li, Zhen-Hua lizhenhua@gmail.com diff -urp a/drivers/iommu/intel-iommu.c

Re: [PATCH 1/2] mtd: lpc32xx_slc: Adjust to pl08x DMA interface changes

2012-08-16 Thread Roland Stigge
Hi, On 08/15/2012 12:37 PM, Artem Bityutskiy wrote: On Thu, 2012-07-12 at 14:22 +0200, Roland Stigge wrote: This patch adjusts the LPC32xx SLC NAND driver to the new pl08x DMA interface, fixing the compile error resulting from changed pl08x structures. Signed-off-by: Roland Stigge

[PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Roland Stigge
This patch fixes the following when compiling a driver module that uses amba-pl08x: ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_slc.ko] undefined! ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_mlc.ko] undefined! (drivers/mtd/nand/lpc32xx_* are still in l2-mtd.git) Done as in:

Re: [PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-space parameter

2012-08-16 Thread Shmulik Ladkani
Hi Richard, Sorry for reviewing this late... On Tue, 10 Jul 2012 18:23:42 +0200 Richard Genoud richard.gen...@gmail.com wrote: -config MTD_UBI_BEB_LIMIT - int Maximum expected bad eraseblocks per 1024 eraseblocks - default 20 - range 2 256 I see some benefit keeping the config.

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Roland Stigge wrote: This patch fixes the following when compiling a driver module that uses amba-pl08x: ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_slc.ko] undefined! ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Russell King - ARM Linux
On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote: This patch fixes the following when compiling a driver module that uses amba-pl08x: ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_slc.ko] undefined! ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_mlc.ko] undefined!

Re: [PATCH v5 00/12] KVM: introduce readonly memslot

2012-08-16 Thread Avi Kivity
On 08/15/2012 08:53 PM, Marcelo Tosatti wrote: On Wed, Aug 15, 2012 at 01:44:14PM +0300, Avi Kivity wrote: On 08/14/2012 06:51 PM, Marcelo Tosatti wrote: Userspace may want to modify the ROM (for example, when programming a flash device). It is also possible to map an hva range rw

Re: [PATCH 1/3] iio: add iio_read_channel_offset() consumer api

2012-08-16 Thread Jonathan Cameron
On 16/08/12 09:19, Lars-Peter Clausen wrote: On 08/16/2012 09:39 AM, Kim, Milo wrote: This allows the iio consumer to get the offset of the channel. The value of offset can be used when calculating the result such as 'result = raw * scale + offset'. result = (raw + offset) * scale Otherwise

Re: [PATCH] dma: amba-pl08x: Export pl08x_filter_id

2012-08-16 Thread Arnd Bergmann
On Thursday 16 August 2012, Russell King - ARM Linux wrote: On Thu, Aug 16, 2012 at 10:56:36AM +0200, Roland Stigge wrote: This patch fixes the following when compiling a driver module that uses amba-pl08x: ERROR: pl08x_filter_id [drivers/mtd/nand/lpc32xx_slc.ko] undefined! ERROR:

Re: [PATCH] mtd: kill MTD_NAND_VERIFY_WRITE

2012-08-16 Thread Huang Shijie
于 2012年08月15日 20:09, Marek Vasut 写道: I'd still prefer for this to be rather fixed. It seems to be able to find some obvious mistakes etc. could you please point out the mistakes? thanks Huang Shijie -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-16 Thread Alex Courbot
On 08/16/2012 04:42 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Aug 16, 2012 at 03:08:55PM +0900, Alexandre Courbot wrote: Some device drivers (panel backlights especially) need to follow precise sequences for powering on and off, involving gpios, regulators, PWMs with a

Re: [PATCH] [media] ddbridge: fix error handling in module_init_ddbridge()

2012-08-16 Thread Mauro Carvalho Chehab
Em 15-08-2012 17:42, Alexey Khoroshilov escreveu: If pci_register_driver() failed, resources allocated in ddb_class_create() are leaked. The patch fixes it. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru ---

Re: suspicious RCU usage in xfrm_net_init()

2012-08-16 Thread Fan Du
Hi, Fengguang Could you please try the below patch, see if spewing still there? thanks From a3f86ecc3ee16ff81d49416bbf791780422988b3 Mon Sep 17 00:00:00 2001 From: Fan Du fan...@windriver.com Date: Thu, 16 Aug 2012 17:31:25 +0800 Subject: [PATCH] Use rcu_dereference_bh to deference pointer

Re: [PATCH] [media] ddbridge: fix error handling in module_init_ddbridge()

2012-08-16 Thread Mauro Carvalho Chehab
Em 16-08-2012 06:26, Mauro Carvalho Chehab escreveu: Em 15-08-2012 17:42, Alexey Khoroshilov escreveu: If pci_register_driver() failed, resources allocated in ddb_class_create() are leaked. The patch fixes it. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by:

Re: [PATCH 1/4] cputime: Generalize CONFIG_VIRT_CPU_ACCOUNTING

2012-08-16 Thread Benjamin Herrenschmidt
On Thu, 2012-08-16 at 09:53 +0200, Martin Schwidefsky wrote: Hmm, ok. But then the description should be reworded not to be specific to the power architecture (the part of the message about This also enables accounting of stolen time on logically-partitioned systems running on IBM POWER5-based

Re: [PATCH v4 1/3] Runtime Interpreted Power Sequences

2012-08-16 Thread Thierry Reding
On Thu, Aug 16, 2012 at 06:19:08PM +0900, Alex Courbot wrote: On 08/16/2012 04:42 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Thu, Aug 16, 2012 at 03:08:55PM +0900, Alexandre Courbot wrote: [...] +Usage by Drivers and Resources Management

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-16 Thread Michal Hocko
On Wed 15-08-12 18:27:45, Glauber Costa wrote: I see now, you seem to be right. No I am not because it seems that I am really blind these days... We were doing this in mem_cgroup_do_charge for ages: if (!(gfp_mask __GFP_WAIT)) return CHARGE_WOULDBLOCK;

Re: [PATCH RFC] sched: Make migration_call() safe for stop_machine()-free hotplug

2012-08-16 Thread Peter Zijlstra
On Wed, 2012-07-25 at 14:51 -0700, Paul E. McKenney wrote: The CPU_DYING branch of migration_call() relies on the fact that CPU-hotplug offline operations use stop_machine(). This commit therefore attempts to remedy this situation by acquiring the relevant runqueue locks. Note that

Re: awful kconfig help texts.

2012-08-16 Thread Thierry Reding
On Tue, Jul 31, 2012 at 07:07:41PM +0200, Borislav Petkov wrote: On Tue, Jul 31, 2012 at 11:16:00AM -0400, Dave Jones wrote: PWM Support (PWM) [N/y/?] (NEW) ? CONFIG_PWM: This enables PWM support through the generic PWM framework. Well that's.. enlightening. Oh, there's

Re: [discussion]sched: a rough proposal to enable power saving in scheduler

2012-08-16 Thread Alex Shi
On 08/16/2012 02:53 PM, preeti wrote: Hi everyone, From what I have understood so far,I try to summarise pin pointed differences between the performance and power policies as found relevant to the scheduler-load balancing mechanism.Any thoughts? Currently, the load_balance trigger will

Re: [PATCH v2 06/11] memcg: kmem controller infrastructure

2012-08-16 Thread Glauber Costa
On 08/16/2012 01:53 PM, Michal Hocko wrote: On Wed 15-08-12 18:27:45, Glauber Costa wrote: I see now, you seem to be right. No I am not because it seems that I am really blind these days... We were doing this in mem_cgroup_do_charge for ages: if (!(gfp_mask __GFP_WAIT))

Re: [PATCH v2 03/31] arm64: Exception handling

2012-08-16 Thread Will Deacon
On Wed, Aug 15, 2012 at 02:03:47PM +0100, Arnd Bergmann wrote: On Tuesday 14 August 2012, Catalin Marinas wrote: +#ifdef CONFIG_AARCH32_EMULATION +#define compat_thumb_mode(regs) \ + (((regs)-pstate COMPAT_PSR_T_BIT)) +#else +#define compat_thumb_mode(regs) (0) +#endif The

[PATCH 2/8] exofs: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Remove lock and unlock super operation. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/exofs/super.c linux-3.6-rc1/fs/exofs/super.c --- linux-3.6-rc1-orig/fs/exofs/super.c 2012-08-16 09:37:31.0

[PATCH 0/8] remove lock and unlock super

2012-08-16 Thread Marco Stornelli
Hi all, I'm trying to remove the functions lock_super/unlock_super and to push the lock into each single fs. Currently these fs use these functions: ext3, ext4, fat, hpfs, exofs, sysv, ufs. At the moment I used the more conservative approach, I created a new mutex s_lock in the private sb

Re: linux-next: build failure after merge of the final tree (hid tree related)

2012-08-16 Thread Jiri Kosina
On Thu, 16 Aug 2012, Stephen Rothwell wrote: After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: drivers/hid/hid-picolcd_fb.c: In function 'picolcd_fb_destroy': drivers/hid/hid-picolcd_fb.c:350:2: error: implicit declaration of function 'vfree'

[PATCH 1/8] vfs: remove lock and unlock functions for super block

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Remove lock_super and unlock_super from VFS. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/super.c linux-3.6-rc1/fs/super.c --- linux-3.6-rc1-orig/fs/super.c 2012-08-16 09:37:35.0 +0200

[PATCH 3/8] ext3: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Replaced lock and unlock super with a new fs mutex s_lock. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/ext3/ext3.h linux-3.6-rc1/fs/ext3/ext3.h --- linux-3.6-rc1-orig/fs/ext3/ext3.h 2012-08-16

Re: [PATCH 4/4] UBI: replace MTD_UBI_BEB_LIMIT with user-space parameter

2012-08-16 Thread Richard Genoud
2012/8/16 Shmulik Ladkani shmulik.ladk...@gmail.com: Hi Richard, Sorry for reviewing this late... On Tue, 10 Jul 2012 18:23:42 +0200 Richard Genoud richard.gen...@gmail.com wrote: -config MTD_UBI_BEB_LIMIT - int Maximum expected bad eraseblocks per 1024 eraseblocks - default 20

Re: [PATCH 07/13] overlay: overlay filesystem documentation

2012-08-16 Thread Miklos Szeredi
J. Bruce Fields bfie...@fieldses.org writes: Sorry, just trivial typos: Thanks, fixed. Miklos -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please

[PATCH 4/8] ext4: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Replaced lock and unlock super with a new fs mutex s_lock. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/ext4/ext4.h linux-3.6-rc1/fs/ext4/ext4.h --- linux-3.6-rc1-orig/fs/ext4/ext4.h 2012-08-16

Re: [PATCH 01/13] vfs: add i_op-open()

2012-08-16 Thread Miklos Szeredi
NeilBrown ne...@suse.de writes: On Wed, 15 Aug 2012 13:21:50 -0400 J. Bruce Fields bfie...@fieldses.org wrote: On Wed, Aug 15, 2012 at 05:48:08PM +0200, Miklos Szeredi wrote: From: Miklos Szeredi mszer...@suse.cz Add a new inode operation i_op-open(). This is for stacked Shouldn't

[PATCH 5/8] fat: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Replaced lock and unlock super with a new fs mutex s_lock. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/fat/dir.c linux-3.6-rc1/fs/fat/dir.c --- linux-3.6-rc1-orig/fs/fat/dir.c 2012-08-16

[PATCH 6/8] hpfs: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Rmoved lock and unlock super functions. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/hpfs/super.c linux-3.6-rc1/fs/hpfs/super.c --- linux-3.6-rc1-orig/fs/hpfs/super.c 2012-08-16 09:37:32.0

[PATCH 7/8] sysv: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Replaced lock and unlock super with a new fs mutex s_lock. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/sysv/balloc.c linux-3.6-rc1/fs/sysv/balloc.c --- linux-3.6-rc1-orig/fs/sysv/balloc.c

[PATCH 8/8] ufs: remove lock/unlock super

2012-08-16 Thread Marco Stornelli
From: Marco Stornelli marco.storne...@gmail.com Replaced lock and unlock super with a new fs mutex s_lock. Signed-off-by: Marco Stornelli marco.storne...@gmail.com --- diff -Nurp linux-3.6-rc1-orig/fs/ufs/balloc.c linux-3.6-rc1/fs/ufs/balloc.c --- linux-3.6-rc1-orig/fs/ufs/balloc.c 2012-08-16

  1   2   3   4   5   6   7   8   9   10   >