[PATCH 18/44] cpufreq: elanfreq: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 30/44] cpufreq: pmac: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

Re: [PATCH] kvm tools: Fix build of guest init with biarch powerpc compilers

2013-08-10 Thread Pekka Enberg
On Wed, Aug 7, 2013 at 11:46 AM, Michael Ellerman wrote: > On powerpc we build kvmtool as a 64bit binary. We do that by setting > -m64 in our CFLAGS. For most things we just call $(CC) and it passes > that info onto the linker. > > However there is one place where we explicitly call the linker,

[PATCH 31/44] cpufreq: powernow: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 27/44] cpufreq: p4-clockmod: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: David S. Miller Signed-off-by: Viresh Kumar ---

[PATCH 29/44] cpufreq: pcc: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 35/44] cpufreq: s3cx4xx: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Kukjin Kim Signed-off-by: Viresh Kumar ---

[PATCH 20/44] cpufreq: ia64-acpi: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Tony Luck Signed-off-by: Viresh Kumar ---

[PATCH 21/44] cpufreq: imx6q: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Shawn Guo Signed-off-by: Viresh Kumar ---

[PATCH 24/44] cpufreq: loongson2: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: John Crispin Signed-off-by: Viresh Kumar ---

[PATCH 32/44] cpufreq: ppc-corenet: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 25/44] cpufreq: maple: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Dmitry Eremin-Solenikov Signed-off-by: Viresh

[PATCH 33/44] cpufreq: ppc_cbe: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 34/44] cpufreq: pxa: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Eric Miao Signed-off-by: Viresh Kumar ---

[PATCH 36/44] cpufreq: s5pv210: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Kukjin Kim Signed-off-by: Viresh Kumar ---

[PATCH 38/44] cpufreq: sh: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Paul Mundt Cc: linux...@vger.kernel.org

[PATCH 37/44] cpufreq: sc520: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 41/44] cpufreq: speedstep: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: David S. Miller Signed-off-by: Viresh Kumar ---

[PATCH 39/44] cpufreq: sparc: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: David S. Miller Cc: sparcli...@vger.kernel.org

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

2013-08-10 Thread Viresh Kumar
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 do this at core level before calling cpufreq driver and

[PATCH 43/44] cpufreq: unicore2: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Guan Xuetao Signed-off-by: Viresh Kumar ---

[PATCH 42/44] cpufreq: tegra: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Stephen Warren Signed-off-by: Viresh Kumar ---

[PATCH 40/44] cpufreq: spear: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: spear-de...@list.st.com Signed-off-by: Viresh Kumar

[PATCH 28/44] cpufreq: pasemi: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Signed-off-by: Viresh Kumar ---

[PATCH 26/44] cpufreq: omap: Use generic cpufreq routines

2013-08-10 Thread Viresh Kumar
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 generic routines for this driver. Cc: Santosh Shilimkar Signed-off-by: Viresh Kumar ---

[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

[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

[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

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

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

[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

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

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

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.

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

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

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

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,

[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

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

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

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

[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

[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

[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

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 >

[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)

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

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

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

[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

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

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

[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 ---

[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

[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

[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

[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__,

[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@

[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

[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

[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

[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

[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

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

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

[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

[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

[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

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

[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

[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

[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:

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 > > > > >

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

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

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?

[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 >

[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,

[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

[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

[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:

[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:

<    1   2   3   4   5   6   >