[PATCH 01/15] mm: cleancache: lazy initialization to allow tmem backends to build/run as modules

2013-02-01 Thread Konrad Rzeszutek Wilk
From: Dan Magenheimer With the goal of allowing tmem backends (zcache, ramster, Xen tmem) to be built/loaded as modules rather than built-in and enabled by a boot parameter, this patch provides "lazy initialization", allowing backends to register to cleancache even after filesystems were mounted.

Re: [PATCH v4 02/13] ARM: LPAE: use phys_addr_t in alloc_init_pud()

2013-02-01 Thread Subash Patel
On Friday 01 February 2013 10:14 AM, Nicolas Pitre wrote: On Fri, 1 Feb 2013, Subash Patel wrote: Hi Nicolas, On Thursday 31 January 2013 07:35 PM, Nicolas Pitre wrote: On Fri, 1 Feb 2013, Hui Wang wrote: Cyril Chemparathy wrote: From: Vitaly Andrianov This patch fixes the alloc_init_p

[PATCH] tile: support atomic64_dec_if_positive()

2013-02-01 Thread Chris Metcalf
Use the normal cmpxchg() idiom to implement this functionality. Signed-off-by: Chris Metcalf --- arch/tile/Kconfig |1 + arch/tile/include/asm/atomic.h | 21 + 2 files changed, 22 insertions(+) diff --git a/arch/tile/Kconfig b/arch/tile/Kconfig index 1bb7a

Re: [PATCH 07/10] TTY: switch tty_schedule_flip

2013-02-01 Thread Peter Hurley
On Fri, 2013-02-01 at 16:06 +0100, Jiri Slaby wrote: > On 02/01/2013 01:37 PM, Peter Hurley wrote: > > On Thu, 2013-01-03 at 15:53 +0100, Jiri Slaby wrote: > >> Now, we start converting tty buffer functions to actually use > >> tty_port. This will allow us to get rid of the need of tty in many > >>

[PATCH] drivers/input/joystick/analog.c: enable precise timer

2013-02-01 Thread Chris Metcalf
Like nm10300, tile can just use get_cycles() for this. Signed-off-by: Chris Metcalf --- drivers/input/joystick/analog.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/joystick/analog.c b/drivers/input/joystick/analog.c index 358cd7e..7cd74e2 100644 --- a/dri

[PATCH] Export {enable,disable}_percpu_irq().

2013-02-01 Thread Chris Metcalf
These functions are used by (for example) the tilegx onchip network driver, and it's useful to be able to load that driver as a module. Signed-off-by: Chris Metcalf --- kernel/irq/manage.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index e4

[PATCH] tile: export a handful of symbols appropriately

2013-02-01 Thread Chris Metcalf
This was shown up by running with "allmodconfig". I used EXPORT_SYMBOL() to match existing conventions in files that were already exporting symbols, or that were exported that way by other architectures, and otherwise EXPORT_SYMBOL_GPL(). Signed-off-by: Chris Metcalf --- arch/tile/kernel/reboot

[PATCH] tile: fix memcpy_*io functions for allnoconfig

2013-02-01 Thread Chris Metcalf
On tilepro without CONFIG_PCI, we can't provide inlines of these functions, as we don't have readl/writel. In addition, fix memset_io() signature to take a volatile void *. Signed-off-by: Chris Metcalf --- arch/tile/include/asm/io.h |6 +- 1 file changed, 5 insertions(+), 1 deletion(-)

[PATCH] tile: tag some code with #ifdef CONFIG_COMPAT

2013-02-01 Thread Chris Metcalf
This allows us to disable COMPAT mode without a link error. Signed-off-by: Chris Metcalf --- arch/tile/kernel/intvec_64.S |4 1 file changed, 4 insertions(+) diff --git a/arch/tile/kernel/intvec_64.S b/arch/tile/kernel/intvec_64.S index 54bc9a6..4ea0809 100644 --- a/arch/tile/kernel/in

[PATCH] tile: revert pr_info to printk in

2013-02-01 Thread Chris Metcalf
Using pr_info in a header exposes us to potential trouble from subsystems that define pr_fmt. This change fixes: In file included from include/linux/scatterlist.h:10, from include/scsi/scsi.h:12, from drivers/infiniband/ulp/srp/ib_srp.c:46: arch/tile/incl

[PATCH] tile: avoid defining INT_MASK macro in

2013-02-01 Thread Chris Metcalf
Unfortunately, this name conflicts with a different use of the name in various places through the tree, so don't provide it for the kernel. We preserve it for userspace to avoid breaking any userspace code that relies on this definition. This fixes a number of compile errors for various drivers t

[PATCH] tile: provide "screen_info" when enabling VT

2013-02-01 Thread Chris Metcalf
This avoids a link-time failure when building allyesconfig. Signed-off-by: Chris Metcalf --- arch/tile/kernel/setup.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index 6a649a4..d1e15f7 100644 --- a/arch/tile/kernel/setup.c +++ b

[PATCH] drm: fix compile failure by including

2013-02-01 Thread Chris Metcalf
On tile architecture (with "make allyesconfig") including is required to call swiotlb_nr_tbl(). Signed-off-by: Chris Metcalf --- drivers/gpu/drm/nouveau/nouveau_bo.c |1 + drivers/gpu/drm/radeon/radeon_ttm.c |1 + 2 files changed, 2 insertions(+) diff --git a/drivers/gpu/drm/nouveau/n

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Toshi Kani
On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > This is already done for PCI host bridges and platform devices and I don't > > > see why we can't do that for the other types of devices too. > > > > > > The only missing piece I se

[RFC PATCH] Various fixes for zcache.

2013-02-01 Thread Konrad Rzeszutek Wilk
Hey Greg, and Dan, I posted these patches some time ago, and I think Dan Ack-ed them but they are based on the patches which enables frontswap to have backends as modules. So PLEASE just consider them RFC and _NOT_ apply them - as they won't cleanly apply. They are based on this posting: https:/

[PATCH 01/16] zcache: s/int/bool/ on the various options.

2013-02-01 Thread Konrad Rzeszutek Wilk
There are so many, but this allows us to at least have them right in as bool. [v1: Rebase on ramster->zcache move] Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zcache-main.c | 46 ++-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --gi

[PATCH 06/16] zcache: Make the debug code use pr_debug

2013-02-01 Thread Konrad Rzeszutek Wilk
as if you are debugging this driver you would be using 'debug' on the command line anyhow - and this would dump the debug data on the proper loglevel. While at it also remove the unconditional #define ZCACHE_DEBUG. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zcache-main.c |

[PATCH 04/16] zcache: The last of the atomic reads has now an accessory function.

2013-02-01 Thread Konrad Rzeszutek Wilk
And now we can move the code to its own file. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zcache-main.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index a55a95b

[PATCH 07/16] zcache: Move debugfs code out of zcache-main.c file.

2013-02-01 Thread Konrad Rzeszutek Wilk
Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/Makefile | 3 +- drivers/staging/zcache/debug.c | 113 drivers/staging/zcache/debug.h | 183 ++ drivers/staging/zcache/zcache-main.c | 247 +-

[PATCH 09/16] zcache: Move the last of the debugfs counters out

2013-02-01 Thread Konrad Rzeszutek Wilk
We now have in zcache-main only the counters that are are not debugfs related. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/debug.h | 80 +++- drivers/staging/zcache/zcache-main.c | 71 2 files changed, 87

[PATCH 16/16] zcache/zbud: Fix __init mismatch

2013-02-01 Thread Konrad Rzeszutek Wilk
We get: WARNING: drivers/staging/zcache/zcache.o(.text+0x13a1): Section mismatch in reference from the function zcache_init() to the function .init.text:zbud_init() The function zcache_init() references the function __init zbud_init(). This is often because zcache_init lacks a __init annotation or

[PATCH 15/16] ramster: Fix compile warnings due to usage of debugfs_create_size_t

2013-02-01 Thread Konrad Rzeszutek Wilk
We get tons of "note: expected ‘size_t *’ but argument is of type ‘long int *’" warnings. This fixes it. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/ramster/ramster.c | 34 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/driver

[PATCH 05/16] zcache: Fix compile warnings due to usage of debugfs_create_size_t

2013-02-01 Thread Konrad Rzeszutek Wilk
When we compile we get tons of: include/linux/debugfs.h:80:16: note: expected ‘size_t *’ but argument is of type ‘long int *’ drivers/staging/zcache/zcache-main.c:279:2: warning: passing argument 4 of ‘debugfs_create_size_t’ from incompatible pointer type [enabled by d efault] which is b/c we end

[PATCH 14/16] zcache/zbud: Provide the accessory functions for counter decrease.

2013-02-01 Thread Konrad Rzeszutek Wilk
Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zbud.c | 38 -- 1 file changed, 24 insertions(+), 14 deletions(-) diff --git a/drivers/staging/zcache/zbud.c b/drivers/staging/zcache/zbud.c index cff596c..e139cd6 100644 --- a/drivers/staging/zca

[PATCH 13/16] zcache/zbud: Add incremental accessory counters

2013-02-01 Thread Konrad Rzeszutek Wilk
that are going to be used for debug fs entries. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zbud.c | 58 +-- 1 file changed, 39 insertions(+), 19 deletions(-) diff --git a/drivers/staging/zcache/zbud.c b/drivers/staging/zcache/zbud.c i

[PATCH 12/16] zcache/zbud: Fix compiler warnings.

2013-02-01 Thread Konrad Rzeszutek Wilk
We get tons of: drivers/staging/zcache/zbud.c: In function ‘zbud_debugfs_init’: drivers/staging/zcache/zbud.c:323:2: warning: passing argument 4 of ‘debugfs_create_size_t’ from incompatible pointer type [enabled by default] In file included from drivers/staging/zcache/zbud.c:305:0: This fixes it

[PATCH 11/16] zcache/debug: Coalesce all debug under CONFIG_ZCACHE_DEBUG

2013-02-01 Thread Konrad Rzeszutek Wilk
and also define this extra attribute in the Kconfig entry. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/Kconfig | 8 drivers/staging/zcache/debug.c | 2 +- drivers/staging/zcache/zcache-main.c | 6 +++--- 3 files changed, 12 insertions(+), 4 deletions(-)

[PATCH 02/16] zcache: Provide accessory functions for counter increase

2013-02-01 Thread Konrad Rzeszutek Wilk
This is the first step in moving the debugfs code out of the main file in-to another file. And also allow the code to run without CONFIG_DEBUG_FS defined. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zcache-main.c | 103 +++ 1 file changed, 68 i

[PATCH 10/16] zcache: Module license is defined twice.

2013-02-01 Thread Konrad Rzeszutek Wilk
The other (same license) is at the end of the file. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zcache-main.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/zcache/zcache-main.c b/drivers/staging/zcache/zcache-main.c index 8341d79..8830359 100644 --- a/

[PATCH 08/16] zcache/debug: Use an array to initialize/use debugfs attributes.

2013-02-01 Thread Konrad Rzeszutek Wilk
It makes it neater and also allows us to piggyback on that in the zcache_dump function. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/debug.c | 141 ++--- 1 file changed, 47 insertions(+), 94 deletions(-) diff --git a/drivers/staging/zcache/

[PATCH 03/16] zcache: Provide accessory functions for counter decrease.

2013-02-01 Thread Konrad Rzeszutek Wilk
This way we can have all wrapped with these functions and can disable/enable this with CONFIG_DEBUG_FS. Signed-off-by: Konrad Rzeszutek Wilk --- drivers/staging/zcache/zcache-main.c | 88 +--- 1 file changed, 51 insertions(+), 37 deletions(-) diff --git a/drivers

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Felipe Balbi
hi, On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: > > good point, do you wanna send some patches ? > >I have already sent them countless times and even stuck CPPI 4.1 support > (in > arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove > the > patch

[PATCH 0/3] omap_hsmmc DT DMA Client support

2013-02-01 Thread Matt Porter
This series adds DT DMA Engine Client support to the omap_hsmmc. It leverages the generic DMA OF helpers in -next and the dma_request_slave_channel_compat() wrapper introduced in the AM33XX DMA Engine series to support DMA in omap_hsmmc on platforms booting via DT. These platforms include omap2/3/4

[PATCH 3/3] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-02-01 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 26 +++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindi

[PATCH 2/3] mmc: omap_hsmmc: Skip platform_get_resource_byname() for dt case

2013-02-01 Thread Matt Porter
From: Santosh Shilimkar MMC driver probe will abort for DT case because of failed platform_get_resource_byname() lookup. Fix it by skipping resource byname lookup for device tree build. Issue is hidden because hwmod popullates the IO resources which helps to succeed platform_get_resource_byname(

[PATCH 1/3] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports platforms booting with or without DT populated. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) di

Re: [RFC][PATCH v8 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-01 Thread Steven Rostedt
On Mon, 2013-01-21 at 22:14 +, Seiji Aguchi wrote: > --- /dev/null > +++ b/arch/x86/kernel/tracepoint.c > @@ -0,0 +1,61 @@ > +/* > + * Code for supporting irq vector tracepoints. > + * > + * Copyright (C) 2013 Seiji Aguchi > + * > + */ > +#include > +#include > + > +static struct desc_ptr t

RE: [RFC][PATCH v8 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-01 Thread Seiji Aguchi
> > +#include > > +#include > > + > > +static struct desc_ptr trace_idt_descr = { NR_VECTORS * 16 - 1, > > + (unsigned long) trace_idt_table }; > > + > > +#ifndef CONFIG_X86_64 > > +gate_desc trace_idt_table[NR_VECTORS] __page_aligned_data > > +

Re: [PATCH] firewire: Fix ohci free_irq() warning

2013-02-01 Thread Peter Hurley
On Fri, 2013-02-01 at 19:13 +, Mark Einon wrote: > On 31 January 2013 15:04, Alan Stern wrote: > > On Wed, 30 Jan 2013, Mark Einon wrote: > > > >> >> > >> This patch fixes the kernel warning generated when putting an MSI > >> >> > >> MS-1727 > >> >> > >> GT740 laptop into suspend mode. The ca

Re: [PATCH] SubmittingPatches: add penalty for forcing a maintainer to edit a patch

2013-02-01 Thread Anca Emanuel
Joe, read lkml and decide after that. I fully apove the pathch. Reviewed-by: Anca Emanuel Review-requested-by: Joe Perches Comments: You have 3 kernels to maintain as stable, plus drivers, plus etc. If somebody post something without reading the docs, and you have to repeat to them the same,

Re: [PATCH v2 1/6] usb: otg: Add an API to bind the USB controller and PHY

2013-02-01 Thread Marc Kleine-Budde
On 01/25/2013 03:33 AM, Kishon Vijay Abraham I wrote: > In order to support platforms which has multiple PHY's (of same type) and > which has multiple USB controllers, a new design is adopted wherin the binding > information (between the PHY and the USB controller) should be passed to the > PHY lib

Re: [PATCH] firewire: Fix ohci free_irq() warning

2013-02-01 Thread Peter Hurley
On Fri, 2013-02-01 at 16:09 -0500, Peter Hurley wrote: > On Fri, 2013-02-01 at 19:13 +, Mark Einon wrote: > > On 31 January 2013 15:04, Alan Stern wrote: > > > On Wed, 30 Jan 2013, Mark Einon wrote: > > > > > >> >> > >> This patch fixes the kernel warning generated when putting an > > >> >> >

[PATCH] hwmon: (lm90) Add device tree support

2013-02-01 Thread Vincent Palatin
Add support to instantiate LM90-compatible sensors from a device-tree configuration. When the kernel has device tree support, we avoid doing the auto-detection as probing the busses might mess-up sensitive I2C devices or trigger long timeouts on non-functional busses. Signed-off-by: Vincent Palati

[GIT PULL] target fixes for v3.8-rc7

2013-02-01 Thread Nicholas A. Bellinger
Hi Linus, Here's the current set of v3.8-rc fixes in the target-pending.git queue. Apologies in advance for these missing the -rc6 release, and having to be destined for -rc7 code. Please go ahead and pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master The m

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Russell King - ARM Linux
On Fri, Feb 01, 2013 at 10:56:00PM +0200, Felipe Balbi wrote: > hi, > > On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: > > > good point, do you wanna send some patches ? > > > >I have already sent them countless times and even stuck CPPI 4.1 support > > (in > > arch/arm/com

Re: [PATCH] hwmon: (lm90) Add device tree support

2013-02-01 Thread Guenter Roeck
On Fri, Feb 01, 2013 at 01:18:22PM -0800, Vincent Palatin wrote: > Add support to instantiate LM90-compatible sensors from a device-tree > configuration. > When the kernel has device tree support, we avoid doing the auto-detection > as probing the busses might mess-up sensitive I2C devices or trigg

Re: [PATCH 0/3] build 3.7 kernel without perl

2013-02-01 Thread Anca Emanuel
ping ? Rob, if nobody thake your patches then you must ping it to relevant maintainers to be included in next. On Tue, Dec 18, 2012 at 3:12 AM, wrote: > Before 2.6.25 building Linux never required perl. This patch series removes > the requirement from basic kernel builds (tested on i686, x86_64,

Re: [Resend][PATCH] ACPI / PM: Do not power manage devices in unknown initial states

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 07:23:52 PM Peter Wu wrote: > On Thursday 31 January 2013 23:32:40 Rafael J. Wysocki wrote: > > In general, for ACPI device power management to work, the initial > > power states of devices must be known (otherwise, we wouldn't be able > > to keep track of power resourc

Re: [PATCH v2 2/6] usb: otg: utils: add facilities in phy lib to support multiple PHYs of same type

2013-02-01 Thread Marc Kleine-Budde
On 01/25/2013 03:33 AM, Kishon Vijay Abraham I wrote: > In order to add support for multipe PHY's of the same type, new API's > for adding PHY and getting PHY has been added. Now the binding > information for the PHY and controller should be done in platform file > using usb_bind_phy API. And for g

Re: [PATCH] hwmon: (lm90) Add device tree support

2013-02-01 Thread Jean Delvare
On Fri, 1 Feb 2013 13:36:40 -0800, Guenter Roeck wrote: > On Fri, Feb 01, 2013 at 01:18:22PM -0800, Vincent Palatin wrote: > > When the kernel has device tree support, we avoid doing the auto-detection > > as probing the busses might mess-up sensitive I2C devices or trigger long > > timeouts on non

Re: [PATCH] ARM: OMAP: gpmc: Add device tree documentation for elm handle

2013-02-01 Thread Tony Lindgren
* Philip Avinash [130117 21:00]: > In case ELM module available, omap2 NAND driver can opt for hardware > correction method for bit flip errors in NAND flash with BCH. Hence the > detection of ELM module is done through devicetree population of elm_id. > This patch update device tree documentation

Re: [PATCH] x86, x2apic: Only WARN on broken BIOSes inside a virtual guest

2013-02-01 Thread Andy Lutomirski
On 01/31/2013 12:52 PM, Alex Williamson wrote: > On Thu, 2013-01-31 at 22:00 +0200, Gleb Natapov wrote: >> On Thu, Jan 31, 2013 at 02:34:27PM -0500, Don Zickus wrote: >>> On Thu, Jan 31, 2013 at 08:52:00PM +0200, Gleb Natapov wrote: > http://www.invisiblethingslab.com/resources/2011/Software%20

Re: [Xen-devel] [PATCH] PVH linux: Use ballooning to allocate grant table pages

2013-02-01 Thread Mukesh Rathor
On Thu, 31 Jan 2013 18:44:46 -0800 Mukesh Rathor wrote: > On Thu, 31 Jan 2013 18:30:15 -0800 > Mukesh Rathor wrote: > > > This patch fixes a fixme in Linux to use alloc_xenballooned_pages() > > to allocate pfns for grant table pages instead of kmalloc. This also > > simplifies add to physmap on

Re: [PATCH 1/4] arch: arm: gpmc: gpmc migration support

2013-02-01 Thread Tony Lindgren
* Philip Avinash [130123 01:28]: > With recent GPMC driver conversion, usage of gpmc_save/restore_context > can done from gpmc driver itself. Hence removes the usage from pm34xx.c. > Also removes the conditional compilation primitives ARCH_OMAP3 for > gpmc_save/restore_context. Hmm I think this w

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 08:23:12 AM Greg KH wrote: > On Thu, Jan 31, 2013 at 09:54:51PM +0100, Rafael J. Wysocki wrote: > > > > But, again, I'm going to ask why you aren't using the existing cpu / > > > > memory / bridge / node devices that we have in the kernel. Please use > > > > them, or g

[PATCH] stmmac: don't return zero on failure path in stmmac_pci_probe()

2013-02-01 Thread Alexey Khoroshilov
If stmmac_dvr_probe() fails in stmmac_pci_probe(), it breaks off initialization, deallocates all resources, but returns zero. The patch adds -ENODEV as return value in this case. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov --- drivers/net/eth

Re: [PATCH] SubmittingPatches: add penalty for forcing a maintainer to edit a patch

2013-02-01 Thread Randy Dunlap
On 02/01/13 13:07, Anca Emanuel wrote: > Joe, read lkml and decide after that. > I fully apove the pathch. > > Reviewed-by: Anca Emanuel > > Review-requested-by: Joe Perches > > > Comments: > You have 3 kernels to maintain as stable, plus drivers, plus etc. > If somebody post something withou

Re: [PATCH] leds-ot200: Fix error caused by shifted mask

2013-02-01 Thread Andrew Morton
On Fri, 1 Feb 2013 16:08:15 +0100 Christian Gmeiner wrote: > ping Bryan is handling LEDs patches (see ./MAINTAINERS). Without a cc he presumably missed this in the lkml flood. > 2013/1/23 GMEINER.Christian : > >> -Urspr__ngliche Nachricht- > >> Von: Christian Gmeiner [mailto:christian.

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 01:40:10 PM Toshi Kani wrote: > On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > > This is already done for PCI host bridges and platform devices and I > > don't > > > > see why we can't do that for

Re: [RFC][PATCH v8 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-01 Thread Steven Rostedt
On Fri, 2013-02-01 at 21:06 +, Seiji Aguchi wrote: > > > +#include > > > +#include > > > + > > > +static struct desc_ptr trace_idt_descr = { NR_VECTORS * 16 - 1, > > > + (unsigned long) trace_idt_table }; > > > + > > > +#ifndef CONFIG_X86_64 > > > +gate_desc trace_

Re: [PATCH 1/4] intel_idle: stop using driver_data for static flags

2013-02-01 Thread Daniel Lezcano
On 02/01/2013 07:40 PM, Len Brown wrote: > On 02/01/2013 03:44 AM, Daniel Lezcano wrote: >> On 02/01/2013 05:11 AM, Len Brown wrote: >>> From: Len Brown >>> >>> The commit, 4202735e8ab6ecfb0381631a0d0b58fefe0bd4e2 >>> (cpuidle: Split cpuidle_state structure and move per-cpu statistics fields) >>>

Re: [RESEND PATCH 1/4] ACPI/PM: Fix acpi_bus_get_device() check in drivers/acpi/device_pm.c

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 08:43:09 AM Yasuaki Ishimatsu wrote: > Hi Rafael, > > 2013/02/01 5:21, Rafael J. Wysocki wrote: > > On Thursday, January 31, 2013 12:22:14 PM Yasuaki Ishimatsu wrote: > >> I fogot to change subject. So I resend a patch. > > > > I have applied patches [1-3/4] to my blee

Re: [PATCH 2/2] cpufreq: governors: Remove code redundancy between governors

2013-02-01 Thread Rafael J. Wysocki
On Friday, February 01, 2013 08:08:42 AM Viresh Kumar wrote: > On 1 February 2013 08:01, Viresh Kumar wrote: > > Really!! I see bleeding edge as df0e3f4 and i don't see the $(subject) patch > > in it :) > > Well it might have been dropped by Rafael due to build error, Precisely. > which would b

RE: [RFC][PATCH v8 2/3] trace,x86: add x86 irq vector tracepoints

2013-02-01 Thread Seiji Aguchi
> > Also, don't forget to add the mutex protection that I suggested in another > email. Will do. Thanks, Seiji -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordo

Re: [PATCH 1/2] PCI: ASPM exit link state code could skip devices

2013-02-01 Thread Bjorn Helgaas
On Fri, Feb 1, 2013 at 12:55 PM, Joe Lawrence wrote: > On Thu, 31 Jan 2013, Myron Stowe wrote: >> PCI: ASPM exit link state code is skipping devices >> >> From: Myron Stowe >> >> On PCI bus hotplug removal, 'pcie_aspm_exit_link_state' can potentially >> skip parent devices that have link_state a

Re: [PATCH] tile: revert pr_info to printk in

2013-02-01 Thread Joe Perches
On Fri, 2013-02-01 at 12:34 -0500, Chris Metcalf wrote: > Using pr_info in a header exposes us to potential trouble from > subsystems that define pr_fmt. This change fixes: > > In file included from include/linux/scatterlist.h:10, >from include/scsi/scsi.h:12, >

[PATCH 0/4] Platform: x86: chromeos_laptop - Add more x86 Chromebooks

2013-02-01 Thread Benson Leung
This patch series will add support for the following devices on the following laptops: Acer C7 Chromebook - Cypress APA Smbus Trackpad Acer AC700 - Taos tsl2563 light sensor Samsung Series 5 Chromebook - Taos tsl2583 light sensor Cr-48 - Taos tsl2563 light sensor Cheers, Benson -- To unsubscribe

[PATCH 1/4] Platform: x86: chromeos_laptop - Rename setup_lumpy_tp to setup_cyapa_smbus_tp

2013-02-01 Thread Benson Leung
The Cypress trackpad on smbus is used on other systems as well. Lets make the name more generic. Signed-off-by: Benson Leung --- drivers/platform/x86/chromeos_laptop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platfo

[PATCH 3/4] Platform: x86: chromeos_laptop - Add Taos tsl2563 device

2013-02-01 Thread Benson Leung
Two legacy Chromebooks, the Cr-48, and the Acer AC700, are equipped with a Taos tsl2563 light sensor. This will instantiate the sensor on those laptops. Signed-off-by: Benson Leung --- drivers/platform/x86/chromeos_laptop.c | 26 ++ 1 file changed, 26 insertions(+) diff

[PATCH 4/4] Platform: x86: chromeos_laptop - Add Taos tsl2583 device

2013-02-01 Thread Benson Leung
The Samsung Series 5 Chromebook is equipped with a Taos tsl2583 light sensor. Instatiate it here. Signed-off-by: Benson Leung --- drivers/platform/x86/chromeos_laptop.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/plat

[PATCH 2/4] Platform: x86: chromeos_laptop - Add Acer C7 trackpad

2013-02-01 Thread Benson Leung
Add support for the Acer C7's trackpad, which is a reuse of the Samsung Series 5 550 trackpad. Signed-off-by: Benson Leung --- drivers/platform/x86/chromeos_laptop.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/platform/x86/chromeos_laptop.c b/drivers/platform/x86/chromeos

Re: [PATCH RFC v2] media: tvp514x: add OF support

2013-02-01 Thread Sylwester Nawrocki
Hi Prabhakar, On 01/29/2013 02:07 PM, Prabhakar Lad wrote: [...] diff --git a/Documentation/devicetree/bindings/media/i2c/tvp514x.txt b/Documentation/devicetree/bindings/media/i2c/tvp514x.txt new file mode 100644 index 000..55d3ffd --- /dev/null +++ b/Documentation/devicetree/bindings/media

Re: [tpmdd-devel] [PATCH] TPM: Work around buggy TPMs that block during continue self test

2013-02-01 Thread Kent Yoder
On Mon, Jan 28, 2013 at 8:11 AM, Kent Yoder wrote: > On Fri, Jan 25, 2013 at 01:25:38PM -0700, Jason Gunthorpe wrote: >> On Tue, Jan 22, 2013 at 05:29:23PM -0600, Kent Yoder wrote: >> > Hi Jason, >> > >> > On Wed, Nov 21, 2012 at 3:15 PM, Jason Gunthorpe >> > wrote: >> > > We've been testing an a

Re: [PATCH v1] block: partition: optimize memory allocation in check_partition

2013-02-01 Thread Andrew Morton
On Fri, 1 Feb 2013 20:23:12 +0800 Ming Lei wrote: > Currently, sizeof(struct parsed_partitions) may be 64KB in 32bit arch, > so it is easy to trigger page allocation failure by check_partition, > especially in hotplug block device situation(such as, USB mass storage, > MMC card, ...), and Felipe

Re: [RFC PATCH v5 0/8] introduce PCI bus notifier chain to get rid of the ACPI PCI subdriver interfaces

2013-02-01 Thread Bjorn Helgaas
On Fri, Feb 1, 2013 at 9:13 AM, Jiang Liu wrote: > On 01/29/2013 10:04 AM, Jiang Liu wrote: >> On 2013-1-29 8:34, Rafael J. Wysocki wrote: >>> On Monday, January 28, 2013 01:56:33 PM Bjorn Helgaas wrote: On Fri, Jan 18, 2013 at 9:07 AM, Jiang Liu wrote: > This is an RFC patchset to addre

Re: [REVERT][v3.x.y] EHCI: Update qTD next pointer in QH overlay region during unlink

2013-02-01 Thread Joseph Salisbury
On 01/17/2013 01:56 PM, Alan Stern wrote: On Thu, 17 Jan 2013, Joseph Salisbury wrote: Hello, Please consider reverting commit 3d037774b42ed677f699b1dce7d548d55f4e4c2b in mainline as well as in the current stable releases. It was included upstream as of v3.6-rc6. This commit introduced a reg

Re: [PATCH 2/7] clk: tegra: Use common of_clk_init() function

2013-02-01 Thread Mike Turquette
Quoting Prashant Gaikwad (2013-01-31 20:49:47) > On Friday 25 January 2013 10:14 AM, Stephen Warren wrote: > > On 01/24/2013 04:57 PM, Mike Turquette wrote: > >> Quoting Stephen Warren (2013-01-24 11:32:37) > >>> On 01/24/2013 11:20 AM, Mike Turquette wrote: > Quoting Prashant Gaikwad (2013-01

[PATCH] intel_irq_remapping: Clean up x2apic optout security warning mess

2013-02-01 Thread Andy Lutomirski
Current kernels print this on my Dell server: [ cut here ] WARNING: at drivers/iommu/intel_irq_remapping.c:542 intel_enable_irq_remapping+0x7b/0x27e() Hardware name: PowerEdge R620 Your BIOS is broken and requested that x2apic be disabled This will leave y

Re: [PATCH v2] PCI: pciehp: drop ENTRY messages

2013-02-01 Thread Bjorn Helgaas
On Thu, Jan 31, 2013 at 11:35 AM, Paul Bolle wrote: > In each suspend and resume cycle my laptop prints these messages at > KERN_INFO level: > pciehp :00:1c.1:pcie04: pciehp_suspend ENTRY > pciehp :00:1c.0:pcie04: pciehp_suspend ENTRY > > and > pciehp :00:1c.0:pcie04: pcieh

Re: [PATCH] firewire: Fix ohci free_irq() warning

2013-02-01 Thread Mark Einon
On 1 February 2013 21:09, Peter Hurley wrote: > Hi Mark, > > I think what Alan means is that the suspend/resume code should just > mask/unmask interrupts at the OHCI controller, via the OHCI > IntEventClear/Set registers (naturally, saving the current mask and > restoring it on resume). > > Of cou

Re: [tpmdd-devel] [PATCH] TPM: Work around buggy TPMs that block during continue self test

2013-02-01 Thread Jason Gunthorpe
On Fri, Feb 01, 2013 at 04:38:42PM -0600, Kent Yoder wrote: > >> > https://github.com/shpedoikal/linux.git tpmdd-01-22-13 > >> > >> Thanks Kent, I will try to test your branch next week, if I am able. > >> > >> Can you also grab > >> > >> https://github.com/jgunthorpe/linux/commit/98b2a198b43b41b0

Re: [PATCH 1/2] acpiphp: create companion ACPI devices before creating PCI devices

2013-02-01 Thread Bjorn Helgaas
On Wed, Jan 30, 2013 at 9:10 AM, Jiang Liu wrote: > From: Jiang Liu > > With commit 4f535093cf8f6da8c "PCI: Put pci_dev in device tree as > early as possible", companion ACPI devices should be created before > creating correspoding PCI devices, otherwise it will break the ACPI > PCI binding logic

[PATCH] [PREEMPT_RT] make pagefault_{disable,enable}() back into static inlines

2013-02-01 Thread Clark Williams
Thomas, The PREEMPT_RT behavior of moving pagefault_disable() and pagefault_enable() into mm/memory.c as EXPORT_SYMBOL_GPL symbols breaks compilation of a third-party driver that builds fine on a stock kernel. Yes, I know, I know, it's a binary driver, but my problem is that it already compiles an

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 0:56, Felipe Balbi wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's patch system. TI requested to remove the patch. :-( sticking into arch/arm/co

Re: [PATCH 10/18] mm: teach truncate_inode_pages_range() to handle non page aligned ranges

2013-02-01 Thread Andrew Morton
On Fri, 1 Feb 2013 11:43:36 +0100 Lukas Czerner wrote: > This commit changes truncate_inode_pages_range() so it can handle non > page aligned regions of the truncate. Currently we can hit BUG_ON when > the end of the range is not page aligned, but we can handle unaligned > start of the range. >

Re: [PATCH 1/2] acpiphp: create companion ACPI devices before creating PCI devices

2013-02-01 Thread Bjorn Helgaas
On Fri, Feb 1, 2013 at 4:06 PM, Bjorn Helgaas wrote: > On Wed, Jan 30, 2013 at 9:10 AM, Jiang Liu wrote: >> From: Jiang Liu >> >> With commit 4f535093cf8f6da8c "PCI: Put pci_dev in device tree as >> early as possible", companion ACPI devices should be created before >> creating correspoding PCI

Re: [PATCH 2/2] acpiphp: remove dead code for PCI host bridge hotplug

2013-02-01 Thread Bjorn Helgaas
On Wed, Jan 30, 2013 at 9:10 AM, Jiang Liu wrote: > From: Jiang Liu > > Commit 668192b678201d2fff27c "PCI: acpiphp: Move host bridge hotplug > to pci_root.c" has moved PCI host bridge hotplug logic from acpiphp > to pci_root, but there is still PCI host bridge hotplug related > dead code left in

Re: [RFC PATCH v2 01/12] Add sys_hotplug.h for system device hotplug framework

2013-02-01 Thread Toshi Kani
On Fri, 2013-02-01 at 23:21 +0100, Rafael J. Wysocki wrote: > On Friday, February 01, 2013 01:40:10 PM Toshi Kani wrote: > > On Fri, 2013-02-01 at 07:30 +, Greg KH wrote: > > > On Thu, Jan 31, 2013 at 06:32:18PM -0700, Toshi Kani wrote: > > > > This is already done for PCI host bridges and pla

Re: [ 00/89] 3.7.6-stable review

2013-02-01 Thread Shuah Khan
On Fri, Feb 1, 2013 at 6:07 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.7.6 release. > There are 89 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Respo

Re: [ 00/33] 3.4.29-stable review

2013-02-01 Thread Shuah Khan
On Fri, Feb 1, 2013 at 3:49 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.4.29 release. > There are 33 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Resp

Re: [Xen-devel] [PATCH] PVH linux: Use ballooning to allocate grant table pages

2013-02-01 Thread Mukesh Rathor
On Fri, 1 Feb 2013 14:00:58 -0800 Mukesh Rathor wrote: > On Thu, 31 Jan 2013 18:44:46 -0800 > Mukesh Rathor wrote: > > > On Thu, 31 Jan 2013 18:30:15 -0800 > > Mukesh Rathor wrote: > > > > > This patch fixes a fixme in Linux to use > > > alloc_xenballooned_pages() to allocate pfns for grant t

Re: [PATCH 2/2] acpiphp: remove dead code for PCI host bridge hotplug

2013-02-01 Thread Yinghai Lu
On Fri, Feb 1, 2013 at 12:50 AM, Yijing Wang wrote: > On 2013/1/31 23:59, Yinghai Lu wrote: >> On Thu, Jan 31, 2013 at 7:37 AM, Jiang Liu wrote: >>> >>> So I think the code in handle_hotplug_event_bridge() to handle P2P >>> hot-addition >>> is dead. Yijing has helped to test the code by faking A

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 01-02-2013 22:59, Matt Porter wrote: Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. I think this should rather go to drivers/dma/? No, this is the private EDMA API. It's the analogous thing to the private OMAP dma API that is in

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 1:30, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's pa

Re: [PATCH 2/3] mm: accelerate mm_populate() treatment of THP pages

2013-02-01 Thread Andrew Morton
On Wed, 30 Jan 2013 16:26:19 -0800 Michel Lespinasse wrote: > This change adds a page_mask argument to follow_page. > > follow_page sets *page_mask to HPAGE_PMD_NR - 1 when it encounters a THP page, > and to 0 in other cases. > > __get_user_pages() makes use of this in order to accelerate popul

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-01 Thread Sergei Shtylyov
Hello. On 02-02-2013 1:30, Russell King - ARM Linux wrote: On Fri, Feb 01, 2013 at 11:49:11PM +0300, Sergei Shtylyov wrote: good point, do you wanna send some patches ? I have already sent them countless times and even stuck CPPI 4.1 support (in arch/arm/common/cppi41.c) in Russell's pa

Re: [PATCH 1/9] mm: add SECTION_IN_PAGE_FLAGS

2013-02-01 Thread Andrew Morton
On Thu, 17 Jan 2013 14:52:53 -0800 Cody P Schafer wrote: > Instead of directly utilizing a combination of config options to determine > this, > add a macro to specifically address it. > > ... > > --- a/include/linux/mm.h > +++ b/include/linux/mm.h > @@ -625,6 +625,10 @@ static inline pte_t mayb

Re: [PATCH 5/9] mmzone: add pgdat_{end_pfn,is_empty}() helpers & consolidate.

2013-02-01 Thread Andrew Morton
On Thu, 17 Jan 2013 14:52:57 -0800 Cody P Schafer wrote: > From: Cody P Schafer > > Add pgdat_end_pfn() and pgdat_is_empty() helpers which match the similar > zone_*() functions. > > Change node_end_pfn() to be a wrapper of pgdat_end_pfn(). > > ... > > --- a/include/linux/mmzone.h > +++ b/inc

Re: [PATCH 6/9] mm/page_alloc: add informative debugging message in page_outside_zone_boundaries()

2013-02-01 Thread Andrew Morton
On Thu, 17 Jan 2013 14:52:58 -0800 Cody P Schafer wrote: > Add a debug message which prints when a page is found outside of the > boundaries of the zone it should belong to. Format is: > "page $pfn outside zone [ $start_pfn - $end_pfn ]" > > Signed-off-by: Cody P Schafer > --- > mm/page_

Re: [PATCH 6/9] mm/page_alloc: add informative debugging message in page_outside_zone_boundaries()

2013-02-01 Thread Andrew Morton
On Fri, 1 Feb 2013 16:28:48 -0800 Andrew Morton wrote: > > + if (ret) > > + pr_debug("page %lu outside zone [ %lu - %lu ]\n", > > + pfn, start_pfn, start_pfn + sp); > > + > > return ret; > > } > > As this condition leads to a VM_BUG_ON(), "pr_debug" seems rathe

<    1   2   3   4   5   6   7   >