[PATCH 01/44] cpufreq: arm_big_little: call cpufreq_frequency_table_put_attr()

2013-08-10 Thread Viresh Kumar
Drivers which have an exit path must call cpufreq_frequency_table_put_attr() if they have called cpufreq_frequency_table_get_attr() in their init path. This driver was missing this part and is fixed with this patch. Signed-off-by: Viresh Kumar --- drivers/cpufreq/arm_big_little.c | 1 + 1 file

Re: [PATCH v2 2/4] mtd: add a new sys node to show the ecc step size

2013-08-10 Thread Brian Norris
On Wed, May 15, 2013 at 04:46:44PM +0800, Huang Shijie wrote: > Add a new sys node to show the ecc step size. > The application then can uses this node to get the ecc step > size. > > Signed-off-by: Huang Shijie > --- > drivers/mtd/mtdcore.c | 11 +++ > 1 files changed, 11 insertions(+

[PATCH] tty: ar933x_uart: convert to use devm_* functions

2013-08-10 Thread Gabor Juhos
Use devm_* functions in order to simplify cleanup paths. Signed-off-by: Gabor Juhos --- drivers/tty/serial/ar933x_uart.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c index 27f

[PATCH V2] USB: EHCI: make ehci-w90X900 a separate driver

2013-08-10 Thread Manjunath Goudar
Separate the W90X900(W90P910) on-chip host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before W90X900(W90P910) can be booted with a multi

Re: [PATCH 18/22] block: Generic bio chaining

2013-08-10 Thread Kent Overstreet
On Wed, Aug 07, 2013 at 02:54:27PM -0700, Kent Overstreet wrote: > This adds a generic mechanism for chaining bio completions. This is > going to be used for a bio_split() replacement, and some other things in > the future. > > This is implemented with a new bio flag that bio_endio() checks; it >

Re: [PATCH v2 4/4] mtd: gpmi: update the ecc step size for mtd_info{}

2013-08-10 Thread Brian Norris
On Wed, May 15, 2013 at 04:46:46PM +0800, Huang Shijie wrote: > update the ecc step size when we have already get the right value. > > Signed-off-by: Huang Shijie > --- > drivers/mtd/nand/gpmi-nand/gpmi-nand.c |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers

Re: [PATCH 44/44] cpufreq: pass suitable index instead of freq to cpufreq_driver->target()

2013-08-10 Thread Viresh Kumar
On 10 August 2013 12:14, Viresh Kumar wrote: > This tries to remove code redundancy from cpufreq driver by moving some common > part of them to the core. Each driver calls cpufreq_frequency_table_target() > to > get a suitable index for a target frequency and then works on it. Its better > to >

Re: [PATCH 00/44] cpufreq: define generic routines for cpufreq drivers: for 3.13

2013-08-10 Thread Viresh Kumar
On 10 August 2013 12:13, Viresh Kumar wrote: > cpufreq: pass suitable index instead of freq to > cpufreq_driver->target() This one is sent by mistake.. It isn't ready yet and will be sent separately later. :( -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

[patch] dmaengine: make dma_submit_error() return an error code

2013-08-10 Thread Dan Carpenter
The problem here is that the dma_xfer() functions in drivers/ata/pata_arasan_cf.c and drivers/mtd/nand/fsmc_nand.c expect dma_submit_error() to return an error code so they return 1 when they intended to return a negative. So far as I can tell, none of the ->tx_submit() functions ever do return er

[PATCH v4 1/1] input: ideapad_slidebar: new input driver

2013-08-10 Thread Andrey Moiseev
v4: fixed broken BTN_TOUCH events ideapad_slidebar is a new driver which enables slidebars on some Lenovo IdeaPad laptops (the slidebars work with SlideNav/Desktop Navigator under Windows) Fixes this: https://bugzilla.kernel.org/show_bug.cgi?id=16004 Registers 'IdeaPad Slidebar' input device and

Re: [PATCH v2 4/4] mtd: gpmi: update the ecc step size for mtd_info{}

2013-08-10 Thread Brian Norris
On Sat, Aug 10, 2013 at 12:41 AM, Brian Norris wrote: > On Wed, May 15, 2013 at 04:46:46PM +0800, Huang Shijie wrote: >> update the ecc step size when we have already get the right value. >> >> Signed-off-by: Huang Shijie >> --- >> drivers/mtd/nand/gpmi-nand/gpmi-nand.c |1 + >> 1 files chan

Re: [PATCH v2 append] mtd: update the ABI document about the ecc step

2013-08-10 Thread Brian Norris
On Thu, May 16, 2013 at 12:09:43PM +0800, Huang Shijie wrote: > We add a new sys node for ecc step. So update the ABI document about it. > > Signed-off-by: Huang Shijie > --- > Documentation/ABI/testing/sysfs-class-mtd | 11 +++ > 1 files changed, 11 insertions(+), 0 deletions(-) > >

Re: [PATCH 11/44] cpufreq: at32ap: Use generic cpufreq routines

2013-08-10 Thread Hans-Christian Egtvedt
Around Sat 10 Aug 2013 12:14:07 +0530 or thereabout, Viresh Kumar wrote: > Most of the CPUFreq drivers do similar things in .exit() and .verify() > routines > and .attr. So its better if we have generic routines for them which can be > used > by cpufreq drivers then. > > This patch uses these ge

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
On 10.08.2013 03:07, Alan Stern wrote: Nope. udevd refuses to start and says that it requires at least 2.6.32, which means that apparently something changed in the kernel-userland interface in 2.6.32. Thus, my conclusion that there's probably something nasty going on in userland with udev. Wha

Re: [PATCH v4 1/1] ASoc: kirkwood: add DT support to the mvebu audio subsystem

2013-08-10 Thread Thomas Petazzoni
Dear Jean-Francois Moine, On Fri, 9 Aug 2013 11:06:23 +0200, Jean-Francois Moine wrote: > > we need at least two more compatibles for the audio controller found on > > Dove and Kirkwood respectively. This is how we are going to distinguish > > those two, e.g. Kirkwood has SPDIF in which Dove hasn

Re: [PATCH v4 1/1] ASoc: kirkwood: add DT support to the mvebu audio subsystem

2013-08-10 Thread Russell King - ARM Linux
On Sat, Aug 10, 2013 at 12:42:09AM +0100, Mark Brown wrote: > On Fri, Aug 09, 2013 at 09:38:47PM +0100, Russell King - ARM Linux wrote: > > On Fri, Aug 09, 2013 at 08:44:34PM +0100, Mark Brown wrote: > > > > If someone wants to it should also be possible to convert the existing > > > platforms wit

Re: [PATCH v2] N900: add device tree

2013-08-10 Thread Pavel Machek
On Fri 2013-08-02 01:43:55, Pavel Machek wrote: > On Sun 2013-07-28 15:44:09, Pavel Machek wrote: > > On Mon 2013-07-15 01:28:19, Aaro Koskinen wrote: > > > Hi, > > > > > > On Sat, Jul 13, 2013 at 02:17:09PM +0200, Pavel Machek wrote: > > > > > > > > This adds device tree with neccessary support

Re: [PATCH v4 1/1] ASoc: kirkwood: add DT support to the mvebu audio subsystem

2013-08-10 Thread Mark Brown
On Sat, Aug 10, 2013 at 10:31:37AM +0100, Russell King - ARM Linux wrote: > Right, so what you're proposing is to come up with a DT description for > the existing stuff, and then have to change (or at the very least augment) > that description later when the DPCM stuff goes in. > What should be d

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Thomas Richter
Hi Alan, later... ok, bisected this even more. 2.6.31.14 kernel, old udev works fine. Then removed /etc/rcS.d/S02udev to be sure the 2.6.32 kernel would not pull the new udev. Rebuild 2.6.32.1 with *identical* kernel configuration, booted up, manually started the *old* udev as in 2.6.31.14, a

[PATCH] ARM: dts: omap3 / n900 support, Benoit please take me (was Re: [PATCH v2] N900: add device tree)

2013-08-10 Thread Pavel Machek
On Sat 2013-08-10 13:09:55, Pavel Machek wrote: > On Fri 2013-08-02 01:43:55, Pavel Machek wrote: > > On Sun 2013-07-28 15:44:09, Pavel Machek wrote: > > > On Mon 2013-07-15 01:28:19, Aaro Koskinen wrote: > > > > Hi, > > > > > > > > On Sat, Jul 13, 2013 at 02:17:09PM +0200, Pavel Machek wrote: >

Re: [PATCH v2] N900: add device tree

2013-08-10 Thread Belisko Marek
Hi All, On Sat, Aug 10, 2013 at 1:09 PM, Pavel Machek wrote: > On Fri 2013-08-02 01:43:55, Pavel Machek wrote: >> On Sun 2013-07-28 15:44:09, Pavel Machek wrote: >> > On Mon 2013-07-15 01:28:19, Aaro Koskinen wrote: >> > > Hi, >> > > >> > > On Sat, Jul 13, 2013 at 02:17:09PM +0200, Pavel Machek w

Re: [PATCH v2] usb: Move definition of USB_EHCI_BIG_ENDIAN_MMIO et al. out side of the ifs.

2013-08-10 Thread Alan Stern
On Fri, 9 Aug 2013, David Daney wrote: > From: David Daney > > When CONFIG_USB_SUPPORT is not selected we get things like: > > scripts/kconfig/mconf Kconfig > warning: (MIPS_SEAD3 && PMC_MSP && CPU_CAVIUM_OCTEON) selects > USB_EHCI_BIG_ENDIAN_MMIO which has unmet direct dependencies (USB_SUPPO

Re: [PATCH v2 0/4] Add phy support for AM335X platform using Generic PHy framework

2013-08-10 Thread Ezequiel Garcia
On Fri, Jul 19, 2013 at 06:04:33PM +0530, George Cherian wrote: > This patch series adds phy support for AM335X platform. > This patch series is based on Generic PHY framework [1]. > > > This series has > - adds dual musb instances support for am335x platform > - adds phy-am-

Re: [HANG] Trouble with NEC-based USB adapter in PCMCIA slot on E7110

2013-08-10 Thread Alan Stern
On Sat, 10 Aug 2013, Thomas Richter wrote: > Which modules are relevant for handling the communication with the > device, and where would you suggest to start looking? I assume > yenta_socket is one thing for the cartbus adapter, then we have ehci_hcd > and ehci_pci. Do I assume correctly that

Re: [PATCH 01/47] perf: Add PERF_EVENT_IOC_ID ioctl to return event ID

2013-08-10 Thread Jiri Olsa
On Fri, Aug 09, 2013 at 10:50:27AM -0400, Vince Weaver wrote: > On Wed, 7 Aug 2013, Arnaldo Carvalho de Melo wrote: > > > From: Jiri Olsa > > > > The only way to get the event ID is by reading the event fd, > > followed by parsing the ID value out of the returned data. > > > > While this is ok

[GIT PULL] Btrfs

2013-08-10 Thread Chris Mason
Hi Linus Please pull my for-linus branch: git://git.kernel.org/pub/scm/linux/kernel/git/mason/linux-btrfs.git for-linus These are assorted fixes, mostly from Josef nailing down xfstests runs. Zach also has a long standing fix for problems with readdir wrapping f_pos (or ctx->pos) These patches

[PATCH 1/3] ARM: Introduce atomic MMIO clear/set

2013-08-10 Thread Ezequiel Garcia
Some SoC have MMIO regions that are shared across orthogonal subsystems. This commit implements a possible solution for the thread-safe access of such regions through a spinlock-protected API with clear-set semantics. Concurrent access is protected with a single spinlock for the entire MMIO addres

[PATCH 0/3] Introduce atomic MMIO register clear-set

2013-08-10 Thread Ezequiel Garcia
Following a suggestion from Sebastian Hesselbarth and Russell King here's some work to introduce a generic thread-safe clear-set register access. The original motivation for this comes from the need to access the same register from a clocksource driver and a watchdog driver as we find in Kirkwood,

[PATCH 2/3] clocksource: orion: Use atomic access for shared registers

2013-08-10 Thread Ezequiel Garcia
Replace the driver-specific thread-safe shared register API by the recently introduced atomic_io_clear_set(). Signed-off-by: Ezequiel Garcia --- drivers/clocksource/time-orion.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/clocksource/time-orion.c b/driver

[PATCH 3/3] watchdog: orion: Use atomic access for shared registers

2013-08-10 Thread Ezequiel Garcia
Since the timer control register is shared with the clocksource driver, use the recently introduced atomic_io_clear_set() to access such register. Signed-off-by: Ezequiel Garcia --- drivers/watchdog/orion_wdt.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/drivers/w

Re: [PATCH 1/3] ARM: Introduce atomic MMIO clear/set

2013-08-10 Thread Alexander Shiyan
> Some SoC have MMIO regions that are shared across orthogonal > subsystems. This commit implements a possible solution for the > thread-safe access of such regions through a spinlock-protected API > with clear-set semantics. > > Concurrent access is protected with a single spinlock for the > enti

[RFC] OMAP: allow GPIO pin to enable/disable external UART driver chip.

2013-08-10 Thread Mark Jackson
When a UART transmitter is connected to (eg) a RS485 driver, it is necessary to turn the driver on/off as quickly as possible. This is best achieved in the serial driver itself (rather than in userspace where the latency can be quite large). This patch allows the GPIO pin to be defined (via DT) t

Re: linux-next: Tree for Aug 8 (not CONFIG_PCI_MSI conflict)

2013-08-10 Thread Bjorn Helgaas
On Fri, Aug 9, 2013 at 12:50 PM, Jason Cooper wrote: > Randy, > > On Fri, Aug 09, 2013 at 09:41:38AM -0700, Randy Dunlap wrote: >> On 08/09/13 07:59, Jason Cooper wrote: >> > Randy, >> > >> > On Thu, Aug 08, 2013 at 01:03:04PM -0700, Randy Dunlap wrote: >> >> On 08/08/13 00:08, Stephen Rothwell wr

Re: [PATCH 1/3] ARM: Introduce atomic MMIO clear/set

2013-08-10 Thread Ezequiel Garcia
On Sat, Aug 10, 2013 at 04:49:28PM +0400, Alexander Shiyan wrote: > > Some SoC have MMIO regions that are shared across orthogonal > > subsystems. This commit implements a possible solution for the > > thread-safe access of such regions through a spinlock-protected API > > with clear-set semantics.

Re: [PATCH 10/13] tracing/uprobes: Fetch args before reserving a ring buffer

2013-08-10 Thread zhangwei(Jovi)
On Sat, Aug 10, 2013 at 9:41 AM, zhangwei(Jovi) wrote: > On Sat, Aug 10, 2013 at 9:26 AM, zhangwei(Jovi) > wrote: >> On Sat, Aug 10, 2013 at 12:20 AM, Oleg Nesterov wrote: >>> >>> Sorry, I didn't read this series yet. Not that I think this needs my >>> help, but I'll try to do this a later... >

Re: [PATCH 1/3] ARM: Introduce atomic MMIO clear/set

2013-08-10 Thread Ezequiel Garcia
On Sat, Aug 10, 2013 at 11:02:38AM -0300, Ezequiel Garcia wrote: > On Sat, Aug 10, 2013 at 04:49:28PM +0400, Alexander Shiyan wrote: > > > Some SoC have MMIO regions that are shared across orthogonal > > > subsystems. This commit implements a possible solution for the > > > thread-safe access of su

[PATCH next] checkpatch: Fix perl version 5.12 and earlier incompatibility

2013-08-10 Thread Joe Perches
commit 203489a33 ("checkpatch: add --types option to report only specific message types") uses a perl syntax introduced in perl version 5.14. Use the backward compatible perl syntax instead. Reported-by: Julia Lawall Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 4 ++-- 1 file changed

Re: [PATCH] mce: acpi/apei: Only disable banks listed in HEST if mce is configured

2013-08-10 Thread Borislav Petkov
On Fri, Jul 19, 2013 at 09:50:15AM -0700, Luck, Tony wrote: > From: "Naveen N. Rao" > > Randconfig testing found this error: > >> hest.c(.init.text+0x6004): undefined reference to 'mce_disable_bank' > > Fix by wrapping body of hest_parse_cmc() inside #ifdef CONFIG_X86_MCE > > Reported-by: "Wu,

Re: [PATCH 5/8] rcu: eliminate deadlock for rcu read site

2013-08-10 Thread Paul E. McKenney
On Sat, Aug 10, 2013 at 11:43:59AM +0800, Lai Jiangshan wrote: > Hi, Steven > > I was considering rtmutex's lock->wait_lock is a scheduler lock, > But it is not, and it is just a spinlock of process context. > I hope you change it to a spinlock of irq context. > > 1) it causes rcu read site more

Re: [PATCH 5/8] rcu: eliminate deadlock for rcu read site

2013-08-10 Thread Paul E. McKenney
On Sat, Aug 10, 2013 at 08:07:15AM -0700, Paul E. McKenney wrote: > On Sat, Aug 10, 2013 at 11:43:59AM +0800, Lai Jiangshan wrote: > > Hi, Steven > > > > I was considering rtmutex's lock->wait_lock is a scheduler lock, > > But it is not, and it is just a spinlock of process context. > > I hope you

Re: [PATCH 3/3 V4] EDAC, AMD64_EDAC: Add ECC decoding support for newer F15h models.

2013-08-10 Thread Borislav Petkov
On Fri, Aug 09, 2013 at 11:54:49AM -0500, Aravind Gopalakrishnan wrote: > Adding support for handling ECC error decoding for new F15 models. > On newer models, support has been included for upto 4 DCT's, however, > only DCT0 and DCT3 are currently configured. (Refer BKDG Section 2.10) > Routing DRA

[PATCH] amd64_edac: Get rid of boot_cpu_data accesses

2013-08-10 Thread Borislav Petkov
From: Borislav Petkov Date: Sat, 10 Aug 2013 13:54:48 +0200 Subject: [PATCH] amd64_edac: Get rid of boot_cpu_data accesses Now that we cache (family, model, stepping) locally, use them instead of boot_cpu_data. No functionality change. Signed-off-by: Borislav Petkov --- drivers/edac/amd64_eda

[PATCH] isa: Change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change isa bus to register dev_pm_ops via bus_type.pm. Add freeze ops for PM_EVENT_FREEZE handling. Signed-off-by: Shuah Khan --- drivers/base/isa.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/base/isa.c b/drivers/base/isa.c index 91dba65.

[PATCH] mmc:rtsx_pci_sdmmc change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change rtsx_pci_sdmmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/rtsx_pci_sdmmc.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/mmc/host/rtsx_pci_sdmmc.c

[PATCH] mmc:mvsdio change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change mvsd platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/mvsdio.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio

[PATCH] mmc:bfin_sdh fix build warning in sdh_dma_irq()

2013-08-10 Thread Shuah Khan
Fix the following build warning in sdh_dma_irq() drivers/mmc/host/bfin_sdh.c:466:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat] dev_dbg(mmc_dev(host->mmc), "%s enter, irq_stat: 0x%04x\n", __func__, get_dma_curr

[PATCH] arch/arm/mach-pxa/stargate2.c: use ARRAY_AND_SIZE consistently

2013-08-10 Thread Julia Lawall
From: Julia Lawall Because ARRAY_AND_SIZE changes the apparent arity of a function, if it is used for one call to a given function, it would be better, if possible, to use it for all of them. The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // @call@ ident

[PATCH] mmc:tmio_mmc change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change tmio_mmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/tmio_mmc.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/host/tmio_mmc.c b/dr

[PATCH] mmc:bfin_sdh change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change bfin sdh platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/bfin_sdh.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/host/bfin_sdh.c b/driver

[PATCH] mmc:cb710_mmc change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change cb710_mmc platform driver register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/cb710-mmc.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/

[PATCH] mmc:msmsdcc change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change msmsdcc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/msm_sdcc.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host

[PATCH] mmc:au1xmmc change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change au1xmmc platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/au1xmmc.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/au1xmmc.c b/drivers/mmc/host

Re: [PATCH] arch/arm/mach-pxa/stargate2.c: use ARRAY_AND_SIZE consistently

2013-08-10 Thread Joe Perches
On Sat, 2013-08-10 at 17:25 +0200, Julia Lawall wrote: > From: Julia Lawall > > Because ARRAY_AND_SIZE changes the apparent arity of a function, if it is > used for one call to a given function, it would be better, if possible, to > use it for all of them. I think it'd be better to remove ARRAY_

Re: [PATCH] arch/arm/mach-pxa/stargate2.c: use ARRAY_AND_SIZE consistently

2013-08-10 Thread Julia Lawall
On Sat, 10 Aug 2013, Joe Perches wrote: > On Sat, 2013-08-10 at 17:25 +0200, Julia Lawall wrote: > > From: Julia Lawall > > > > Because ARRAY_AND_SIZE changes the apparent arity of a function, if it is > > used for one call to a given function, it would be better, if possible, to > > use it fo

[PATCH 2/5] crypto/camellia_generic.c: convert comma to semicolon

2013-08-10 Thread Julia Lawall
From: Julia Lawall Replace a comma between expression statements by a semicolon. A simplified version of the semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // @r@ expression e1,e2,e; type T; identifier i; @@ e1 -, +; e2; // This patch is separ

[PATCH] mmc:omap change driver to use dev_pm_ops infrastructure

2013-08-10 Thread Shuah Khan
Change mmc_omap platform driver to register pm ops using dev_pm_ops instead of legacy pm_ops infrastructure. Signed-off-by: Shuah Khan --- drivers/mmc/host/omap.c | 16 ++-- 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/om

[PATCH 0/5] convert comma to semicolon

2013-08-10 Thread Julia Lawall
These patches result from the following semantic patches (http://coccinelle.lip6.fr/), which check for expression statements separated by , rather than by ;. The first semantic patch is quite conservative in that it only finds cases where this pattern appears after another complete statement or at

Re: [PATCH 10/13] x86: Move cond resched for copy_{from,to}_user into low level code 64bit

2013-08-10 Thread Linus Torvalds
On Fri, Aug 9, 2013 at 4:04 PM, Andi Kleen wrote: > From: Andi Kleen > > Move the cond_resched() check for CONFIG_PREEMPT_VOLUNTARY into > the low level copy_*_user code. This avoids some code bloat and > makes check much more efficient by avoiding unnecessary function calls. May I suggest going

[PATCH 3/5] arch/x86/crypto/camellia_glue.c: convert comma to semicolon

2013-08-10 Thread Julia Lawall
From: Julia Lawall Replace a comma between expression statements by a semicolon. A simplified version of the semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // @r@ expression e1,e2,e; type T; identifier i; @@ e1 -, +; e2; // This patch is separ

[PATCH 5/5] trivial: convert comma to semicolon

2013-08-10 Thread Julia Lawall
From: Julia Lawall Replace a comma between expression statements by a semicolon. These cases have the comma in a single statement if branch, or following a preprocessor directive. They mostly needed some manual touching up of whitespace and newlines. A simplified version of the semantic patch

Re: [PATCH 1/3] ARM: Introduce atomic MMIO clear/set

2013-08-10 Thread Alexander Shiyan
> On Sat, Aug 10, 2013 at 11:02:38AM -0300, Ezequiel Garcia wrote: > > On Sat, Aug 10, 2013 at 04:49:28PM +0400, Alexander Shiyan wrote: > > > > Some SoC have MMIO regions that are shared across orthogonal > > > > subsystems. This commit implements a possible solution for the > > > > thread-safe ac

[PATCH 1/5] drivers/gpio/gpio-omap.c: convert comma to semicolon

2013-08-10 Thread Julia Lawall
From: Julia Lawall Replace a comma between expression statements by a semicolon. A simplified version of the semantic patch that performs this transformation is as follows: (http://coccinelle.lip6.fr/) // @r@ expression e1,e2,e; type T; identifier i; @@ e1 -, +; e2; // Signed-off-by: Juli

Re: [PATCH 1/3] ARM: Introduce atomic MMIO clear/set

2013-08-10 Thread Ezequiel Garcia
On Sat, Aug 10, 2013 at 07:43:08PM +0400, Alexander Shiyan wrote: > > On Sat, Aug 10, 2013 at 11:02:38AM -0300, Ezequiel Garcia wrote: > > > On Sat, Aug 10, 2013 at 04:49:28PM +0400, Alexander Shiyan wrote: > > > > > Some SoC have MMIO regions that are shared across orthogonal > > > > > subsystems.

Re: [PATCH] arch/arm/mach-pxa/stargate2.c: use ARRAY_AND_SIZE consistently

2013-08-10 Thread Joe Perches
On Sat, 2013-08-10 at 17:38 +0200, Julia Lawall wrote: > On Sat, 10 Aug 2013, Joe Perches wrote: > > On Sat, 2013-08-10 at 17:25 +0200, Julia Lawall wrote: > > > From: Julia Lawall > > > Because ARRAY_AND_SIZE changes the apparent arity of a function, if it is > > > used for one call to a given fu

Re: Re-tune x86 uaccess code for PREEMPT_VOLUNTARY

2013-08-10 Thread H. Peter Anvin
On 08/09/2013 10:55 PM, Mike Galbraith wrote: >> >> Now, here is a bigger question: shouldn't we be deprecating/getting rid >> of PREEMPT_VOUNTARY in favor of PREEMPT? > > I sure hope not, PREEMPT munches throughput. If you need PREEMPT, seems > to me what you _really_ need is PREEMPT_RT (the rea

Re: [PATCH 10/13] x86: Move cond resched for copy_{from,to}_user into low level code 64bit

2013-08-10 Thread Andi Kleen
> Most of this series looks fine, but I really think that we > could/should just take that extra step, and say "no, user accesses > don't imply that we need to check for scheduling". Hmm. I can do that, but wouldn't that make CONFIG_PREEMPT_VOLUNTARY mostly equivalent to CONFIG_PREEMPT_NONE? Need

[tip:x86/spinlocks] x86, ticketlock: Don' t inline _spin_unlock when using paravirt spinlocks

2013-08-10 Thread tip-bot for Raghavendra K T
Commit-ID: 8db732668a48e93d00d881517a08136e8fa71000 Gitweb: http://git.kernel.org/tip/8db732668a48e93d00d881517a08136e8fa71000 Author: Raghavendra K T AuthorDate: Fri, 9 Aug 2013 19:51:50 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:10 -0700 x86, ticketlock: Don't

Re: [PATCH 1/5] drivers/gpio/gpio-omap.c: convert comma to semicolon

2013-08-10 Thread Joe Perches
On Sat, 2013-08-10 at 17:40 +0200, Julia Lawall wrote: > From: Julia Lawall > Replace a comma between expression statements by a semicolon. [] > I can't tell if the assignment to ct->regs.mask is really intended to be > under the if. The proposed patch preserves the current semantics, but not > t

[tip:x86/spinlocks] xen, pvticketlocks: Add xen_nopvspin parameter to disable xen pv ticketlocks

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: b8fa70b51aa76737bdb6b493901ef7376977489c Gitweb: http://git.kernel.org/tip/b8fa70b51aa76737bdb6b493901ef7376977489c Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:54 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:37 -0700 xen, pvticketlocks:

[tip:x86/spinlocks] kvm: Paravirtual ticketlocks support for linux guests running on KVM hypervisor

2013-08-10 Thread tip-bot for Srivatsa Vaddagiri
Commit-ID: 23f659a237e8f633f9605fdf9408a8d130ab72c9 Gitweb: http://git.kernel.org/tip/23f659a237e8f633f9605fdf9408a8d130ab72c9 Author: Srivatsa Vaddagiri AuthorDate: Fri, 9 Aug 2013 19:52:02 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:54:24 -0700 kvm: Paravirtual tic

[tip:x86/spinlocks] x86, pvticketlock: Use callee-save for lock_spinning

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: 354714dd2607778692db53947ab93b74956494e5 Gitweb: http://git.kernel.org/tip/354714dd2607778692db53947ab93b74956494e5 Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:55 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:44 -0700 x86, pvticketlock:

[tip:x86/spinlocks] xen, pvticketlock: Xen implementation for PV ticket locks

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: 80bd58fef495d000a02fc5b55ca76d423400e748 Gitweb: http://git.kernel.org/tip/80bd58fef495d000a02fc5b55ca76d423400e748 Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:53 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:23 -0700 xen, pvticketlock:

[tip:x86/spinlocks] kvm guest: Add configuration support to enable debug information for KVM Guests

2013-08-10 Thread tip-bot for Srivatsa Vaddagiri
Commit-ID: 1e20eb8557cdabf76473b09572be8aa8a2bb9bc0 Gitweb: http://git.kernel.org/tip/1e20eb8557cdabf76473b09572be8aa8a2bb9bc0 Author: Srivatsa Vaddagiri AuthorDate: Fri, 9 Aug 2013 19:52:01 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:54:18 -0700 kvm guest: Add confi

[tip:x86/spinlocks] x86, ticketlock: Add slowpath logic

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: 96f853eaa889c7a22718d275b0df7bebdbd6780e Gitweb: http://git.kernel.org/tip/96f853eaa889c7a22718d275b0df7bebdbd6780e Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:58 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:54:00 -0700 x86, ticketlock: Ad

[tip:x86/spinlocks] x86, ticketlock: Collapse a layer of functions

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: b798df09f919c52823110a74bd568c6a4e98e6b2 Gitweb: http://git.kernel.org/tip/b798df09f919c52823110a74bd568c6a4e98e6b2 Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:51 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:14 -0700 x86, ticketlock: Co

[tip:x86/spinlocks] xen, pvticketlock: Allow interrupts to be enabled while blocking

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: 1ed7bf5f5227169b661c619636f754b98001ec30 Gitweb: http://git.kernel.org/tip/1ed7bf5f5227169b661c619636f754b98001ec30 Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:59 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:54:03 -0700 xen, pvticketlock:

[tip:x86/spinlocks] x86, pvticketlock: When paravirtualizing ticket locks, increment by 2

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: 4a1ed4ca681e7df38ed1b609a11aab38cbc515b3 Gitweb: http://git.kernel.org/tip/4a1ed4ca681e7df38ed1b609a11aab38cbc515b3 Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:56 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:50 -0700 x86, pvticketlock:

[tip:x86/spinlocks] xen: Defer spinlock setup until boot CPU setup

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: bf7aab3ad4b4364a293421d628a912a2153ee1ee Gitweb: http://git.kernel.org/tip/bf7aab3ad4b4364a293421d628a912a2153ee1ee Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:52 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:18 -0700 xen: Defer spinlock

[tip:x86/spinlocks] kvm uapi: Add KICK_CPU and PV_UNHALT definition to uapi

2013-08-10 Thread tip-bot for Raghavendra K T
Commit-ID: 3a3bb00d5c73f3ae7833f6534982b5b2f56ac9b4 Gitweb: http://git.kernel.org/tip/3a3bb00d5c73f3ae7833f6534982b5b2f56ac9b4 Author: Raghavendra K T AuthorDate: Fri, 9 Aug 2013 19:52:00 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:54:12 -0700 kvm uapi: Add KICK_CPU

[tip:x86/spinlocks] x86, spinlock: Replace pv spinlocks with pv ticketlocks

2013-08-10 Thread tip-bot for Jeremy Fitzhardinge
Commit-ID: 545ac13892ab391049a92108cf59a0d05de7e28c Gitweb: http://git.kernel.org/tip/545ac13892ab391049a92108cf59a0d05de7e28c Author: Jeremy Fitzhardinge AuthorDate: Fri, 9 Aug 2013 19:51:49 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:05 -0700 x86, spinlock: Repl

Re: [PATCH 2/5] crypto/camellia_generic.c: convert comma to semicolon

2013-08-10 Thread Joe Perches
On Sat, 2013-08-10 at 17:40 +0200, Julia Lawall wrote: > Replace a comma between expression statements by a semicolon. [] > This patch is separate from the others because the code appears to be > machine-generated. It may have once been machine generated, but it's not now. It's been modified sever

[tip:x86/spinlocks] jump_label: Split jumplabel ratelimit

2013-08-10 Thread tip-bot for Andrew Jones
Commit-ID: 851cf6e7d6366195d4ee033cdc7787df1a649a14 Gitweb: http://git.kernel.org/tip/851cf6e7d6366195d4ee033cdc7787df1a649a14 Author: Andrew Jones AuthorDate: Fri, 9 Aug 2013 19:51:57 +0530 Committer: H. Peter Anvin CommitDate: Fri, 9 Aug 2013 07:53:54 -0700 jump_label: Split jumplabe

Re: [PATCH 2/5] crypto/camellia_generic.c: convert comma to semicolon

2013-08-10 Thread Julia Lawall
On Sat, 10 Aug 2013, Joe Perches wrote: > On Sat, 2013-08-10 at 17:40 +0200, Julia Lawall wrote: > > Replace a comma between expression statements by a semicolon. > [] > > This patch is separate from the others because the code appears to be > > machine-generated. > > It may have once been machin

Re: [PATCH 10/13] x86: Move cond resched for copy_{from,to}_user into low level code 64bit

2013-08-10 Thread Linus Torvalds
On Sat, Aug 10, 2013 at 9:10 AM, Andi Kleen wrote: > > Hmm. I can do that, but wouldn't that make CONFIG_PREEMPT_VOLUNTARY > mostly equivalent to CONFIG_PREEMPT_NONE? According the the Kconfig help, PREEMPT_VOLUNTARY is about the *explicit* preemption points. And we do have a lot of them in "migh

[PATCH] drivers:net:hamradio: Removing Depricated IRQF_DISABLED

2013-08-10 Thread Kumar Gaurav
Removed IRQF_DISABLED as it's deprecated and should be removed Signed-off-by: Kumar Gaurav --- drivers/net/hamradio/baycom_ser_fdx.c |2 +- drivers/net/hamradio/baycom_ser_hdx.c |2 +- drivers/net/hamradio/scc.c|2 +- drivers/net/hamradio/yam.c|2 +- 4 fil

Re: Re-tune x86 uaccess code for PREEMPT_VOLUNTARY

2013-08-10 Thread Linus Torvalds
On Sat, Aug 10, 2013 at 9:09 AM, H. Peter Anvin wrote: > > Do you have any quantification of "munches throughput?" It seems odd > that it would be worse than polling for preempt all over the kernel, but > perhaps the additional locking is what costs. Actually, the big thing for true preemption i

Re: [PATCH 1/1] pagemap: fix buffer overflow in add_page_map()

2013-08-10 Thread KOSAKI Motohiro
On Fri, Aug 9, 2013 at 8:49 PM, yonghua zheng wrote: > Update the patch according to Naoya's comment, I also run > ./scripts/checkpatch.pl, and it passed ;D. > > From 96826b0fdf9ec6d6e16c2c595f371dbb841250f7 Mon Sep 17 00:00:00 2001 > From: Yonghua Zheng > Date: Mon, 5 Aug 2013 12:12:24 +0800 > S

Re: [PATCH] drivers:net:hamradio: Removing Depricated IRQF_DISABLED

2013-08-10 Thread Julia Lawall
If it is in a | with something else, I think you can just remove it. julia On Sat, 10 Aug 2013, Kumar Gaurav wrote: > Removed IRQF_DISABLED as it's deprecated and should be removed > > Signed-off-by: Kumar Gaurav > --- > drivers/net/hamradio/baycom_ser_fdx.c |2 +- > drivers/net/hamradio/

Re: [PATCH] tile: support ASLR fully

2013-08-10 Thread Jiri Kosina
On Fri, 9 Aug 2013, Tony Lu wrote: > With this change, tile Linux now supports address-space layout > randomization for shared objects, stack, heap and vdso. > > Signed-off-by: Tony Lu > Signed-off-by: Chris Metcalf > --- > arch/tile/include/asm/elf.h | 4 > arch/tile/mm/mmap.c |

Re: [PATCH] drivers:net:hamradio: Removing Depricated IRQF_DISABLED

2013-08-10 Thread Kumar Gaurav
On Saturday 10 August 2013 10:17 PM, Julia Lawall wrote: If it is in a | with something else, I think you can just remove it. julia On Sat, 10 Aug 2013, Kumar Gaurav wrote: Removed IRQF_DISABLED as it's deprecated and should be removed Signed-off-by: Kumar Gaurav --- drivers/net/hamradio/

Re: Re-tune x86 uaccess code for PREEMPT_VOLUNTARY

2013-08-10 Thread H. Peter Anvin
On 08/10/2013 09:43 AM, Linus Torvalds wrote: > On Sat, Aug 10, 2013 at 9:09 AM, H. Peter Anvin wrote: >> >> Do you have any quantification of "munches throughput?" It seems odd >> that it would be worse than polling for preempt all over the kernel, but >> perhaps the additional locking is what c

Re: [PATCH 0/6] ARM: sunxi: DTSI cleanups

2013-08-10 Thread Maxime Ripard
On Sun, Aug 04, 2013 at 11:33:58AM +0200, Maxime Ripard wrote: > Hi everyone, > > This small patchset removes the useless reg property in the soc bus that is > not > required for the simple-bus we're using. > > It also fixes the base address of this bus in the node name that was wrong > from >

Re: [PATCH 2/2] HID: hid-logitech-dj, querying_devices was never set

2013-08-10 Thread Jiri Kosina
On Tue, 6 Aug 2013, Sune Mølgaard wrote: > Being affected by this bug, I can confirm that Linux 3.11-rc4 still > exhibits the unwanted behaviour for me, but that commenting out the > single line from the second patch makes it work. > > Thus, for requesting a revert on that line, you are most welc

Re: [PATCH] tile: support ASLR fully

2013-08-10 Thread richard -rw- weinberger
On Sat, Aug 10, 2013 at 6:55 PM, Jiri Kosina wrote: > On Fri, 9 Aug 2013, Tony Lu wrote: > >> With this change, tile Linux now supports address-space layout >> randomization for shared objects, stack, heap and vdso. >> >> Signed-off-by: Tony Lu >> Signed-off-by: Chris Metcalf >> --- >> arch/til

Re: [PATCH] drivers:net:hamradio: Removing Depricated IRQF_DISABLED

2013-08-10 Thread Julia Lawall
On Sat, 10 Aug 2013, Kumar Gaurav wrote: > On Saturday 10 August 2013 10:17 PM, Julia Lawall wrote: > > If it is in a | with something else, I think you can just remove it. > > > > julia > > > > On Sat, 10 Aug 2013, Kumar Gaurav wrote: > > > > > Removed IRQF_DISABLED as it's deprecated and shou

[PATCH 0/2] adjust code alignment

2013-08-10 Thread Julia Lawall
These patches result from the following semantic patch (http://coccinelle.lip6.fr/), which checks for successive statements that are not aligned. @bad@ statement S; expression e; position p1,p; @@ S@p1 e@p; @script:ocaml@ p1 << bad.p1; p << bad.p; @@ if not ((List.hd p1).line = (List.hd p).line

[PATCH 2/2] crypto/camellia_generic.c: adjust code alignment

2013-08-10 Thread Julia Lawall
From: Julia Lawall Adjust alignment in automatically generated code. If this code will not be regenerated in the future, it may as well look nice. Signed-off-by: Julia Lawall --- This patch was generated from the result of the previous one, which replaced commas by semicolons. crypto/camell

[PATCH 1/2] arch/x86/crypto/camellia_glue.c: adjust code alignment

2013-08-10 Thread Julia Lawall
From: Julia Lawall Adjust alignment in automatically generated code. If this code will not be regenerated in the future, it may as well look nice. Signed-off-by: Julia Lawall --- This patch was generated from the result of the previous one, which replaced commas by semicolons. arch/x86/cryp

[GIT PULL] sound fixes for 3.11-rc5

2013-08-10 Thread Takashi Iwai
Linus, The following changes since commit 697aebab78a88c6b164cfb74d19b86817d2ccd82: ALSA: hda - Fix missing fixup for Mac Mini with STAC9221 (2013-08-02 08:16:52 +0200) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-3.11 fo

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-10 Thread James Bottomley
On Wed, 2013-08-07 at 13:21 -0700, Andrew Morton wrote: > On Wed, 31 Jul 2013 00:41:55 +0400 Cyrill Gorcunov wrote: > > > Andy Lutomirski reported that in case if a page with _PAGE_SOFT_DIRTY > > bit set get swapped out, the bit is getting lost and no longer > > available when pte read back. > >

  1   2   3   >