[PATCH] mm: remove compressed copy from zram in-memory

2013-04-08 Thread Minchan Kim
Swap subsystem does lazy swap slot free with expecting the page would be swapped out again so we can avoid unnecessary write. But the problem in in-memory swap(ex, zram) is that it consumes memory space until vm_swap_full(ie, used half of all of swap device) condition meet. It could be bad if we

Re: [PATCH 2/2] hfsplus: add printk to log allocation failure in hfs_find_init()

2013-04-08 Thread Vyacheslav Dubeyko
On Sun, 2013-04-07 at 15:00 -0700, Joe Perches wrote: On Mon, 2013-04-08 at 01:21 +0400, Alexey Khoroshilov wrote: Add printk to log allocation failure in hfs_find_init(), so that there is a sign in dmesg when the error condition is triggered. (per Hin-Tak Leung request) Not needed.

Re: [v5] clk: add si5351 i2c common clock driver

2013-04-08 Thread Sebastian Hesselbarth
On 04/08/2013 02:17 AM, Guenter Roeck wrote: On Mon, Apr 08, 2013 at 01:49:24AM +0200, Sebastian Hesselbarth wrote: On 04/08/2013 12:50 AM, Guenter Roeck wrote: On Fri, Apr 05, 2013 at 05:23:35AM -, Sebastian Hesselbarth wrote: This patch adds a common clock driver for Silicon Labs

Re: AMD Vi error and lost networking with r8169

2013-04-08 Thread David R
Sure. Will apply this evening. It may take several days before I can report back due to the intermittent nature of the thing. Thanks David Quoting Francois Romieu rom...@fr.zoreil.com: David R da...@unsolicited.net : I'm been seeing some problems with my new ish AMD motherboard/processor

Re: [PATCH] F2FS: Fix the logic of IS_DNODE()

2013-04-08 Thread Jaegeuk Kim
Hi, 2013-04-07 (일), 12:57 -0400, Zhihui Zhang: Signed-off-by: Zhihui Zhang zzhs...@gmail.com --- fs/f2fs/node.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/f2fs/node.h b/fs/f2fs/node.h index afdb130..2be47b2 100644 --- a/fs/f2fs/node.h +++ b/fs/f2fs/node.h

Re: [PATCH] clk: add helper to set flags for clk-provider

2013-04-08 Thread Sebastian Hesselbarth
On 04/08/2013 05:59 AM, Mike Turquette wrote: Quoting Sebastian Hesselbarth (2013-04-04 22:22:12) Clock providers are not allowed to mess with struct clk internals directly but using helpers provided by clk-provider.h. This patch adds a helper to allow to set flags of a clock after

[PATCH 0/12][V2] memcg: make memcg's life cycle the same as cgroup

2013-04-08 Thread Li Zefan
Changes since v1: - wrote better changelog and added acked-by and reviewed-by tags - revised some comments as suggested by Michal - added a wmb() in kmem_cgroup_css_offline(), pointed out by Michal - fixed a bug which causes a css_put() never be called Now memcg has its own refcnt, so when a

Re: [PATCH] kernel: module: strncpy issue, using strlcpy instead of strncpy

2013-04-08 Thread Rusty Russell
Chen Gang gang.c...@asianux.com writes: ownername and namebuf are all NUL terminated string. need always let them ended by '\0'. Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/module.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 01/12] memcg: take reference before releasing rcu_read_lock

2013-04-08 Thread Li Zefan
The memcg is not referenced, so it can be destroyed at anytime right after we exit rcu read section, so it's not safe to access it. To fix this, we call css_tryget() to get a reference while we're still in rcu read section. Signed-off-by: Li Zefan lize...@huawei.com Acked-by: Glauber Costa

[PATCH 02/12] memcg: avoid accessing memcg after releasing reference

2013-04-08 Thread Li Zefan
This might cause use-after-free bug. Signed-off-by: Li Zefan lize...@huawei.com Acked-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com Acked-by: Michal Hocko mho...@suse.cz --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memcontrol.c

[PATCH 03/12] Revert memcg: avoid dangling reference count in creation failure.

2013-04-08 Thread Li Zefan
From: Michal Hocko mho...@suse.cz This reverts commit e4715f01be697a3730c78f8b595591d6a88c mem_cgroup_put is hierarchy aware so mem_cgroup_put(memcg) already drops an additional reference from all parents so the additional mem_cgrroup_put(parent) potentially causes use-after-free.

[PATCH 04/12] memcg, kmem: fix reference count handling on the error path

2013-04-08 Thread Li Zefan
From: Michal Hocko mho...@suse.cz mem_cgroup_css_online calls mem_cgroup_put if memcg_init_kmem fails. This is not correct because only memcg_propagate_kmem takes an additional reference while mem_cgroup_sockets_init is allowed to fail as well (although no current implementation fails) but it

[PATCH 05/12] memcg: use css_get() in sock_update_memcg()

2013-04-08 Thread Li Zefan
Use css_get/css_put instead of mem_cgroup_get/put. Note, if at the same time someone is moving @current to a different cgroup and removing the old cgroup, css_tryget() may return false, and sock-sk_cgrp won't be initialized, which is fine. Signed-off-by: Li Zefan lize...@huawei.com Acked-by:

[PATCH 06/12] memcg: don't use mem_cgroup_get() when creating a kmemcg cache

2013-04-08 Thread Li Zefan
Use css_get()/css_put() instead of mem_cgroup_get()/mem_cgroup_put(). There are two things being done in the current code: First, we acquired a css_ref to make sure that the underlying cgroup would not go away. That is a short lived reference, and it is put as soon as the cache is created. At

[PATCH 07/12] memcg: use css_get/put when charging/uncharging kmem

2013-04-08 Thread Li Zefan
Use css_get/put instead of mem_cgroup_get/put. We can't do a simple replacement, because here mem_cgroup_put() is called during mem_cgroup_css_free(), while mem_cgroup_css_free() won't be called until css refcnt goes down to 0. Instead we increment css refcnt in mem_cgroup_css_offline(), and

[PATCH 08/12] memcg: use css_get/put for swap memcg

2013-04-08 Thread Li Zefan
Use css_get/put instead of mem_cgroup_get/put. A simple replacement will do. The historical reason that memcg has its own refcnt instead of always using css_get/put, is that cgroup couldn't be removed if there're still css refs, so css refs can't be used as long-lived reference. The situation has

[PATCH 09/12] cgroup: make sure parent won't be destroyed before its children

2013-04-08 Thread Li Zefan
Suppose we rmdir a cgroup and there're still css refs, this cgroup won't be freed. Then we rmdir the parent cgroup, and the parent is freed immediately due to css ref draining to 0. Now it would be a disaster if the still-alive child cgroup tries to access its parent. Make sure this won't happen.

[PATCH 10/12] memcg: don't need to get a reference to the parent

2013-04-08 Thread Li Zefan
The cgroup core guarantees it's always safe to access the parent. v2: - added a comment in mem_cgroup_put() as suggested by Michal - removed mem_cgroup_get(), otherwise gcc will warn that it's not used Signed-off-by: Li Zefan lize...@huawei.com Acked-by: Michal Hocko mho...@suse.cz Acked-by:

[PATCH 11/12] memcg: kill memcg refcnt

2013-04-08 Thread Li Zefan
Now memcg has the same life cycle as its corresponding cgroup. Kill the useless refcnt. Signed-off-by: Li Zefan lize...@huawei.com Acked-by: Michal Hocko mho...@suse.cz Acked-by: KAMEZAWA Hiroyuki kamezawa.hir...@jp.fujitsu.com --- mm/memcontrol.c | 18 +- 1 file changed, 1

[PATCH 13/12] memcg: don't need memcg-memcg_name

2013-04-08 Thread Li Zefan
Now memcg has the same life cycle as its corresponding cgroup, we don't have to save the cgroup path name in memcg-memcg_name. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 65 + 1 file changed, 24 insertions(+), 41

[PATCH 12/12] memcg: don't need to free memcg via RCU or workqueue

2013-04-08 Thread Li Zefan
Now memcg has the same life cycle with its corresponding cgroup, and a cgroup is freed via RCU and then mem_cgroup_css_free() is called in a work function, so we can simply call __mem_cgroup_free() in mem_cgroup_css_free(). This actually reverts 59927fb984de1703c67bc640c3e522d8b5276c73 (memcg:

[PATCH resend] sched: Fix sd-*_idx limit range avoiding overflow

2013-04-08 Thread libin
Commit 201c373e8e (sched/debug: Limit sd-*_idx range on sysctl) was an incomplete bug fix. This patch fixs sd-*_idx limit range to [0 ~ CPU_LOAD_IDX_MAX - 1] avioding array overflow caused by setting sd-*_idx to CPU_LOAD_IDX_MAX on sysctl. Signed-off-by: Libin huawei.li...@huawei.com ---

Re: [PATCH] AVR32: fix building warnings caused by redifinitions of HZ

2013-04-08 Thread Hans-Christian Egtvedt
Around Sun 07 Apr 2013 23:29:17 +0800 or thereabout, Jiang Liu wrote: On 04/07/2013 03:55 PM, Hans-Christian Egtvedt wrote: Around Sun 07 Apr 2013 00:43:36 +0800 or thereabout, Jiang Liu wrote: Fix building warnings caused by redifinitions of HZ: snipp warning Thanks for fixing.

Re: [PATCH] at24: extend driver to allow writing via i2c_smbus_write_byte_data

2013-04-08 Thread Christian Gmeiner
Using the new mail address of wolfram sang - got the following error: Delivery to the following recipient failed permanently: w.s...@pengutronix.de Technical details of permanent failure: Google tried to deliver your message, but it was rejected by the server for the recipient

linux-next: manual merge of the akpm tree with the scsi tree

2013-04-08 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in drivers/scsi/qla2xxx/qla_attr.c between commit 4a9fa41bd404 ([SCSI] qla2xxx: Remove debug code that msleeps for random duration) from the scsi tree and commit scsi: rename random32() to prandom_u32() from the akpm tree. The

Re: [RFC v2] dmaengine: omap-dma: Start DMA without delay for cyclic channels

2013-04-08 Thread Peter Ujfalusi
Russell, On 04/03/2013 01:17 PM, Peter Ujfalusi wrote: cyclic DMA is only used by audio which needs DMA to be started without a delay. If the DMA for audio is started using the tasklet we experience random channel switch (to be more precise: channel shift). Reported-by: Peter Meerwald

Re: [PATCH v2] avr32: fix build error in atstk1006_defconfig

2013-04-08 Thread Josh Wu
Hi, Andrew Could you merge it for avr32? Thanks in advance. Best Regards, Josh Wu On 4/1/2013 2:26 PM, Josh Wu wrote: fixed the following compile error when use avr32 atstk1006_defconfig: drivers/mtd/nand/atmel_nand.c: In function 'pmecc_err_location': drivers/mtd/nand/atmel_nand.c:639:

Re: [RFC][PATCH 0/7] memcg: make memcg's life cycle the same as cgroup

2013-04-08 Thread Glauber Costa
On 04/07/2013 12:44 PM, Li Zefan wrote: Hi, I'm rebasing this patchset against latest linux-next, and it conflicts with [PATCH v2] memcg: debugging facility to access dangling memcgs. slightly. That is a debugging patch and will never be pushed into mainline, so should I still base this

Re: [PATCH] tty: mxser: fix cycle termination condition in mxser_probe() and mxser_module_init()

2013-04-08 Thread Jiri Slaby
On 04/07/2013 09:46 PM, Alexey Khoroshilov wrote: There is a bug in resources deallocation code in mxser_probe() and mxser_module_init(). As soon as variable 'i' is unsigned int, cycle termination condition i = 0 is always true. The patch fixes the issue. Signed-off-by: Alexey

RE: [PATCH] clk: exynos5250: Fix divider values for sclk_mmc{0,1,2,3}

2013-04-08 Thread Kukjin Kim
Mike Turquette wrote: Quoting Tushar Behera (2013-04-02 01:20:40) In legacy setup, sclk_mmc{0,1,2,3} used PRE_RATIO bit-field (8-bit wide) instead of RATIO bit-field (4-bit wide) for dividing clock rate. With current common clock setup, we are using RATIO bit-field which is creating

Re: [PATCH v3 1/4] x86, kdump: Set crashkernel_low automatically

2013-04-08 Thread Dave Young
On 04/05/2013 06:16 AM, Yinghai Lu wrote: Chao said that kdump does does work well on his system on 3.8 without extra parameter, even iommu does not work with kdump. And now have to append crashkernel_low=Y in first kernel to make kdump work. We have now modified crashkernel=X to allocate

Re: [RFC/PATCH] perf: Expand definition of sysfs format attribute

2013-04-08 Thread Michael Ellerman
On Mon, Mar 04, 2013 at 03:21:05PM +1100, Michael Ellerman wrote: Make it explicit that the format attributes may define overlapping bit ranges. Unfortunately this was left unspecified originally, and all the examples show non-overlapping ranges. I don't believe this is an ABI change, as we

Re: Debugging COW (copy on write) memory after fork: Is it possible to dump only the private anonymous memory of a process?

2013-04-08 Thread Vassilis Virvilis
On 04/06/2013 09:11 PM, Bruno Prémont wrote: On Fri, 05 April 2013 Vassilis Virvilisv.virvi...@biovista.com wrote: Question Is it possible to dump only the private anonymous memory of a process? I don't know if that's possible, but from your background you could probably work

Re: [Xen-devel] [PATCH-v2] xen: Don't call arch_trigger_all_cpu_backtrace in dom0(pvm)

2013-04-08 Thread Jan Beulich
On 07.04.13 at 07:54, Zhenzhong Duan zhenzhong.d...@oracle.com wrote: nmi isn't supported in dom0, fallback to general all cpu backtrace code. Since when is sending NMIs not supported, and since when is this Dom0-specific? If you want to deal with this, you should do so properly: Special case

linux-next: Tree for Apr 8

2013-04-08 Thread Stephen Rothwell
Hi all, Changes since 20130405: The vfs tree gained a build failure so I used the version from next-20130405. The wireless-next tree still had its build failure for which I applied a supplied patch. The mfd tree gained a build failure so I used the version from next-20130405. The omap_dss2

Re: [PATCH 1/4] regulator: ab8500: Get rid of is_enabled from struct ab8500_regulator_info

2013-04-08 Thread Lee Jones
On Sun, 07 Apr 2013, Axel Lin wrote: The intention of this patch is to simplify the code. Maintain the is_enabled flag is not trivial, it not only needs to set/clear the flag in disable()/enable() but also needs to set the flag in is_enable() to get initial status. The only benefit of

Re: [PATCH 4/4] regulator: ab8500-ext: Remove get_voltage to avoid duplicate implementation

2013-04-08 Thread Lee Jones
On Sun, 07 Apr 2013, Axel Lin wrote: The implementation of ab8500_ext_fixed_get_voltage is identical to ab8500_ext_list_voltage. We can avoid the duplicate implementation by just remove get_voltage. For fixed regulator, regulator core will call list_voltage(rdev, 0) to get voltage if both

[git pull] Please pull another powerpc fix

2013-04-08 Thread Stephen Rothwell
The following changes since commit 875b7679abbb232b584f2eec59fa6e45690dd6c4: Merge git://git.kernel.org/pub/scm/virt/kvm/kvm (2013-04-07 13:01:25 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sfr/next-fixes.git tags/for-linus for you to

Re: [PATCH 2/4] regulator: ab8500-ext: Get rid of is_enabled from struct ab8500_ext_regulator_info

2013-04-08 Thread Lee Jones
On Sun, 07 Apr 2013, Axel Lin wrote: The intention of this patch is to simplify the code. Maintain the is_enabled flag is not trivial, it not only needs to set/clear the flag in disable()/enable() but also needs to set the flag in is_enable() to get initial status. The only benefit of

Re: [PATCH RFC] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
On 04/05/2013 08:34 PM, Guenter Roeck wrote: On Fri, Apr 05, 2013 at 06:09:44PM +0200, Hector Palacios wrote: A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and

[PATCH] staging: cptm1217: Use dev_pm_ops

2013-04-08 Thread Lars-Peter Clausen
Use dev_pm_ops instead of the deprecated legacy suspend/resume callbacks. Signed-off-by: Lars-Peter Clausen l...@metafoo.de --- drivers/staging/cptm1217/clearpad_tm1217.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git

[PATCH] futex: bugfix for robust futex deadlock when waking only one thread in handle_futex_death

2013-04-08 Thread jiang . biao2
From: Zhang Yi zhang.y...@zte.com.cn The function handle_futex_death just wakes one thread, which may be not enough when the owner process is dead. Think about this scene: 1. A robust futex is shared for two processes, each process has multi threads try to get the lock. 2. One of the threads

hi:) I'm Alannisannettecdlpv.

2013-04-08 Thread Alannisannettecdlpv
This fleck lay down boulevard, and was innate and ugly. όἠūḑὀ=ǧǖẽ??ƅńẹᾑ Yet, in impact of these streaming memories, it would waver streaky to spend the pulley, absurdity and representation that were scampered beside the coffin of let him. -- To unsubscribe from this list: send the line

[PATCH] f2fs: write checkpoint before starting FG_GC

2013-04-08 Thread Jaegeuk Kim
In order to be aware of prefree and free sections during FG_GC, let's start with write_checkpoint(). Signed-off-by: Jaegeuk Kim jaegeuk@samsung.com --- fs/f2fs/gc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c index 83cec8f..37b05e1

Re: [PATCH RFC] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Guenter Roeck
On Mon, Apr 08, 2013 at 09:48:57AM +0200, Hector Palacios wrote: On 04/05/2013 08:34 PM, Guenter Roeck wrote: On Fri, Apr 05, 2013 at 06:09:44PM +0200, Hector Palacios wrote: A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device

[PATCH V6 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-04-08 Thread Amit Daniel Kachhap
Submitting the V6 version of exynos5440 cpufreq driver. This patchset addresses all the coding and design concerns raised especially by Viresh. Changes in V6: * Used cpufreq post-change notifier call back in case of failure as pointed by Viresh. * Called cpufreq_frequency_table_cpuinfo before

[PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread Amit Daniel Kachhap
This patch adds dvfs support for exynos5440 SOC. This soc has 4 cores and they scale at same frequency. The nature of exynos5440 clock controller is different from previous exynos controllers so not using the common exynos cpufreq framework. The major difference being interrupt notification for

[PATCH V6 2/4] cpufreq: exynos: Remove error return even if no soc is found

2013-04-08 Thread Amit Daniel Kachhap
This patch helps to have single binary for exynos5440 and previous exynos soc's. This change is needed for adding exynos5440 cpufreq driver which does not uses exynos-cpufreq common file and adds it own driver. Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kukjin

[PATCH V6 4/4] arm: dts: Add cpufreq controller node for Exynos5440 SoC

2013-04-08 Thread Amit Daniel Kachhap
Add cpufreq controller device node for Exynos5440 SoC for passing parameters like controller base address, interrupt and cpufreq table. This node is added outside cpu0 as this driver is now a platform driver and a new device structure is needed. Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael

[PATCH][TRIVIAL] iommu: Include linux/err.h

2013-04-08 Thread Wang YanQing
The linux/iommu.h header uses ERR_PTR defined in linux/err.h but doesn't include it. Reviewed-by: Alex Williamson alex.william...@redhat.com Signed-off-by: Wang YanQing udkni...@gmail.com --- I send this twice to joerg.roe...@amd.com more than one month, but it had been ignored, I don't why.

Re: [PATCH v1] pwm: add sysfs interface

2013-04-08 Thread Thierry Reding
On Wed, Apr 03, 2013 at 03:58:55PM +0200, Lars Poeschel wrote: From: Lars Poeschel poesc...@lemonage.de This adds a simple sysfs interface to the pwm subsystem. It is heavily inspired by the gpio sysfs interface. /sys/class/pwm /export ... asks the kernel to export

[PATCH 0/8] memcg, cgroup: kill css_id

2013-04-08 Thread Li Zefan
(This patchset depends on memcg: make memcg's life cycle the same as cgroup) This patchset converts memcg to always use cgroup-id, and then kills css_id. As we've removed memcg's own refcnt, converting memcg to use cgroup-id is very straight-forward. Li Zefan (8): cgroup: implement

[PATCH 1/8] cgroup: implement cgroup_is_ancestor()

2013-04-08 Thread Li Zefan
This will be used as a replacement for css_is_ancestor(). Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 3 +++ kernel/cgroup.c| 21 + 2 files changed, 24 insertions(+) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index

[PATCH 4/8] memcg: convert to use cgroup_from_id()

2013-04-08 Thread Li Zefan
This is a preparation to kill css_id. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 14f1375..3561d0b 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -2769,15

[PATCH 3/8] memcg: convert to use cgroup_is_ancestor()

2013-04-08 Thread Li Zefan
This is a preparation to kill css_id. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 5aa6e91..14f1375 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -1383,7 +1383,7

[PATCH 5/8] memcg: convert to use cgroup-id

2013-04-08 Thread Li Zefan
This is a preparation to kill css_id. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 3561d0b..c4e0173 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@

[PATCH 2/8] cgroup: implement cgroup_from_id()

2013-04-08 Thread Li Zefan
This will be used as a replacement for css_lookup(). Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 1 + kernel/cgroup.c| 31 +-- 2 files changed, 26 insertions(+), 6 deletions(-) diff --git a/include/linux/cgroup.h

Re: [PATCH 0/2] Update device tree binding document for pwm-tiehrpwm pwm-tiecap

2013-04-08 Thread Thierry Reding
On Mon, Apr 08, 2013 at 05:56:39AM +, Philip, Avinash wrote: Thierry, On Mon, Mar 25, 2013 at 12:34:51, Philip, Avinash wrote: Update device tree document of pwm-tiehrpwm pwm-tiecap in order to reflect the usage of similar modules in both da850 and am33xx platforms. Can you

[PATCH 6/8] memcg: fail to create cgroup if the cgroup id is too big

2013-04-08 Thread Li Zefan
memcg requires the cgroup id to be smaller than 65536. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 9 + 1 file changed, 9 insertions(+) diff --git a/mm/memcontrol.c b/mm/memcontrol.c index c4e0173..947dff1 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -492,6

[PATCH 7/8] memcg: don't use css_id any more

2013-04-08 Thread Li Zefan
Now memcg uses cgroup-id instead of css_id. Update some comments and set mem_cgroup_subsys-use_id to 0. Signed-off-by: Li Zefan lize...@huawei.com --- mm/memcontrol.c | 21 +++-- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/mm/memcontrol.c b/mm/memcontrol.c

[PATCH V6 3/4] arm: exynos: Enable OPP library support for exynos5440

2013-04-08 Thread Amit Daniel Kachhap
The OPP library support is needed for exynos5440 cpu frequency dynamic scaling driver. Cc: Viresh Kumar viresh.ku...@linaro.org Cc: Rafael J. Wysocki r...@sisk.pl Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Amit Daniel Kachhap amit.dan...@samsung.com --- arch/arm/mach-exynos/Kconfig |

Re: [PATCH V5 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread amit daniel kachhap
On Thu, Mar 28, 2013 at 6:12 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 28 March 2013 13:35, Amit Daniel Kachhap amit.dan...@samsung.com wrote: +++ b/drivers/cpufreq/exynos5440-cpufreq.c +static int exynos_cpufreq_cpu_init(struct cpufreq_policy *policy) +{ + policy-cur =

[PATCH 8/8] cgroup: kill css_id

2013-04-08 Thread Li Zefan
The only user of css_id was memcg, and it has been converted to use cgroup-id, so kill css_id. Signed-off-by: Li Zefan lize...@huawei.com --- include/linux/cgroup.h | 38 kernel/cgroup.c| 258 - 2 files changed, 296 deletions(-)

Re: [PATCH] HID: Roccat: Added media key support for Kone

2013-04-08 Thread Jiri Kosina
On Sun, 7 Apr 2013, Stefan Achatz wrote: Kone now reports media key events through it's chardev to userspace. Signed-off-by: Stefan Achatz erazor...@users.sourceforge.net Applied. -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 1/1] mfd: adp5520: Use module_i2c_driver()

2013-04-08 Thread Sachin Kamat
On 27 March 2013 14:50, Hennerich, Michael michael.henner...@analog.com wrote: Von: Sachin Kamat [sachin.ka...@linaro.org] Gesendet: Mittwoch, 27. März 2013 09:59 An: device-drivers-de...@blackfin.uclinux.org; LKML Cc: Hennerich, Michael;

Re: [PATCH V5 0/4] cpufreq: exynos5440: support for cpufreq driver

2013-04-08 Thread amit daniel kachhap
On Fri, Apr 5, 2013 at 6:08 PM, Rafael J. Wysocki r...@sisk.pl wrote: On Thursday, March 28, 2013 01:35:18 PM Amit Daniel Kachhap wrote: Submitting the V5 version of exynos5440 cpufreq driver. This patchset addresses all the coding and design concerns raised especially by Viresh. Changes in

WARNING: at mm/mmap.c:2702 exit_mmap+0x134/0x160() (SIGILL on sparc64)

2013-04-08 Thread Meelis Roos
While compiling 3.9-5rc6 on sparc64 (Ultrasparc-II Netra X1), I got the following error: [604143.245710] WARNING: at mm/mmap.c:2702 exit_mmap+0x134/0x160() [604143.323469] Modules linked in: ipv6 loop ohci_hcd i2c_ali15x3 usbcore i2c_ali1535 usb_common i2c_core [604143.445845] Call Trace:

Re: Excessive stall times on ext4 in 3.9-rc2

2013-04-08 Thread Mel Gorman
On Sun, Apr 07, 2013 at 05:59:06PM -0400, Frank Ch. Eigler wrote: Hi - tytso wrote: So I tried to reproduce the problem, and so I installed systemtap (bleeding edge, since otherwise it won't work with development kernel), and then rebuilt a kernel with all of the necessary CONFIG

Re: [PATCH RFC] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
On 04/08/2013 10:16 AM, Guenter Roeck wrote: On Mon, Apr 08, 2013 at 09:48:57AM +0200, Hector Palacios wrote: On 04/05/2013 08:34 PM, Guenter Roeck wrote: On Fri, Apr 05, 2013 at 06:09:44PM +0200, Hector Palacios wrote: A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS

Re: [PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread Viresh Kumar
On 8 April 2013 13:47, Amit Daniel Kachhap amit.dan...@samsung.com wrote: diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index f3f3b14..bce2195 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -42,6 +42,15 @@ config ARM_EXYNOS5250_CPUFREQ

[Pull request] bcache data offset

2013-04-08 Thread Gabriel de Perthuis
Hello, These patches update the bcache superblock format so that backing device data can be at an arbitrary offset from the start of the backing device; this helps convert partitions or logical volumes to bcache in-place, and https://github.com/g2p/blocks has been updated to use the new

[PATCH] bcache: Take data offset from the bdev superblock.

2013-04-08 Thread Gabriel
Add a new superblock version, and consolidate related defines. Signed-off-by: Gabriel de Perthuis g2p.code+bca...@gmail.com --- drivers/md/bcache/bcache.h | 23 ++- drivers/md/bcache/request.c | 2 +- drivers/md/bcache/super.c | 21 - 3 files changed,

[Resend with Ack][PATCH] mm: remove CONFIG_HOTPLUG ifdefs

2013-04-08 Thread Yijing Wang
CONFIG_HOTPLUG is going away as an option, cleanup CONFIG_HOTPLUG ifdefs in mm files. Signed-off-by: Yijing Wang wangyij...@huawei.com Acked-by: Greg Kroah-Hartman gre...@linuxfoundation.org Cc: Minchan Kim minc...@kernel.org Cc: Mel Gorman mgor...@suse.de Cc: Bartlomiej Zolnierkiewicz

Re: [PATCH] intel-iommu: Synchronize gcmd value with global command register

2013-04-08 Thread Takao Indoh
(2013/04/04 23:24), David Woodhouse wrote: On Thu, 2013-04-04 at 14:48 +0900, Takao Indoh wrote: - DMAR fault messages floods and second kernel does not boot. Recently I saw similar report. https://lkml.org/lkml/2013/3/8/120 Right. So the fix for that is to make the subsequent errors

[PATCH] mm/memcontrol.c: trivial fix - remove unnecessary ;

2013-04-08 Thread Michel Lespinasse
Just a trivial issue I stumbled on while doing something else... diff --git a/mm/memcontrol.c b/mm/memcontrol.c index 2b552224f5cf..dceee534b4b5 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c @@ -5744,7 +5744,7 @@ static int memcg_init_kmem(struct mem_cgroup *memcg, struct cgroup_subsys *ss)

Re: [RFC PATCH v2 2/6] powerpc: Exception hooks for context tracking subsystem

2013-04-08 Thread Li Zhong
On Fri, 2013-04-05 at 13:50 +1100, Paul Mackerras wrote: On Fri, Mar 29, 2013 at 06:00:17PM +0800, Li Zhong wrote: This is the exception hooks for context tracking subsystem, including data access, program check, single step, instruction breakpoint, machine check, alignment, fp

Re: [RFC/PATCH] perf: Expand definition of sysfs format attribute

2013-04-08 Thread Peter Zijlstra
On Mon, 2013-03-04 at 15:21 +1100, Michael Ellerman wrote: Make it explicit that the format attributes may define overlapping bit ranges. Unfortunately this was left unspecified originally, and all the examples show non-overlapping ranges. I don't believe this is an ABI change, as we are

Re: [PATCH 6/6] ARM: dts: Add pcie controller node for Samsung EXYNOS5440 SoC

2013-04-08 Thread Jingoo Han
On Saturday, March 23, 2013 1:09 PM, Jingoo Han wrote: Exynos5440 has two PCIe controllers which can be used as root complex for PCIe interface. Signed-off-by: Jingoo Han jg1@samsung.com --- arch/arm/boot/dts/exynos5440-ssdk5440.dts |8 +++ arch/arm/boot/dts/exynos5440.dtsi

Re: Version number policy!

2013-04-08 Thread Eugene Krasnikov
Thanx Christian for a valuable input. It’s a good idea to pack bitmap into the tail/header of the firmware binary to get capabilities even before fw loading. The plan is to add 8 bytes for caps and also add time stamp. Let me play around with that and provide fw and driver patch for review.

RE: [PATCH v3 3/3] ARM: davinci: da850: add EHRPWM ECAP DT node

2013-04-08 Thread Philip, Avinash
On Tue, Apr 02, 2013 at 14:03:34, Nori, Sekhar wrote: On 3/25/2013 1:19 PM, Philip Avinash wrote: Add da850 EHRPWM ECAP DT node. Also adds OF_DEV_AUXDATA for EHRPWM ECAP driver to use EHRPWM ECAP clock. This looks fine to me but I will wait for the bindings to get accepted before

[PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and status bits checked for stopping it. Besides, if the device has not been unregistered a critical message watchdog

Re: [PATCH] mac80211_hwsim: Register and bind to driver

2013-04-08 Thread Johannes Berg
Looks fine, but ... @@ -2179,6 +2183,8 @@ static int __init init_mac80211_hwsim(void) if (IS_ERR(hwsim_class)) return PTR_ERR(hwsim_class); + driver_register(mac80211_hwsim_driver); + memset(addr, 0, ETH_ALEN); addr[0] = 0x02; I think you forgot to

[PATCH] mac80211_hwsim: Register and bind to driver

2013-04-08 Thread Martin Pitt
Properly register our mac80211_hwsim_driver, attach it to the platform bus. Bind newly created hwsim devices to that driver, so that our wlan devices get a proper driver sysfs attribute. This makes mac80211_hwsim interfaces work with NetworkManager. Signed-off-by: Martin Pitt

RE: [PATCH 07/18] cpufreq: s3c24xx: move cpufreq driver to drivers/cpufreq

2013-04-08 Thread Kukjin Kim
Rafael J. Wysocki wrote: On Friday, April 05, 2013 12:36:34 PM Viresh Kumar wrote: On 5 April 2013 12:18, Kukjin Kim kgene@samsung.com wrote: Basically, this moving looks good to me, but should be re-worked based on for-next of samsung tree because this touches too many samsung

Re: [PATCH V6 1/4] cpufreq: exynos: Add cpufreq driver for exynos5440

2013-04-08 Thread Viresh Kumar
On 8 April 2013 14:17, Viresh Kumar viresh.ku...@linaro.org wrote: On 8 April 2013 13:47, Amit Daniel Kachhap amit.dan...@samsung.com wrote: diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index f3f3b14..bce2195 100644 --- a/drivers/cpufreq/Kconfig.arm +++

[PATCH v9 0/2] ARM: davinci: add support for dm365 vpbe display

2013-04-08 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables VPBE display driver on DM365. Changes for v9: 1: Removed extra line after break's and defines as pointed by Sekhar. 2: Included Ack's from Sekhar. Changes for v8: 1: Fixed nits pointed by Sekhar. Changes for v7: 1:

[PATCH v9 1/2] ARM: davinci: dm365: add support for v4l2 video display

2013-04-08 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm365. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Sekhar Nori nsek...@ti.com --- arch/arm/mach-davinci/board-dm365-evm.c |4 +-

[PATCH v9 2/2] ARM: davinci: dm365 EVM: add support for VPBE display

2013-04-08 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com add support for V4L2 video display to DM365 EVM. Support for SD and ED modes is provided, along with Composite and Component outputs. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Sekhar Nori nsek...@ti.com ---

Re: [PATCH 07/18] cpufreq: s3c24xx: move cpufreq driver to drivers/cpufreq

2013-04-08 Thread Viresh Kumar
On 8 April 2013 14:45, Kukjin Kim kgene@samsung.com wrote: Rafael J. Wysocki wrote: Well, I'm dropping it. Please merge via the Samsung tree. OK, I will. I got patch file from Viresh, and there is a sign from Rafael, but it should be ack. So Rafael, let me use your ack on this patch

Re: [GIT PULL] AB8500 Power and MFD related updates

2013-04-08 Thread Samuel Ortiz
Hi Lee, On Thu, Mar 07, 2013 at 12:38:59PM +0800, Lee Jones wrote: The following changes since commit 6dbe51c251a327e012439c4772097a13df43c5b8: Linux 3.9-rc1 (2013-03-03 15:11:05 -0800) are available in the git repository at: git://git.linaro.org/people/ljones/linux-3.0-ux500.git

Re: [PATCH 1/1] mfd: adp5520: Use module_i2c_driver()

2013-04-08 Thread Samuel Ortiz
On Mon, Apr 08, 2013 at 02:05:37PM +0530, Sachin Kamat wrote: On 27 March 2013 14:50, Hennerich, Michael michael.henner...@analog.com wrote: Von: Sachin Kamat [sachin.ka...@linaro.org] Gesendet: Mittwoch, 27. März 2013 09:59 An:

Re: linux-next: build failure after merge of the mfd tree

2013-04-08 Thread Samuel Ortiz
Hi Alexander, On Mon, Apr 08, 2013 at 08:45:51AM +0400, Alexander Shiyan wrote: Hello. After merging the mfd tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/regulator/anatop-regulator.c: In function 'anatop_regulator_probe':

Re: kernel BUG at kernel/smpboot.c:134!

2013-04-08 Thread Thomas Gleixner
On Sun, 7 Apr 2013, Borislav Petkov wrote: On Sun, Apr 07, 2013 at 11:20:10AM +0200, Thomas Gleixner wrote: And it's even more bogus because the cpu to which we would bind in kthread_create_on_cpu() is not yet online. In case you guys are wondering about reproducibility, I saw the same

[BUG] increased us/sys-load due to tty-layer in 2.6.38+ ?!

2013-04-08 Thread Steffen Trumtrar
Hi! I noticed a problem with the tty subsystem on ARM. Starting with 2.6.38+ load on the serial connection causes a 10-15% increase in system/userspace load. This doesn't change up to v3.9-rc4. The following setup was used: telnet screen microcom -p /dev/ttyUSB0 |

Re: [PATCH 0/15] arizona updates for v3.10

2013-04-08 Thread Samuel Ortiz
Hi Mark, On Wed, Apr 03, 2013 at 07:04:23PM +0100, Mark Brown wrote: On Mon, Apr 01, 2013 at 06:27:48PM +0100, Mark Brown wrote: mfd: arizona: Updates for v3.10 This is really a few separate topics which I can split out if required: - WM5102 updates to improve robustness -

[PATCH v8 0/2] ARM: davinci: dm355: add support for vpbe display

2013-04-08 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com This patch series enables VPBE display driver on DM355. This patch series is dependent on VPSS clock cleanup patches (http://www.mail-archive.com/davinci-linux-open-source@linux.davincidsp.com/msg25613.html) posted. Changes for v8: 1: Removed

[PATCH v8 1/2] ARM: davinci: dm355: add support for v4l2 video display

2013-04-08 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com Create platform devices for various video modules like venc,osd, vpbe and v4l2 driver for dm355. Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com --- arch/arm/mach-davinci/board-dm355-evm.c |4 +- arch/arm/mach-davinci/davinci.h

[PATCH v8 2/2] ARM: davinci: dm355 EVM: add support for VPBE display

2013-04-08 Thread Prabhakar lad
From: Lad, Prabhakar prabhakar.cse...@gmail.com add support for V4L2 video display to DM355 EVM. Support for SD modes is provided, along with Composite output Signed-off-by: Lad, Prabhakar prabhakar.cse...@gmail.com Acked-by: Sekhar Nori nsek...@ti.com ---

Re: [PATCH] mfd: Add device tree bindings for Arizona class devices

2013-04-08 Thread Samuel Ortiz
Hi Mark, On Tue, Apr 02, 2013 at 10:38:48PM +0100, Mark Brown wrote: Signed-off-by: Mark Brown broo...@opensource.wolfsonmicro.com --- Documentation/devicetree/bindings/mfd/arizona.txt | 62 drivers/mfd/arizona-core.c| 64

Re: [PATCH] mac80211_hwsim: Register and bind to driver

2013-04-08 Thread Martin Pitt
Hello Johannes, Johannes Berg [2013-04-08 11:12 +0200]: I think you forgot to update the error path to unregister the driver. Oops, thanks for spotting. Sending [PATCH v2]. Martin -- Martin Pitt| http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian

  1   2   3   4   5   6   7   8   9   10   >