Re: [RFC] Reproducible OOM with partial workaround

2013-01-10 Thread Andrew Morton
On Fri, 11 Jan 2013 12:46:15 +1100 paul.sz...@sydney.edu.au wrote: > > ... I don't believe 64GB of RAM has _ever_ been booted on a 32-bit > > kernel without either violating the ABI (3GB/1GB split) or doing > > something that never got merged upstream ... > > Sorry to be so contradictory: > >

RE: [PATCH v4 05/14] dmaengine: edma: Add TI EDMA device tree binding

2013-01-10 Thread Hebbar, Gururaja
On Fri, Jan 11, 2013 at 11:18:41, Porter, Matt wrote: > The binding definition is based on the generic DMA controller > binding. > > Signed-off-by: Matt Porter > --- > Documentation/devicetree/bindings/dma/ti-edma.txt | 51 > + > 1 file changed, 51 insertions(+) > create

Re: [PATCH] slub: assign refcount for kmalloc_caches

2013-01-10 Thread Joonsoo Kim
On Thu, Jan 10, 2013 at 08:47:39PM -0800, Paul Hargrove wrote: > I just had a look at patch-3.7.2-rc1, and this change doesn't appear to > have made it in yet. > Am I missing something? > > -Paul I try to check it. Ccing to Greg. Hello, Pekka and Greg. v3.8-rcX has already fixed by another

Re: oops in copy_page_rep()

2013-01-10 Thread Simon Jeons
On Tue, 2013-01-08 at 18:49 +0100, Andrea Arcangeli wrote: > Hi Kirill, > > On Tue, Jan 08, 2013 at 07:30:58PM +0200, Kirill A. Shutemov wrote: > > Merged patch is obviously broken: huge_pmd_set_accessed() can be called > > only if the pmd is under splitting. > > Of course I assume you meant

Re: [PATCH RESEND v1 05/16] vfs: add hooks to enable hot tracking

2013-01-10 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:52 AM, David Sterba wrote: > On Thu, Dec 20, 2012 at 10:43:24PM +0800, zwu.ker...@gmail.com wrote: >> --- a/fs/direct-io.c >> +++ b/fs/direct-io.c >> @@ -37,6 +37,7 @@ >> #include >> #include >> #include >> +#include "hot_tracking.h" >> >> /* >> * How many user

Re: Oops in sound/usb/pcm.c:match_endpoint_audioformats() in current -git

2013-01-10 Thread Jens Axboe
On 2013-01-10 20:45, Eldad Zack wrote: > Jens, could you please send me the device's descriptors (lsusb -v)? > I'd like to take a closer look at this. Below. Bus 006 Device 010: ID 22e8:dac1 Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 1.00

[PATCH v4 4/9] ARM: tegra: Define Tegra20 CAR binding

2013-01-10 Thread Prashant Gaikwad
From: Stephen Warren The Tegra20 CAR (Clock And Reset) Controller controls most aspects of most clocks within Tegra20. The device tree binding models this as a single monolithic clock provider, which exports many clocks. This reduces the number of nodes needed in device tree to represent these

[PATCH v4 6/9] clk: tegra: add clock support for tegra20

2013-01-10 Thread Prashant Gaikwad
Add tegra20 clock support based on common clock framework. Signed-off-by: Prashant Gaikwad --- drivers/clk/tegra/Makefile |2 + drivers/clk/tegra/clk-tegra20.c | 1255 +++ drivers/clk/tegra/clk.h |6 + 3 files changed, 1263 insertions(+),

[PATCH v4 3/9] arm: tegra: Move tegra_cpu_car.h to linux/clk/tegra.h

2013-01-10 Thread Prashant Gaikwad
tegra_cpu_car_ops struct is going to be accessed from drivers/clk/tegra. Move the tegra_cpu_car_ops to include/linux/clk/tegra.h. Signed-off-by: Prashant Gaikwad --- arch/arm/mach-tegra/clock.c|2 +- arch/arm/mach-tegra/cpuidle-tegra30.c |2 +-

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

2013-01-10 Thread Abhijit Pawar
On 01/11/2013 12:06 PM, Jeff Liu wrote: > On 01/09/2013 10:04 PM, Abhijit Pawar wrote: >> This patch replaces usages of obsolete simple_strtoul with kstrtoint in >> xfs_args and suffix_strtoul. >> >> Signed-off-by: Abhijit Pawar >> --- >> fs/xfs/xfs_super.c | 29 +++--

[PATCH v4 8/9] arm: tegra: Migrate to new clock code

2013-01-10 Thread Prashant Gaikwad
Migrate tegra clock support to drivers/clk/tegra, this involves moving 1. definition of tegra_cpu_car_ops to clk.c 2. definition of reset functions to clk-peripheral.c 3. change parent of cpu clock. 4. Remove legacy clock initialization. 5. Initialize clocks using DT. 6. Remove all instance of

[PATCH v4 5/9] ARM: Tegra: Define Tegra30 CAR binding

2013-01-10 Thread Prashant Gaikwad
The device tree binding models Tegra30 CAR (Clock And Reset) as a single monolithic clock provider. Signed-off-by: Prashant Gaikwad --- .../bindings/clock/nvidia,tegra30-car.txt | 262 arch/arm/boot/dts/tegra30.dtsi |6 + 2 files changed,

Re: Oops in sound/usb/pcm.c:match_endpoint_audioformats() in current -git

2013-01-10 Thread Jens Axboe
On 2013-01-10 21:19, Takashi Iwai wrote: > From: Takashi Iwai > Subject: [PATCH v2] ALSA: usb-audio: Fix NULL dereference by access to > non-existing substream > > The commit [0d9741c0: ALSA: usb-audio: sync ep init fix for > audioformat mismatch] introduced the correction of parameters to be >

[PATCH v4 0/9] Migrate Tegra to common clock framework

2013-01-10 Thread Prashant Gaikwad
This patchset does following: 1. Decompose single tegra clock structure into multiple clocks. 2. Try to use standard clock types supported by common clock framework. 3. Use dynamic initialization. 4. Move all clock code to drivers/clk/tegra from mach-tegra. 5. Add device tree support for Tegra20

[PATCH v4 1/9] ARM: tegra: Add function to read chipid

2013-01-10 Thread Prashant Gaikwad
Add function to read chip id from APB MISC registers. This function will also get called from clock driver to flush write operations on apb bus. Signed-off-by: Prashant Gaikwad --- arch/arm/mach-tegra/fuse.c |8 +++- include/linux/tegra-soc.h | 22 ++ 2 files

Re: [PATCH RESEND v1 03/16] vfs: add I/O frequency update function

2013-01-10 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:51 AM, David Sterba wrote: > On Thu, Dec 20, 2012 at 10:43:22PM +0800, zwu.ker...@gmail.com wrote: >> --- a/fs/hot_tracking.c >> +++ b/fs/hot_tracking.c >> @@ -164,6 +164,135 @@ static void hot_inode_tree_exit(struct hot_info *root) >> spin_unlock(>lock); >> } >>

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

2013-01-10 Thread James Bottomley
On Fri, 2013-01-11 at 12:03 +1100, Stephen Rothwell wrote: > Hi James, > > After merging the scsi tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > drivers/scsi/ipr.c:9138:22: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'ipr_enable_msix' >

Re: [PATCH RESEND v1 02/16] vfs: add init and cleanup functions

2013-01-10 Thread Zhi Yong Wu
On Thu, Jan 10, 2013 at 8:48 AM, David Sterba wrote: > On Thu, Dec 20, 2012 at 10:43:21PM +0800, zwu.ker...@gmail.com wrote: >> From: Zhi Yong Wu >> --- a/fs/hot_tracking.c >> +++ b/fs/hot_tracking.c >> @@ -107,3 +189,38 @@ err: >> kmem_cache_destroy(hot_inode_item_cachep); >> } >>

[PATCH] arm: fix returning wrong CALLER_ADDRx

2013-01-10 Thread Keun-O Park
From: sahara This makes return_address return correct value for ftrace feature. unwind_frame does not update frame->lr but frame->pc for backtrace. And, the initialization for data.addr was missing so that wrong value returned when unwind_frame failed. Signed-off-by: sahara ---

3.8-rc3: yet another MIPS build failure

2013-01-10 Thread Aaro Koskinen
Hi, Commit d3ce88431892b703b04769566338a89eda6b0477 (MIPS: Fix modpost error in modules attepting to use virt_addr_valid()) broke the 64-bit MIPS build: LD init/built-in.o kernel/built-in.o: In function `memory_bm_free': snapshot.c:(.text+0x3c76c): undefined reference to

Re: [PATCH v3 16/22] sched: add power aware scheduling in fork/exec/wake

2013-01-10 Thread Alex Shi
On 01/10/2013 11:01 PM, Morten Rasmussen wrote: > On Sat, Jan 05, 2013 at 08:37:45AM +, Alex Shi wrote: >> This patch add power aware scheduling in fork/exec/wake. It try to >> select cpu from the busiest while still has utilization group. That's >> will save power for other groups. >> >> The

Re: BUG: kernel panic on Dell Vostro 3560 when plugging in AC adapter

2013-01-10 Thread Sujith Manoharan
Adrian Byszuk wrote: > Aaaand failure again! > I haven't finished bisecting yet, but as of now I have ~20 commits left: > all related to 'mtd' - propably not a source of troubles too. > Any other way to diagnose this bug? I think this has been fixed by:

Re: [git pull] drm intel fixes

2013-01-10 Thread Heinz Diehl
On 11.01.2013, Dave Airlie wrote: > Just intel fixes, including getting the Ironlake systems back to the state > they were in for 3.6. > drm/i915: Revert shrinker changes from "Track unbound pages" I guess it's this one which fixes the ILK hang. Would it be enough for 3.7 to just appy

[patch] dac960: return success instead of -ENOTTY

2013-01-10 Thread Dan Carpenter
There is a missing break statement here. This used to return directly but we re-worked it in 2008 to add locking as part of the BKL push down. Signed-off-by: Dan Carpenter diff --git a/drivers/block/DAC960.c b/drivers/block/DAC960.c index 9a13e88..0d3ffc5 100644 --- a/drivers/block/DAC960.c

Re: 3.8-rc2/rc3 write() blocked on CLOSE_WAIT TCP socket

2013-01-10 Thread David Miller
From: Eric Dumazet Date: Thu, 10 Jan 2013 18:18:47 -0800 > [PATCH] tcp: accept RST without ACK flag > > commit c3ae62af8e755 (tcp: should drop incoming frames without ACK flag > set) added a regression on the handling of RST messages. > > RST should be allowed to come even without ACK bit set.

[patch] ibft: add a missing break statement

2013-01-10 Thread Dan Carpenter
The code works the same with or without the break. It just looks a bit cleaner to not fall through. Signed-off-by: Dan Carpenter diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c index 3ee852c..c4b187c 100644 --- a/drivers/firmware/iscsi_ibft.c +++

Re: [RFCv2 00/12] Introduce host-side virtio queue and CAIF Virtio.

2013-01-10 Thread Rusty Russell
Untested, but I wanted to post before the weekend. I think the implementation is a bit nicer, and though we have a callback to get the guest-to-userspace offset, it might be faster since I think most cases will re-use the same mapping. Feedback on API welcome! Rusty. virtio_host: host-side

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

2013-01-10 Thread Jeff Liu
On 01/09/2013 10:04 PM, Abhijit Pawar wrote: > This patch replaces usages of obsolete simple_strtoul with kstrtoint in > xfs_args and suffix_strtoul. > > Signed-off-by: Abhijit Pawar > --- > fs/xfs/xfs_super.c | 29 +++-- > 1 files changed, 19 insertions(+), 10

Re: [PATCH v3 09/22] sched: compute runnable load avg in cpu_load and cpu_avg_load_per_task

2013-01-10 Thread Alex Shi
On 01/07/2013 02:31 AM, Linus Torvalds wrote: > On Sat, Jan 5, 2013 at 11:54 PM, Alex Shi wrote: >> >> I just looked into the aim9 benchmark, in this case it forks 2000 tasks, >> after all tasks ready, aim9 give a signal than all tasks burst waking up >> and run until all finished. >> Since each

[PATCH] powerpc: added DSCR support to ptrace

2013-01-10 Thread Alexey Kardashevskiy
The DSCR (aka Data Stream Control Register) is supported on some server PowerPC chips and allow some control over the prefetch of data streams. The kernel already supports DSCR value per thread but there is also a need in a ability to change it from an external process for the specific pid. The

RE: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Liu, Chuansheng
> -Original Message- > From: ccr...@google.com [mailto:ccr...@google.com] On Behalf Of Colin > Cross > Sent: Friday, January 11, 2013 2:18 PM > To: Liu, Chuansheng > Cc: linux-kernel@vger.kernel.org; Andrew Morton; Don Zickus; Ingo Molnar; > Thomas Gleixner;

[PATCH 1/4] serial/arc-uart: Don't index with -ve platform_device->id

2013-01-10 Thread Vineet Gupta
probe routine could index into port[] with -ve index. The check in arc_uart_init_one() was too late. This came to light when trying to port driver to CONFIG_OF, where bydefault of-core code sets -ve platform dev id and in absence of DT serial aliases, driver would use the -ve index.

[PATCH 4/4] serial/arc-uart: switch to devicetree based probing

2013-01-10 Thread Vineet Gupta
* DT binding for arc-uart * With alll the bits in place we can now use DT probing. Note that there's a bit of kludge right now because earlyprintk portion of driver can't use the DT infrastrcuture to get resoures/plat_data. This requires some infrastructre changes to of_flat_ framework

[PATCH 3/4] serial/arc-uart: platform_data order changed

2013-01-10 Thread Vineet Gupta
* is_emulated is now 1st element, rather than last * also tucked all platform data refs together Signed-off-by: Vineet Gupta Cc: Alan Cox Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org --- drivers/tty/serial/arc_uart.c | 11 ++- 1 files changed, 6

[PATCH 0/4] switch arc-uart to devicetree based probing

2013-01-10 Thread Vineet Gupta
Hi, As part of converting ARC Port to devicetree infrastructure, the following series converts the arc-uart driver to DT. * The first patch is a bug-fix which showed up in the process as DT based platform devices by default have -ve id * Next two prepare the driver for forthcoming DT changes.

[PATCH 2/4] serial/arc-uart: split probe from probe_earlyprintk

2013-01-10 Thread Vineet Gupta
This is in preparation for devicetree based probing, where earlyprintk won't have access to DT serial aliases which the normal probe would absolutely rely on. Signed-off-by: Vineet Gupta Cc: Alan Cox Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: linux-ser...@vger.kernel.org ---

linux-next: Tree for Jan 11

2013-01-10 Thread Stephen Rothwell
Hi all, Changes since 20130110: Dropped tree: samung (many conflicts) The ia64 tree gained a build failure so I used the version from next-20130110. The powerpc tree gained a build failure for which I applied a fix patch and another which I just left for today. The v4l-dvb tree gained a build

Re: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Colin Cross
On Thu, Jan 10, 2013 at 9:57 PM, Liu, Chuansheng wrote: > > >> -Original Message- >> From: ccr...@google.com [mailto:ccr...@google.com] On Behalf Of Colin >> Cross >> Sent: Friday, January 11, 2013 1:34 PM >> To: Liu, Chuansheng >> Cc: linux-kernel@vger.kernel.org; Andrew Morton; Don

RE: [PATCH v4 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Hebbar, Gururaja
On Fri, Jan 11, 2013 at 11:18:37, Porter, Matt wrote: > Move mach-davinci/dma.c to common/edma.c so it can be used > by OMAP (specifically AM33xx) as well. This just moves the > private EDMA API and enables it to build on OMAP. > > Signed-off-by: Matt Porter > --- > arch/arm/Kconfig

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-10 Thread Anton Vorontsov
On Fri, Jan 11, 2013 at 02:56:15PM +0900, Minchan Kim wrote: [...] > > Ahh. You're talking about the shrinker interface. Yes, there is no way to > > tell if the freed memory will be actually "released" (and if not, then > > yes, we released it unnecessary). > > I don't tell about actually

[PATCH] MAINTAINER: sync Omar Ramirez Luna's mail to latest.

2013-01-10 Thread Chen Gang
original mail is invalid, need use the new one. Signed-off-by: Chen Gang --- MAINTAINERS |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index ae9f8b8..dcede8e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7553,7 +7553,7 @@ S:Odd

Re: linux-next: build failure after merge of the final tree (powerpc tree related)

2013-01-10 Thread Michael Neuling
Stephen Rothwell wrote: > Hi all, > > After merging the final tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > arch/powerpc/kernel/kgdb.c: In function 'kgdb_arch_exit': > arch/powerpc/kernel/kgdb.c:492:2: error: '__debugger_breakx_match' undeclared > (first use in

Re: kernel BUG at kernel/sched_rt.c:493!

2013-01-10 Thread Mike Galbraith
On Fri, 2013-01-11 at 06:22 +0100, Mike Galbraith wrote: > On Thu, 2013-01-10 at 13:58 -0600, Shawn Bohrer wrote: > > > Here is the output: > > > > [ 81.278842] SysRq : Changing Loglevel > > [ 81.279027] Loglevel set to 9 > > [ 83.285456] Initial want: 5000 rt_b->rt_runtime: 95000

RE: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Liu, Chuansheng
> -Original Message- > From: ccr...@google.com [mailto:ccr...@google.com] On Behalf Of Colin > Cross > Sent: Friday, January 11, 2013 1:34 PM > To: Liu, Chuansheng > Cc: linux-kernel@vger.kernel.org; Andrew Morton; Don Zickus; Ingo Molnar; > Thomas Gleixner;

[PATCH V4 1/2] virtio-net: fix the set affinity bug when CPU IDs are not consecutive

2013-01-10 Thread Wanlong Gao
As Michael mentioned, set affinity and select queue will not work very well when CPU IDs are not consecutive, this can happen with hot unplug. Fix this bug by traversal the online CPUs, and create a per cpu variable to find the mapping from CPU to the preferable virtual-queue. Cc: Rusty Russell

[PATCH V4 2/2] virtio-net: reset virtqueue affinity when doing cpu hotplug

2013-01-10 Thread Wanlong Gao
Add a cpu notifier to virtio-net, so that we can reset the virtqueue affinity if the cpu hotplug happens. It improve the performance through enabling or disabling the virtqueue affinity after doing cpu hotplug. Cc: Rusty Russell Cc: "Michael S. Tsirkin" Cc: Jason Wang Cc: Eric Dumazet Cc:

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-10 Thread Minchan Kim
On Thu, Jan 10, 2013 at 09:38:31PM -0800, Anton Vorontsov wrote: > On Fri, Jan 11, 2013 at 02:12:10PM +0900, Minchan Kim wrote: > > On Wed, Jan 09, 2013 at 02:14:49PM -0800, Anton Vorontsov wrote: > > > On Tue, Jan 08, 2013 at 05:49:49PM +0900, Minchan Kim wrote: > > > [...] > > > > Sorry still I

linux-next: build failure after merge of the final tree (powerpc tree related)

2013-01-10 Thread Stephen Rothwell
Hi all, After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: arch/powerpc/kernel/kgdb.c: In function 'kgdb_arch_exit': arch/powerpc/kernel/kgdb.c:492:2: error: '__debugger_breakx_match' undeclared (first use in this function) Caused by commit

[PATCH v4 11/14] ARM: dts: add AM33XX MMC support

2013-01-10 Thread Matt Porter
Adds AM33XX MMC support for am335x-bone, am335x-evm, and am335x-evmsk.. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am335x-bone.dts |7 +++ arch/arm/boot/dts/am335x-evm.dts |7 +++ arch/arm/boot/dts/am335x-evmsk.dts |7 +++ arch/arm/boot/dts/am33xx.dtsi |

[PATCH v4 03/14] ARM: edma: add AM33XX support to the private EDMA API

2013-01-10 Thread Matt Porter
Adds support for parsing the TI EDMA DT data into the required EDMA private API platform data. Enables runtime PM support to initialize the EDMA hwmod. Adds AM33XX EMDA crossbar event mux support. Signed-off-by: Matt Porter --- arch/arm/common/edma.c | 314

[PATCH v4 05/14] dmaengine: edma: Add TI EDMA device tree binding

2013-01-10 Thread Matt Porter
The binding definition is based on the generic DMA controller binding. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/dma/ti-edma.txt | 51 + 1 file changed, 51 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/ti-edma.txt diff

[PATCH v4 02/14] ARM: edma: remove unused transfer controller handlers

2013-01-10 Thread Matt Porter
Fix build on OMAP, the irqs are undefined on AM33xx. These error interrupt handlers were hardcoded as disabled so since they are unused code, simply remove them. Signed-off-by: Matt Porter --- arch/arm/common/edma.c | 37 - 1 file changed, 37 deletions(-)

[PATCH v4 06/14] ARM: dts: add AM33XX EDMA support

2013-01-10 Thread Matt Porter
Adds AM33XX EDMA support to the am33xx.dtsi as documented in Documentation/devicetree/bindings/dma/ti-edma.txt Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi

[PATCH v4 10/14] mmc: omap_hsmmc: add generic DMA request support to the DT binding

2013-01-10 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter --- .../devicetree/bindings/mmc/ti-omap-hsmmc.txt | 25 +++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git

[PATCH v4 04/14] dmaengine: edma: enable build for AM33XX

2013-01-10 Thread Matt Porter
Enable TI EDMA option on OMAP. Signed-off-by: Matt Porter --- drivers/dma/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index d4c1218..20ef955 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -221,7 +221,7

[PATCH v4 13/14] spi: omap2-mcspi: add generic DMA request support to the DT binding

2013-01-10 Thread Matt Porter
The binding definition is based on the generic DMA request binding. Signed-off-by: Matt Porter --- Documentation/devicetree/bindings/spi/omap-spi.txt | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/spi/omap-spi.txt

[PATCH v4 14/14] ARM: dts: add AM33XX SPI DMA support

2013-01-10 Thread Matt Porter
Adds DMA resources to the AM33XX SPI nodes. Signed-off-by: Matt Porter --- arch/arm/boot/dts/am33xx.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 278b75d..8fd3648 100644 ---

[PATCH v4 12/14] spi: omap2-mcspi: convert to dma_request_slave_channel_compat()

2013-01-10 Thread Matt Porter
Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports the DT case of platforms requiring channel selection from either the OMAP DMA or the EDMA engine. AM33xx only boots from DT and is the only user implementing EDMA so in the !DT case we can default to the

[PATCH v4 09/14] mmc: omap_hsmmc: set max_segs based on dma engine limitations

2013-01-10 Thread Matt Porter
The EDMA DMAC has a hardware limitation that prevents supporting scatter gather lists with any number of segments. The DMA Engine API reports the maximum number of segments a channel can support via the optional dma_get_channel_caps() API. If the nr_segs capability is present, the value is used to

[PATCH v4 07/14] dmaengine: add dma_request_slave_channel_compat()

2013-01-10 Thread Matt Porter
Adds a dma_request_slave_channel_compat() wrapper which accepts both the arguments from dma_request_channel() and dma_request_slave_channel(). Based on whether the driver is instantiated via DT, the appropriate channel request call will be made. This allows for a much cleaner migration of drivers

[PATCH v4 01/14] ARM: davinci: move private EDMA API to arm/common

2013-01-10 Thread Matt Porter
Move mach-davinci/dma.c to common/edma.c so it can be used by OMAP (specifically AM33xx) as well. This just moves the private EDMA API and enables it to build on OMAP. Signed-off-by: Matt Porter --- arch/arm/Kconfig |1 + arch/arm/common/Kconfig

[PATCH v4 00/14] DMA Engine support for AM33XX

2013-01-10 Thread Matt Porter
Changes since v3: - Rebased on 3.8-rc3 - No longer an RFC - Fixed bugs in DT/pdata parsing reported by Vaibhav Bedia - Restored all the Davinci pdata to const - Removed max_segs hack in favor of using dma_get_channel_caps() - Fixed extra parens,

Re: [PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-10 Thread Alex Shi
On 01/11/2013 01:10 PM, Preeti U Murthy wrote: >> >update_curr(cfs_rq); >> > - enqueue_entity_load_avg(cfs_rq, se, flags & ENQUEUE_WAKEUP); >> > + enqueue_entity_load_avg(cfs_rq, se, flags); >> >account_entity_enqueue(cfs_rq, se); >> >update_cfs_shares(cfs_rq); >> > > I had seen in

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-10 Thread Anton Vorontsov
On Fri, Jan 11, 2013 at 02:12:10PM +0900, Minchan Kim wrote: > On Wed, Jan 09, 2013 at 02:14:49PM -0800, Anton Vorontsov wrote: > > On Tue, Jan 08, 2013 at 05:49:49PM +0900, Minchan Kim wrote: > > [...] > > > Sorry still I didn't look at your implementation about cgroup part. > > > but I had a

Re: [PATCH] hardlockup: detect hard lockups without NMIs using secondary cpus

2013-01-10 Thread Colin Cross
On Thu, Jan 10, 2013 at 5:39 PM, Liu, Chuansheng wrote: > > >> -Original Message- >> From: Colin Cross [mailto:ccr...@android.com] >> Sent: Thursday, January 10, 2013 9:58 AM >> To: linux-kernel@vger.kernel.org >> Cc: Andrew Morton; Don Zickus; Ingo Molnar; Thomas Gleixner; Liu, >>

[PATCH] rtlwifi/rtl8188ee: Add firmware for new driver

2013-01-10 Thread Larry Finger
Signed-off-by: Larry Finger --- WHENCE |8 rtlwifi/rtl8188efw.bin | Bin 0 -> 11216 bytes 2 files changed, 8 insertions(+) create mode 100644 rtlwifi/rtl8188efw.bin diff --git a/WHENCE b/WHENCE index c445856..f84bec0 100644 --- a/WHENCE +++ b/WHENCE @@ -1810,6

Re: kernel BUG at kernel/sched_rt.c:493!

2013-01-10 Thread Mike Galbraith
On Thu, 2013-01-10 at 13:58 -0600, Shawn Bohrer wrote: > Here is the output: > > [ 81.278842] SysRq : Changing Loglevel > [ 81.279027] Loglevel set to 9 > [ 83.285456] Initial want: 5000 rt_b->rt_runtime: 95000 > rt_rq->rt_runtime: 9 > [ 85.286452] Initial want: 5000

Re: [PATCH] ax88179_178a: ASIX AX88179_178A USB 3.0/2.0 to gigabit ethernet adapter driver

2013-01-10 Thread David Miller
From: Ming Lei Date: Fri, 11 Jan 2013 10:45:38 +0800 > Cc netdev and usb lists. That doesn't work for patches, sorry. It will have to be submitted freshly and cleanly to the appropriate lists, not as a quoted reply. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 3.8-rc] tuntap: refuse to re-attach to different tun_struct

2013-01-10 Thread David Miller
From: Jason Wang Date: Fri, 11 Jan 2013 09:29:20 +0800 > On 01/11/2013 06:39 AM, David Miller wrote: >> From: Stefan Hajnoczi >> Date: Thu, 10 Jan 2013 08:59:48 +0100 >> >>> Multiqueue tun devices support detaching a tun_file from its tun_struct >>> and re-attaching at a later point in time.

Re: [PATCH 1/2] Add mempressure cgroup

2013-01-10 Thread Minchan Kim
On Wed, Jan 09, 2013 at 02:14:49PM -0800, Anton Vorontsov wrote: > On Tue, Jan 08, 2013 at 05:49:49PM +0900, Minchan Kim wrote: > [...] > > Sorry still I didn't look at your implementation about cgroup part. > > but I had a question since long time ago. > > > > How can we can make sure false

Re: [PATCH v3 07/22] sched: set initial load avg of new forked task

2013-01-10 Thread Preeti U Murthy
On 01/05/2013 02:07 PM, Alex Shi wrote: > New task has no runnable sum at its first runnable time, that make > burst forking just select few idle cpus to put tasks. > Set initial load avg of new forked task as its load weight to resolve > this issue. > > Signed-off-by: Alex Shi > --- >

Re: [PATCH v3 04/22] sched: don't need go to smaller sched domain

2013-01-10 Thread Preeti U Murthy
On 01/05/2013 02:07 PM, Alex Shi wrote: > If parent sched domain has no task allowed cpu find. neither find in > it's child. So, go out to save useless checking. > > Signed-off-by: Alex Shi > --- > kernel/sched/fair.c | 6 ++ > 1 file changed, 2 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH 1/7] clk: add common of_clk_init() function

2013-01-10 Thread Prashant Gaikwad
On Friday 11 January 2013 01:23 AM, Josh Cartwright wrote: * PGP Signed by an unknown key On Fri, Jan 04, 2013 at 12:30:52PM +0530, Prashant Gaikwad wrote: Modify of_clk_init function so that it will determine which driver to initialize based on device tree instead of each driver registering

Re: [PATCH v3 03/22] sched: fix find_idlest_group mess logical

2013-01-10 Thread Preeti U Murthy
On 01/05/2013 02:07 PM, Alex Shi wrote: > There is 4 situations in the function: > 1, no task allowed group; > so min_load = ULONG_MAX, this_load = 0, idlest = NULL > 2, only local group task allowed; > so min_load = ULONG_MAX, this_load assigned, idlest = NULL > 3, only non-local task

Re: [PATCH v3 02/22] sched: select_task_rq_fair clean up

2013-01-10 Thread Preeti U Murthy
On 01/05/2013 02:07 PM, Alex Shi wrote: > It is impossible to miss a task allowed cpu in a eligible group. > > And since find_idlest_group only return a different group which > excludes old cpu, it's also imporissible to find a new cpu same as old > cpu. > > Signed-off-by: Alex Shi > --- >

Re: [PATCH v3 05/22] sched: remove domain iterations in fork/exec/wake

2013-01-10 Thread Preeti U Murthy
Hi Morten,Alex On 01/09/2013 11:51 PM, Morten Rasmussen wrote: > On Sat, Jan 05, 2013 at 08:37:34AM +, Alex Shi wrote: >> Guess the search cpu from bottom to up in domain tree come from >> commit 3dbd5342074a1e sched: multilevel sbe sbf, the purpose is >> balancing over tasks on all level

Re: [PATCH V4 0/4] input: keyboard: tegra: cleanups and DT supports

2013-01-10 Thread Laxman Dewangan
On Thursday 10 January 2013 11:14 PM, Dmitry Torokhov wrote: Hi Laxman, On Thu, Jan 10, 2013 at 12:01:23PM +0530, Laxman Dewangan wrote: Hi Dmitry, On Monday 07 January 2013 10:22 PM, Stephen Warren wrote: On 01/06/2013 04:14 AM, Laxman Dewangan wrote: This patch series: - fix build

linux-next: manual merge of the signal tree with the arm64 tree

2013-01-10 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the signal tree got a conflict in arch/arm64/kernel/signal32.c between commits 068f1bb36cf1 ("arm64: compat: include sa_restorer in old action from rt_sigaction") and efed4d52e39f ("arm64: compat: ensure access_ok checks are performed on user structures") from

Re: [PATCH 2/2] mm: forcely swapout when we are out of page cache

2013-01-10 Thread Minchan Kim
Hi Andrew, On Thu, Jan 10, 2013 at 01:58:28PM -0800, Andrew Morton wrote: > On Thu, 10 Jan 2013 11:23:06 +0900 > Minchan Kim wrote: > > > > I have a feeling that laptop mode has bitrotted and these patches are > > > kinda hacking around as-yet-not-understood failures... > > > > Absolutely,

Re: [PATCH 12/14] ARM: tegra: tec: Add PCIe support

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:22:30PM -0700, Stephen Warren wrote: > On 01/09/2013 01:43 PM, Thierry Reding wrote: > > Enable the first PCIe root port which is connected to an FPGA on the > > Tamonten Evaluation Carrier and add device nodes for each of the PCI > > endpoints available in the standard

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

2013-01-10 Thread Stephen Rothwell
Hi Kukjin, Today's linux-next merge of the samsung tree got conflicts in many files with the arm-soc tree. I just dropped the samsung tree for today. Please have a look and try to fix this mess up, thanks. -- Cheers, Stephen Rothwells...@canb.auug.org.au

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

2013-01-10 Thread Stephen Rothwell
Hi Kukjin, Today's linux-next merge of the samsung tree got a conflict in arch/arm/plat-samsung/time.c between various commits from the arm-soc tree and commit 0e4a0a6e970e ("ARM: SAMSUNG: Remove unused plat-samsung/time.c") from the samsung tree. The latter removes the file, so I did that. --

[PATCH] powerpc: added DSCR support to ptrace

2013-01-10 Thread Alexey Kardashevskiy
The DSCR (aka Data Stream Control Register) is supported on some server PowerPC chips and allow some control over the prefetch of data streams. The kernel already supports DSCR value per thread but there is also a need in a ability to change it from an external process for the specific pid. The

Re: [Xen-devel] [PATCH v3 00/11] xen: Initial kexec/kdump implementation

2013-01-10 Thread Eric W. Biederman
Konrad Rzeszutek Wilk writes: > On Mon, Jan 07, 2013 at 01:34:04PM +0100, Daniel Kiper wrote: >> I think that new kexec hypercall function should mimics kexec syscall. >> It means that all arguments passed to hypercall should have same types >> if it is possible or if it is not possible then

Re: [PATCH 09/14] ARM: tegra: Move pmc.h to include/mach

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:15:07PM -0700, Stephen Warren wrote: > On 01/09/2013 01:43 PM, Thierry Reding wrote: > > In preparation for moving the PCIe driver into the drivers/pci/host > > directory, this header, which contains prototypes that are required by > > the PCIe driver, needs to be moved

Re: [PATCH 02/14] of/pci: Add of_pci_get_devfn() function

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:09:43PM -0700, Stephen Warren wrote: > On 01/09/2013 01:43 PM, Thierry Reding wrote: > > This function can be used to parse the device and function number from a > > standard 5-cell PCI resource. PCI_SLOT() and PCI_FUNC() can be used on > > the returned value obtain the

Re: [PATCH 1/2] mm: prevent to add a page to swap if may_writepage is unset

2013-01-10 Thread Minchan Kim
Hi Luigi, On Thu, Jan 10, 2013 at 03:24:21PM -0800, Luigi Semenzato wrote: > For what it's worth, I tested this patch on my 3.4 kernel, and it works as > advertised. Here's my setup. > > - 2 GB RAM > - a 3 GB zram disk for swapping > - start one "hog" process per second (each hog process

Re: [PATCH 01/14] of/pci: Provide support for parsing PCI DT ranges property

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:06:48PM -0700, Stephen Warren wrote: > On 01/09/2013 01:43 PM, Thierry Reding wrote: > > From: Andrew Murray > > > > DT bindings for PCI host bridges often use the ranges property to describe > > memory and IO ranges - this binding tends to be the same across > >

Re: [PATCH] module, fix percpu reserved memory exhaustion

2013-01-10 Thread Rusty Russell
Prarit Bhargava writes: > [ 15.478160] kvm: Could not allocate 304 bytes percpu data > [ 15.478174] PERCPU: allocation failed, size=304 align=32, alloc > from reserved chunk failed ... > What is happening is systemd is loading an instance of the kvm module for > each cpu found (see commit

Re: [PATCH 0/3] ixgbe: request_firmware for configuration parameters

2013-01-10 Thread Shannon Nelson
On Thu, Jan 10, 2013 at 6:02 PM, Shannon Nelson wrote: [...] > > In these RFC patches for ixgbe, > Yeah, these should have the "RFC" in the Subject line. Sorry about that. sln -- == Mr. Shannon Nelson Parents can't afford to be squeamish. --

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 05:48:46PM -0700, Stephen Warren wrote: > On 01/09/2013 01:43 PM, Thierry Reding wrote: > > Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host > > directory. The motivation is to collect various host controller drivers > > in the same location in order

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

2013-01-10 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in arch/arm/mach-zynq/common.c between commit 453708c6da9b ("arm: zynq: timer: Replace PSS through PS") from the xilinx tree and commit 6bb27d7349db ("ARM: delete struct sys_timer") from the arm-soc tree. I fixed it up (see

Re: [ 004/123] b43legacy: Fix firmware loading when driver is built into the kernel

2013-01-10 Thread Ben Hutchings
On Wed, 2013-01-09 at 12:34 -0800, Greg Kroah-Hartman wrote: > 3.7-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Larry Finger > > commit 576d28a7c73013717311cfcb514dbcae27c82eeb upstream. > > Recent versions of udev cause synchronous

Re: [PATCH v3 17/22] sched: packing small tasks in wake/exec balancing

2013-01-10 Thread Alex Shi
On 01/11/2013 01:17 AM, Morten Rasmussen wrote: > On Sat, Jan 05, 2013 at 08:37:46AM +, Alex Shi wrote: >> If the wake/exec task is small enough, utils < 12.5%, it will >> has the chance to be packed into a cpu which is busy but still has space to >> handle it. >> >> Signed-off-by: Alex Shi

Re: [PATCH] memcg: modify swap accounting function to support THP

2013-01-10 Thread Sha Zhengju
On Thu, Jan 10, 2013 at 9:39 PM, Michal Hocko wrote: > On Thu 10-01-13 19:43:58, Sha Zhengju wrote: >> From: Sha Zhengju > > THP are not swapped out because they are split before so this change > doesn't make much sense to me. Yes... I have been puzzled by 'nr_pages' in

Re: [PATCH 10/14] PCI: tegra: Move PCIe driver to drivers/pci/host

2013-01-10 Thread Thierry Reding
On Thu, Jan 10, 2013 at 04:54:30PM -0700, Stephen Warren wrote: > On 01/09/2013 01:43 PM, Thierry Reding wrote: > > Move the PCIe driver from arch/arm/mach-tegra into the drivers/pci/host > > directory. The motivation is to collect various host controller drivers > > in the same location in order

Re: [PATCH v3 15/22] sched: log the cpu utilization at rq

2013-01-10 Thread Alex Shi
On 01/10/2013 07:40 PM, Morten Rasmussen wrote: >> > #undef P64 >> > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c >> > index ee015b8..7bfbd69 100644 >> > --- a/kernel/sched/fair.c >> > +++ b/kernel/sched/fair.c >> > @@ -1495,8 +1495,12 @@ static void update_cfs_rq_blocked_load(struct

Re: [PATCH v3 11/22] sched: consider runnable load average in effective_load

2013-01-10 Thread Alex Shi
On 01/10/2013 07:28 PM, Morten Rasmussen wrote: > On Sat, Jan 05, 2013 at 08:37:40AM +, Alex Shi wrote: >> effective_load calculates the load change as seen from the >> root_task_group. It needs to multiple cfs_rq's tg_runnable_contrib >> when we turn to runnable load average balance. >> >>

Re: [PATCH] fs: Disable preempt when acquire i_size_seqcount write lock

2013-01-10 Thread Fan Du
On 2013年01月11日 06:38, Andrew Morton wrote: On Wed, 9 Jan 2013 11:34:19 +0800 Fan Du wrote: Two rt tasks bind to one CPU core. The higher priority rt task A preempts a lower priority rt task B which has already taken the write seq lock, and then the higher priority rt task A try to acquire

Re: Ftrace test failure on MIPS - Looking for insight..

2013-01-10 Thread Steven Rostedt
On Thu, 2013-01-10 at 17:58 -0800, David Daney wrote: > Hi Steven, > > I am trying to track down the cause of: > > . > . > . > Brought up 32 CPUs > Testing tracer function: PASSED > Testing dynamic ftrace: .. filter failed count=0 ..FAILED! > [ cut here ] > WARNING: at

  1   2   3   4   5   6   7   8   9   10   >