linux-next: build failures after merge of the final tree (usb tree related)

2012-11-02 Thread Stephen Rothwell
Hi , After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: In file included from drivers/usb/host/ehci-platform.c:28:0: drivers/usb/host/ehci.h: In function 'ehci_readl': drivers/usb/host/ehci.h:662:3: error: implicit declaration of function 'readl_be'

Re: [PART6 Patch] mempolicy: fix is_valid_nodemask()

2012-11-02 Thread Kamezawa Hiroyuki
(2012/11/01 3:21), David Rientjes wrote: On Wed, 31 Oct 2012, Wen Congyang wrote: From: Lai Jiangshan la...@cn.fujitsu.com is_valid_nodemask() is introduced by 19770b32. but it does not match its comments, because it does not check the zone which policy_zone. Also in b377fd, this commits

RE: [PATCH 2/3] alarmtimer: Using the alarmtimer_get_rtcdev for all posix clock interface

2012-11-02 Thread Liu, Chuansheng
rtcdev = NULL CPU0 CPU 1 alarmtimer_rtc_add_device(A) if (rtcdev) alarmtimer_rtc_add_device(B) return -EBUSY; if (rtcdev) mutex_lock(); return -EBUSY; rtcdev = A;

linux-next: Tree for Nov 2

2012-11-02 Thread Stephen Rothwell
Hi all, Changes since 20121101: The v4l-dvb tree still had its build failure so I used the version from next-20121026. The modules tree gained a build failure so I used the version from next-20121101. The kvm tree lost its conflicts. The tmem tree lost its conflicts. The usb tree gained 2

[PATCH] Staging: Android: logger: module_exit implementation

2012-11-02 Thread Luca Clementi
Created the module_exit for the android logger so that it can be loaded and unloaded as a module. Fixed module_init and some other minor issues. Signed-off-by: Luca Clementi luca.cleme...@gmail.com Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Brian Swetland swetl...@google.com ---

Re: [PART6 Patch] mempolicy: fix is_valid_nodemask()

2012-11-02 Thread Wen Congyang
At 11/01/2012 02:21 AM, David Rientjes Wrote: On Wed, 31 Oct 2012, Wen Congyang wrote: From: Lai Jiangshan la...@cn.fujitsu.com is_valid_nodemask() is introduced by 19770b32. but it does not match its comments, because it does not check the zone which policy_zone. Also in b377fd, this

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

2012-11-02 Thread Kumar Amit Mehta
fix for macro coding style. Signed-off-by: Kumar Amit Mehta gmate.a...@gmail.com --- drivers/staging/gdm72xx/wm_ioctl.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm72xx/wm_ioctl.h b/drivers/staging/gdm72xx/wm_ioctl.h index 9f46e06..4ceecc4 100644

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

2012-11-02 Thread Dan Carpenter
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 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

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

2012-11-02 Thread Eric W. Biederman
Gao feng gaof...@cn.fujitsu.com 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

[PATCH v4 0/3] zram/zsmalloc promotion

2012-11-02 Thread Minchan Kim
. 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 staging zram: select ZSMALLOC when ZRAM is configured drivers/block/Kconfig

[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 minc...@kernel.org --- drivers/block/zram/Kconfig |3

[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 gmate.a...@gmail.com --- 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

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 gaof...@cn.fujitsu.com 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

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 which

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 checkpatch.pl

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 glom...@parallels.com 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.

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 glom...@parallels.com 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

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

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 glom...@parallels.com 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

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 this is a

[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 kis...@ti.com --- arch/arm/mach-omap2/devices.c | 79 + 1 file changed, 79

[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 kis...@ti.com Cc: Benoit Cousson b-cous...@ti.com --- arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 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

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

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 plugplay 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 b-cous...@ti.com het

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 konrad.w...@oracle.com wrote: On Thu, Nov 01, 2012 at 08:04:58PM +, Jan Beulich wrote: Konrad Rzeszutek Wilk konrad.w...@oracle.com 11/01/12 1:49 PM On Wed, Oct 31, 2012 at 10:42:30PM -0700, David Rientjes wrote: CONFIG_XEN_DOM0 must depend

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 minc...@kernel.org 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

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 minc...@kernel.org 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.

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 a...@linux-foundation.org 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,

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 plugplay when plugging in multiple capes and applying power after that. Preferably one that doesn't pass the buck to u-boot. Op 1

[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

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

2012-11-02 Thread Eric W. Biederman
Matthew Garrett mj...@srcf.ucam.org writes: On Thu, Nov 01, 2012 at 09:58:17PM +, Alan Cox wrote: On Thu, 1 Nov 2012 21:34:52 + Matthew Garrett mj...@srcf.ucam.org wrote: I think you've misunderstood. Blacklist updates are append only. I think you've misunderstood - thats 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 will not

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

2012-11-02 Thread Eric W. Biederman
Gao feng gaof...@cn.fujitsu.com writes: 于 2012年11月02日 15:02, Eric W. Biederman 写道: Gao feng gaof...@cn.fujitsu.com 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

[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

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

2012-11-02 Thread Namjae Jeon
2012/11/2, Al Viro v...@zeniv.linux.org.uk: 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 gaof...@cn.fujitsu.com writes: 于 2012年11月02日 15:02, Eric W. Biederman 写道: Gao feng gaof...@cn.fujitsu.com writes: we should call pid_ns_release_proc to unmount pid_namespace's proc_mnt when copy_net_ns failed in function

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 ba...@ti.com 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, and what

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

2012-11-02 Thread Eric W. Biederman
Gao feng gaof...@cn.fujitsu.com writes: 于 2012年11月02日 16:54, Eric W. Biederman 写道: Gao feng gaof...@cn.fujitsu.com writes: 于 2012年11月02日 15:02, Eric W. Biederman 写道: Gao feng gaof...@cn.fujitsu.com writes: we should call pid_ns_release_proc to unmount pid_namespace's proc_mnt when

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

[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 gmate.a...@gmail.com --- drivers/staging/wlan-ng/hfa384x_usb.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

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 josh.cartwri...@ni.com --- arch/arm/boot/dts/zynq-7000.dtsi |

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

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

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 panto@xxx [121031 15:02]: So when

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

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 gmate.a...@gmail.com Thanks, added to togreg branch of iio.git --- drivers/staging/iio/adc/ad7280a.c |2 +- 1 file changed, 1 insertion(+), 1

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

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

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

2012-11-02 Thread Robin Dong
From: Robin Dong san...@taobao.com 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

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 *np) +{ +

[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

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

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 julia.law...@lip6.fr 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

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 krzys...@podlesie.net wrote: There are also some minor potential issues in pppoatm driver: - locking issues, but now only between pppoatm_send() and

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 ba...@ti.com 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 ba...@ti.com 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(). 3.

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 for

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's accessed

[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

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

[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

[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 s.ha...@pengutronix.de --- drivers/tty/serial/imx.c |4 1 file changed, 4 insertions(+) diff --git

[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 s.ha...@pengutronix.de --- drivers/tty/serial/Kconfig |

[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 s.ha...@pengutronix.de ---

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

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 mho...@suse.cz 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

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 mho...@suse.cz 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

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 t...@kernel.org Cc: Michal Hocko mho...@suse.cz Cc: Balbir Singh bsinghar...@gmail.com Cc: 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 swar...@nvidia.com 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

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 mho...@suse.cz wrote: local_irq_disable doesn't guarantee atomicity, because other CPUs will

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

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(). 3.

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 axel@ingics.com Added to fixes-togreg branch of iio.git oops on this one. Should have picked that up in review.

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 axel@ingics.com 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 |

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 simple

[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 b-cous...@ti.com 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 amit.s...@redhat.com writes: On (Tue) 23 Oct 2012 [12:17:49], Rusty Russell wrote: sjur.brandel...@stericsson.com writes: From: Sjur Brændeland sjur.brandel...@stericsson.com @@ -1415,7 +1524,16 @@ static void

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 zone

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 mho...@suse.cz 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

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 mho...@suse.cz 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

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 r...@linux-mips.org arch/mips/cavium-octeon/Makefile | 3 --- arch/mips/lantiq/dts/Makefile| 3 ---

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 t...@kernel.org Cc: Michal Hocko mho...@suse.cz Cc: Balbir Singh bsinghar...@gmail.com Cc: KAMEZAWA Hiroyuki

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 vincent.guit...@linaro.org wrote: On 24 October 2012 17:17, Santosh Shilimkar santosh.shilim...@ti.com wrote: Vincent, Few comments/questions.

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 jo...@redhat.com

[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 suresh.b.sid...@intel.com AuthorDate: Mon, 22 Oct 2012 14:37:58 -0700 Committer: Thomas Gleixner t...@linutronix.de CommitDate: Fri, 2 Nov

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 russ.d...@ti.com het volgende geschreven: On Fri, Nov 2, 2012 at 1:57 AM, Felipe Balbi ba...@ti.com 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 ba...@ti.com wrote: HI, On

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 jgq...@gmail.com Add related name for A5/A7/A15 which are consistent with the OProfile user ABI. Signed-off-by: Xiao Jiang jgq...@gmail.com --- arch/arm/oprofile/common.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/oprofile/common.c

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 can

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

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 amit.s...@redhat.com writes: On (Tue) 23 Oct 2012 [12:17:49], Rusty Russell wrote: sjur.brandel...@stericsson.com writes: From: Sjur Brændeland sjur.brandel...@stericsson.com @@ -1415,7 +1524,16 @@ static void

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

2012-11-02 Thread Srinivas KANDAGATLA
From: Srinivas Kandagatla srinivas.kandaga...@st.com 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

  1   2   3   4   5   6   7   8   9   10   >