[PATCH v1 6/7] xen-blkback: expand map/unmap functions

2013-03-27 Thread Roger Pau Monne
Preparatory change for implementing indirect descriptors. Change xen_blkbk_{map/unmap} in order to be able to map/unmap a random amount of grants (previously it was limited to BLKIF_MAX_SEGMENTS_PER_REQUEST). Also, remove the usage of pending_req in the map/unmap functions, so we can map/unmap

[PATCH v1 5/7] xen-blkback: make the queue of free requests per backend

2013-03-27 Thread Roger Pau Monne
Remove the last dependency from blkbk by moving the list of free requests to blkif. This change reduces the contention on the list of available requests. Signed-off-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: xen-de...@lists.xen.org --- Changes

[PATCH v1 1/7] xen-blkback: print stats about persistent grants

2013-03-27 Thread Roger Pau Monne
Signed-off-by: Roger Pau Monné roger@citrix.com Cc: xen-de...@lists.xen.org Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com --- drivers/block/xen-blkback/blkback.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/block/xen-blkback/blkback.c

Re: [PATCH v2 6/6] [RFC] arm: use PSCI if available

2013-03-27 Thread Stefano Stabellini
On Tue, 26 Mar 2013, Nicolas Pitre wrote: On Tue, 26 Mar 2013, Arnd Bergmann wrote: On Tuesday 26 March 2013, Will Deacon wrote: They can even base the implementation of their smp_ops on the current psci code, in order to facilitate that I could get rid of psci_ops (which

[PATCH] phy: Elimination the forced speed reduction algorithm.

2013-03-27 Thread Kirill Kapranov
In case of fixed speed set up for a NIC (e.g. ethtool -s eth0 autoneg off speed 100 duplex full) with an ethernet cable plugged off, the mentioned algorithm slows down a NIC speed, so further cable hook-up leads to nonoperable link state. Signed-off-by: Kirill Kapranov kapran...@inbox.ru ---

[PATCH] staging: rtl8192u: fix coding style

2013-03-27 Thread Haksu Jeong
Fix coding style of r8192U_dm.h Signed-off-by: Haksu Jeong hsje...@snu.ac.kr --- drivers/staging/rtl8192u/r8192U_dm.h | 77 +++--- 1 file changed, 34 insertions(+), 43 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U_dm.h

Re: [PATCH -mm -next] ipc,sem: fix lockdep false positive

2013-03-27 Thread Michel Lespinasse
On Wed, Mar 27, 2013 at 1:42 AM, Peter Zijlstra pet...@infradead.org wrote: On Tue, 2013-03-26 at 11:19 -0400, Rik van Riel wrote: Maybe something like: void sma_lock(struct sem_array *sma) /* global */ { int i; sma-global_locked = 1; smp_wmb(); /* can we merge

Re: [PATCH v4] clk: allow reentrant calls into the clk framework

2013-03-27 Thread Thomas Gleixner
On Wed, 27 Mar 2013, Mike Turquette wrote: +/*** locking reentrancy ***/ + +static void clk_fwk_lock(void) This function name sucks as much as the whole implementation does. +{ + /* hold the framework-wide lock, context == NULL */ + mutex_lock(prepare_lock); + + /* set

Re: [GIT PULL] at91: fixes for 3.9-rc #2

2013-03-27 Thread Nicolas Ferre
On 03/26/2013 12:05 PM, Arnd Bergmann : On Tuesday 26 March 2013, Nicolas Ferre wrote: Indeed, at first sight its looks like a nice solution. But I wonder if we add several nodes in this kind of .dtsi files, we may end up with mess between APB peripherals and board specific ones like leds,

Re: [PATCH v3] gpio: mcp23s08: convert driver to DT

2013-03-27 Thread Lars Poeschel
On Friday 22 March 2013 at 09:33:10, Linus Walleij wrote: +++ b/Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt @@ -0,0 +1,43 @@ +Microchip MCP2308/MCP23S08/MCP23017/MCP23S17 driver for +8-/16-bit I/O expander with serial interface (I2C/SPI) + +Required properties: +-

[PATCH 2/2] extcon: max8997: Fix return value

2013-03-27 Thread Sachin Kamat
Return the value obtained from the function instead of hardcoding. drivers/extcon/extcon-max8997.c:235 max8997_muic_set_path() info: why not propagate 'ret' from max8997_update_reg() instead of (-11)? drivers/extcon/extcon-max8997.c:248 max8997_muic_set_path() info: why not propagate 'ret' from

Re: [PATCH V3 2/4] cpufreq: governor: Implement per policy instances of governors

2013-03-27 Thread Viresh Kumar
On 27 March 2013 15:34, Viresh Kumar viresh.ku...@linaro.org wrote: I am still stuck at a issue, which i am not able to fix. - cat of */cpufreq/ondemand/** isn't showing anything on console, but all pointers are correctly set and i can see the right values with printk() The culprit is the

Re: [RFC] fsfreeze: moving from uniterruptible to killable

2013-03-27 Thread Marco Stornelli
2013/3/26 Jan Kara j...@suse.cz: On Sun 24-03-13 10:10:59, Marco Stornelli wrote: When a fs is frozen, a process can hang because we wait in uniterruptible state. We give the user the possibility to kill the process. Yes, but it needs slightly more work as you probably know... (bailing out

[PATCH 1/2] extcon: max77693: Fix return value

2013-03-27 Thread Sachin Kamat
Return the value obtained from the function instead of hardcoding. Silences the following warning: drivers/extcon/extcon-max77693.c:297 max77693_muic_set_path() info: why not propagate 'ret' from max77693_update_reg() instead of (-11)? drivers/extcon/extcon-max77693.c:310 max77693_muic_set_path()

[char-misc-next 2/2 V2] mei: drop RECOVERING_FROM_RESET device state

2013-03-27 Thread Tomas Winkler
ECOVERING_FROM_RESET device state is never set we can remove it Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- v2: rebased over char-misc-next: 8c876be81a1f2f0ab33ffb2b00871e65c7a658b3 drivers/misc/mei/init.c| 4 drivers/misc/mei/mei_dev.h | 1 - 2 files changed, 5

[PATCH v2 04/18] n_tty: Factor canonical mode copy from n_tty_read()

2013-03-27 Thread Peter Hurley
Simplify n_tty_read(); extract complex copy algorithm into separate function, canon_copy_to_user(). Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 95 - 1 file changed, 57 insertions(+), 38 deletions(-) diff

[PATCH v2 06/18] n_tty: Split n_tty_chars_in_buffer() for reader-only interface

2013-03-27 Thread Peter Hurley
N_TTY .chars_in_buffer() method requires serialized access if the current thread is not the single-consumer, n_tty_read(). Separate the internal interface; prepare for lockless read-side. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 11 --- 1 file

[PATCH v2 08/18] n_tty: Get read_cnt through accessor

2013-03-27 Thread Peter Hurley
Prepare for replacing read_cnt field with computed value. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 41 +++-- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index

[PATCH v2 09/18] n_tty: Don't wrap input buffer indices at buffer size

2013-03-27 Thread Peter Hurley
Wrap read_buf indices (read_head, read_tail, canon_head) at max representable value, instead of at the N_TTY_BUF_SIZE. This step is necessary to allow lockless reads of these shared variables (by updating the variables atomically). Signed-off-by: Peter Hurley pe...@hurleysoftware.com ---

[PATCH v2 05/18] n_tty: Line copy to user buffer in canonical mode

2013-03-27 Thread Peter Hurley
Instead of pushing one char per loop, pre-compute the data length to copy and copy all at once. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 110 1 file changed, 77 insertions(+), 33 deletions(-) diff --git

[PATCH v2 07/18] tty: Deprecate ldisc .chars_in_buffer() method

2013-03-27 Thread Peter Hurley
Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 51b08d9..446674e 100644 --- a/drivers/tty/n_tty.c +++ b/drivers/tty/n_tty.c @@ -319,6 +319,7 @@ static ssize_t

[PATCH v2 03/18] tty: Simplify tty buffer/ldisc interface with helper function

2013-03-27 Thread Peter Hurley
Ldisc interface functions must be called with interrupts enabled. Separating the ldisc calls into a helper function simplies the spin lock management. Update the buffer's read index _after_ the data has been received by the ldisc. Signed-off-by: Peter Hurley pe...@hurleysoftware.com ---

[PATCH v2 00/18] lockless n_tty receive path

2013-03-27 Thread Peter Hurley
** v2 changes ** - Rebased on top of 'tty: Fix race condition if flushing tty flip buffers' - I forgot to mention; this is ~35% faster on end-to-end tests on SMP. This patchset implements lockless receive from tty flip buffers to the n_tty read buffer and lockless copy into the user-space read

[PATCH v2 01/18] tty: Don't change receive_room for ioctl(TIOCSETD)

2013-03-27 Thread Peter Hurley
tty_set_ldisc() is guaranteed exclusive use of the line discipline by tty_ldisc_lock_pair_timeout(); shutting off input by resetting receive_room is unnecessary. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/tty_ldisc.c | 3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH v2 02/18] tty: Make ldisc input flow control concurrency-friendly

2013-03-27 Thread Peter Hurley
Although line discipline receiving is single-producer/single-consumer, using tty-receive_room to manage flow control creates unnecessary critical regions requiring additional lock use. Instead, introduce the optional .receive_room() ldisc method which returns the maximum # of bytes the

Re: [PATCH v2 00/18] lockless n_tty receive path

2013-03-27 Thread Peter Hurley
On Wed, 2013-03-27 at 07:43 -0400, Peter Hurley wrote: ** v2 changes ** - Rebased on top of 'tty: Fix race condition if flushing tty flip buffers' - I forgot to mention; this is ~35% faster on end-to-end tests on SMP. And adds Ilya's suggestions for cleaning up 'tty: Simplify tty buffer/ldisc

[Suggestion] ARM64:kernel: compiling issue for early_console.

2013-03-27 Thread Chen Gang
Hello Maintainers: it is a compiling issue for early_console. the make command: make V=1 EXTRA_CFLAGS=-W ARCH=arm64 allmodconfig make V=1 EXTRA_CFLAGS=-W ARCH=arm64 menuconfig set aarch64-linux-gnu- for tool chain prefix. make V=1 EXTRA_CFLAGS=-W ARCH=arm64 the error

[PATCH v2 17/18] n_tty: Don't wait for buffer work in read() loop

2013-03-27 Thread Peter Hurley
User-space read() can run concurrently with receiving from device; waiting for receive_buf() to complete is not required. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c

[PATCH v2 14/18] n_tty: Make N_TTY ldisc receive path lockless

2013-03-27 Thread Peter Hurley
n_tty has a single-producer/single-consumer input model; use lockless publish instead. Use termios_rwsem to exclude both consumer and producer while changing or resetting buffer indices, eg., when flushing. Also, claim exclusive termios_rwsem to safely retrieve the buffer indices from a thread

[PATCH v2 13/18] n_tty: Replace canon_data with index comparison

2013-03-27 Thread Peter Hurley
canon_data represented the # of lines which had been copied to the receive buffer but not yet copied to the user buffer. The value was tested to determine if input was available in canonical mode (and also to force input overrun if the receive buffer was full but a newline had not been received).

[PATCH v2 12/18] n_tty: Access termios values safely

2013-03-27 Thread Peter Hurley
Use termios_rwsem to guarantee safe access to the termios values. This is particularly important for N_TTY as changing certain termios settings alters the mode of operation. termios_rwsem must be dropped across throttle/unthrottle since those functions claim the termios_rwsem exclusively (to

[PATCH v2 16/18] n_tty: Fix type mismatches in receive_buf raw copy

2013-03-27 Thread Peter Hurley
Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-) diff --git a/drivers/tty/n_tty.c b/drivers/tty/n_tty.c index 9d7badc..68445c7 100644 --- a/drivers/tty/n_tty.c +++

[PATCH v2 10/18] n_tty: Remove read_cnt

2013-03-27 Thread Peter Hurley
Storing the read_cnt creates an unnecessary shared variable between the single-producer (n_tty_receive_buf()) and the single-consumer (n_tty_read()). Compute read_cnt from head tail instead of storing. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/tty/n_tty.c | 15

[PATCH v2 18/18] n_tty: Separate buffer indices to prevent cache-line sharing

2013-03-27 Thread Peter Hurley
If the read buffer indices are in the same cache-line, cpus will contended over the cache-line (so called 'false sharing'). Separate the producer-published fields from the consumer-published fields; document the locks relevant to each field. Signed-off-by: Peter Hurley pe...@hurleysoftware.com

[PATCH v2 15/18] n_tty: Reset lnext if canonical mode changes

2013-03-27 Thread Peter Hurley
lnext escapes the next input character as a literal, and must be reset when canonical mode changes (to avoid misinterpreting a special character as a literal if canonical mode is changed back again). lnext is specifically not reset on a buffer flush so as to avoid misinterpreting the next input

[PATCH v2 11/18] tty: Convert termios_mutex to termios_rwsem

2013-03-27 Thread Peter Hurley
termios is commonly accessed unsafely (especially by N_TTY) because the existing mutex forces exclusive access. Convert existing usage. Signed-off-by: Peter Hurley pe...@hurleysoftware.com --- drivers/net/irda/irtty-sir.c | 8 ++-- drivers/tty/n_tty.c | 2 +- drivers/tty/pty.c

Re: btrfs GPF in read_extent_buffer() while scrubbing with kernel 3.4.2

2013-03-27 Thread Stefan Behrens
On Tue, 3 Jul 2012 02:01:21 +0300, Sami Liedes wrote: Hi, I just got this oops on a computer running 3.4.2. A few minutes before I had started btrfs device scrub / and had a watcher process running btrfs scrub status / every 5 seconds. After a few gigabytes of scrubbing, I got this crash.

Re: [Suggestion] ARM64:kernel: compiling issue for early_console.

2013-03-27 Thread Catalin Marinas
On Wed, Mar 27, 2013 at 11:44:03AM +, Chen Gang wrote: the error message: arch/arm64/kernel/early_printk.c: At top level: arch/arm64/kernel/early_printk.c:98:23: error: conflicting types for ‘early_console’ In file included from arch/arm64/kernel/early_printk.c:20:0:

Re: [PATCH 0/1] drm/i915: Allow specifying a minimum brightness level for sysfs control.

2013-03-27 Thread Danny Baumann
Hi, Well, the ACPI spec says this (section B.5.2): The OEM may define the number 0 as Zero brightness that can mean to turn off the lighting (e.g. LCD panel backlight) in the device. This may be useful in the case of an output device that can still be viewed using only ambient light, for

Re: [PATCH v2] wait while adding MMC host to ensure root mounts

2013-03-27 Thread Chris Ball
Hi, On Wed, Mar 27 2013, Ulf Hansson wrote: I noticed you merged this. I thought the idea was to use the rootwait or rootdelay? That's necessary before the patch, but it would be better if we didn't have to pass rootwait, all else being equal. Moreover, this patch will have bad impact on

Re: [PATCH 1/1] drivers/gpio: Altera soft IP GPIO driver

2013-03-27 Thread Linus Walleij
On Tue, Mar 12, 2013 at 6:37 AM, th...@altera.com wrote: From: Tien Hock Loh th...@altera.com Adds a new driver for Altera soft GPIO IP. The driver is able to do read/write and allows GPIO to be a interrupt controller. Tested on Altera GHRD on interrupt handling and IO. Signed-off-by:

Re: [PATCH v9 RESEND 0/4] Add generic driver for on-chip SRAM

2013-03-27 Thread Shawn Guo
On Wed, Mar 27, 2013 at 09:33:34AM +0100, Philipp Zabel wrote: Am Mittwoch, den 20.03.2013, 11:52 +0100 schrieb Philipp Zabel: Hi, last time I posted was a bit close to the merge window, so I'm reposting now. Greg, Arnd, could you take the first two patches? Ping, can I do anything to

Re: [PATCH -mm -next] ipc,sem: fix lockdep false positive

2013-03-27 Thread Peter Zijlstra
On Wed, 2013-03-27 at 04:22 -0700, Michel Lespinasse wrote: Not without breaking your scheme above :) How would making sma-global_lock a mutex wreck anything? I don't remember the details (rik probably will), but rcu is also already involved, so there is a non trivial chance that it

Re: [Suggestion] ARM64:kernel: compiling issue for early_console.

2013-03-27 Thread Chen Gang
On 2013年03月27日 19:55, Catalin Marinas wrote: On Wed, Mar 27, 2013 at 11:44:03AM +, Chen Gang wrote: the error message: arch/arm64/kernel/early_printk.c: At top level: arch/arm64/kernel/early_printk.c:98:23: error: conflicting types for ‘early_console’ In file included

Re: [PATCH] powerpc: remove PReP

2013-03-27 Thread Geert Uytterhoeven
On Wed, Mar 27, 2013 at 11:47 AM, Paul Bolle pebo...@tiscali.nl wrote: 3) I removed two files in documentation that are almost entirely PReP specific. The remaining lines looked uninteresting. --- a/Documentation/powerpc/sound.txt +++ /dev/null -2. IBM CHRP - - I have only tested this on

Re: [PATCH] scripts/tags.sh: Add magic for OFFSET and DEFINE

2013-03-27 Thread Kirill Tkhai
27.03.2013, 01:35, Michal Marek mma...@suse.cz: On Sat, Mar 23, 2013 at 02:58:20PM +0400, Kirill Tkhai wrote:  Add rules for definitions which is generally used in asm-offsets files.  Signed-off-by: Kirill V Tkhai tk...@yandex.ru  CC: Michal Marek mma...@suse.cz  CC: Andrew Morton

[PATCH 2/2] ethernet: dm9000 driver: davicom: upgrade driver: 3rd trial patch2

2013-03-27 Thread Joseph CHANG
Fixing bug for DM9000B(DSP) patch2 Tested to Davicom DM9000E, DM9000A, DM9000B(DSP), and DM9000C(DSP) patch2 Signed-off-by: Joseph CHANG josright...@gmail.com --- drivers/net/ethernet/davicom/dm9000.c | 26 -- 1 files changed, 12 insertions(+), 14 deletions(-) diff

[PATCH 1/2] ethernet: dm9000 driver: davicom: upgrade driver: 3rd trial

2013-03-27 Thread Joseph CHANG
Fixing bug for DM9000B(DSP) which is a DSP revision! 3rd trial. Tested to Davicom DM9000 series include DM9000E(analog), DM9000A(analog), DM9000B(DSP), and DM9000C(DSP) in X86 and ARM Embedded Linux these years. Signed-off-by: Joseph CHANG josright...@gmail.com ---

Re: ptracing a task from core_pattern pipe

2013-03-27 Thread Denys Vlasenko
On 03/27/2013 04:26 AM, Daniel Walker wrote: On Mon, Mar 25, 2013 at 10:48:07AM +0100, Denys Vlasenko wrote: On 03/19/2013 09:19 PM, Oleg Nesterov wrote: The above is regarding the situation which I'm running my corepipe_app , i.e. my system doesn't have a disk to save a core file for parsing.

Re: [PATCH] [TRIVIAL] Fix typo CONFIG_CGROUP_CGROUP_MEMCG_SWAP

2013-03-27 Thread Jiri Kosina
On Mon, 25 Mar 2013, Paul Bolle wrote: Signed-off-by: Paul Bolle pebo...@tiscali.nl --- Documentation/cgroups/memory.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/cgroups/memory.txt b/Documentation/cgroups/memory.txt index 8b8c28b..17b91e0 100644

[PATCH] sparc:remove unused declaration smp_boot_cpus()

2013-03-27 Thread Kefeng Wang
smp_boot_cpus() was replaced smp_prepare_cpus() long ago, and it no longer needed, so delete it. Signed-off-by: Kefeng Wang wangkefeng.w...@huawei.com --- arch/sparc/include/asm/smp_32.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/arch/sparc/include/asm/smp_32.h

RE: [PATCH] mmc: dw_mmc: rewrite CLKDIV computation

2013-03-27 Thread Seungwon Jeon
On Wednesday, March 27, 2013, Grant Grundler wrote: Last year Seungwon Jeon (Samsung) fixed a bug in CLKDIV computation. For easily identifying, it would be good to point the commit id and subject. But when debugging a related issue (http://crbug.com/221828) I found It is not easy to catch up

Re: [PATCH] at24: extend driver to allow writing via i2c_smbus_write_byte_data

2013-03-27 Thread Christian Gmeiner
2013/1/24 Wolfram Sang w.s...@pengutronix.de: On Wed, Dec 19, 2012 at 05:07:09PM +0100, Christian Gmeiner wrote: I have a at24 EEPROM connected via i2c bus provided by ISCH i2c bus driver. This bus driver does not support I2C_FUNC_SMBUS_WRITE_I2C_BLOCK and so I was looking for a way to be

Re: [PATCH v2] wait while adding MMC host to ensure root mounts

2013-03-27 Thread Сергей Янович
Hi Ulf, On 27 March 2013 15:13, Ulf Hansson ulf.hans...@linaro.org wrote: Moreover, this patch will have bad impact on booting the kernel, since every host device that has scheduled a detect work from it's probe function will also wait for it to finish. Even if it is the boot device of not.

Re: [PATCH 1/1 v1] the recommended crash memory reservation is too small for x86_64.

2013-03-27 Thread Simon Horman
On Mon, Mar 25, 2013 at 06:56:49PM +0800, zhouzho...@gmail.com wrote: From: root root@zzy-Lenovo.(none) The above line is bogus. On Documentation/kdump/kdump.txt, section Boot into System Kernel: On x86 and x86_64, use crashkernel=64M@16M, but some OSes like ubuntu 12.10 use ram fs

Re: [PATCH 00/03] gpio: Renesas R-Car GPIO driver update

2013-03-27 Thread Linus Walleij
On Tue, Mar 19, 2013 at 4:36 AM, Magnus Damm magnus.d...@gmail.com wrote: On Thu, Mar 14, 2013 at 10:13 PM, Laurent Pinchart laurent.pinch...@ideasonboard.com wrote: When submitting new drivers I usually try not to make the development history visible to mainline. It brings little additional

Re: [PATCH 0/1] drm/i915: Allow specifying a minimum brightness level for sysfs control.

2013-03-27 Thread Alex Deucher
On Wed, Mar 27, 2013 at 7:56 AM, Danny Baumann dannybaum...@web.de wrote: Hi, Well, the ACPI spec says this (section B.5.2): The OEM may define the number 0 as Zero brightness that can mean to turn off the lighting (e.g. LCD panel backlight) in the device. This may be useful in the case

[PATCH] serial: 8250_dw: add support for clk api

2013-03-27 Thread Maxime Ripard
From: Emilio López emi...@elopez.com.ar This commit implements support for using the clk api; this lets us use the clocks property with device tree, instead of having to use clock-frequency. Signed-off-by: Emilio López emi...@elopez.com.ar --- drivers/tty/serial/8250/8250_dw.c | 33

Re: [PATCH 01/10] gpio: gpiolib-of.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:15 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpiolib-of.c:64: ERROR: code indent should use tabs where possible Signed-off-by: Laurent Navet laurent.na...@gmail.com Applied. Thanks! Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH 09/14] fuse: Implement writepages and write_begin/write_end callbacks - v2

2013-03-27 Thread Maxim V. Patlasov
Hi Miklos, 01/30/2013 03:08 AM, Miklos Szeredi пишет: On Fri, Jan 25, 2013 at 7:25 PM, Maxim V. Patlasov mpatla...@parallels.com wrote: The .writepages one is required to make each writeback request carry more than one page on it. Changed in v2: - fixed fuse_prepare_write() to avoid reads

Re: [PATCH 02/10] gpio: gpio-mvebu.c: fix checkpatch errors

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:15 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-mvebu.c:120: ERROR: space required before the open parenthesis '(' gpio/gpio-mvebu.c:136: ERROR: space required before the open parenthesis '(' gpio/gpio-mvebu.c:154: ERROR: space required before

Re: [PATCH 03/10] gpio: gpio-omap.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:15 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-omap.c:697: ERROR: space required before the open parenthesis '(' Signed-off-by: Laurent Navet laurent.na...@gmail.com Applied with Santosh's ACK. Yours, Linus Walleij -- To unsubscribe from this

Re: [PATCH 04/10] gpio: gpio-pca953x.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:15 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-pca953x.c:150: ERROR: else should follow close brace '}' Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch applied. Thanks! Linus Walleij -- To unsubscribe from this list: send the line

Re: [PATCH] powerpc: remove PReP

2013-03-27 Thread Paul Bolle
On Wed, 2013-03-27 at 13:05 +0100, Geert Uytterhoeven wrote: This section is CHRP-specific. The cs4232 driver also worked on the CHRP LongTrail. But I don't remember if the parameter values above also applied to LongTrail. I do remember it didn't work without specifing the right parameters, so

Re: [PATCH 05/10] gpio: gpio-pxa.c: fix checkpatch errors

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:15 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-pxa.c:605: ERROR: space required after that ',' (ctx:VxV) gpio/gpio-pxa.c:672: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch

Re: [PATCH 06/10] gpio: gpio-sch.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:16 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-sch.c:206: ERROR: switch and case should be at the same indent Also remove blank lines Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch applied. Thanks! Linus Walleij -- To unsubscribe

Re: [PATCH 07/10] gpio: gpio-stp-xway.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:16 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-stp-xway.c:220: ERROR: trailing whitespace Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch applied. Thanks! Linus Walleij -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 08/10] gpio: gpio-tc3589x.c: fix checkpatch errors

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:16 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-tc3589x.c:285: ERROR: code indent should use tabs where possible gpio/gpio-tc3589x.c:286: ERROR: code indent should use tabs where possible gpio/gpio-tc3589x.c:287: ERROR: code indent should use

Re: [PATCH 09/10] gpio: gpio-timberdale.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:16 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-timberdale.c:171: ERROR: else should follow close brace '}' Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch applied. Thanks! Linus Walleij -- To unsubscribe from this list: send the

Re: [PATCH 10/10] gpio: gpio-tps65910.c: fix checkpatch error

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 1:16 PM, Laurent Navet laurent.na...@gmail.com wrote: Fix : gpio/gpio-tps65910.c:136: ERROR: space required before the open parenthesis '(' Signed-off-by: Laurent Navet laurent.na...@gmail.com Patch applied. Thanks! Linus Walleij -- To unsubscribe from this list:

Re: [RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-27 Thread Linus Walleij
On Wed, Mar 20, 2013 at 9:05 PM, Thomas Petazzoni thomas.petazz...@free-electrons.com wrote: What is the status of the below patch? Both Marvell PCIe driver and Tegra PCIe driver need a way to parse the ranges = ... property of the PCI DT node. Would it be possible to get this patch merged

[PATCH v3] [RFC] arm: use PSCI if available

2013-03-27 Thread Stefano Stabellini
Check for the presence of PSCI before setting smp_ops, use PSCI if it is available. This is useful because at least when running on Xen it's possible to have a PSCI node for example on a Versatile Express or an Exynos5 machine. In these cases the PSCI SMP calls should be the ones to be called.

Re: ata: HDIO_DRIVE_* ioctl() Linux 3.9 regression

2013-03-27 Thread Krzysztof Mazur
On Mon, Mar 25, 2013 at 06:26:50PM +0100, Ronald wrote: In reply to [1]: I have the same issue. Git bisect took 50+ rebuilds xD Smartd does not work anymore since 84a9a8cd9 ([libata] Set proper SK when CK_COND is set.). I hope I'm not stepping on anyone's toe's by chosing the same title.

Re: [PATCH] mfd: ab8500-core: Ignore masked out interrupts

2013-03-27 Thread Linus Walleij
On Thu, Mar 21, 2013 at 2:49 PM, Fabio Baltieri fabio.balti...@linaro.org wrote: AB8500 asserts LATCH bits for masked out interrupts. This patch explicitly masks those out using the cached mask value to prevent handle_nested_irq() being called for masked IRQ on the same register as unmasked

Re: [RFC PATCH v2] of/pci: Provide support for parsing PCI DT ranges property

2013-03-27 Thread Thomas Petazzoni
Dear Linus Walleij, On Wed, 27 Mar 2013 13:50:09 +0100, Linus Walleij wrote: Would it be possible to get this patch merged for 3.10, or get some review comments that would allow us to rework it in time for 3.10 ? Thomas can you supply a Reviewed-by/Tested-by tag? That certainly helps...

Re: [PATCH] powerpc: remove PReP

2013-03-27 Thread Paul Bolle
By the way, I get bounces from Adam's address: I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster If you do so, please include this problem report. You can delete

Re: [PATCH 0/1] drm/i915: Allow specifying a minimum brightness level for sysfs control.

2013-03-27 Thread Danny Baumann
Hi, Well, the ACPI spec says this (section B.5.2): The OEM may define the number 0 as Zero brightness that can mean to turn off the lighting (e.g. LCD panel backlight) in the device. This may be useful in the case of an output device that can still be viewed using only ambient light, for

Re: [PATCH v3 3/9] gpio: mvebu: convert to usage of *pmask_cache within irq_chip_type

2013-03-27 Thread Linus Walleij
On Thu, Mar 21, 2013 at 6:12 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: Since we have now introduced pmask_cache within irq_chip_type to also handle per-chip-type mask registers, convert gpio-mvebu driver to use this new pointer. Signed-off-by: Gerlando Falauto

Re: [PATCH v3b 8/9] orion-gpio: enable IRQ_GC_SEPARATE_MASK_REGISTERS

2013-03-27 Thread Linus Walleij
On Thu, Mar 21, 2013 at 6:12 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: enable handling of separate mask registers for Orion SoC GPIOs, fixing indeed the regression introduced by e59347a arm: orion: Use generic irq chip. Reported-by: Joey Oravec jora...@drewtech.com

Re: [PATCH v3b 9/9] gpio: mvebu: enable IRQ_GC_SEPARATE_MASK_REGISTERS

2013-03-27 Thread Linus Walleij
On Thu, Mar 21, 2013 at 6:12 PM, Gerlando Falauto gerlando.fala...@keymile.com wrote: enable handling of separate mask registers for all three SoC variants handled by this driver. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com Tested-by: Simon Guinot sgui...@lacie.com If the

Re: [PATCH] [TRIVIAL] Fix typo CONFIG_CGROUP_CGROUP_MEMCG_SWAP

2013-03-27 Thread Paul Bolle
On Wed, 2013-03-27 at 13:20 +0100, Jiri Kosina wrote: While you are at it, how about updating various defconfigs which have the bogus name in there as well? I'm afraid I can't follow you there. What bogus name do you mean? Paul Bolle -- To unsubscribe from this list: send the line

Re: [PATCH] gpio: palmas: add dt support

2013-03-27 Thread Linus Walleij
On Thu, Mar 21, 2013 at 3:30 PM, Laxman Dewangan ldewan...@nvidia.com wrote: #ifdef CONFIG_OF_GPIO - palmas_gpio-gpio_chip.of_node = palmas-dev-of_node; + palmas_gpio-gpio_chip.of_node = pdev-dev.of_node; #endif OK I think that #ifdef is necessary... +#ifdef CONFIG_OF

Re: [PATCH 03/10] soft-offline: use migrate_pages() instead of migrate_huge_page()

2013-03-27 Thread Michal Hocko
On Tue 26-03-13 16:35:35, Naoya Horiguchi wrote: [...] The differences is that migrate_huge_page() has one hugepage as an argument, and migrate_pages() has a pagelist with multiple hugepages. I already told this before and I'm not sure it's enough to answer the question, so I explain another

Re: [PATCH v2 0/7] HID: multitouch: support of hybrid finger/pen devices

2013-03-27 Thread Jiri Kosina
On Fri, 22 Mar 2013, Benjamin Tissoires wrote: Hi Guys, this is the second iteration of the support of dual sensors (pen + touch) devices. There has not been a lot of changes since v1: - use |= instead of = r || in patch 1 - introduce a factorization of input_configured() in patch 2

Re: [PATCH v3] of/pci: Provide support for parsing PCI DT ranges property

2013-03-27 Thread Thierry Reding
On Tue, Mar 26, 2013 at 04:20:23PM +, Andrew Murray wrote: This patch factors out common implementation patterns to reduce overall kernel code and provide a means for host bridge drivers to directly obtain struct resources from the DT's ranges property without relying on architecture

Re: Attempted Breakin of Go Daddy by LKML Member (Foiled)

2013-03-27 Thread Jeffrey Merkey
These scumbags are so predictable. After the LKML mailing went planetwide, this idiot and his buddies came right back in from another duckblind and accessed the site -- sorry guys, I punched right through your duckblind. Here is this dirtbags actual IP address. I've seen this address to --

Re: [PATCH 0/1] drm/i915: Allow specifying a minimum brightness level for sysfs control.

2013-03-27 Thread Alex Deucher
On Wed, Mar 27, 2013 at 8:56 AM, Danny Baumann dannybaum...@web.de wrote: Hi, Well, the ACPI spec says this (section B.5.2): The OEM may define the number 0 as Zero brightness that can mean to turn off the lighting (e.g. LCD panel backlight) in the device. This may be useful in the case

[PATCH 1/2] regmap: core: Provide regmap_can_raw_write() operation

2013-03-27 Thread Mark Brown
Mainly useful internally but exported since this is a public API that's being checked for. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- drivers/base/regmap/regmap.c | 15 --- include/linux/regmap.h |1 + 2 files changed, 13 insertions(+), 3

[PATCH 2/2] regmap: cache: Use raw I/O to sync rbtrees if we can

2013-03-27 Thread Mark Brown
This will bring no meaningful benefit by itself, it is done as a separate commit to aid bisection if there are problems with the following commits adding support for coalescing adjacent writes. Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com ---

Re: [PATCH][RESEND] gpio-sch: Allow for more than 8 lines in the resume well

2013-03-27 Thread Linus Walleij
On Fri, Mar 22, 2013 at 2:10 AM, Darren Hart dvh...@linux.intel.com wrote: The E6xx (TunnelCreek) CPUs have 9 GPIO lines in the resume well. Update the resume functions to allow for more than 8 GPIO lines, using the core functions as a template. Cc: sta...@vger.kernel.org # 3.4.x Cc:

[PATCH 16/17] drbd: use sched_setscheduler()

2013-03-27 Thread Philipp Reisner
It was unnoticed for some time that assigning to current-policy is no longer sufficient to set a real time priority for a kernel thread. Reported-by: Charlie Suffin charlie.suf...@stratus.com Signed-off-by: Philipp Reisner philipp.reis...@linbit.com Signed-off-by: Lars Ellenberg

[PATCH 15/17] drbd: fix for deadlock when using automatic split-brain-recovery

2013-03-27 Thread Philipp Reisner
With an automatic after split-brain recovery policy of after-sb-1pri call-pri-lost-after-sb, when trying to drbd_set_role() to R_SECONDARY, we run into a deadlock. This was first recognized and supposedly fixed by 2009-06-10 Fixed a deadlock when using automatic split brain recovery when both

[PATCH 02/17] drbd: reset ap_in_flight counter for new connections

2013-03-27 Thread Philipp Reisner
Signed-off-by: Philipp Reisner philipp.reis...@linbit.com Signed-off-by: Lars Ellenberg lars.ellenb...@linbit.com --- drivers/block/drbd/drbd_receiver.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index

[PATCH 17/17] drbd: fix if(); found by kbuild test robot

2013-03-27 Thread Philipp Reisner
From: Lars Ellenberg lars.ellenb...@linbit.com Recently introduced al_begin_io_nonblock() was returning -EBUSY, even when it should return -EWOULDBLOCK. Impact: A few spurious wake_up() calls in prepare_al_transaction_nonblock(). Signed-off-by: Philipp Reisner philipp.reis...@linbit.com

[PATCH 14/17] drbd: add module_put() on error path in drbd_proc_open()

2013-03-27 Thread Philipp Reisner
From: Alexey Khoroshilov khoroshi...@ispras.ru If single_open() fails in drbd_proc_open(), module refcount is left incremented. The patch adds module_put() on the error path. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru

[PATCH 03/17] drbd: abort start of resync early, if it raced with connection breakage

2013-03-27 Thread Philipp Reisner
We've seen a spurious full resync, because a connection breakage raced with drbd_start_resync(, C_SYNC_TARGET), and the resulting state change request intended to start the resync ended up looking like a local invalidate. Fix: Double check the state inside the lock, and don't even request that

[PATCH 13/17] drbd: fix drbd epoch write count for ahead/behind mode

2013-03-27 Thread Philipp Reisner
From: Lars Ellenberg lars.ellenb...@linbit.com The sanity check when receiving P_BARRIER_ACK does expect all write requests with a given req-epoch to have been either all replicated, or all not replicated. Because req-epoch was assigned before calling maybe_pull_ahead(), this expectation was not

Re: [PATCH] MAX7301 GPIO: Do not force SPI speed when using OF Platform

2013-03-27 Thread Linus Walleij
On Fri, Mar 22, 2013 at 1:10 PM, Christophe Leroy christophe.le...@c-s.fr wrote: The bit_per_word can be set in the OF Device tree, so no need to force it as with the platform_data when using OF Platform Signed-off-by: Patrick Vasseur patrick.vass...@c-s.fr Signed-off-by: Christophe Leroy

[PATCH 12/17] drbd: Fix build error when CONFIG_CRYPTO_HMAC is not set

2013-03-27 Thread Philipp Reisner
Signed-off-by: Philipp Reisner philipp.reis...@linbit.com Signed-off-by: Lars Ellenberg lars.ellenb...@linbit.com --- drivers/block/drbd/drbd_receiver.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/block/drbd/drbd_receiver.c

Re: [PATCH v3.9+] HID: multitouch: fix touchpad buttons

2013-03-27 Thread Jiri Kosina
On Fri, 22 Mar 2013, Benjamin Tissoires wrote: Commit HID: multitouch: use the callback report instead... breaks the buttons of touchpads following the HID multitouch specification. The buttons were emmitted through hid-input, but as now the events are generated only in hid-multitouch, the

<    5   6   7   8   9   10   11   12   13   14   >