Re: [PATCH] namespace:unmount pid_namespace's proc_mnt when copy_net_ns failed

2012-11-02 Thread Eric W. Biederman
Gao feng writes: > we should call pid_ns_release_proc to unmount pid_namespace's > proc_mnt when copy_net_ns failed in function create_new_namespaces. > > otherwise,the proc_mnt will not be freed and because the super_block > of proc_mnt also add the reference of the pid_namespace,so this > pid_n

[PATCH v4 0/3] zram/zsmalloc promotion

2012-11-02 Thread Minchan Kim
by logical claim, I can change my mind easily. Please raise your hand. If Andrew doesn't have a concern about that any more, I would like to locate it into /lib. This patchset is based on next-20121102. Minchan Kim (3): zsmalloc: promote to lib/ zram: promote zram from

[PATCH v4 3/3] zram: select ZSMALLOC when ZRAM is configured

2012-11-02 Thread Minchan Kim
At the monent, we can configure zram in driver/block once zsmalloc in /lib menu is configured firstly. It's not convenient. User can configure zram in driver/block regardless of zsmalloc enabling by this patch. Signed-off-by: Minchan Kim --- drivers/block/zram/Kconfig |3 ++- 1 file changed

[PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style

2012-11-02 Thread Kumar Amit Mehta
remove unnecessary semicolon from the macro definition Signed-off-by: Kumar Amit Mehta --- drivers/staging/iio/adc/ad7280a.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/ad7280a.c b/drivers/staging/iio/adc/ad7280a.c index cfc39a7..e7cb3b2 100644

Re: [PATCH] namespace:unmount pid_namespace's proc_mnt when copy_net_ns failed

2012-11-02 Thread Gao feng
于 2012年11月02日 15:02, Eric W. Biederman 写道: > Gao feng writes: > >> we should call pid_ns_release_proc to unmount pid_namespace's >> proc_mnt when copy_net_ns failed in function create_new_namespaces. >> >> otherwise,the proc_mnt will not be freed and because the super_block >> of proc_mnt also ad

Re: [PART3 Patch 00/14] introduce N_MEMORY

2012-11-02 Thread Wen Congyang
At 11/02/2012 05:36 AM, David Rientjes Wrote: > On Thu, 1 Nov 2012, Wen Congyang wrote: > >>> This doesn't describe why we need the new node state, unfortunately. It >> >> 1. Somethimes, we use the node which contains the memory that can be used by >>kernel. >> 2. Sometimes, we use the node

Re: [PATCH] staging: gdm72xx: wm_ioctl.h: fixed a macro coding style

2012-11-02 Thread Kumar amit mehta
On Fri, Nov 02, 2012 at 09:55:55AM +0300, Dan Carpenter wrote: > On Thu, Nov 01, 2012 at 11:42:59PM -0700, Kumar Amit Mehta wrote: > > fix for macro coding style. > > > > No. The parenthesis are not needed. I assume this is a > checkpatch.pl warning? > > regards, > dan carpenter > Running chec

Re: [PATCH v6 00/29] kmem controller for memcg.

2012-11-02 Thread Glauber Costa
On 11/02/2012 04:04 AM, Andrew Morton wrote: > On Thu, 1 Nov 2012 16:07:16 +0400 > Glauber Costa wrote: > >> Hi, >> >> This work introduces the kernel memory controller for memcg. Unlike previous >> submissions, this includes the whole controller, comprised of slab and stack >> memory. > > I'm

Re: [PATCH v6 23/29] memcg: destroy memcg caches

2012-11-02 Thread Glauber Costa
On 11/02/2012 04:05 AM, Andrew Morton wrote: > On Thu, 1 Nov 2012 16:07:39 +0400 > Glauber Costa wrote: > >> This patch implements destruction of memcg caches. Right now, >> only caches where our reference counter is the last remaining are >> deleted. If there are any other reference counters ar

Re: kernel BUG at fs/lockd/mon.c:150, was Re: [PATCH v2 3/3] lockd: create and ...

2012-11-02 Thread Kees Bakker
On 30-10-12 14:04, Kees Bakker wrote: On 18-09-12 11:37, Stanislav Kinsbursky wrote: NSM RPC client can be required on NFSv3 umount, when child reaper is dying (and destroying it's mount namespace). It means, that current nsproxy is set to NULL already, but creation of RPC client requires UTS na

sysfs crashes while recursively checking file permissions

2012-11-02 Thread Chintan Pandya
Hi, I am running one test on my ARM system which checks the sysfs file system's whole directory recursively and checks its file permission. While I perform this test, I face random (as in varies the nature of crash sometimes) crashes like one mentioned below. <1>[ 67.442660] Unable to handle

Re: [PATCH v6 11/29] memcg: allow a memcg with kmem charges to be destructed.

2012-11-02 Thread Glauber Costa
On 11/02/2012 04:05 AM, Andrew Morton wrote: > On Thu, 1 Nov 2012 16:07:27 +0400 > Glauber Costa wrote: > >> Because the ultimate goal of the kmem tracking in memcg is to track slab >> pages as well, we can't guarantee that we'll always be able to point a >> page to a particular process, and mig

Re: [PATCH] staging: gdm72xx: wm_ioctl.h: fixed a macro coding style

2012-11-02 Thread Dan Carpenter
On Fri, Nov 02, 2012 at 12:36:30AM -0700, Kumar amit mehta wrote: > On Fri, Nov 02, 2012 at 09:55:55AM +0300, Dan Carpenter wrote: > > On Thu, Nov 01, 2012 at 11:42:59PM -0700, Kumar Amit Mehta wrote: > > > fix for macro coding style. > > > > > > > No. The parenthesis are not needed. I assume t

[PATCH v4 3/3] ARM: OMAP: ocp2scp: create omap device for ocp2scp

2012-11-02 Thread Kishon Vijay Abraham I
Platfrom device for ocp2scp is created using omap_device_build in devices file. This is used for both omap4(musb) and omap5(dwc3). Signed-off-by: Kishon Vijay Abraham I --- arch/arm/mach-omap2/devices.c | 79 + 1 file changed, 79 insertions(+) diff --gi

[PATCH v4 2/3] ARM: OMAP4: add _dev_attr_ to ocp2scp for representing usb_phy

2012-11-02 Thread Kishon Vijay Abraham I
In order to reflect devices(usb_phy) attached to ocp2scp bus, ocp2scp is assigned a device attribute to represent the attached devices. Signed-off-by: Kishon Vijay Abraham I Cc: Benoit Cousson --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 28 1 file changed, 28

[PATCH v4 0/3] ocp2scp: add non-dt support

2012-11-02 Thread Kishon Vijay Abraham I
This patch series allows ocp2scp driver to create its child devices from the platform data. In omap platforms, usb phy is connected to ocp2scp and usb phy is needed for MUSB to be functional. When ocp2scp driver was added, it had only dt support which means it wont create usb phy devices for non-d

[PATCH v4 1/3] drivers: bus: ocp2scp: add pdata support

2012-11-02 Thread Kishon Vijay Abraham I
ocp2scp was not having pdata support which makes *musb* fail for non-dt boot in OMAP platform. The pdata will have information about the devices that is connected to ocp2scp. ocp2scp driver will now make use of this information to create the devices that is attached to ocp2scp. Signed-off-by: Kish

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Cousson, Benoit
On 11/1/2012 1:00 PM, Koen Kooi wrote: tl;dr: please suggest an actual solution that allows plug&play when plugging in multiple capes and applying power after that. Preferably one that doesn't pass the buck to u-boot. Op 1 nov. 2012, om 12:26 heeft "Cousson, Benoit" het volgende geschreven:

Re: [patch] x86, xen: fix build dependency when USB_SUPPORT is not enabled

2012-11-02 Thread Jan Beulich
>>> On 01.11.12 at 23:05, Konrad Rzeszutek Wilk wrote: > On Thu, Nov 01, 2012 at 08:04:58PM +, Jan Beulich wrote: >> >>> Konrad Rzeszutek Wilk 11/01/12 1:49 PM >>> >> >On Wed, Oct 31, 2012 at 10:42:30PM -0700, David Rientjes wrote: >> >> CONFIG_XEN_DOM0 must depend on CONFIG_USB_SUPPORT, othe

Re: [PATCH v4 1/3] zsmalloc: promote to lib/

2012-11-02 Thread Pekka Enberg
On Fri, Nov 2, 2012 at 9:12 AM, Minchan Kim wrote: > This patch promotes the slab-based zsmalloc memory allocator > from the staging tree to lib/ > > zcache/zram depends on this allocator for storing compressed RAM pages > in an efficient way under system wide memory pressure where > high-order (g

Re: [PATCH v4 3/3] zram: select ZSMALLOC when ZRAM is configured

2012-11-02 Thread Pekka Enberg
On Fri, Nov 2, 2012 at 9:12 AM, Minchan Kim wrote: > At the monent, we can configure zram in driver/block once zsmalloc > in /lib menu is configured firstly. It's not convenient. > > User can configure zram in driver/block regardless of zsmalloc enabling > by this patch. > > Signed-off-by: Minchan

Re: [PATCH v6 00/29] kmem controller for memcg.

2012-11-02 Thread Pekka Enberg
On Fri, Nov 2, 2012 at 2:04 AM, Andrew Morton wrote: > One thing: > >> Numbers can be found at https://lkml.org/lkml/2012/9/13/239 > > You claim in the above that the fork worload is 'slab intensive". Or > at least, you seem to - it's a bit fuzzy. > > But how slab intensive is it, really? > > Wha

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Pantelis Antoniou
Hi Benoit, On Nov 2, 2012, at 10:15 AM, Cousson, Benoit wrote: > On 11/1/2012 1:00 PM, Koen Kooi wrote: >> tl;dr: please suggest an actual solution that allows plug&play when plugging >> in multiple capes and applying power after that. Preferably one that doesn't >> pass the buck to u-boot. >>

[PATCH] staging/media: Use dev_ printks in cxd2099/cxd2099.[ch]

2012-11-02 Thread YAMANE Toshiaki
fixed below checkpatch warnings. - WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(... to printk(KERN_ERR ... - WARNING: Prefer netdev_info(netdev, ... then dev_info(dev, ... then pr_info(... to printk(KERN_INFO ... - WARNING: Prefer netdev_warn(netdev, ... then dev_war

Re: [RFC] Second attempt at kernel secure boot support

2012-11-02 Thread Eric W. Biederman
Matthew Garrett writes: > On Thu, Nov 01, 2012 at 09:58:17PM +, Alan Cox wrote: >> On Thu, 1 Nov 2012 21:34:52 + >> Matthew Garrett wrote: >> > I think you've misunderstood. Blacklist updates are append only. >> >> I think you've misunderstood - thats a technical detail that merely >> a

Re: [patch v1 1/2] mfd: i2c issue fix for DA9052/53 and support for DA9053-BC

2012-11-02 Thread Ashish Jangam
On Thu, 2012-11-01 at 14:31 +, Mark Brown wrote: > On Thu, Nov 01, 2012 at 11:48:42AM +0530, Ashish Jangam wrote: > > > This patch fixes this issue to by following any read or write with a dummy > > read > > to a safe register address. A safe register address is one where the > > contents >

Re: [PATCH] namespace:unmount pid_namespace's proc_mnt when copy_net_ns failed

2012-11-02 Thread Eric W. Biederman
Gao feng writes: > 于 2012年11月02日 15:02, Eric W. Biederman 写道: >> Gao feng writes: >> >>> we should call pid_ns_release_proc to unmount pid_namespace's >>> proc_mnt when copy_net_ns failed in function create_new_namespaces. >>> >>> otherwise,the proc_mnt will not be freed and because the super_b

[PATCH] Devfreq: Add debugfs node for representing frequency transition information

2012-11-02 Thread Jonghwa Lee
This patch adds debugfs node to measure transition of frequency on runtime. It will be creted under '/sys/kernel/debugfs/devfreq/'dev name'/' as the name of 'trans_table'. It contains number of transition of each frequency level, time spent on each level, and also total transition count. It inspire

Re: [PATCH] fs: notify: Fix race condition between umount and inotify_rm_watch

2012-11-02 Thread Namjae Jeon
2012/11/2, Al Viro : > On Fri, Nov 02, 2012 at 12:51:36AM +0900, Namjae Jeon wrote: >> When a user is monitoring an FS_UMOUNT watch using the inotify framework, >> there can be a potential race condition between the umount path & >> inotify_rm_watch. This scenario can be like- >> ==

Re: [PATCH] namespace:unmount pid_namespace's proc_mnt when copy_net_ns failed

2012-11-02 Thread Gao feng
于 2012年11月02日 16:54, Eric W. Biederman 写道: > Gao feng writes: > >> 于 2012年11月02日 15:02, Eric W. Biederman 写道: >>> Gao feng writes: >>> we should call pid_ns_release_proc to unmount pid_namespace's proc_mnt when copy_net_ns failed in function create_new_namespaces. otherwise,t

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Felipe Balbi
Hi, On Thu, Nov 01, 2012 at 04:49:23PM -0700, Russ Dill wrote: > On Thu, Nov 1, 2012 at 3:05 PM, Felipe Balbi wrote: > > HI, > > > > On Thu, Nov 01, 2012 at 03:59:50PM +0200, Pantelis Antoniou wrote: > >> Hi Alan, > >> > >> On Nov 1, 2012, at 3:51 PM, Alan Cox wrote: > >> > >> >> What they want,

Re: [PATCH] namespace:unmount pid_namespace's proc_mnt when copy_net_ns failed

2012-11-02 Thread Eric W. Biederman
Gao feng writes: > 于 2012年11月02日 16:54, Eric W. Biederman 写道: >> Gao feng writes: >> >>> 于 2012年11月02日 15:02, Eric W. Biederman 写道: Gao feng writes: > we should call pid_ns_release_proc to unmount pid_namespace's > proc_mnt when copy_net_ns failed in function create_new_names

Re: linux-next: build warning after merge of the usb tree

2012-11-02 Thread Felipe Balbi
Hi, On Fri, Nov 02, 2012 at 03:08:28PM +1100, Stephen Rothwell wrote: > Hi Greg, > > After merging the usb tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > WARNING: drivers/usb/host/ehci-hcd: 'ehci_init_driver' exported twice. > Previous export was in drivers/us

[PATCH] staging: wlan-ng: hfa384x_usb.c: fixed a coding style issue

2012-11-02 Thread Kumar Amit Mehta
checkpatch.pl throws error message for the current code. This patch fixes coding style issue. Signed-off-by: Kumar Amit Mehta --- drivers/staging/wlan-ng/hfa384x_usb.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/wlan-ng/hfa384x_usb.c b/drivers/st

Re: [PATCH 7/8] serial: xilinx_uartps: get clock rate info from dts

2012-11-02 Thread Lars-Peter Clausen
On 10/31/2012 08:28 PM, Josh Cartwright wrote: > Add support for specifying clock information for the uart clk via the > device tree. This eliminates the need to hardcode rates in the device > tree. > > Signed-off-by: Josh Cartwright > --- > arch/arm/boot/dts/zynq-7000.dtsi | 4 ++-- > drive

Re: [PATCH RESEND 1/5 v6] gpio: Add a block GPIO API to gpiolib

2012-11-02 Thread Roland Stigge
On 10/31/2012 07:59 PM, Grant Likely wrote: >> Pin direction currently needs to be set up separately, analogous to >> requesting gpios. Need to document this better, right. The assumption is >> that I/O needs to be efficient primarily, before bloating the API with >> direction functions. Or should

[pull] drm-intel-next for 3.8

2012-11-02 Thread Daniel Vetter
Hi Dave, Quite a pile since this is 4 weeks worth of patches: - tons of hsw dp prep patches form Paulo - round scheduled work items and timers to nearest second (Chris) - some hw workarounds (Jesse&Damien) - vlv dp support and related fixups (Vijay et al.) - basic haswell dp support, not yet wired

Re: [PATCH 1/8] cgroup: kill cgroup_subsys->__DEPRECATED_clear_css_refs

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > 2ef37d3fe4 ("memcg: Simplify mem_cgroup_force_empty_list error > handling") removed the last user of __DEPRECATED_clear_css_refs. This > patch removes __DEPRECATED_clear_css_refs and mechanisms to support > it. > > * Conditionals dependent on __DEPRECATED_cl

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Cousson, Benoit
Hi Jason, On 11/1/2012 7:50 PM, Jason Kridner wrote: My apologies for starting a new thread, but I don't have this thread in my Inbox. http://www.spinics.net/lists/linux-omap/msg81034.html Tony Lindgren wrote: * Pantelis Antoniou [121031 15:02]: So when device's node is 'disabled' of_plat

Re: [PATCH 2/8] cgroup: kill CSS_REMOVED

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > CSS_REMOVED is one of the several contortions which were necessary to > support css reference draining on cgroup removal. All css->refcnts > which need draining should be deactivated and verified to equal zero > atomically w.r.t. css_tryget(). If any one isn

Re: [PATCH] staging: iio: adc: ad7280a.c: fixed macro coding style

2012-11-02 Thread Jonathan Cameron
On 11/02/2012 07:28 AM, Kumar Amit Mehta wrote: > remove unnecessary semicolon from the macro definition > > Signed-off-by: Kumar Amit Mehta Thanks, added to togreg branch of iio.git > --- > drivers/staging/iio/adc/ad7280a.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff -

[PATCH 1/2 v5] block/throttle: remove redundant type transition

2012-11-02 Thread Robin Dong
From: Robin Dong We don't need to convert tg to blkg and then convert it back in throtl_update_dispatch_stats(). Signed-off-by: Robin Dong --- block/blk-throttle.c |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index a

[PATCH 2/2 v5] block/throttle: Add IO submitted information in blkio.throttle

2012-11-02 Thread Robin Dong
From: Robin Dong Currently, if the IO is throttled by io-throttle, the system admin has no idea of the situation and can't report it to the real application user about that he/she has to do something. So this patch adds a new interface named blkio.throttle.io_submitted which exposes the number o

Re: [PATCH 5/8] ARM: zynq: add COMMON_CLK support

2012-11-02 Thread Lars-Peter Clausen
On 10/31/2012 07:58 PM, Josh Cartwright wrote: > [...] > +#define PERIPH_CLK_CTRL_SRC(x) (periph_clk_parent_map[((x)&3)>>4]) > +#define PERIPH_CLK_CTRL_DIV(x) (((x)&0x3F00)>>8) A few more spaces wouldn't hurt ;) > [...] > +static void __init zynq_periph_clk_setup(struct device_node *n

[GIT PULL REQUEST] UniCore32 update for v3.7-rc3

2012-11-02 Thread guanxuetao
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following changes since commit 8c23f406c6d86808726ace580657186bc3b44587: Linus Torvalds (1): Merge git://git.kernel.org/pub/scm/virt/kvm/kvm are available in the git repository at: git://github.com/gxt/linux.git unicore32 Al Viro (2)

Re: [PATCH 2/3] ti_tscadc: Match mfd sub devices to regmap interface

2012-11-02 Thread Jonathan Cameron
On 11/01/2012 03:24 PM, Pantelis Antoniou wrote: > The MFD parent device now uses a regmap, instead of direct > memory access. Use the same method in the sub devices to avoid > nasty surprises. > > Please not that this driver can't really deal with the case of the regmap > call failing in anyway.

Re: [PATCH 3/8] cgroup: use cgroup_lock_live_group(parent) in cgroup_create()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > This patch makes cgroup_create() fail if @parent is marked removed. > This is to prepare for further updates to cgroup_rmdir() path. > > Note that this change isn't strictly necessary. cgroup can only be > created via mkdir and the removed marking and dentry

Re: [PATCH 5/5] drivers/iio/industrialio-event.c: eliminate possible double free

2012-11-02 Thread Jonathan Cameron
On 10/21/2012 11:52 AM, Julia Lawall wrote: > From: Julia Lawall > > The function __iio_add_event_config_attrs is only called once, by the > function iio_device_register_eventset. If the call fails, > iio_device_register_eventset calls __iio_remove_event_config_attrs. There > is thus no need fo

Re: [PATCH v2 2/3] pppoatm: fix race condition with destroying of vcc

2012-11-02 Thread Krzysztof Mazur
On Thu, Nov 01, 2012 at 10:26:28AM -0400, chas williams - CONTRACTOR wrote: > On Wed, 31 Oct 2012 23:04:35 +0100 > Krzysztof Mazur wrote: > > > There are also some minor potential issues in pppoatm driver: > > > > - locking issues, but now only between pppoatm_send() and > > vcc_sendms

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Russ Dill
On Fri, Nov 2, 2012 at 1:57 AM, Felipe Balbi wrote: > Hi, > > On Thu, Nov 01, 2012 at 04:49:23PM -0700, Russ Dill wrote: >> On Thu, Nov 1, 2012 at 3:05 PM, Felipe Balbi wrote: >> > HI, >> > >> > On Thu, Nov 01, 2012 at 03:59:50PM +0200, Pantelis Antoniou wrote: >> >> Hi Alan, >> >> >> >> On Nov 1

Re: [PATCH 4/8] cgroup: deactivate CSS's and mark cgroup dead before invoking ->pre_destroy()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > Because ->pre_destroy() could fail and can't be called under > cgroup_mutex, cgroup destruction did something very ugly. > >1. Grab cgroup_mutex and verify it can be destroyed; fail otherwise. > >2. Release cgroup_mutex and call ->pre_destroy(). > >

Re: MIPS ASID type conflicts

2012-11-02 Thread Ralf Baechle
On Mon, Apr 23, 2012 at 01:49:26PM +0200, Jean-Christophe PINCE wrote: > I am analyzing Linux MIPS tasks memory spaces and found out what I > think is a bug in the ASID management. > > The structure "struct cpuinfo_mips" defined in > arch/mips/include/asm/cpu-info.h uses a "unsigned int" field fo

RE: discrepancy while save and restore of debounce registers

2012-11-02 Thread Hebbar, Gururaja
On Thu, Oct 18, 2012 at 21:44:56, Hunter, Jon wrote: > Hi Gururaja, > > On 10/18/2012 12:31 AM, Hebbar, Gururaja wrote: > > Jon, > > > > On Thu, Oct 18, 2012 at 02:42:01, Hunter, Jon wrote: > > [snip] > > >>> My doubt/questions are > >>> 1. Why should debounce registers be updated only when it'

[PATCH] Devfreq: Add debugfs node for representing frequency transition information

2012-11-02 Thread Jonghwa Lee
This patch adds debugfs node to measure transition of frequency on runtime. It will be creted under '/sys/kernel/debugfs/devfreq/'dev name'/' as the name of 'trans_table'. It contains number of transition of each frequency level, time spent on each level, and also total transition count. It inspire

Re: Expressing linux-next collateral evolutions in formal grammar

2012-11-02 Thread Julia Lawall
The way I would envision this to be easier to manage is to break them down by subsystem and the reviewer can then go and read the grammar for their own subsystem of preference. The long term benefit of this is that even if folks don't use SmPL for collateral evolutions we have a possibility here o

[PATCH v3] linux,stdout-path helper

2012-11-02 Thread Sascha Hauer
The following adds a helper for matching the linux,stdout-path property in the chosen node and makes use of it in the i.MX serial driver. changes since v2: - move helper to OF core and make it independent of serial devices changes since v1: - move it out of the i.MX serial driver and make it ge

[PATCH 3/3] serial: i.MX: evaluate linux,stdout-path property

2012-11-02 Thread Sascha Hauer
devicetrees may have the linux,stdout-path property to specify the console. This patch adds support to the i.MX serial driver for this. Signed-off-by: Sascha Hauer --- drivers/tty/serial/imx.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/tty/serial/imx.c b/drivers/tty/seria

[PATCH 2/3] serial: i.MX: Make console support non optional

2012-11-02 Thread Sascha Hauer
Traditionally console support is optional for serial drivers. This makes it non optional for the i.MX driver since it's not worth asking questions for a feature virtually every user of this driver wants to have. Signed-off-by: Sascha Hauer --- drivers/tty/serial/Kconfig | 16 +---

[PATCH 1/3] OF: Add helper for matching against linux,stdout-path

2012-11-02 Thread Sascha Hauer
devicetrees may have a linux,stdout-path property in the chosen node describing the console device. This adds a helper function to match a device against this property so a driver can call add_preferred_console for a matching device. Signed-off-by: Sascha Hauer --- drivers/of/Kconfig|

Re: [PATCH] iio: isl29018: Support suspend and resume.

2012-11-02 Thread Jonathan Cameron
On 10/25/2012 12:39 AM, Bryan Freed wrote: > The driver leaves the device in power-down state anyway, > so there is nothing to do on suspend. > On resume, we just have to make sure the range and ADC > values are updated in the device since it may have been > powered down in suspend. > > Signed-off

Re: [PATCH 5/8] cgroup: remove CGRP_WAIT_ON_RMDIR, cgroup_exclude_rmdir() and cgroup_release_and_wakeup_rmdir()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > CGRP_WAIT_ON_RMDIR is another kludge which was added to make cgroup > destruction rollback somewhat working. cgroup_rmdir() used to drain > CSS references and CGRP_WAIT_ON_RMDIR and the associated waitqueue and > helpers were used to allow the task performing

Re: [PATCH 6/8] memcg: make mem_cgroup_reparent_charges non failing

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > From: Michal Hocko > > Now that pre_destroy callbacks are called from the context where neither > any task can attach the group nor any children group can be added there > is no other way to fail from mem_cgroup_pre_destroy. > mem_cgroup_pre_destroy doesn't

Re: [PATCH 7/8] hugetlb: do not fail in hugetlb_cgroup_pre_destroy

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > From: Michal Hocko > > Now that pre_destroy callbacks are called from the context where neither > any task can attach the group nor any children group can be added there > is no other way to fail from hugetlb_pre_destroy. > > Signed-off-by: Michal Hocko >

Re: BUG: enabling psacct breaks fsfreeze

2012-11-02 Thread Marco Stornelli
Il 01/11/2012 23:50, Jan Kara ha scritto: On Thu 01-11-12 15:23:25, Nikola Ciprich wrote: Nov 1 14:23:25 vmnci22 [ 1075.178123] SysRq : Show Blocked State Nov 1 14:23:25 vmnci22 [ 1075.180555] taskPC stack pid father Nov 1 14:23:25 vmnci22 [ 1075.180592] fsfreeze

Re: [PATCH 8/8] cgroup: make ->pre_destroy() return void

2012-11-02 Thread Kamezawa Hiroyuki
(2012/10/31 13:22), Tejun Heo wrote: > All ->pre_destory() implementations return 0 now, which is the only > allowed return value. Make it return void. > > Signed-off-by: Tejun Heo > Cc: Michal Hocko > Cc: Balbir Singh > Cc: KAMEZAWA Hiroyuki > Cc: Vivek Goyal Acked-by: KAMEZAWA Hiroyuki

Re: [PATCH V5 1/2] kbuild: centralize .dts->.dtb rule

2012-11-02 Thread Ralf Baechle
On Wed, Oct 31, 2012 at 04:10:30PM -0600, Stephen Warren wrote: > From: Stephen Warren > > All architectures that use cmd_dtc do so in the same way. Move the build > rule to a central location to avoid duplication. Can you fold these MIPS bits into your patch? Ralf Signed-off-by: Ralf Baech

Re: [PATCH 1/8] cgroup: kill cgroup_subsys->__DEPRECATED_clear_css_refs

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 5:24), Tejun Heo wrote: On Wed, Oct 31, 2012 at 09:14:16PM +0100, Michal Hocko wrote: On Wed 31-10-12 13:11:02, Tejun Heo wrote: Hello, On Wed, Oct 31, 2012 at 1:08 PM, Michal Hocko wrote: local_irq_disable doesn't guarantee atomicity, because other CPUs will Maybe it should sa

Re: [PATCH 2/8] cgroup: kill CSS_REMOVED

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > CSS_REMOVED is one of the several contortions which were necessary to > support css reference draining on cgroup removal. All css->refcnts > which need draining should be deactivated and verified to equal zero > atomically w.r.t. css_tryget(). If any one isn'

Re: [PATCH 3/8] cgroup: use cgroup_lock_live_group(parent) in cgroup_create()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > This patch makes cgroup_create() fail if @parent is marked removed. > This is to prepare for further updates to cgroup_rmdir() path. > > Note that this change isn't strictly necessary. cgroup can only be > created via mkdir and the removed marking and dentry

Re: [PATCH 4/8] cgroup: deactivate CSS's and mark cgroup dead before invoking ->pre_destroy()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > Because ->pre_destroy() could fail and can't be called under > cgroup_mutex, cgroup destruction did something very ugly. > >1. Grab cgroup_mutex and verify it can be destroyed; fail otherwise. > >2. Release cgroup_mutex and call ->pre_destroy(). > >

Re: [PATCH] iio: hid-sensor: Use __devexit annotation for remove()

2012-11-02 Thread Jonathan Cameron
On 10/27/2012 03:48 PM, Axel Lin wrote: > Use __devexit rather than __devinit annotation for remove(). > Also adds __devexit_p around remove callback. > > Signed-off-by: Axel Lin Added to fixes-togreg branch of iio.git oops on this one. Should have picked that up in review. Thanks Axel! > --- >

Re: [PATCH] iio: hid-sensor: Return proper error if kmemdup fails

2012-11-02 Thread Jonathan Cameron
On 10/27/2012 04:03 PM, Axel Lin wrote: > Return -ENOMEM instead of 0 if kmemdup fails. > > Signed-off-by: Axel Lin Added to fixes-togreg branch of iio.git Thanks > --- > drivers/iio/accel/hid-sensor-accel-3d.c |6 +++--- > drivers/iio/gyro/hid-sensor-gyro-3d.c |6 +++--- >

Re: [PATCH v2 3/3] lp8788-charger: fix wrong ADC conversion

2012-11-02 Thread Jonathan Cameron
On 10/19/2012 01:45 PM, Lars-Peter Clausen wrote: > On 10/19/2012 02:12 AM, Kim, Milo wrote: >> To get the battery voltage and temperature, IIO ADC functions are used. >> LP8788 ADC driver provides RAW and SCALE channel information. >> This patch fixes wrong ADC result. >> >> Patch v2. >> Use

[PATCH] xfs: silence GCC warning

2012-11-02 Thread Paul Bolle
Building xfs_ioctl.o triggers this GCC warning: In file included from fs/xfs/xfs_linux.h:49:0, from fs/xfs/xfs.h:27, from fs/xfs/xfs_ioctl.c:18: fs/xfs/xfs_ioctl.c: In function ‘xfs_find_handle’: include/linux/file.h:37:7: warning: ‘f.file’ may

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Koen Kooi
Op 2 nov. 2012, om 10:26 heeft "Cousson, Benoit" het volgende geschreven: > Hi Jason, > > On 11/1/2012 7:50 PM, Jason Kridner wrote: >> My apologies for starting a new thread, but I don't have this thread >> in my Inbox. >> >> http://www.spinics.net/lists/linux-omap/msg81034.html >> >> Tony

Re: [PATCH 5/8] cgroup: remove CGRP_WAIT_ON_RMDIR, cgroup_exclude_rmdir() and cgroup_release_and_wakeup_rmdir()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > CGRP_WAIT_ON_RMDIR is another kludge which was added to make cgroup > destruction rollback somewhat working. cgroup_rmdir() used to drain > CSS references and CGRP_WAIT_ON_RMDIR and the associated waitqueue and > helpers were used to allow the task performing

Re: [PATCHv7 4/4] virtio_console: Add support for remoteproc serial

2012-11-02 Thread Amit Shah
On (Fri) 02 Nov 2012 [09:52:08], Rusty Russell wrote: > Amit Shah writes: > > On (Tue) 23 Oct 2012 [12:17:49], Rusty Russell wrote: > >> sjur.brandel...@stericsson.com writes: > >> > From: Sjur Brændeland > > > >> > @@ -1415,7 +1524,16 @@ static void remove_port_data(struct port *port) > >> > >

Re: [PATCH] memcg: fix hotplugged memory zone oops

2012-11-02 Thread Michal Hocko
On Thu 01-11-12 18:28:02, Hugh Dickins wrote: > When MEMCG is configured on (even when it's disabled by boot option), > when adding or removing a page to/from its lru list, the zone pointer > used for stats updates is nowadays taken from the struct lruvec. > (On many configurations, calculating zon

Re: [PATCH 6/8] memcg: make mem_cgroup_reparent_charges non failing

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > From: Michal Hocko > > Now that pre_destroy callbacks are called from the context where neither > any task can attach the group nor any children group can be added there > is no other way to fail from mem_cgroup_pre_destroy. > mem_cgroup_pre_destroy doesn't h

Re: [PATCH 7/8] hugetlb: do not fail in hugetlb_cgroup_pre_destroy

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > From: Michal Hocko > > Now that pre_destroy callbacks are called from the context where neither > any task can attach the group nor any children group can be added there > is no other way to fail from hugetlb_pre_destroy. > > Signed-off-by: Michal Hocko > R

Re: [PATCH V5 1/2] kbuild: centralize .dts->.dtb rule

2012-11-02 Thread Ralf Baechle
On Fri, Nov 02, 2012 at 10:58:01AM +0100, Ralf Baechle wrote: > Can you fold these MIPS bits into your patch? I missed Lantiq. Ralf Signed-off-by: Ralf Baechle arch/mips/cavium-octeon/Makefile | 3 --- arch/mips/lantiq/dts/Makefile| 3 --- arch/mips/netlogic/dts/Makefile | 3 --- 3 fi

Re: [PATCH 8/8] cgroup: make ->pre_destroy() return void

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 4:44), Tejun Heo wrote: > All ->pre_destory() implementations return 0 now, which is the only > allowed return value. Make it return void. > > Signed-off-by: Tejun Heo > Cc: Michal Hocko > Cc: Balbir Singh > Cc: KAMEZAWA Hiroyuki > Cc: Vivek Goyal Thank you ! Acked-by: KAMEZAWA

Re: [RFC 2/6] sched: add a new SD SHARE_POWERLINE flag for sched_domain

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 03:20 PM, Vincent Guittot wrote: It looks like i need to describe more what On 29 October 2012 10:40, Vincent Guittot wrote: On 24 October 2012 17:17, Santosh Shilimkar wrote: Vincent, Few comments/questions. On Sunday 07 October 2012 01:13 PM, Vincent Guittot

Re: [PATCH 02/25] perf tests: Move test objects into 'tests' directory

2012-11-02 Thread Jiri Olsa
On Fri, Nov 02, 2012 at 10:48:57AM +0900, Namhyung Kim wrote: > Hi Jiri, > > Despite its way to acme's tree, I'd like to leave a few comments. :) > > > On Tue, 30 Oct 2012 23:01:43 +0100, Jiri Olsa wrote: > > Separating test objects into 'tests' directory. > > > > Signed-off-by: Jiri Olsa > > C

[tip:x86/timers] x86: apic: Use tsc deadline for oneshot when available

2012-11-02 Thread tip-bot for Suresh Siddha
Commit-ID: 279f1461432ccdec0b98c0bcbe0a8e2c0f6fdda5 Gitweb: http://git.kernel.org/tip/279f1461432ccdec0b98c0bcbe0a8e2c0f6fdda5 Author: Suresh Siddha AuthorDate: Mon, 22 Oct 2012 14:37:58 -0700 Committer: Thomas Gleixner CommitDate: Fri, 2 Nov 2012 11:23:37 +0100 x86: apic: Use tsc dead

Re: [PATCH 0/3] capebus moving omap_devices to mach-omap2

2012-11-02 Thread Koen Kooi
Op 2 nov. 2012, om 10:42 heeft Russ Dill het volgende geschreven: > On Fri, Nov 2, 2012 at 1:57 AM, Felipe Balbi wrote: >> Hi, >> >> On Thu, Nov 01, 2012 at 04:49:23PM -0700, Russ Dill wrote: >>> On Thu, Nov 1, 2012 at 3:05 PM, Felipe Balbi wrote: HI, On Thu, Nov 01, 2012 at

Re: [PATCHv2 03/25] perf tests: Add framework for automated perf_event_attr tests

2012-11-02 Thread Jiri Olsa
On Fri, Nov 02, 2012 at 11:18:56AM +0900, Namhyung Kim wrote: > On Wed, 31 Oct 2012 15:52:47 +0100, Jiri Olsa wrote: > > Adding automated test to check event's perf_event_attr values. > > +#define WRITE_ASS(str, fmt, data) \ > > +do {

[PATCH 1/1] ARM: oprofile: add A5/A7/A15 entries in op_perf_name

2012-11-02 Thread jgq516
From: Xiao Jiang Add related name for A5/A7/A15 which are consistent with the OProfile user ABI. Signed-off-by: Xiao Jiang --- arch/arm/oprofile/common.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/oprofile/common.c b/arch/arm/oprofile/common.c index 99c

Re: BUG: enabling psacct breaks fsfreeze

2012-11-02 Thread Nikola Ciprich
> I saw this behavior (task-hang) when I tested the fsfreeze code. I was > writing a little patch to replace fsfreeze's wait queue with a killable > queue, in this way the user can do at least "kill -9", but since the > behavior was the same before your patch I didn't send it. I don't know if we >

Re: kswapd0: excessive CPU usage

2012-11-02 Thread Zdenek Kabelac
Dne 15.10.2012 13:09, Mel Gorman napsal(a): On Mon, Oct 15, 2012 at 11:54:13AM +0200, Jiri Slaby wrote: On 10/12/2012 03:57 PM, Mel Gorman wrote: mm: vmscan: scale number of pages reclaimed by reclaim/compaction only in direct reclaim Jiri Slaby reported the following: (It's an effec

RE: [PATCHv7 4/4] virtio_console: Add support for remoteproc serial

2012-11-02 Thread Sjur BRENDELAND
> On (Fri) 02 Nov 2012 [09:52:08], Rusty Russell wrote: > > Amit Shah writes: > > > On (Tue) 23 Oct 2012 [12:17:49], Rusty Russell wrote: > > >> sjur.brandel...@stericsson.com writes: > > >> > From: Sjur Brændeland > > > > > >> > @@ -1415,7 +1524,16 @@ static void remove_port_data(struct port > *

[RFC PATCH 3.7.0-rc2] dt/platform: insert resources correctly into resource tree

2012-11-02 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla This patch add new code to correctly add resources into platform device. Issue with the existing code was the resources are added as flat entry without creating any tree, this is very much different to what non-dt platform code does. With this patch the resources appear

[Patch v1 1/1] mfd: fix for i2c issue DA9052/53 PMIC

2012-11-02 Thread Ashish Jangam
There is an issue where the DA9052/53-AA/BA/BB PMIC either locks up or fails to respond following a system Reset. This could result in a second write in which the bus writes the current content of the write buffer to address of the last I2C access. The failure case is where this unwanted write tra

AMD A10: MCE Instruction Cache Error

2012-11-02 Thread Alexander Holler
Hello, I've just got the following on an AMD A10 5800K: -- [ 8395.999581] [Hardware Error]: CPU:0 MC1_STATUS[-|CE|MiscV|-|AddrV|-|-]: 0x8c210151 [ 8395.999586] [Hardware Error]:MC1_ADDR: 0xa00e1203 [ 8395.999588] [Hardware Error]: Instruction Cache Error: Parity err

Re: kswapd0: excessive CPU usage

2012-11-02 Thread Jiri Slaby
On 11/02/2012 11:44 AM, Zdenek Kabelac wrote: >>> Yes, applying this instead of the revert fixes the issue as well. > > I've applied this patch on 3.7.0-rc3 kernel - and I still see excessive > CPU usage - mainly after suspend/resume > > Here is just simple kswapd backtrace from running kernel

Re: [RFC 3/6] sched: pack small tasks

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 06:42 PM, Vincent Guittot wrote: On 24 October 2012 17:20, Santosh Shilimkar wrote: Vincent, Few comments/questions. On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: During sched_domain creation, we define a pack buddy CPU if available. On a system that

Re: [PATCH] memcg: fix hotplugged memory zone oops

2012-11-02 Thread Michal Hocko
On Fri 02-11-12 11:21:59, Michal Hocko wrote: > On Thu 01-11-12 18:28:02, Hugh Dickins wrote: [...] And I forgot to mention that the following hunk will clash with "memcg: Simplify mem_cgroup_force_empty_list error handling" which is in linux-next already (via Tejun's tree). Would it be easier to

Re: [PATCH v2 2/3] pppoatm: fix race condition with destroying of vcc

2012-11-02 Thread Krzysztof Mazur
On Fri, Nov 02, 2012 at 10:40:18AM +0100, Krzysztof Mazur wrote: > On Thu, Nov 01, 2012 at 10:26:28AM -0400, chas williams - CONTRACTOR wrote: > > On Wed, 31 Oct 2012 23:04:35 +0100 > > Krzysztof Mazur wrote: > > > - missing check for SS_CONNECTED in pppoatm_ioctl, > > > > in practice you will

Re: [RFC 5/6] sched: pack the idle load balance

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 06:57 PM, Vincent Guittot wrote: On 24 October 2012 17:21, Santosh Shilimkar wrote: On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: Look for an idle CPU close the pack buddy CPU whenever possible. s/close/close to yes The goal is to prevent the wak

Re: [RFC 6/6] ARM: sched: clear SD_SHARE_POWERLINE

2012-11-02 Thread Santosh Shilimkar
On Monday 29 October 2012 06:58 PM, Vincent Guittot wrote: On 24 October 2012 17:21, Santosh Shilimkar wrote: On Sunday 07 October 2012 01:13 PM, Vincent Guittot wrote: The ARM platforms take advantage of packing small tasks on few cores. This is true even when the cores of a cluster can't be

  1   2   3   4   5   6   >