[PATCH 2/3] input: keyboard: support stmpe1801 18 bits enhanced port expander

2013-04-09 Thread Jean-Nicolas Graux
Provides support for 1801 variant of stmpe gpio port expanders. This chip has 18 gpios configurable as GPI, GPO, keypad matrix, special key or dedicated key function. Note that special/dedicated key function is not supported yet. Signed-off-by: Jean-Nicolas Graux ---

[PATCH 3/3] gpio: support stmpe1801 18 bits enhanced port expander

2013-04-09 Thread Jean-Nicolas Graux
Provides support for 1801 variant of stmpe gpio port expanders. This chip has 18 gpios configurable as GPI, GPO, keypad matrix, special key or dedicated key function. Note that special/dedicated key function is not supported yet. Signed-off-by: Jean-Nicolas Graux --- drivers/gpio/gpio-stmpe.c

[PATCH 1/3] mfd: support stmpe1801 18 bits enhanced port expander

2013-04-09 Thread Jean-Nicolas Graux
Provides support for 1801 variant of stmpe gpio port expanders. This chip has 18 gpios configurable as GPI, GPO, keypad matrix, special key or dedicated key function. Note that special/dedicated key function is not supported yet. Signed-off-by: Jean-Nicolas Graux --- drivers/mfd/Kconfig

Re: [PATCH 17/18] cpufreq: powerpc: move cpufreq driver to drivers/cpufreq

2013-04-09 Thread Viresh Kumar
On 5 April 2013 12:16, Viresh Kumar wrote: > On 4 April 2013 18:24, Viresh Kumar wrote: >> This patch moves cpufreq driver of powerpc platform to drivers/cpufreq. >> >> Cc: Benjamin Herrenschmidt >> Cc: Paul Mackerras >> Cc: Olof Johansson >> Cc: linuxppc-...@lists.ozlabs.org >>

Re: [PATCH 2/3] ARM: dts: tegra: Correct PCIe entry

2013-04-09 Thread Peter De Schrijver
On Mon, Apr 08, 2013 at 08:27:00PM +0200, Stephen Warren wrote: > On 04/08/2013 09:41 AM, Jay Agarwal wrote: > > Signed-off-by: Jay Agarwal > > Your s-o-b line should be below the patch description, not above it. > Please see Documentation/SubmittingPatches. > > I also don't see a --- line

[PATCH] ARM: OMAP4: HWMOD: make 'ocp2scp_usb_phy_phy_48m" as the main clock

2013-04-09 Thread Kishon Vijay Abraham I
commit 92702d (ARM: OMAP4: PM: fix PM regression introduced by recent clock cleanup) makes the 'ocp2scp_usb_phy_phy_48m' as optional functional clock causing regression in MUSB. But this 48MHz clock is a mandatory clock for usb phy attached to ocp2scp and hence made as the main clock for ocp2scp.

[PATCH] clk: si5351: Add gapless tuning for SI5351 PLL

2013-04-09 Thread Michal Bachraty
For gapless tuning, there is no need for PLL reset and clkout power-down when tuning output. "silabs,gapless-tuning" parameter enables gapless tuning for specific clock output. Signed-off-by: Michal Bachraty --- .../devicetree/bindings/clock/silabs,si5351.txt|2 ++

[PATCH] Clean up kernel/timer.c

2013-04-09 Thread Stephen Rothwell
Andrew Morton noted: akpm3:/usr/src/25> grep SYSCALL kernel/timer.c SYSCALL_DEFINE1(alarm, unsigned int, seconds) SYSCALL_DEFINE0(getpid) SYSCALL_DEFINE0(getppid) SYSCALL_DEFINE0(getuid) SYSCALL_DEFINE0(geteuid) SYSCALL_DEFINE0(getgid)

Re: [PATCH 3/3] ARM: dts: list the interrupts generated by pin-controller on Exynos5440

2013-04-09 Thread Linus Walleij
On Tue, Mar 26, 2013 at 4:12 PM, Kukjin Kim wrote: > From: Thomas Abraham > > Exynos5440 pin-controller generates eight interrupts to support gpio > interrupts. List those interrupt numbers in the pin-controller node. > > Signed-off-by: Thomas Abraham > Cc: Linus Walleij > Signed-off-by:

Re: [PATCH] mfd: wm8994: Don't use system PM operations

2013-04-09 Thread Samuel Ortiz
Hi Mark, On Fri, Mar 22, 2013 at 12:40:22PM +0100, Mark Brown wrote: > For realistic systems the power management is controlled entirely via > runtime PM - if the device is not runtime suspended then the suspend > will abort without doing anything as functionality such as accessory > detection or

Re: [PATCH 2/3] pinctrl: exynos5440: add gpio interrupt support

2013-04-09 Thread Linus Walleij
On Tue, Mar 26, 2013 at 4:12 PM, Kukjin Kim wrote: > From: Thomas Abraham > > Exynos5440 supports gpio interrupts on gpios 16 to 23. The eight interrupt > lines > originating from the pin-controller are connected to the gic. Add irq-chip > support > for these interrupts. > > Signed-off-by:

Re: [PATCH] mfd: ab8500-core: Ignore masked out interrupts

2013-04-09 Thread Samuel Ortiz
Hi Fabio, On Thu, Mar 21, 2013 at 02:49:44PM +0100, Fabio Baltieri wrote: > AB8500 asserts LATCH bits for masked out interrupts. This patch > explicitly masks those out using the cached mask value to prevent > handle_nested_irq() being called for masked IRQ on the same register as > unmasked

[GIT PULL] at91: little cleanup for 3.10 #3

2013-04-09 Thread Nicolas Ferre
Arnd, Olof, Again more trivial cleanup for AT91. It is based on material already sent and present in arm-soc/at91/cleanup2. Thanks, best regards, The following changes since commit e7619459d47a673af3433208a42f583af920e9db: ARM: at91: Fix typo in restart code panic message (2013-03-26

Re: [PATCH 00/11] Introduce movablemem_map=acpi boot option.

2013-04-09 Thread Tang Chen
On 04/09/2013 01:14 PM, Yasuaki Ishimatsu wrote: > Hi Tang, > > The patch works well on my x86_64 box. > I confirmed that hotpluggable node is allocated as Movable Zone. > So feel free to add: > > Tested by: Yasuaki Ishimatsu > > Nitpick below. Thanks for testing. Will fix the whitespace error

Re: [GIT PULL] at91: DT changes for 3.10 #3

2013-04-09 Thread Nicolas Ferre
On 04/04/2013 06:59 PM, Nicolas Ferre : > Arnd, Olof, > > Here is the refreshed pull-request for AT91 that is dedicated to Device Tree > modifications. It is stacked on the material that you already have > for 3.10 in your arm-soc/at91/dt branch. > Following our discussion with Arnd, I added the

Re: [PATCH v2] clk: add LP8788 clock driver

2013-04-09 Thread Samuel Ortiz
Hi Milo, On Thu, Apr 04, 2013 at 01:34:37AM +, Kim, Milo wrote: > Patch v2. > (a) Remove unnecessary 'is_enabled()' operation code. > (b) Add CLK_IGNORE_UNUSED flag. > (c) Add clock device detection code : lp8788_is_clk_device_ready() > If the device is not ready, return as

Re: [PATCH RFC] ARM: dts: mxs: leave card detect out of common mmc pins config

2013-04-09 Thread Marek Vasut
Dear Hector Palacios, > Dear Marek Vasut, > > On 04/08/2013 06:28 PM, Marek Vasut wrote: > > Dear Shawn Guo, > > > >> On Mon, Apr 08, 2013 at 03:58:05PM +0200, Hector Palacios wrote: > >>> On 04/08/2013 02:48 PM, Shawn Guo wrote: > On Mon, Apr 08, 2013 at 12:12:20PM +0200, Hector Palacios

Re: [PATCH v2] mfd: remove twelve unused Kconfig symbols

2013-04-09 Thread Samuel Ortiz
Hi Paul, On Wed, Mar 20, 2013 at 10:09:39AM +0100, Paul Bolle wrote: > Twelve Kconfig symbols, all related to WM8350, WM8351, and WM8352, are > unused. Commit 19d57ed5a308472a02e773f33c03ad4cb2ec6a9 ("mfd: Remove > custom wm8350 cache implementation") removed all their (actual) users. > Remove

Re: [PATCH 1/3] pinctrl: exynos5440: fix probe failure due to missing pin-list in config nodes

2013-04-09 Thread Linus Walleij
On Tue, Mar 26, 2013 at 4:12 PM, Kukjin Kim wrote: > From: Thomas Abraham > > The property 'samsung,exynos5440-pins' is optional in configuration nodes > which are included in the Exynos5440 pin-controller device node. Fix the > incorrect failure in driver probe if 'samsung,exynos5440-pins'

Re: [patch v1] mfd: da9055 change irq state to default

2013-04-09 Thread Samuel Ortiz
Hi Ashish, On Mon, Mar 18, 2013 at 02:42:38PM +0530, Ashish Jangam wrote: > This patch changes the irq state from high to the now default low. > Because the default PMIC irq state of DA9055 got changed from high to low. > This change should not affect any of the existing users since all of them >

Re: [PATCH 08/10] drivers: mfd: use module_platform_driver_probe()

2013-04-09 Thread Samuel Ortiz
Hi Fabio, On Thu, Mar 14, 2013 at 02:11:29PM +0100, Fabio Porcedda wrote: > This patch converts the drivers to use the > module_platform_driver_probe() macro which makes the code smaller and > a bit simpler. > > Signed-off-by: Fabio Porcedda > Cc: Greg Kroah-Hartman > Cc: Linus Walleij > Cc:

[PATCH] vfs: Remove the unnecessary protect.

2013-04-09 Thread majianpeng
After allocating a inode,it don't chain in superblock.At this time,it won't be used by others.So it make no sense to protect there. Signed-off-by: Jianpeng Ma --- fs/inode.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/inode.c b/fs/inode.c index f5f7c06..1d7b0dd 100644 --- a/fs/inode.c

Re: [patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-09 Thread Alex Shi
On 04/09/2013 03:08 PM, Vincent Guittot wrote: > On 2 April 2013 05:23, Alex Shi wrote: >> Except using runnable load average in background, move_tasks is also >> the key functions in load balance. We need consider the runnable load >> average in it in order to the apple to apple load comparison.

Re: [PATCH 5/5] pinctrl: ab8505: Staticize some symbols

2013-04-09 Thread Linus Walleij
On Tue, Mar 19, 2013 at 7:31 AM, Sachin Kamat wrote: > Silences the following warnings: > drivers/pinctrl/pinctrl-ab8505.c:274:28: warning: > symbol 'ab8505_alternate_functions' was not declared. Should it be static? > drivers/pinctrl/pinctrl-ab8505.c:351:32: warning: > symbol

Re: [PATCH 4/5] pinctrl: ab8540: Staticize some symbols

2013-04-09 Thread Linus Walleij
On Tue, Mar 19, 2013 at 7:31 AM, Sachin Kamat wrote: > Silences the following warnings: > drivers/pinctrl/pinctrl-ab8540.c:302:28: warning: > symbol 'ab8540_alternate_functions' was not declared. Should it be static? > drivers/pinctrl/pinctrl-ab8540.c:379:32: warning: > symbol

Re: [PATCH 3/5] pinctrl: ab9540: Staticize some symbols

2013-04-09 Thread Linus Walleij
On Tue, Mar 19, 2013 at 7:31 AM, Sachin Kamat wrote: > Fixes the following warnings: > drivers/pinctrl/pinctrl-ab9540.c:382:28: warning: > symbol 'ab9540alternate_functions' was not declared. Should it be static? > drivers/pinctrl/pinctrl-ab9540.c:457:32: warning: > symbol

Re: [PATCH 00/10] Add Intel Atom S1200 seris ioatdma support

2013-04-09 Thread Vinod Koul
On Tue, Mar 26, 2013 at 03:42:29PM -0700, Dave Jiang wrote: > The following series adds support for the Intel Atom S1200 product family > ioatdma. This ioatdma also implements a set of version v3.3 features such as > 16 > sources PQ, descriptor write back error status, and does not have many of

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

2013-04-09 Thread Vinod Koul
On Tue, Apr 09, 2013 at 09:19:31AM +0200, Peter Ujfalusi wrote: > On 04/09/2013 08:52 AM, Santosh Shilimkar wrote: > >> I suggest Peter resend the patch with also Grant + Linus W cc:d so > >> they can queue it unless there are other related patches pending > >> somewhere else. > >> > > Am curious

Re: [PATCH 2/5] pinctrl: ab8500: Staticize some symbols

2013-04-09 Thread Linus Walleij
On Tue, Mar 19, 2013 at 7:31 AM, Sachin Kamat wrote: > These symbols are used only in this file. Silences the following > warnings: > drivers/pinctrl/pinctrl-ab8500.c:392:28: warning: > symbol 'ab8500_alternate_functions' was not declared. Should it be static? >

Re: [PATCH 0/6] mfd: omap-usb-host: Device tree support for 3.10

2013-04-09 Thread Samuel Ortiz
Hi Roger, On Mon, Mar 25, 2013 at 12:42:04PM +0200, Roger Quadros wrote: > Hi Samuel, > > I've rebased this now on top of 3.9-rc4. Please pull this into your > next branch when appropriate. Thanks. > > The following changes since commit 8bb9660418e05bb1845ac1a2428444d78e322cc7: > > Linux

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

2013-04-09 Thread Glauber Costa
On 04/09/2013 07:46 AM, Kamezawa Hiroyuki wrote: > (2013/04/09 12:18), Li Zefan wrote: @@ -5188,12 +5154,28 @@ static int mem_cgroup_dangling_read(struct cgroup *cont, struct cftype *cft, struct seq_file *m) {

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

2013-04-09 Thread Glauber Costa
On 04/09/2013 07:18 AM, Li Zefan wrote: >>> @@ -5188,12 +5154,28 @@ static int mem_cgroup_dangling_read(struct cgroup >>> *cont, struct cftype *cft, >>> struct seq_file *m) >>> { >>> struct mem_cgroup *memcg; >>> + char *memcg_name; >>> + int ret; >>>

Re: [PATCH 1/5] pinctrl: abx500: Staticize some symbols

2013-04-09 Thread Linus Walleij
On Tue, Mar 19, 2013 at 7:31 AM, Sachin Kamat wrote: > These symbols are used only in this file. Without this patch > we get the following warnings: > drivers/pinctrl/pinctrl-abx500.c:520:5: warning: > symbol 'abx500_gpio_request' was not declared. Should it be static? >

linux-next: manual merge of the arm-soc tree with the gpio-lw tree

2013-04-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/gpio/gpio-vt8500.c between commit 808c513ee64b ("gpio/vt8500: Convert to devm_ioremap_resource()") from the gpio-lw tree and commit dc1010860b03 ("gpio: vt8500: Remove arch-vt8500 gpio driver") from the arm-soc tree.

linux-next: manual merge of the arm-soc tree with the omap_dss2 tree

2013-04-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-omap2/board-2430sdp.c between commit 3b4ece75b9e9 ("arm: omap: board-2430: use generic dpi panel's gpio handling") from the omap_dss2 tree and commit 5b6513d27775 ("ARM: OMAP: fix typo "CONFIG_SMC91x_MODULE"")

Re: cgroup: status-quo and userland efforts

2013-04-09 Thread Glauber Costa
On 04/09/2013 03:32 AM, Lennart Poettering wrote: > The other big thing we want from the systemd side is saner notifications > when cgroups run empty. i.e. currently we don't get these at all in > containers (since the agent can be only installed once, for the host). > And the way we get this is

[PATCH] of: remove the unnecessary of_node_put for of_parse_phandle_with_args()

2013-04-09 Thread Yuantian.Tang
From: Tang Yuantian As the function itself says it is caller's responsibility to call the of_node_put(). So, remove it on success to keep the reference count correct. Signed-off-by: Tang Yuantian --- drivers/of/base.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/of/base.c

Re: [tip:smp/hotplug] avr32: Use generic idle loop

2013-04-09 Thread Hans-Christian Egtvedt
Around Mon 08 Apr 2013 13:20:05 -0700 or thereabout, tip-bot for Thomas Gleixner wrote: > Commit-ID: 01426478df3a8791ff5c8b6b82d409e699cfaf38 > Gitweb: http://git.kernel.org/tip/01426478df3a8791ff5c8b6b82d409e699cfaf38 > Author: Thomas Gleixner > AuthorDate: Thu, 21 Mar 2013 22:49:40

Re: [PATCH V4 3/4] block: queue work on unbound wq

2013-04-09 Thread Viresh Kumar
On 31 March 2013 23:49, Tejun Heo wrote: > So, let's please introduce a new flag to mark these workqueues, say, > WQ_UNBOUND_FOR_POWER_SAVE or whatever (please come up with a better > name) and provide a compile time switch with boot time override. Hi Tejun, I have written a patch to get this

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

2013-04-09 Thread Steffen Trumtrar
On Mon, Apr 08, 2013 at 08:06:11AM -0700, Greg Kroah-Hartman wrote: > On Mon, Apr 08, 2013 at 11:25:58AM +0200, Steffen Trumtrar wrote: > > 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

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

2013-04-09 Thread Peter Ujfalusi
Russell, On 04/09/2013 09:19 AM, Peter Ujfalusi wrote: > On 04/08/2013 07:09 PM, Russell King - ARM Linux wrote: >> Now that I'm back from a short 4 day break, then yes, and the answer is >> that it's fine. Who's handling the patch? > > Thank you, > Péter Can I add you acked-by to the patch?

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

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

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

2013-04-09 Thread Peter Ujfalusi
On 04/08/2013 07:09 PM, Russell King - ARM Linux wrote: > Now that I'm back from a short 4 day break, then yes, and the answer is > that it's fine. Who's handling the patch? Thank you, Péter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

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

2013-04-09 Thread Peter Ujfalusi
On 04/09/2013 08:52 AM, Santosh Shilimkar wrote: >> I suggest Peter resend the patch with also Grant + Linus W cc:d so >> they can queue it unless there are other related patches pending >> somewhere else. >> > Am curious on your suggestion. DMA engine patches are going via Vinod > Koul's tree so

Re: [PATCH RFC] ARM: dts: mxs: leave card detect out of common mmc pins config

2013-04-09 Thread Hector Palacios
Dear Marek Vasut, On 04/08/2013 06:28 PM, Marek Vasut wrote: Dear Shawn Guo, On Mon, Apr 08, 2013 at 03:58:05PM +0200, Hector Palacios wrote: On 04/08/2013 02:48 PM, Shawn Guo wrote: On Mon, Apr 08, 2013 at 12:12:20PM +0200, Hector Palacios wrote: MicroSD card sockets don't usually have

Re: [PATCH v8 1/9] mfd: Add commands abstraction layer for SI476X MFD

2013-04-09 Thread Samuel Ortiz
On Mon, Apr 08, 2013 at 01:40:40PM -0700, Andrey Smirnov wrote: > On Mon, Apr 8, 2013 at 1:09 PM, Samuel Ortiz wrote: > > On Mon, Apr 08, 2013 at 11:34:43AM -0700, Andrey Smirnov wrote: > > > On Mon, Apr 8, 2013 at 3:16 AM, Samuel Ortiz > > wrote: > > > > This file doesn't exist yet, which

Re: [PATCH Resend v5] sched: fix init NOHZ_IDLE flag

2013-04-09 Thread Vincent Guittot
On 4 April 2013 19:30, Vincent Guittot wrote: > On 4 April 2013 19:07, Frederic Weisbecker wrote: >> 2013/4/3 Vincent Guittot : >>> On my smp platform which is made of 5 cores in 2 clusters, I have the >>> nr_busy_cpu field of sched_group_power struct that is not null when the >>> platform is

Re: pull request: bcache fixes

2013-04-09 Thread Jens Axboe
On Mon, Apr 08 2013, Kent Overstreet wrote: > Jens, here's the latest bcache fixes. All of it fairly minor: > > The following changes since commit 169ef1cf6171d35550fef85645b83b960e241cff: > > bcache: Don't export utility code, prefix with bch_ (2013-03-28 12:50:55 > -0600) > > are available

[PATCH 4/5] dmaengine: ste_dma40: Do not configure channels during an channel allocation

2013-04-09 Thread Lee Jones
According to the DMA documentation allocating a channel and configuring it are two separate actions. By removing the configuration code from the channel allocation path we lighten the burden on the information required to successfully allocate a channel. Cc: Vinod Koul Cc: Dan Williams Cc: Per

Re: [PATCH] mfd: drop "select PMIC_DA9055"

2013-04-09 Thread Samuel Ortiz
Hi Paul, On Sat, Mar 09, 2013 at 05:32:34PM +0100, Paul Bolle wrote: > The Kconfig entry for DA9055 PMIC Support selects PMIC_DA9055. That was > probably inspired by the similar select statement in the entry for > DA9052/53 PMIC with I2C. But the DA9055 PMIC only comes in an I2C > variant and its

Re: [PATCHSET] perf, cgroup: implement hierarchy support for perf_event controller

2013-04-09 Thread Li Zefan
On 2013/4/9 10:23, Tejun Heo wrote: > perf_event cgroup controller is one of the remaining few with broken > hierarchy support. It turns out it's pretty easy to implement - the > only thing necessary is making perf_cgroup_match() return %true also > when the cgroup of the current task is a

Re: [PATCH 2/2] hfs/hfsplus: Convert printks to pr_

2013-04-09 Thread Vyacheslav Dubeyko
On Mon, 2013-04-08 at 09:37 -0700, Joe Perches wrote: > Use a more current logging style. > > Add #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > hfsplus now uses "hfsplus: " for all messages. > Coalesce formats. > Prefix debugging messages too. > I think that if we begin to modify messages

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-09 Thread Dave Chinner
On Tue, Apr 09, 2013 at 09:01:39AM +0200, Jens Axboe wrote: > On Tue, Apr 09 2013, Dave Chinner wrote: > > On Thu, Apr 04, 2013 at 04:30:54PM -0400, Phillip Susi wrote: > > > > I have not tested it yet, but I am pretty sure it won't work. It > > > > looks like the patch changes the BLKRRPART path

Re: [PATCH 1/2] hfs/hfsplus: Convert dprint to hfs_dbg

2013-04-09 Thread Vyacheslav Dubeyko
On Mon, 2013-04-08 at 09:37 -0700, Joe Perches wrote: > Use a more current logging style. > > Rename macro and uses. > Add do {} while (0) to macro. > Add DBG_ to macro. > Add and use hfs_dbg_cont variant where appropriate. > I think that if we begin to modify messages subsystem then it makes

Re: [PATCH 0/2] hfs/hfsplus: Modernize logging styles

2013-04-09 Thread Vyacheslav Dubeyko
On Mon, 2013-04-08 at 09:37 -0700, Joe Perches wrote: > Joe Perches (2): > hfs/hfsplus: Convert dprint to hfs_dbg > hfs/hfsplus: Convert printks to pr_ > Thank you for your efforts. It is a good work. But I have some additional suggestions: (1) I think that it makes sense to use no_printk()

Re: [patch v3 6/8] sched: consider runnable load average in move_tasks

2013-04-09 Thread Vincent Guittot
On 2 April 2013 05:23, Alex Shi wrote: > Except using runnable load average in background, move_tasks is also > the key functions in load balance. We need consider the runnable load > average in it in order to the apple to apple load comparison. > > Signed-off-by: Alex Shi > --- >

Re: [PATCH] ktime_add_ns() may overflow on 32bit architectures

2013-04-09 Thread David Engraf
Am 08.04.2013 22:20, schrieb John Stultz: On 03/19/2013 05:29 AM, David Engraf wrote: Hello, I've triggered an overflow when using ktime_add_ns() on a 32bit architecture not supporting CONFIG_KTIME_SCALAR. When passing a very high value for u64 nsec, e.g. 7881299347898368000 the do_div()

[PATCH][TRIVIAL]drivers: Fix a class of compiler warnings

2013-04-09 Thread Wang YanQing
Fix the warnings look like below: /linux/drivers/dma/timb_dma.c:801: warning: 'td_remove' defined but not used I get the warning above when I compile 3.8.6 kernel, then I fix it and others' same issue in kernel with the help of perl, then I review and check the changes one by one. Signed-off-by:

[PATCH][TRIVIAL] ata:pata_pdc2027x: Fix compiler warnings

2013-04-09 Thread Wang YanQing
Fix the follwing warnings: linux/drivers/ata/pata_pdc2027x.c:66: warning: 'pdc2027x_reinit_one' declared 'static' but never defined pdc2027x_reinit_one are defined only when CONFIG_PM is defined, thus making it conditional. Signed-off-by: Wang YanQing --- drivers/ata/pata_pdc2027x.c | 2 ++ 1

Re: [PATCH 1/5] ARM: ux500: Move DMA40 platform data includes file out to include/

2013-04-09 Thread Lee Jones
On Mon, 08 Apr 2013, Arnd Bergmann wrote: > On Monday 08 April 2013, Lee Jones wrote: > > The pin names for DB8500 based platforms need to be moved out of > > ux500 platform data and into the new proper location in include/ > > linux/platform_data/. This way we an reference them from other > >

[git pull] drm nouveau fix

2013-04-09 Thread Dave Airlie
Hi Linus, just a spare semicolon in nouveau that caused some issues. Dave. The following changes since commit f011a08c804d50eeff4abf2d308cdce492f015aa: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sfr/next-fixes (2013-04-08 16:10:43 -0700) are available in the

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-09 Thread Jens Axboe
On Tue, Apr 09 2013, Dave Chinner wrote: > On Thu, Apr 04, 2013 at 04:30:54PM -0400, Phillip Susi wrote: > > > I have not tested it yet, but I am pretty sure it won't work. It > > > looks like the patch changes the BLKRRPART path to go ahead and remove > > > existing partitions when

Re: Loopback device hung [was Re: xfs deadlock on 3.9-rc5 running xfstests case #78]

2013-04-09 Thread Dave Chinner
On Thu, Apr 04, 2013 at 04:30:54PM -0400, Phillip Susi wrote: > > I have not tested it yet, but I am pretty sure it won't work. It > > looks like the patch changes the BLKRRPART path to go ahead and remove > > existing partitions when GENHD_FL_NO_PARTSCAN is set. loop doesn't > > issue the

Re: [PATCH 08/10] mm: vmscan: Have kswapd shrink slab only once per priority

2013-04-09 Thread Joonsoo Kim
Hello, Mel. Sorry for too late question. On Sun, Mar 17, 2013 at 01:04:14PM +, Mel Gorman wrote: > If kswaps fails to make progress but continues to shrink slab then it'll > either discard all of slab or consume CPU uselessly scanning shrinkers. > This patch causes kswapd to only call the

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

2013-04-09 Thread Santosh Shilimkar
On Monday 08 April 2013 10:45 PM, Tony Lindgren wrote: > * Russell King - ARM Linux [130408 10:15]: >> On Mon, Apr 08, 2013 at 09:11:04AM +0200, Peter Ujfalusi wrote: >>> Russell, >>> >>> On 04/03/2013 01:17 PM, Peter Ujfalusi wrote: cyclic DMA is only used by audio which needs DMA to be

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

2013-04-09 Thread Michal Hocko
On Mon 08-04-13 16:21:14, Li Zefan wrote: > This is a preparation to kill css_id. > > Signed-off-by: Li Zefan Acked-by: Michal Hocko > --- > mm/memcontrol.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index 5aa6e91..14f1375

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

2013-04-09 Thread Michal Hocko
On Tue 09-04-13 11:02:20, Li Zefan wrote: > On 2013/4/8 22:57, Michal Hocko wrote: > > On Mon 08-04-13 16:22:11, Li Zefan wrote: > >> This is a preparation to kill css_id. > >> > >> Signed-off-by: Li Zefan > > > > This patch depends on the following patch, doesn't it? There is no > > guarantee

Re: [PATCH] f2fs: move f2fs_balance_fs from truncate to punch_hole

2013-04-09 Thread Namjae Jeon
2013/4/9, Jason Hrycay : > From: Jason Hrycay > > Move the f2fs_balance_fs out of the truncate_hole function and only > perform that in punch_hole use case. The commit: > > ed60b1644e7f7e5dd67d21caf7e4425dff05dad0 > > intended to do this but moved it into truncate_hole to cover more > cases.

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

2013-04-09 Thread Michal Hocko
On Mon 08-04-13 14:36:46, Tejun Heo wrote: > On Mon, Apr 08, 2013 at 08:03:44PM +0200, Michal Hocko wrote: > > __mem_cgroup_same_or_subtree relies on css_is_ancestor if hierarchy is > > enabled for ages. This, however, is not correct because use_hierarchy > > doesn't need to be true all the way up

[PATCH] drivers/gpu/drm/gma500:fix build failure for 3.9-rc5

2013-04-09 Thread Xiong Zhou
From: Xiong Zhou This patch fixes build failure of v3.9-rc5. When config ACPI_VIDEO as m, DRM_GMA500 as y, here comes the failure. gma5/600 needs acpi_video just like nouveau. Failure message: drivers/built-in.o: In function `psb_driver_load':

[PATCH -next] mei: convert to use simple_open()

2013-04-09 Thread Wei Yongjun
From: Wei Yongjun This removes an open coded simple_open() function and replaces file operations references to the function with simple_open() instead. Signed-off-by: Wei Yongjun --- drivers/misc/mei/debugfs.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git

linux-next: manual merge of the ftrace tree with Linus' tree

2013-04-09 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in kernel/trace/trace.c between commit 2930e04d00e1 ("tracing: Fix race with update_max_tr_single and changing tracers") from Linus' tree and commits 2b6080f28c7c ("tracing: Encapsulate global_trace and remove dependencies on

[PATCH -next] workqueue: use kmem_cache_free() instead of kfree()

2013-04-09 Thread Wei Yongjun
From: Wei Yongjun memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Signed-off-by: Wei Yongjun --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/workqueue.c b/kernel/workqueue.c index c273376..154aa12

Re: [patch] tty: mxser: forever loops on error

2013-04-09 Thread Dan Carpenter
On Tue, Apr 09, 2013 at 09:50:35AM +0400, Alexey Khoroshilov wrote: > Hi Dan, > > Thank you for the patch. > > We are also trying to fix the issue: > https://lkml.org/lkml/2013/2/19/29 > https://lkml.org/lkml/2013/4/8/55 > > and the fix is finally in Greg's tty git tree since yesterday: >

Re: [PATCH 3/3] mm: when handling percpu_pagelist_fraction, use on_each_cpu() to set percpu pageset fields.

2013-04-09 Thread Gilad Ben-Yossef
On Tue, Apr 9, 2013 at 9:03 AM, Gilad Ben-Yossef wrote: > >> I also wonder whether there could be unexpected interactions between ->high >> and ->batch not changing together atomically. For example, could adjusting >> this knob cause ->batch to rise enough that it is greater than the previous >>

[PATCH 1/2] cls_cgroup: remove task_struct parameter from sock_update_classid()

2013-04-09 Thread Li Zefan
The callers always pass current to sock_update_classid(). Signed-off-by: Li Zefan --- include/net/cls_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/cls_cgroup.h

[PATCH 2/2] netprio_cgroup: remove task_struct parameter from sock_update_netprio()

2013-04-09 Thread Li Zefan
The callers always pass current to sock_update_netprio(). Signed-off-by: Li Zefan --- include/net/netprio_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/netprio_cgroup.h

Re: [PATCH 3/3] mm: when handling percpu_pagelist_fraction, use on_each_cpu() to set percpu pageset fields.

2013-04-09 Thread Gilad Ben-Yossef
On Mon, Apr 8, 2013 at 8:28 PM, Cody P Schafer wrote: > On 04/08/2013 05:20 AM, Gilad Ben-Yossef wrote: >> >> On Fri, Apr 5, 2013 at 11:33 PM, Cody P Schafer >> wrote: >>> >>> In free_hot_cold_page(), we rely on pcp->batch remaining stable. >>> Updating it without being on the cpu owning the

Re: [PATCH 1/2] netprio_cgroup: remove task_struct parameter from sock_update_netprio()

2013-04-09 Thread Li Zefan
Sorry, please ignore it. I sent it in the wrong order... On 2013/4/9 14:00, Li Zefan wrote: > The callers always pass current to sock_update_netprio(). > > Signed-off-by: Li Zefan > --- > include/net/netprio_cgroup.h | 4 ++-- > net/core/scm.c | 2 +- > net/core/sock.c

[PATCH] kernel: kallsyms: parameters checking, for EXPORT_SYMBOL_GPL functions

2013-04-09 Thread Chen Gang
for EXPORT_SYMBOL_GPL functions, necessary to check their parameters. Signed-off-by: Chen Gang --- kernel/kallsyms.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c index 2169fee..4ba57a9 100644 ---

[PATCH 1/2] netprio_cgroup: remove task_struct parameter from sock_update_netprio()

2013-04-09 Thread Li Zefan
The callers always pass current to sock_update_netprio(). Signed-off-by: Li Zefan --- include/net/netprio_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/net/netprio_cgroup.h

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-09 Thread Daniel Tang
On 09/04/2013, at 5:16 AM, Fabian Vogt wrote: > The latest kernel it seems to get stuck at > console_lock() in register_framebuffer (drivers/video/fbmem.c:1655) > if the LCD-controller is enabled. (Early printk and serial console works fine) > CONFIG_NO_HZ is not activated, it works completely.

[PATCH] tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()

2013-04-09 Thread Li Zefan
We read the value but make no use of it. Signed-off-by: Li Zefan --- net/ipv4/tcp_memcontrol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/tcp_memcontrol.c b/net/ipv4/tcp_memcontrol.c index b6f3583..d52196f 100644 --- a/net/ipv4/tcp_memcontrol.c +++ b/net/ipv4/tcp_memcontrol.c

[PATCH] tcp_memcontrol: remove a redundant statement in tcp_destroy_cgroup()

2013-04-09 Thread Li Zefan
We read the value but make no use of it. Signed-off-by: Li Zefan lize...@huawei.com --- net/ipv4/tcp_memcontrol.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/net/ipv4/tcp_memcontrol.c b/net/ipv4/tcp_memcontrol.c index b6f3583..d52196f 100644 --- a/net/ipv4/tcp_memcontrol.c +++

Re: [RFC PATCH arm: initial TI-Nspire support]

2013-04-09 Thread Daniel Tang
On 09/04/2013, at 5:16 AM, Fabian Vogt fab...@ritter-vogt.de wrote: The latest kernel it seems to get stuck at console_lock() in register_framebuffer (drivers/video/fbmem.c:1655) if the LCD-controller is enabled. (Early printk and serial console works fine) CONFIG_NO_HZ is not activated, it

[PATCH 1/2] netprio_cgroup: remove task_struct parameter from sock_update_netprio()

2013-04-09 Thread Li Zefan
The callers always pass current to sock_update_netprio(). Signed-off-by: Li Zefan lize...@huawei.com --- include/net/netprio_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH] kernel: kallsyms: parameters checking, for EXPORT_SYMBOL_GPL functions

2013-04-09 Thread Chen Gang
for EXPORT_SYMBOL_GPL functions, necessary to check their parameters. Signed-off-by: Chen Gang gang.c...@asianux.com --- kernel/kallsyms.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/kernel/kallsyms.c b/kernel/kallsyms.c index 2169fee..4ba57a9 100644

Re: [PATCH 3/3] mm: when handling percpu_pagelist_fraction, use on_each_cpu() to set percpu pageset fields.

2013-04-09 Thread Gilad Ben-Yossef
On Mon, Apr 8, 2013 at 8:28 PM, Cody P Schafer c...@linux.vnet.ibm.com wrote: On 04/08/2013 05:20 AM, Gilad Ben-Yossef wrote: On Fri, Apr 5, 2013 at 11:33 PM, Cody P Schafer c...@linux.vnet.ibm.com wrote: In free_hot_cold_page(), we rely on pcp-batch remaining stable. Updating it without

Re: [PATCH 1/2] netprio_cgroup: remove task_struct parameter from sock_update_netprio()

2013-04-09 Thread Li Zefan
Sorry, please ignore it. I sent it in the wrong order... On 2013/4/9 14:00, Li Zefan wrote: The callers always pass current to sock_update_netprio(). Signed-off-by: Li Zefan lize...@huawei.com --- include/net/netprio_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c

[PATCH 2/2] netprio_cgroup: remove task_struct parameter from sock_update_netprio()

2013-04-09 Thread Li Zefan
The callers always pass current to sock_update_netprio(). Signed-off-by: Li Zefan lize...@huawei.com --- include/net/netprio_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

[PATCH 1/2] cls_cgroup: remove task_struct parameter from sock_update_classid()

2013-04-09 Thread Li Zefan
The callers always pass current to sock_update_classid(). Signed-off-by: Li Zefan lize...@huawei.com --- include/net/cls_cgroup.h | 4 ++-- net/core/scm.c | 2 +- net/core/sock.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 3/3] mm: when handling percpu_pagelist_fraction, use on_each_cpu() to set percpu pageset fields.

2013-04-09 Thread Gilad Ben-Yossef
On Tue, Apr 9, 2013 at 9:03 AM, Gilad Ben-Yossef gi...@benyossef.com wrote: I also wonder whether there could be unexpected interactions between -high and -batch not changing together atomically. For example, could adjusting this knob cause -batch to rise enough that it is greater than the

Re: [patch] tty: mxser: forever loops on error

2013-04-09 Thread Dan Carpenter
On Tue, Apr 09, 2013 at 09:50:35AM +0400, Alexey Khoroshilov wrote: Hi Dan, Thank you for the patch. We are also trying to fix the issue: https://lkml.org/lkml/2013/2/19/29 https://lkml.org/lkml/2013/4/8/55 and the fix is finally in Greg's tty git tree since yesterday:

[PATCH -next] workqueue: use kmem_cache_free() instead of kfree()

2013-04-09 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn memory allocated by kmem_cache_alloc() should be freed using kmem_cache_free(), not kfree(). Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- kernel/workqueue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

linux-next: manual merge of the ftrace tree with Linus' tree

2013-04-09 Thread Stephen Rothwell
Hi Steven, Today's linux-next merge of the ftrace tree got a conflict in kernel/trace/trace.c between commit 2930e04d00e1 (tracing: Fix race with update_max_tr_single and changing tracers) from Linus' tree and commits 2b6080f28c7c (tracing: Encapsulate global_trace and remove dependencies on

[PATCH -next] mei: convert to use simple_open()

2013-04-09 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn This removes an open coded simple_open() function and replaces file operations references to the function with simple_open() instead. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/misc/mei/debugfs.c | 10 ++ 1 file

[PATCH] drivers/gpu/drm/gma500:fix build failure for 3.9-rc5

2013-04-09 Thread Xiong Zhou
From: Xiong Zhou jencce.ker...@gmail.com This patch fixes build failure of v3.9-rc5. When config ACPI_VIDEO as m, DRM_GMA500 as y, here comes the failure. gma5/600 needs acpi_video just like nouveau. Failure message: drivers/built-in.o: In function `psb_driver_load':

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

2013-04-09 Thread Michal Hocko
On Mon 08-04-13 14:36:46, Tejun Heo wrote: On Mon, Apr 08, 2013 at 08:03:44PM +0200, Michal Hocko wrote: __mem_cgroup_same_or_subtree relies on css_is_ancestor if hierarchy is enabled for ages. This, however, is not correct because use_hierarchy doesn't need to be true all the way up the

Re: [PATCH] f2fs: move f2fs_balance_fs from truncate to punch_hole

2013-04-09 Thread Namjae Jeon
2013/4/9, Jason Hrycay jhry...@gmail.com: From: Jason Hrycay jason.hry...@motorola.com Move the f2fs_balance_fs out of the truncate_hole function and only perform that in punch_hole use case. The commit: ed60b1644e7f7e5dd67d21caf7e4425dff05dad0 intended to do this but moved it into

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

2013-04-09 Thread Michal Hocko
On Tue 09-04-13 11:02:20, Li Zefan wrote: On 2013/4/8 22:57, Michal Hocko wrote: On Mon 08-04-13 16:22:11, Li Zefan wrote: This is a preparation to kill css_id. Signed-off-by: Li Zefan lize...@huawei.com This patch depends on the following patch, doesn't it? There is no guarantee

<    4   5   6   7   8   9   10   11   12   13   >