Re: [resend][PATCH 00/16] dw_dmac related patchset

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 10:16:59AM +0200, Andy Shevchenko wrote: > There is a patchset against dw_dmac driver. It has been resent for Vinod to > review after he returned back from vacation and holidays. That's why there is > no Cc list. Applied these: 21fe3c5 dma: dw_dmac: add dwc_chan_pause and

Re: [RFC PATCH v1 24/40] metag: DMA

2013-01-09 Thread James Hogan
On 23/11/12 16:47, Arnd Bergmann wrote: > On Friday 23 November 2012, James Hogan wrote: >> Subject: [PATCH 1/1] asm-generic/io.h: check CONFIG_VIRT_TO_BUS >> >> Make asm-generic/io.h check CONFIG_VIRT_TO_BUS before defining >> virt_to_bus() and bus_to_virt(), otherwise it's easy to accidentally

Friendlier EPERM - Request for input

2013-01-09 Thread Eric Paris
Getting an EPERM/EACCES in userspace really kinda blows. As a user you don't have any idea why you got it. It could be SELinux, it could be rwx bits on the file, it could be a missing capability, it could be an ACL, it could be who knows what. We'd like to start figuring out the who knows what

Re: [resend][PATCH 01/16] dw_dmac: call .probe after we have a device in place

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 04:56:45PM +0200, Andy Shevchenko wrote: > On Wed, Jan 9, 2013 at 3:47 PM, Vinod Koul wrote: > > On Wed, Jan 09, 2013 at 10:17:00AM +0200, Andy Shevchenko wrote: > >> If we don't yet have the platform device for the driver when it is being > >> loaded > >> we fail to

Re: [resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Andy Shevchenko
On Wed, Jan 9, 2013 at 5:10 PM, Vinod Koul wrote: > On Wed, Jan 09, 2013 at 04:58:02PM +0200, Andy Shevchenko wrote: >> On Wed, Jan 9, 2013 at 4:19 PM, Viresh Kumar wrote: >> > n 9 January 2013 19:20, Vinod Koul wrote: >> >>> +static inline bool is_slave_xfer(enum dma_transfer_direction

Re: [PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start

2013-01-09 Thread Tejun Heo
On Tue, Jan 08, 2013 at 04:31:30PM +0900, Jun'ichi Nomura wrote: > With 749fefe677 in v3.7 ("block: lift the initial queue bypass mode > on blk_register_queue() instead of blk_init_allocated_queue()"), > the following warning appears when multipath is used with CONFIG_PREEMPT=y. > > This patch

[PATCH] staging: ipu-di: Change DI address info to dev_dbg

2013-01-09 Thread Fabio Estevam
Currently when ipuv3 is probed we have: imx-ipuv3 4000.ipu: DI0 base: 0x5e04 remapped to a08aa000 imx-ipuv3 4000.ipu: DI1 base: 0x5e048000 remapped to a08ac000 imx-ipuv3 4000.ipu: IPUv3EX probed The DI base address and the remapped address are more interesting for debug

Re: [PATCH repost] blkcg: fix "scheduling while atomic" in blk_queue_bypass_start

2013-01-09 Thread Vivek Goyal
On Tue, Jan 08, 2013 at 04:31:30PM +0900, Jun'ichi Nomura wrote: > With 749fefe677 in v3.7 ("block: lift the initial queue bypass mode > on blk_register_queue() instead of blk_init_allocated_queue()"), > the following warning appears when multipath is used with CONFIG_PREEMPT=y. > > This patch

Re: [PATCH] Proposed removal of IS_ERR_OR_NULL() (was: Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface)

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 10:27:53AM -0500, Nicolas Pitre wrote: > Anyone with good coccinelle skills around to deal with the users? I'm not sure that's a solution. For example: err = gpio_request(en_vdd_1v05, "EN_VDD_1V05"); if (err) { pr_err("%s: gpio_request

Re: [PATCH 2/7] uprobes: Fold xol_alloc_area() into get_xol_area()

2013-01-09 Thread Oleg Nesterov
On 01/09, Anton Arapov wrote: > > On Mon, Dec 31, 2012 at 06:52:16PM +0100, Oleg Nesterov wrote: > > + * get_alloc_area - Allocate process's xol_area if necessary. > > + * This area will be used for storing instructions for execution out of > > line. > > * > > * Returns the allocated area or

Re: [PATCH] cpufreq: Simplify __cpufreq_remove_dev()

2013-01-09 Thread Viresh Kumar
On 9 January 2013 16:50, Viresh Kumar wrote: > [Probably need to simplify cpufreq_add_dev() too, but that can be done as next > step.] I have tried that too, it is also pushed at: https://lkml.org/lkml/2012/12/16/5 [Untested for now, will be doing it tomorrow] From: Viresh Kumar Date: Wed, 9

Re: [PATCH 04/11] ARM: Tegra: Define Tegra30 CAR binding

2013-01-09 Thread Peter De Schrijver
On Sun, Dec 23, 2012 at 12:05:44PM +0100, Prashant Gaikwad wrote: > The device tree binding models Tegra30 CAR (Clock And Reset) > as a single monolithic clock provider. > > Signed-off-by: Prashant Gaikwad ... > + 81 i2cslow ... > + 217i2cslow I guess 81 is the correct number?

Re: [PATCH RFC 1/3] davinci: vpif: capture: add V4L2-async support

2013-01-09 Thread Hans Verkuil
On Wed 9 January 2013 14:41:25 Lad, Prabhakar wrote: > Add support for asynchronous subdevice probing, using the v4l2-async API. > The legacy synchronous mode is still supported too, which allows to > gradually update drivers and platforms. The selected approach adds a > notifier for each struct

Re: [PATCH RFT] regulator: lp8788-ldo: Use ldo->en_pin to check if regulator is enabled by external pin

2013-01-09 Thread Mark Brown
On Wed, Jan 09, 2013 at 02:34:40AM +, Kim, Milo wrote: > - goto wash; > + > + if (ret == -EBUSY && config->is_gpio_shared) > + shared_ena_pin = true; > + > + if (!shared_ena_pin) > +

Re: [resend][PATCH 11/16] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 05:02:39PM +0200, Andy Shevchenko wrote: > On Wed, Jan 9, 2013 at 4:24 PM, Vinod Koul wrote: > > On Wed, Jan 09, 2013 at 10:17:10AM +0200, Andy Shevchenko wrote: > >> The same information could be exctracted from the struct dma_chan. > > typo...

Re: [resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 04:58:02PM +0200, Andy Shevchenko wrote: > On Wed, Jan 9, 2013 at 4:19 PM, Viresh Kumar wrote: > > n 9 January 2013 19:20, Vinod Koul wrote: > >>> +static inline bool is_slave_xfer(enum dma_transfer_direction direction) > >>> +{ > >>> + return (direction ==

Re: [PATCH 1/5] kfifo: remove unnecessary type check

2013-01-09 Thread Stefani Seibold
Am Mittwoch, den 09.01.2013, 10:35 +0800 schrieb Yuanhan Liu: > On Tue, Jan 08, 2013 at 10:51:04PM +0100, Stefani Seibold wrote: > > Am Dienstag, den 08.01.2013, 22:57 +0800 schrieb Yuanhan Liu: > > > Firstly, this kind of type check doesn't work. It does something similar > > > as following: > >

Re: [PATCH] Proposed removal of IS_ERR_OR_NULL() (was: Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface)

2013-01-09 Thread Grant Likely
On Wed, Jan 9, 2013 at 3:04 PM, Russell King - ARM Linux wrote: > So, it seems there's some concensus building here, and it seems that > I've become the chosen victi^wvolunteer for this. So, here's a patch. > It's missing a Guns-supplied-by: tag though. > > From: Russell King > Subject: Mark

Re: [PATCH] Proposed removal of IS_ERR_OR_NULL() (was: Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface)

2013-01-09 Thread Nicolas Pitre
On Wed, 9 Jan 2013, Russell King - ARM Linux wrote: > So, it seems there's some concensus building here, and it seems that > I've become the chosen victi^wvolunteer for this. So, here's a patch. > It's missing a Guns-supplied-by: tag though. Guns-supplied-by: NRA (obviously) > From: Russell

Re: [PATCH] Proposed removal of IS_ERR_OR_NULL() (was: Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface)

2013-01-09 Thread Arnd Bergmann
On Wednesday 09 January 2013, Grant Likely wrote: > > Suggested-by: David Howells > > Tape-measuring-service-offered-by: Will Deacon > > Victim-for-firing-sqad: Russell King > > Signed-off-by: Russell King > > Acked-by: Grant Likely Acked-by: Arnd Bergmann -- To unsubscribe from this list:

Re: [PATCH] writeback: fix writeback cache thrashing

2013-01-09 Thread Jan Kara
On Wed 09-01-13 17:26:36, Namjae Jeon wrote: > But in one normal scenario, the changes actually results in > performance degradation. > > Results for ‘dd’ thread on two devices: > Before applying Patch: > #> dd if=/dev/zero of=/mnt/sdb2/file1 bs=1048576 count=800 & > #> dd if=/dev/zero

Re: [PATCH v5 01/14] memory-hotplug: try to offline the memory twice to avoid dependence

2013-01-09 Thread Glauber Costa
On 12/30/2012 09:58 AM, Wen Congyang wrote: > At 12/25/2012 04:35 PM, Glauber Costa Wrote: >> On 12/24/2012 04:09 PM, Tang Chen wrote: >>> From: Wen Congyang >>> >>> memory can't be offlined when CONFIG_MEMCG is selected. >>> For example: there is a memory device on node 1. The address range >>>

Re: [resend][PATCH 16/16] dma: dw_dmac: clear suspend bit during termination

2013-01-09 Thread Andy Shevchenko
On Wed, Jan 9, 2013 at 4:18 PM, Vinod Koul wrote: > On Wed, Jan 09, 2013 at 10:17:15AM +0200, Andy Shevchenko wrote: >> From: Heikki Krogerus >> >> The DMA transfer could not be established if previously it was paused and >> terminated. In that case the channel's suspend bit remains set that

[PATCH] Proposed removal of IS_ERR_OR_NULL() (was: Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface)

2013-01-09 Thread Russell King - ARM Linux
So, it seems there's some concensus building here, and it seems that I've become the chosen victi^wvolunteer for this. So, here's a patch. It's missing a Guns-supplied-by: tag though. From: Russell King Subject: Mark IS_ERR_OR_NULL() deprecated IS_ERR_OR_NULL() attracts a lot of abuse: people

Re: [Xen-devel] [PATCH v2] xen/grant-table: correctly initialize grant table version 1

2013-01-09 Thread annie li
On 2013-1-9 20:02, Ian Campbell wrote: On Wed, 2013-01-09 at 02:40 +, ANNIE LI wrote: @@ -1080,18 +1081,18 @@ static void gnttab_request_version(void) panic("we need grant tables version 2, but only version 1 is available"); } else {

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Sha Zhengju
On Mon, Jan 7, 2013 at 3:25 PM, Kamezawa Hiroyuki wrote: > (2013/01/05 13:48), Sha Zhengju wrote: >> >> On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko wrote: >>> >>> On Wed 26-12-12 01:26:07, Sha Zhengju wrote: From: Sha Zhengju This patch adds memcg routines to count dirty

Re: [resend][PATCH 11/16] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2013-01-09 Thread Andy Shevchenko
On Wed, Jan 9, 2013 at 4:24 PM, Vinod Koul wrote: > On Wed, Jan 09, 2013 at 10:17:10AM +0200, Andy Shevchenko wrote: >> The same information could be exctracted from the struct dma_chan. > typo... ^^ Thanks for finding this. Fixed in my local tree. Shall I

Re: [resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Andy Shevchenko
On Wed, Jan 9, 2013 at 4:19 PM, Viresh Kumar wrote: > n 9 January 2013 19:20, Vinod Koul wrote: >>> +static inline bool is_slave_xfer(enum dma_transfer_direction direction) >>> +{ >>> + return (direction == DMA_MEM_TO_DEV) || (direction == DMA_DEV_TO_MEM); >>> +} >> After reading the

Re: [v2.6.34-stable 71/77] crypto: ghash - Avoid null pointer dereference if no key is set

2013-01-09 Thread Paul Gortmaker
On 13-01-08 09:56 PM, Nick Bowler wrote: > On 2013-01-08 18:35 -0500, Paul Gortmaker wrote: >> From: Nick Bowler >> >>--- >> This is a commit scheduled for the next v2.6.34 longterm release. >>

Re: [resend][PATCH 01/16] dw_dmac: call .probe after we have a device in place

2013-01-09 Thread Andy Shevchenko
On Wed, Jan 9, 2013 at 3:47 PM, Vinod Koul wrote: > On Wed, Jan 09, 2013 at 10:17:00AM +0200, Andy Shevchenko wrote: >> If we don't yet have the platform device for the driver when it is being >> loaded >> we fail to probe the driver. So instead of calling probe() directly we call >>

Re: [PATCH 06/33] cputime: Safely read cputime of full dynticks CPUs

2013-01-09 Thread Steven Rostedt
On Tue, 2013-01-08 at 03:08 +0100, Frederic Weisbecker wrote: > diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c > index 07912dd..bf4f72d 100644 > --- a/kernel/sched/cputime.c > +++ b/kernel/sched/cputime.c > @@ -484,7 +484,7 @@ void vtime_task_switch(struct task_struct *prev) > *

Re: [PATCH 1/4] gpiolib: introduce descriptor-based GPIO interface

2013-01-09 Thread Nicolas Pitre
On Wed, 9 Jan 2013, Russell King - ARM Linux wrote: > On Wed, Jan 09, 2013 at 10:44:14AM +, Russell King - ARM Linux wrote: > > On Wed, Jan 09, 2013 at 10:35:22AM +, Arnd Bergmann wrote: > > > On Wednesday 09 January 2013, Alexandre Courbot wrote: > > > > On Tue, Jan 8, 2013 at 9:59 PM,

Re: [PATCH v2] HID: i2c-hid: add ACPI support

2013-01-09 Thread Jiri Kosina
On Wed, 9 Jan 2013, Benjamin Tissoires wrote: > wrote: > > The HID over I2C protocol specification states that when the device is > > enumerated from ACPI the HID descriptor address can be obtained by > > executing "_DSM" for the device with function 1. Enable this. > > > > Signed-off-by: Mika

RE: epoll and listener sockets

2013-01-09 Thread Hassink, Brian
With further tinkering, I have another interesting observation... As I mentioned below, I have a configurable pool of concurrent threads in an epoll_wait() loop while the listener is being added to the epoll set. The pool is just one thread by default, and I would see the listener fail

Re: [PATCH v2] HID: i2c-hid: add ACPI support

2013-01-09 Thread Benjamin Tissoires
Hi Mika, On Wed, Jan 9, 2013 at 3:43 PM, Mika Westerberg wrote: > The HID over I2C protocol specification states that when the device is > enumerated from ACPI the HID descriptor address can be obtained by > executing "_DSM" for the device with function 1. Enable this. > > Signed-off-by: Mika

Re: [resend][PATCH 11/16] dw_dmac: backlink to dw_dma in dw_dma_chan is superfluous

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 10:17:10AM +0200, Andy Shevchenko wrote: > The same information could be exctracted from the struct dma_chan. typo... ^^ > The patch introduces helper function dwc_get_data_width() as well. > > Signed-off-by: Andy Shevchenko > Acked-by:

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Michal Hocko
On Wed 09-01-13 22:35:12, Sha Zhengju wrote: [...] > To my knowledge, each task is forked in root memcg, and there's a > moving while attaching it to a cgroup. So move_account is also a > frequent behavior to some extent. Not really. Every fork/exec is copies the current group (see cgroup_fork)

[PATCHv2 4/4] arm: Add generic timer broadcast support

2013-01-09 Thread Mark Rutland
Implement timer_broadcast for the arm architecture, allowing for the use of clock_event_device_drivers decoupled from the timer tick broadcast mechanism. Signed-off-by: Mark Rutland Reviewed-by: Santosh Shilimkar Tested-by: Santosh Shilimkar --- arch/arm/Kconfig |1 +

[PATCHv2 3/4] clockevents: Add generic timer broadcast function

2013-01-09 Thread Mark Rutland
Currently, the timer broadcast mechanism is defined by a function pointer on struct clock_event_device. As the fundamental mechanism for broadcast is architecture-specific, this means that clock_event_device drivers cannot be shared across multiple architectures. This patch adds an (optional)

[PATCHv2 2/4] arm: Use generic timer broadcast receiver

2013-01-09 Thread Mark Rutland
Currently, the ARM backend must maintain a redundant list of timers for the purpose of centralising timer broadcast functionality. This prevents sharing timer drivers across architectures. This patch moves the pain of dealing with timer broadcasts to the core clockevents tick broadcast code,

[PATCHv2 1/4] clockevents: Add generic timer broadcast receiver

2013-01-09 Thread Mark Rutland
Currently the broadcast mechanism used for timers is abstracted by a function pointer on struct clock_event_device. As the fundamental mechanism for broadcast is architecture-specific, this ties each clock_event_device driver to a single architecture, even where the driver is otherwise generic.

[PATCHv2 0/4] clockevents: decouple broadcast mechanism from drivers

2013-01-09 Thread Mark Rutland
This is an updated version of the series I posted back in December: http://lists.infradead.org/pipermail/linux-arm-kernel/2012-December/137929.html Changes since v1: * Drop removal of guards in smp.c * Removed useless evt->evt_handler check in tick_receive_broadcast * Fix up

Re: [PATCH v2 04/11] ARM: Tegra: Define Tegra30 CAR binding

2013-01-09 Thread Peter De Schrijver
On Thu, Dec 27, 2012 at 03:47:17PM +0100, Prashant Gaikwad wrote: > The device tree binding models Tegra30 CAR (Clock And Reset) > as a single monolithic clock provider. > ... > + 8 gpio This clock isn't defined further on though... Cheers, Peter. -- To unsubscribe from this list: send the

Re: [resend][PATCH 16/16] dma: dw_dmac: clear suspend bit during termination

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 10:17:15AM +0200, Andy Shevchenko wrote: > From: Heikki Krogerus > > The DMA transfer could not be established if previously it was paused and > terminated. In that case the channel's suspend bit remains set that prevents > to > transfer anything until channel is

[PATCH 1/1] ipv6: fix the noflags test in addrconf_get_prefix_route

2013-01-09 Thread Romain KUNTZ
>From e7ece201c35615c44a3cfdc10ee28ad5a5878f41 Mon Sep 17 00:00:00 2001 From: Romain Kuntz Date: Wed, 9 Jan 2013 15:02:26 +0100 Subject: [PATCH 1/1] ipv6: fix the noflags test in addrconf_get_prefix_route The tests on the flags in addrconf_get_prefix_route() does no make much sense: the

Re: [PATCH v5 00/11] per-cgroup cpu-stat

2013-01-09 Thread Tejun Heo
Hello, Glauber. On Wed, Jan 09, 2013 at 03:45:27PM +0400, Glauber Costa wrote: > [ update: I thought I posted this already before leaving for holidays. > However, > now that I am checking for replies, I can't find nor replies nor the > original > mail in my boxes or archives. I am posting

[PATCH v2] HID: i2c-hid: add ACPI support

2013-01-09 Thread Mika Westerberg
The HID over I2C protocol specification states that when the device is enumerated from ACPI the HID descriptor address can be obtained by executing "_DSM" for the device with function 1. Enable this. Signed-off-by: Mika Westerberg --- Changes to previous version: * platform data is

[PATCH v2] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch

2013-01-09 Thread Vineet Gupta
IA64 defines /proc/sys/kernel/ignore-unaligned-usertrap to control verbose warnings on unaligned access emulation. The exact mechanics of what to do with sysctl (ignore/shout) are arch specific, this change enables the sysctl to be usable cross-arch. Signed-off-by: Vineet Gupta Cc: Tony Luck

RE: epoll and listener sockets

2013-01-09 Thread Hassink, Brian
I have a little more information on this problem... I modified my test so that after the connection attempt is made, I force the listener to do an accept() and found that the connection is in the listener queue. As I mentioned below, the connection attempt is made a full second after the

Re: [PATCH V3 4/8] memcg: add per cgroup dirty pages accounting

2013-01-09 Thread Sha Zhengju
Hi Hugh, On Mon, Jan 7, 2013 at 4:02 AM, Hugh Dickins wrote: > On Sat, 5 Jan 2013, Sha Zhengju wrote: >> On Wed, Jan 2, 2013 at 6:44 PM, Michal Hocko wrote: >> > >> > Maybe I have missed some other locking which would prevent this from >> > happening but the locking relations are really

RE: [tpmdd-devel] [PATCH 1/1] TPM: STMicroelectronics ST33 I2C KERNEL 3.x.x OOPS!

2013-01-09 Thread Mathias LEBLANC
Hi Peter, Do you have the I2C configuration activated ? I have this error when I add the driver in a kernel with no I2C activated -Original Message- From: Kent Yoder [mailto:k...@linux.vnet.ibm.com] Sent: 08 January, 2013 18:21 To: Mathias LEBLANC Cc: Peter Hüwe; Jean-Luc BLANC;

Re: [PATCH] nfsd: fix unused "nn" variable warning in free_client()

2013-01-09 Thread J. Bruce Fields
On Wed, Jan 09, 2013 at 01:39:04PM +0400, Stanislav Kinsbursky wrote: > Bruce, sorry, forgot to add: > > Reported-by: Toralf Förster Thanks, added that, and committing for 3.9.--b. > > 09.01.2013 13:38, Stanislav Kinsbursky пишет: > >If CONFIG_LOCKDEP is disabled, then there would be a

Re: [resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Viresh Kumar
n 9 January 2013 19:20, Vinod Koul wrote: >> +static inline bool is_slave_xfer(enum dma_transfer_direction direction) >> +{ >> + return (direction == DMA_MEM_TO_DEV) || (direction == DMA_DEV_TO_MEM); >> +} > After reading the subsequent patch I understand what is intent here. Perhaps >

Re: "Hangcheck timer elapsed... GPU hung" in 3.8.0-rc2

2013-01-09 Thread J. Bruce Fields
On Wed, Jan 09, 2013 at 12:27:22PM +0100, Daniel Vetter wrote: > On Tue, Jan 8, 2013 at 3:37 PM, J. Bruce Fields wrote: > >> please grab the i915_error_state file from debugfs > > > > As I said in the original mail, I've already done that: > > > > http://fieldses.org/~bfields/3.8-hang/ >

Re: [RESEND PATCH] sysctl: Enable IA64 "ignore-unaligned-usertrap" to be used cross-arch

2013-01-09 Thread Vineet Gupta
On Wednesday 09 January 2013 05:13 AM, Tony Luck wrote: > On Wed, Jan 2, 2013 at 10:47 PM, Vineet Gupta > wrote: > > >> +config SYSCTL_ARCH_UNALIGN_NO_WARN >> + bool >> + help >> + Enable support for /proc/sys/kernel/ignore-unaligned-usertrap >> + Allows arch to

[PATCH] cred: Remove tgcred pointer from struct cred

2013-01-09 Thread David Howells
From: Marc Dionne Commit 3a50597de86 in mainline removed the definition of the thread_group_cred structure, but left a now unused pointer in struct cred. Signed-off-by: Marc Dionne Signed-off-by: David Howells --- include/linux/cred.h |1 - 1 file changed, 1 deletion(-) diff --git

Re: [PATCH 4/4] PM/Devfreq: Add Exynos5-bus devfreq driver for Exynos5250

2013-01-09 Thread Rajagopal Venkat
On 9 January 2013 17:36, Abhilash Kesavan wrote: > Exynos5-bus device devfreq driver monitors PPMU counters and > adjusts operating frequencies and voltages with OPP. ASV should > be used to provide appropriate voltages as per the speed group > of the SoC rather than using a constant 1.025V. > >

Re: [resend][PATCH 03/16] dmaengine: introduce is_slave_xfer function

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 10:17:02AM +0200, Andy Shevchenko wrote: > This function helps to distinguish the slave type of transfer by checking the > direction parameter. > > Signed-off-by: Andy Shevchenko > Reviewed-by: Viresh Kumar > Reviewed-by: Mika Westerberg > Reviewed-by: Linus Walleij >

Re: [resend][PATCH 01/16] dw_dmac: call .probe after we have a device in place

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 10:17:00AM +0200, Andy Shevchenko wrote: > If we don't yet have the platform device for the driver when it is being > loaded > we fail to probe the driver. So instead of calling probe() directly we call > platform_driver_register(). It will call the probe() immediately if

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Glauber Costa
On 01/09/2013 01:44 AM, Andrew Morton wrote: > On Fri, 4 Jan 2013 00:29:11 -0800 > Anton Vorontsov wrote: > >> This commit implements David Rientjes' idea of mempressure cgroup. >> >> The main characteristics are the same to what I've tried to add to vmevent >> API; internally, it uses Mel

[PATCH 10/10] goldfish: NAND flash driver

2013-01-09 Thread Alan Cox
From: Arve Hjønnevåg Fold together the NAND driver for Goldfish from Arve with cleanups by Jun Nakajima and a tidy up to 3.7 and checkpatch. Signed-off-by: Mike A. Chan Signed-off-by: Arve Hjønnevåg [Ported to handle x86] Signed-off-by: Sheng Yang Signed-off-by: Yunhong Jiang Signed-off-by:

[PATCH 08/10] goldfish: real time clock

2013-01-09 Thread Alan Cox
From: Arve Hjønnevåg Gets the current time from the host. Alarms are not supported yet. Signed-off-by: Mike A. Chan Signed-off-by: Arve Hjønnevåg [Ported to 3.4] Signed-off-by: Tom Keel [Cleaned up to use ioremap, types, unload etc] Signed-off-by: Alan Cox ---

[PATCH 09/10] goldfish: add QEMU pipe driver

2013-01-09 Thread Alan Cox
From: David 'Digit' Turner A QEMU pipe is a very fast communication channel between the guest system and the emulator. Usage from the guest is simply something like; // connect to special device fd = open("/dev/qemu_pipe", O_RDWR); // tell which service we want to talk to (must be

[GIT PULL] RAS UAPI fix for 3.8

2013-01-09 Thread Borislav Petkov
Hi guys, the patch below retracts a bunch of defines and structs which went into the uapi/mce.h header needlessly. See commit message below for more details. The thing is, this patch needs to go in 3.8 so that the changes the UAPI merge added to mce.h can be reverted and thus 3.8 can be released

[PATCH 07/10] goldfish: power device

2013-01-09 Thread Alan Cox
From: Mike Lockwood Add the emulated power driver for the Goldfish platform. This folds together the code from the Google tree, Jun Nakajima's cleanups and x86 porting work, and then a tidy up to pass checkpatch. Signed-off-by: Mike A. Chan [cleanup and x86 support] Signed-off-by: Sheng Yang

[PATCH 1/1] fs/xfs remove obsolete simple_strto

2013-01-09 Thread Abhijit Pawar
This patch replaces usages of obsolete simple_strtoul with kstrtoint in xfs_args and suffix_strtoul. Signed-off-by: Abhijit Pawar --- fs/xfs/xfs_super.c | 29 +++-- 1 files changed, 19 insertions(+), 10 deletions(-) diff --git a/fs/xfs/xfs_super.c

Re: 3.2.35 problem with M5A97 PRO ram: bad_page free_pages_prepare mem_init

2013-01-09 Thread l...@tigusoft.pl
On 09/01/13 09:02, l...@tigusoft.pl wrote: > On 08/01/13 16:59, Borislav Petkov wrote: >> On Tue, Jan 08, 2013 at 01:21:26AM +0100, l...@tigusoft.pl wrote: >>> On 08/01/13 01:13, l...@tigusoft.pl wrote: >>> linux kernel 3.2.0-0.bpo.4-rt-amd64 #1 SMP PREEMPT RT Debian 3.2.35-2~bpo60+1

[PATCH 06/10] goldfish: emulated MMC device

2013-01-09 Thread Alan Cox
From: Mike Lockwood This driver handles the virtual MMC device present in the Goldfish emulator. The patch folds together initial work from Mike Lockwood and patches by San Mehat, Jun Nakajima and Tom Keel plus cleanups by Alan Cox to get it all into 3.6 shape. Signed-off-by: Mike A. Chan

[PATCH 05/10] goldfish: framebuffer

2013-01-09 Thread Alan Cox
From: Arve Hjønnevåg Framebuffer support for the Goldfish emulator. This takes the Google emulator and applies the x86 cleanups as well as moving the blank methods to the usual Linux place and dropping the Android early suspend logic (for now at least, that can be looked at as Android and

[PATCH 04/10] goldfish: virtual input event driver

2013-01-09 Thread Alan Cox
From: Brian Swetland This device is a direct pipe from "hardware" to the input event subsystem, allowing us to avoid having to route "keypad" style events through an AT keyboard driver (gross!) As with the other submissions this driver is cross architecture. Signed-off-by: Mike A. Chan [Tided

[PATCH 03/10] goldfish: tty driver

2013-01-09 Thread Alan Cox
From: Arve Hjønnevåg This provides a console driver for the Goldfish virtual platform. The original is from Arve with changes from Jun Nakajima and Tom Keel. This has been then been ported to the current kernel and to the tty port mechanism by Alan Cox. In the process it gained proper POSIX

[PATCH 02/10] goldfish: add the goldfish virtual bus

2013-01-09 Thread Alan Cox
From: Jun Nakajima This imports the current Google code and cleans it up slightly to use pr_ and to properly request its resources. Goldfish is an emulator used for Android development. It has a virtual bus where the emulator passes platform device information to the guest which then creates

[PATCH 01/10] goldfish: definitions for Goldfish on x86 platforms

2013-01-09 Thread Alan Cox
From: Jun Nakajima Based on code by Jun Nakajima but stripped of all the old x86 mach-foo stuff and turned into a single include file for the Goldfish virtual bus layer Signed-off-by: Sheng Yang Signed-off-by: Yunhong Jiang Signed-off-by: Xiaohui Xin Signed-off-by: Jun Nakajima

[PATCH 00/10] goldfish: rebase/resend versus current -next

2013-01-09 Thread Alan Cox
And added the pipe driver --- Arve Hjønnevåg (4): goldfish: tty driver goldfish: framebuffer goldfish: real time clock goldfish: NAND flash driver Brian Swetland (1): goldfish: virtual input event driver David 'Digit' Turner (1): goldfish: add QEMU pipe

Re: [PATCH RESEND] dma: tegra: implement flags parameters for cyclic transfer

2013-01-09 Thread Vinod Koul
On Wed, Jan 09, 2013 at 03:26:22PM +0530, Laxman Dewangan wrote: > The flag parameter is added in the cyclic transfer request. > Use the flag option of: > - DMA_PREP_INTERRUPT for enabling interrupt. > - DMA_CTRL_ACK for deciding whether ack is requred or not for > descriptor. > >

Re: [PATCH 03/33] cputime: Generic on-demand virtual cputime accounting

2013-01-09 Thread Steven Rostedt
On Wed, 2013-01-09 at 08:46 -0500, Steven Rostedt wrote: > > > +config VIRT_CPU_ACCOUNTING_GEN > > + bool "Full dynticks CPU time accounting" > > + depends on HAVE_CONTEXT_TRACKING > > + select VIRT_CPU_ACCOUNTING > > + select CONTEXT_TRACKING > > select CONTEXT_TRACKING_FORCE >

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Mel Gorman
On Wed, Jan 09, 2013 at 01:37:46PM +, Mel Gorman wrote: > On Tue, Jan 08, 2013 at 11:23:25PM +, Eric Wong wrote: > > Mel Gorman wrote: > > > Please try the following patch. However, even if it works the benefit of > > > capture may be so marginal that partially reverting it and

[PATCH v2] fb: udlfb: fix scheduling while atomic.

2013-01-09 Thread Alexander Holler
The console functions are using spinlocks while calling fb-driver ops but udlfb waits for a semaphore in many ops. This results in the BUG "scheduling while atomic". One of those call flows is e.g. vt_console_print() (spinlock printing_lock) (...) dlfb_ops_imageblit()

Re: [PATCH 03/33] cputime: Generic on-demand virtual cputime accounting

2013-01-09 Thread Steven Rostedt
On Tue, 2013-01-08 at 03:08 +0100, Frederic Weisbecker wrote: > diff --git a/init/Kconfig b/init/Kconfig > index 5cc8713..51b5c33 100644 > --- a/init/Kconfig > +++ b/init/Kconfig > @@ -322,6 +322,9 @@ source "kernel/time/Kconfig" > > menu "CPU/Task time and stats accounting" > > +config

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-09 Thread Glauber Costa
On 01/09/2013 01:15 PM, Andrew Morton wrote: > On Wed, 9 Jan 2013 12:56:46 +0400 Glauber Costa wrote: > >>> +#if IS_SUBSYS_ENABLED(CONFIG_CGROUP_MEMPRESSURE) >>> +SUBSYS(mpc_cgroup) >>> +#endif >> >> It might be just me, but if one does not know what this is about, "mpc" >> immediately fetches

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Mel Gorman
On Tue, Jan 08, 2013 at 06:32:29PM -0800, Eric Dumazet wrote: > On Tue, 2013-01-08 at 18:14 -0800, Eric Dumazet wrote: > > On Tue, 2013-01-08 at 23:23 +, Eric Wong wrote: > > > Mel Gorman wrote: > > > > Please try the following patch. However, even if it works the benefit of > > > > capture

Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

2013-01-09 Thread James Morris
On Tue, 8 Jan 2013, Casey Schaufler wrote: > What I was hoping to say, and apparently didn't, is that people > are developing "total" solutions in user space, when some of the > work ought to be done in an LSM. Work that is appropriate to the > kernel is being done in user space. Often badly,

[PATCH RFC 3/3] ARM: da850/omap-l138: vpif capture convert to asynchronously register of subdev

2013-01-09 Thread Lad, Prabhakar
Register the tvp514x decoder devices directly in board platform data instead of letting the vpif capture driver register them at their run-time. This uses the V4L2 asynchronous subdevice probing capability. Signed-off-by: Lad, Prabhakar Cc: Sekhar Nori ---

[PATCH RFC 2/3] tvp514x: support asynchronous probing

2013-01-09 Thread Lad, Prabhakar
Both synchronous and asynchronous tvp514x subdevice probing is supported by this patch. Signed-off-by: Lad, Prabhakar Cc: Guennadi Liakhovetski Cc: Laurent Pinchart Cc: Hans Verkuil Cc: Sakari Ailus Cc: Mauro Carvalho Chehab --- drivers/media/i2c/tvp514x.c | 20 ++-- 1

[PATCH RFC 1/3] davinci: vpif: capture: add V4L2-async support

2013-01-09 Thread Lad, Prabhakar
Add support for asynchronous subdevice probing, using the v4l2-async API. The legacy synchronous mode is still supported too, which allows to gradually update drivers and platforms. The selected approach adds a notifier for each struct soc_camera_device instance, i.e. for each video device node,

[PATCH RFC 0/3] vpif capture support for async subdevice probing

2013-01-09 Thread Lad, Prabhakar
This patch series adds support for vpif capture driver to support asynchronously register subdevices. The second patch add support for tvp514x decoder to support v4l-async and the last patch adds support for da850 evm to support v4l-async for vpif capture. This patch is based on v4l2-async patch

[PATCH RESEND] ARM: picoxcell: remove unnecessary header common.h

2013-01-09 Thread Tobias Klauser
Since commit 66314223 ("ARM: socfpga: initial support for Altera's SOCFPGA platform") struct sys_timer dw_apb_timer is an extern in , so there is no need for common.h anymore, instead directly #include in common.c Signed-off-by: Tobias Klauser Acked-by: Jamie Iles --- I looks like this hasn't

Re: [PATCH] ipmi: replace call to try_smi_init() with call to add_smi()

2013-01-09 Thread Tony Camuso
Rescinding. This hunk is already upstream. On 01/08/2013 03:12 PM, Tony Camuso wrote: Upstream commit 9e368fa0 added function ipmi_pnp_probe(), which calls try_smi_init() directly. try_smi_init() allocates resources for IPMI driver. However try_smi_init() can be called again, and the

Re: ppoll() stuck on POLLIN while TCP peer is sending

2013-01-09 Thread Mel Gorman
On Tue, Jan 08, 2013 at 11:23:25PM +, Eric Wong wrote: > Mel Gorman wrote: > > Please try the following patch. However, even if it works the benefit of > > capture may be so marginal that partially reverting it and simplifying > > compaction.c is the better decision. > > I already got my VM

Re: [PATCH v5 00/12] x86/microcode: Early load microcode

2013-01-09 Thread Konrad Rzeszutek Wilk
On Tue, Jan 08, 2013 at 03:04:33PM -0500, Konrad Rzeszutek Wilk wrote: > On Tue, Jan 08, 2013 at 11:47:39AM -0800, H. Peter Anvin wrote: > > On 01/08/2013 11:46 AM, Konrad Rzeszutek Wilk wrote: > > > > > > OK. I am trying to figure out whether this usage of native_* for the > > > MSRs was done on

Re: [PATCH v12 0/9] LSM: Multiple concurrent LSMs

2013-01-09 Thread James Morris
On Tue, 8 Jan 2013, John Johansen wrote: > > I'd say we need to see the actual use-case for Smack and Apparmor being > > used together, along with at least one major distro committing to support > > this. > > > > > Ubuntu is very interested in stacking Which modules? -- James Morris -- To

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-09 Thread Konrad Rzeszutek Wilk
On Tue, Jan 08, 2013 at 05:12:02PM -0800, Yinghai Lu wrote: > On Tue, Jan 8, 2013 at 5:07 PM, Yinghai Lu wrote: > > On Tue, Jan 8, 2013 at 4:58 PM, Eric W. Biederman > > wrote: > > > >> > >> So instead we need to say? > >> > >> + if (no_iotlb_memory) > >> + panic("Cannot

Re: [PATCH] mm: migrate: Check page_count of THP before migrating

2013-01-09 Thread Mel Gorman
On Tue, Jan 08, 2013 at 08:17:59PM -0800, Hugh Dickins wrote: > On Mon, 7 Jan 2013, Mel Gorman wrote: > > > Hugh Dickins pointed out that migrate_misplaced_transhuge_page() does not > > check page_count before migrating like base page migration and khugepage. He > > could not see why this was

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-09 Thread Konrad Rzeszutek Wilk
On Tue, Jan 08, 2013 at 04:58:14PM -0800, Eric W. Biederman wrote: > Konrad Rzeszutek Wilk writes: > > > On Tue, Jan 08, 2013 at 03:40:11PM -0800, Yinghai Lu wrote: > >> On Mon, Jan 7, 2013 at 7:50 PM, Yinghai Lu wrote: > >> > On Mon, Jan 7, 2013 at 7:13 PM, Eric W. Biederman > >> > wrote: >

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Lee Jones
> > Excuse my ignorance, but I'm a little confused by this. > > > > What's the difference between 'select ' in the Kconfig and > > 'CONFIG_=y' in the defconfig; besides the fact that if we > > do it in the Kconfig file, we can be more selective with regards to > > which platform it gets enabled

Re: [PATCH V3 6/8] memcg: Don't account root_mem_cgroup page statistics

2013-01-09 Thread Michal Hocko
On Sat 05-01-13 18:52:12, Sha Zhengju wrote: > On Wed, Jan 2, 2013 at 8:27 PM, Michal Hocko wrote: > > On Wed 26-12-12 01:27:27, Sha Zhengju wrote: [...] > >> @@ -5396,18 +5406,70 @@ static inline void > >> mem_cgroup_lru_names_not_uptodate(void) > >>

Re: [PATCH 0/5] x86,smp: make ticket spinlock proportional backoff w/ auto tuning

2013-01-09 Thread Raghavendra K T
On 01/09/2013 03:56 AM, Rik van Riel wrote: Many spinlocks are embedded in data structures; having many CPUs pounce on the cache line the lock is in will slow down the lock holder, and can cause system performance to fall off a cliff. The paper "Non-scalable locks are dangerous" is a good

Re: [PATCH V2 3/3] ARM: davinci: da850: add NAND driver entries

2013-01-09 Thread Sekhar Nori
On 1/8/2013 1:50 PM, Kumar, Anil wrote: > Add NAND driver entries to export NAND functionality on da850 EVM and > NAND pinctrl node to do pin mux according to pinctrl-single driver. Subject line should have DT and da850 evm somewhere. Otherwise NAND has been supported on DA850 for long. > >

Re: [PATCH 2/3] ARM: ux500: Turn on the 'heartbeat' LED trigger

2013-01-09 Thread Russell King - ARM Linux
On Wed, Jan 09, 2013 at 12:23:23PM +, Lee Jones wrote: > Excuse my ignorance, but I'm a little confused by this. > > What's the difference between 'select ' in the Kconfig and > 'CONFIG_=y' in the defconfig; besides the fact that if we > do it in the Kconfig file, we can be more selective

RE: [PATCH 1/9] mailbox: OMAP: introduce mailbox framework

2013-01-09 Thread Bedia, Vaibhav
On Wed, Jan 09, 2013 at 17:59:39, Loic PALLARDY wrote: > Hi Vaibhav, > > On 01/09/2013 01:11 PM, Bedia, Vaibhav wrote: > > Hi Loic, > > > > On Fri, Dec 21, 2012 at 16:23:24, Loic PALLARDY wrote: > >> > >> > >> On 12/21/2012 11:49 AM, Bedia, Vaibhav wrote: > >>> On Fri, Dec 21, 2012 at 14:24:26,

<    2   3   4   5   6   7   8   9   10   11   >