Re: [PATCH V2 12/15] perf tools: allow non-matching sample types

2013-07-01 Thread Adrian Hunter
On 01/07/13 22:10, Stephane Eranian wrote: > On Mon, Jul 1, 2013 at 8:53 PM, David Ahern wrote: >> >> On 7/1/13 3:32 AM, Adrian Hunter wrote: >>> >>> Snip >>> While this works for a combined S/W and tracepoint events session, I do not like promoting sample types to the minimum compa

Re: [PATCH v4] tracing/uprobes: Support ftrace_event_file base multibuffer

2013-07-01 Thread zhangwei(Jovi)
On 2013/7/2 4:27, Oleg Nesterov wrote: > On 06/29, zhangwei(Jovi) wrote: >> >> [v3->v4]: > > I am wondering how much you will hate me if I suggest to make v5 ;) > Feel free to do that :) > But look, imho probe_event_enable() looks a bit more confusing than > it needs. > >> -probe_event_enable(s

Re: [ 0/8] 3.0.85-stable review

2013-07-01 Thread Guenter Roeck
On Mon, Jul 01, 2013 at 01:10:32PM -0700, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 3.0.85 release. > There are 8 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know.

Re: [PATCH] spi: s3c64xx: add missing check for polling mode

2013-07-01 Thread Girish KS
On Thu, Jun 27, 2013 at 4:45 PM, Mark Brown wrote: > On Thu, Jun 27, 2013 at 12:26:53PM +0530, Girish K S wrote: >> After the patch "spi/s3c64xx: Fix non-dmaengine usage" >> with commit id 563b444e33810f3120838620c990480304e24e63 >> submitted by Mark Brown, the spi device detection in polling >> m

Re: [PATCH RFC 2/3] dt:net:stmmac: Add support to dwmac version 3.610 and 3.710

2013-07-01 Thread Srinivas KANDAGATLA
Thanks Peppe for the comments, On 01/07/13 18:20, Giuseppe CAVALLARO wrote: > On 7/1/2013 1:43 PM, Srinivas KANDAGATLA wrote: >> From: Srinivas Kandagatla >> >> + >> +plat->bus_id = of_alias_get_id(np, "ethernet"); >> +if (plat->bus_id < 0) >> +plat->bus_id = 0; >> + >> +of_pro

Re: Performance regression from switching lock to rw-sem for anon-vma tree

2013-07-01 Thread Ingo Molnar
* Tim Chen wrote: > On Sat, 2013-06-29 at 09:12 +0200, Ingo Molnar wrote: > > * Tim Chen wrote: > > > > > > If my analysis is correct so far then it might be useful to add two > > > > more stats: did rwsem_spin_on_owner() fail because lock->owner == NULL > > > > [owner released the rwsem], o

Re: [PATCH] sched: smart wake-affine

2013-07-01 Thread Michael Wang
On 07/02/2013 02:29 PM, Mike Galbraith wrote: > On Tue, 2013-07-02 at 14:17 +0800, Michael Wang wrote: > >> As Peter mentioned before, we currently need some solution like the >> buddy-idea, and when folks report regression (I suppose they won't...), >> we will have more data then. >> >> So we cou

Re: [PATCH v4] cpufreq: stats: Add 'load_table' debugfs file to show accumulated data of CPUs

2013-07-01 Thread Chanwoo Choi
On 06/28/2013 07:13 PM, Viresh Kumar wrote: > On 28 June 2013 14:52, Chanwoo Choi wrote: >> On 06/28/2013 05:18 PM, Viresh Kumar wrote: >>> On 28 June 2013 13:18, Chanwoo Choi wrote: > >>> Can you describe a bit about the layout this will create in debugfs? >>> I thought you will have a load_tab

Re: [PATCH] x86: Use asm-goto to implement mutex fast path on x86-64

2013-07-01 Thread Ingo Molnar
* Borislav Petkov wrote: > On Mon, Jul 01, 2013 at 03:35:47PM -0700, Wedson Almeida Filho wrote: > > On Mon, Jul 1, 2013 at 3:28 PM, Borislav Petkov wrote: > > > > > > perf stat --repeat 10 -a --sync --pre 'make -s clean; echo 1 > > > > /proc/sys/vm/drop_caches' make -s -j64 bzImage > > > > H

Re: [GIT PULL] Bcache changes for 3.11

2013-07-01 Thread Jens Axboe
On Mon, Jul 01 2013, Kent Overstreet wrote: > Hi Jens, here's the bcache changes for 3.11. > > The following changes since commit 9e895ace5d82df8929b16f58e9f515f6d54ab82d: > > Linux 3.10-rc7 (2013-06-22 09:47:31 -1000) Ugh, that is 6 rcs ahead of where my for-3.11/drivers branch is sitting. I

Re: frequent softlockups with 3.10rc6.

2013-07-01 Thread Dave Chinner
On Mon, Jul 01, 2013 at 02:00:37PM +0200, Jan Kara wrote: > On Sat 29-06-13 13:39:24, Dave Chinner wrote: > > On Fri, Jun 28, 2013 at 12:28:19PM +0200, Jan Kara wrote: > > > On Fri 28-06-13 13:58:25, Dave Chinner wrote: > > > > writeback: store inodes under writeback on a separate list > > > > > >

Re: [PATCH] sched: smart wake-affine

2013-07-01 Thread Mike Galbraith
On Tue, 2013-07-02 at 14:17 +0800, Michael Wang wrote: > As Peter mentioned before, we currently need some solution like the > buddy-idea, and when folks report regression (I suppose they won't...), > we will have more data then. > > So we could firstly try to regain the lost performance of pgben

Re: [PATCH] vfs: remove the unnecessrary code of fs/inode.c

2013-07-01 Thread Dong Fang
On 07/02/2013 02:11 AM, Dong Fang wrote: On 07/02/2013 12:41 AM, Al Viro wrote: On Mon, Jul 01, 2013 at 08:19:03AM -0400, Dong Fang wrote: These functions, such as find_inode_fast() and find_inode(), iget_lock() and iget5_lock(), insert_inode_locked() and insert_inode_locked4(), almost have the

RE: linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2013-07-01 Thread Gupta, Pekon
> > On Mon, Jul 1, 2013 at 10:44 PM, Gupta, Pekon wrote: > >> > >> Hi all, > >> > >> Today's linux-next merge of the arm-soc tree got a conflict in > >> Documentation/devicetree/bindings/mtd/gpmc-nand.txt between > commits > >> 6c88058ef927 ("ARM: OMAP2+: cleaned-up DT support of various ECC > >>

RE: [PATCH 4/4] ARM: dts: AM33XX: update rtc node compatibility

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 11:42:49, Nori, Sekhar wrote: > Changing to Benoit's gmail id since he apparently wont access TI mail > anymore. > > On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > > Since AM33xx RTC IP has RTC_IRQWAKEEN to support Alarm Wake-up. > > > > Update the rtc compatible property

Re: [PATCH V3 06/15] perf tools: fix parse_events_terms() freeing local variable on error path

2013-07-01 Thread Adrian Hunter
On 01/07/13 21:46, David Ahern wrote: > On 7/1/13 2:01 AM, Adrian Hunter wrote: >> On 28/06/13 20:19, David Ahern wrote: >>> On 6/28/13 2:43 AM, Adrian Hunter wrote: The list_head is on the stack, so just free the rest of the list. Signed-off-by: Adrian Hunter --- tools

Re: [PATCH 5/5] metag: cpu hotplug: route_irq: preserve irq mask

2013-07-01 Thread Srivatsa S. Bhat
On 07/01/2013 09:34 PM, James Hogan wrote: > The route_irq() function needs to preserve the irq mask by using the > _irqsave/irqrestore variants of raw spin lock functions instead of the > _irq variants. This is because it is called from __cpu_disable() (via > migrate_irqs()), which is called with

RE: [PATCH v3 1/3] acpi: Call acpi_os_prepare_sleep hook in reduced hardware sleep path

2013-07-01 Thread Zheng, Lv
Thanks for your efforts! I wonder if it is possible to remove the argument - "u8 extended" and convert "pm1a_control, pm1b_control" into some u8 values that are equivalent to "acpi_gbl_sleep_type_a, acpi_gbl_sleep_type_b" in the legacy sleep path. It can also simplify Xen codes. As in ACPI spec

Re: [PATCH] sched: smart wake-affine

2013-07-01 Thread Michael Wang
On 07/02/2013 01:54 PM, Mike Galbraith wrote: > On Tue, 2013-07-02 at 12:43 +0800, Michael Wang wrote: >> Since RFC: >> Tested again with the latest tip 3.10.0-rc7. >> >> wake-affine stuff is always trying to pull wakee close to waker, by theory, >> this will bring benefit if waker's cpu cach

Re: [PATCH 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-01 Thread Sekhar Nori
On 7/2/2013 11:41 AM, Hebbar, Gururaja wrote: > On Tue, Jul 02, 2013 at 11:39:28, Nori, Sekhar wrote: >> On 7/2/2013 11:34 AM, Hebbar, Gururaja wrote: >>> On Tue, Jul 02, 2013 at 11:32:34, Nori, Sekhar wrote: On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > On some platforms (like AM33xx),

Re: [PATCH 3/5] metag: smp: don't spin waiting for CPU to start

2013-07-01 Thread Srivatsa S. Bhat
On 07/01/2013 09:34 PM, James Hogan wrote: > Use a completion to block until a secondary CPU has started up, like ARM > do, instead of a loop of udelays. > > On Meta, SMP is really SMT, with each "CPU" being a different hardware > thread on the same Meta processor core, so as well as being more >

RE: [PATCH 4/4] ARM: dts: AM33XX: update rtc node compatibility

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 11:42:49, Nori, Sekhar wrote: > Changing to Benoit's gmail id since he apparently wont access TI mail > anymore. > > On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > > Since AM33xx RTC IP has RTC_IRQWAKEEN to support Alarm Wake-up. > > > > Update the rtc compatible property

Re: [PATCH 4/4] ARM: dts: AM33XX: update rtc node compatibility

2013-07-01 Thread Sekhar Nori
Changing to Benoit's gmail id since he apparently wont access TI mail anymore. On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > Since AM33xx RTC IP has RTC_IRQWAKEEN to support Alarm Wake-up. > > Update the rtc compatible property to "ti,am3352-rtc" to enable handling > of this feature inside rtc-

RE: [PATCH 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 11:39:28, Nori, Sekhar wrote: > On 7/2/2013 11:34 AM, Hebbar, Gururaja wrote: > > On Tue, Jul 02, 2013 at 11:32:34, Nori, Sekhar wrote: > >> On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > >>> On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) > >>> is availa

Re: [PATCH] vfs: remove the unnecessrary code of fs/inode.c

2013-07-01 Thread Dong Fang
On 07/02/2013 12:41 AM, Al Viro wrote: On Mon, Jul 01, 2013 at 08:19:03AM -0400, Dong Fang wrote: These functions, such as find_inode_fast() and find_inode(), iget_lock() and iget5_lock(), insert_inode_locked() and insert_inode_locked4(), almost have the same code. NAK. These functions exist

Re: [PATCH 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-01 Thread Sekhar Nori
On 7/2/2013 11:34 AM, Hebbar, Gururaja wrote: > On Tue, Jul 02, 2013 at 11:32:34, Nori, Sekhar wrote: >> On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: >>> On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) >>> is available to enable Alarm Wakeup feature. This register needs to be >>

RE: [PATCH 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 11:32:34, Nori, Sekhar wrote: > On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > > On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) > > is available to enable Alarm Wakeup feature. This register needs to be > > properly handled for the rtcwake to work proper

Re: memmap exclude boot command: how to check if it was indeed applied

2013-07-01 Thread Eric Valette
On 01/07/2013 20:40, Eric Valette wrote: Hi, After hunting an unreproducible bug, I decided to run memtest86+ and found that only 8 byte of memory refuse to write the last two digit on the last 4GB memory stick. Memory is at 0x31db357558 So I decided to add a memmap=4K@0x00031db35000 boot

Re: [PATCH 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-01 Thread Sekhar Nori
On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) > is available to enable Alarm Wakeup feature. This register needs to be > properly handled for the rtcwake to work properly. > > Platforms using such IP should set "ti,am3352-rtc" in

Re: block layer softlockup

2013-07-01 Thread Dave Jones
On Tue, Jul 02, 2013 at 12:07:41PM +1000, Dave Chinner wrote: > On Mon, Jul 01, 2013 at 01:57:34PM -0400, Dave Jones wrote: > > On Fri, Jun 28, 2013 at 01:54:37PM +1000, Dave Chinner wrote: > > > On Thu, Jun 27, 2013 at 04:54:53PM -1000, Linus Torvalds wrote: > > > > On Thu, Jun 27, 2013 at 3

Re: linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2013-07-01 Thread Olof Johansson
On Mon, Jul 1, 2013 at 10:44 PM, Gupta, Pekon wrote: >> >> Hi all, >> >> Today's linux-next merge of the arm-soc tree got a conflict in >> Documentation/devicetree/bindings/mtd/gpmc-nand.txt between commits >> 6c88058ef927 ("ARM: OMAP2+: cleaned-up DT support of various ECC >> schemes") and 212012

Re: [PATCH 2/5] metag: smp: enable irqs after set_cpu_online

2013-07-01 Thread Srivatsa S. Bhat
On 07/01/2013 09:34 PM, James Hogan wrote: > In secondary_start_kernel() interrupts should be enabled with > local_irq_enable() after the cpu is marked as online with > set_cpu_online(). Otherwise it's possible for a timer interrupt to > trigger a softirq, which if the cpu is marked as offline may

Re: [PATCH] vfs: remove the unnecessrary code of fs/inode.c

2013-07-01 Thread Dong Fang
On 07/02/2013 12:15 AM, Gu Zheng wrote: On 07/01/2013 08:19 PM, Dong Fang wrote: These functions, such as find_inode_fast() and find_inode(), iget_lock() and iget5_lock(), insert_inode_locked() and insert_inode_locked4(), almost have the same code. Maybe the title "[PATCH] vfs: remove the red

Re: [PATCH RFC nohz_full v2 2/7] nohz_full: Add rcu_dyntick data for scalable detection of all-idle state

2013-07-01 Thread Paul E. McKenney
On Tue, Jul 02, 2013 at 07:10:52AM +0200, Mike Galbraith wrote: > On Mon, 2013-07-01 at 12:16 -0700, Paul E. McKenney wrote: > > On Mon, Jul 01, 2013 at 11:34:13AM -0700, Josh Triplett wrote: > > > > > > This also naturally raises the question "How can we let userspace get > > > > > accurate time

Re: [PATCH RFC ticketlock] v3 Auto-queued ticketlock

2013-07-01 Thread Paul E. McKenney
On Mon, Jul 01, 2013 at 02:49:34PM +0530, Raghavendra KT wrote: > On Sun, Jun 23, 2013 at 11:23 PM, Raghavendra KT > wrote: > > > > > > On Wed, Jun 12, 2013 at 9:10 PM, Paul E. McKenney > > wrote: > >> > >> Breaking up locks is better than implementing high-contention locks, but > >> if we must h

Re: [PATCH] sched: smart wake-affine

2013-07-01 Thread Mike Galbraith
On Tue, 2013-07-02 at 12:43 +0800, Michael Wang wrote: > Since RFC: > Tested again with the latest tip 3.10.0-rc7. > > wake-affine stuff is always trying to pull wakee close to waker, by theory, > this will bring benefit if waker's cpu cached hot data for wakee, or the > extreme ping-pong c

Re: [PATCH] sched: smart wake-affine

2013-07-01 Thread Michael Wang
On 07/02/2013 01:38 PM, Mike Galbraith wrote: > On Tue, 2013-07-02 at 12:43 +0800, Michael Wang wrote: > >> +static int nasty_pull(struct task_struct *p) >> +{ >> +int factor = cpumask_weight(cpu_online_mask); >> + >> +/* >> + * Yeah, it's the switching-frequency, could means many wake

Re: [RFC][PATCH] mm: madvise: MADV_POPULATE for quick pre-faulting

2013-07-01 Thread Zheng Liu
On Mon, Jul 01, 2013 at 09:43:29PM -0700, Dave Hansen wrote: > On 07/01/2013 07:37 PM, Zheng Liu wrote: > > FWIW, it would be great if we can let MAP_POPULATE flag support shared > > mappings because in our product system there has a lot of applications > > that uses mmap(2) and then pre-faults thi

RE: linux-next: manual merge of the arm-soc tree with the l2-mtd tree

2013-07-01 Thread Gupta, Pekon
> > Hi all, > > Today's linux-next merge of the arm-soc tree got a conflict in > Documentation/devicetree/bindings/mtd/gpmc-nand.txt between commits > 6c88058ef927 ("ARM: OMAP2+: cleaned-up DT support of various ECC > schemes") and 212012138deb ("mtd: nand: omap2: updated support for > BCH4 > ECC

[PATCH 1/3] mds: update atime if client can read.

2013-07-01 Thread majianpeng
Now, update atime only for CEPH_CAP_FILE_EXCL.Change this if CEPH_CAP_FILE_RD. Signed-off-by: Jianpeng Ma --- src/mds/Locker.cc | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/mds/Locker.cc b/src/mds/Locker.cc index 30e014a..58f953f 100644 --- a/src/mds/Lo

[PATCH 2/3] ceph: update atime after read-operation.

2013-07-01 Thread majianpeng
Now ceph don't support updating atime after read-operation if the open mode is CEPH_CAP_FILE_RD.There are two reasons: 1:in client of fs,it don't set dirty cap of CEPH_CAP_FILE_RD. 2:in mds,it only update the atime if the condition "dirty & (CEPH_CAP_FILE_EXCL|CEPH_CAP_FILE_WR) is true. But if we c

linux-next: manual merge of the renesas tree with the arm tree

2013-07-01 Thread Stephen Rothwell
Hi Simon, Today's linux-next merge of the renesas tree got a conflict in arch/arm/mach-shmobile/Kconfig between commit fb521a0da155 ("arm: fix up ARM_ARCH_TIMER selects") from the arm tree and commits 462972da5f18 ("ARM: shmobile: Make r8a7790 Arch timer optional") and 39d97587d6cb ("ARM: shmobile

[PATCH 3/3] ceph: For ceph_sync_read, update the atime of file.

2013-07-01 Thread majianpeng
For buffer read, the func generic_file_aio_read will update atime of file.But the ceph_sync_read don't do it.So add this. Signed-off-by: Jianpeng Ma --- fs/ceph/file.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/ceph/file.c b/fs/ceph/file.c index 656e169..87df15a 100644 --- a/fs/ce

[PATCH 0/3] implement of updating atime for client has CEPH_CAP_FILE_RD

2013-07-01 Thread majianpeng
Now update atime of file, only for client had CEPH_CAP_FLE_EXCL.But for atime, if one can read he can update this attribte. For this feature,it need both client and mds modify. PATCH1,it modify the mds to support. PATCH2,it modify the client to suport. PATCH3, it support this feature for sync_read

RE: [PATCH 2/4] davinci: da8xx/omap-l1: Remove hard coding of rtc device wakeup

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 11:10:14, Nori, Sekhar wrote: > > On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > > Since now rtc-omap driver itself calls deice_init_wakeup(dev, true), > > duplicate call from the rtc device registration can be removed. > > > > This is basically a partial revert of the pre

Re: [PATCH 2/4] davinci: da8xx/omap-l1: Remove hard coding of rtc device wakeup

2013-07-01 Thread Sekhar Nori
On 6/28/2013 3:05 PM, Hebbar Gururaja wrote: > Since now rtc-omap driver itself calls deice_init_wakeup(dev, true), > duplicate call from the rtc device registration can be removed. > > This is basically a partial revert of the prev commit > > commit 75c99bb0006ee065b4e2995078d779418b0fab54 > Au

Re: [PATCH] sched: smart wake-affine

2013-07-01 Thread Mike Galbraith
On Tue, 2013-07-02 at 12:43 +0800, Michael Wang wrote: > +static int nasty_pull(struct task_struct *p) > +{ > + int factor = cpumask_weight(cpu_online_mask); > + > + /* > + * Yeah, it's the switching-frequency, could means many wakee or > + * rapidly switch, use factor here will

RE: [PATCH V2 1/1] mwifiex: add tx info to skb when forming mgmt frame

2013-07-01 Thread Bing Zhao
Hi Harvey, > From: Huawei Yang > > In function 'mwifiex_write_data_complete' it need tx info to find the > mwifiex_private to updates statistics and wake up tx queues. > Or we may trigger tx queues timeout when transmitting lots of mgmt frames. > > Signed-off-by: Huawei Yang > --- > drivers/n

RE: [v2][PATCH 4/7] book3e/kexec/kdump: introduce a kexec kernel flag

2013-07-01 Thread Bhushan Bharat-R65777
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun > Chen > Sent: Thursday, June 20, 2013 1:23 PM > To: b...@kernel.crashing.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org > S

[PATCH] Add hsize argument in write_buf call of pstore_ftrace_call

2013-07-01 Thread Aruna Balakrishnaiah
Incorporate the addition of hsize argument in write_buf callback of pstore. Signed-off-by: Aruna Balakrishnaiah --- fs/pstore/ftrace.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/pstore/ftrace.c b/fs/pstore/ftrace.c index 43b1280..76a4eeb 100644 --- a/fs/pstore/ftr

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

2013-07-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in drivers/mtd/nand/Kconfig between commit 212012138deb ("mtd: nand: omap2: updated support for BCH4 ECC scheme") from the l2-mtd tree and commit 930d800bded7 ("mtd: omap2: allow bulding as a module") from the arm-soc tree. I fix

Re: [PATCH v3 10/45] smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-07-01 Thread Michael Wang
Hi, Srivatsa On 06/28/2013 03:54 AM, Srivatsa S. Bhat wrote: [snip] > @@ -625,8 +632,9 @@ EXPORT_SYMBOL(on_each_cpu_mask); > * The function might sleep if the GFP flags indicates a non > * atomic allocation is allowed. > * > - * Preemption is disabled to protect against CPUs going offline bu

Re: linux-next: Tree for Jul 1 [ drm-intel-next: Several call-traces ]

2013-07-01 Thread Sedat Dilek
ks ] >>> >>> [ Did not check any relevant MLs ] >>> >>> Please, see attached dmesg output. >> >> Clock mismatch, one for Jesse to figure out. Note that this patch is >> for 3.12, I simply haven't yet gotten around to properly split my >

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

2013-07-01 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the arm-soc tree got a conflict in Documentation/devicetree/bindings/mtd/gpmc-nand.txt between commits 6c88058ef927 ("ARM: OMAP2+: cleaned-up DT support of various ECC schemes") and 212012138deb ("mtd: nand: omap2: updated support for BCH4 ECC scheme") from the

Re: [PATCH 0/6] Basic scheduler support for automatic NUMA balancing

2013-07-01 Thread Srikar Dronamraju
* Mel Gorman [2013-07-01 09:43:21]: > > Thanks. Each of the the two runs had 5 iterations and there is a > difference in the reported average. Do you know what the standard > deviation is of the results? Yes, the results were from 2 different runs. I hadnt calculated the std deviation for thos

[GIT PULL] arch/arc updates for 3.11

2013-07-01 Thread Vineet Gupta
Hi Linus, First batch of ARC changes for 3.11. Please pull. There's a second bunch to follow next week - which depends on commits on other trees (irq/net). I'd have preferred the accompanying ARC change via respective trees, but it didn't workout somehow. Thx, -Vineet ---> The follo

RE: [PATCH 3/4] rtc: omap: add rtc wakeup support to alarm events

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 05:45:01, Kevin Hilman wrote: > Hebbar Gururaja writes: > > > On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) > > is available to enable Alarm Wakeup feature. This register needs to be > > properly handled for the rtcwake to work properly. > > > > Platf

RE: [PATCH 2/4] davinci: da8xx/omap-l1: Remove hard coding of rtc device wakeup

2013-07-01 Thread Hebbar, Gururaja
On Tue, Jul 02, 2013 at 05:37:43, Kevin Hilman wrote: > Hebbar Gururaja writes: > > > Since now rtc-omap driver itself calls deice_init_wakeup(dev, true), > > duplicate call from the rtc device registration can be removed. > > > > This is basically a partial revert of the prev commit > > > > comm

RE: [v2][PATCH 2/7] book3e/kexec/kdump: enable kexec for kernel

2013-07-01 Thread Bhushan Bharat-R65777
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun > Chen > Sent: Thursday, June 20, 2013 1:23 PM > To: b...@kernel.crashing.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org > S

RE: [v2][PATCH 1/7] powerpc/book3e: support CONFIG_RELOCATABLE

2013-07-01 Thread Bhushan Bharat-R65777
> -Original Message- > From: Linuxppc-dev [mailto:linuxppc-dev- > bounces+bharat.bhushan=freescale@lists.ozlabs.org] On Behalf Of Tiejun > Chen > Sent: Thursday, June 20, 2013 1:23 PM > To: b...@kernel.crashing.org > Cc: linuxppc-...@lists.ozlabs.org; linux-kernel@vger.kernel.org > S

Re: [PATCH RFC nohz_full v2 2/7] nohz_full: Add rcu_dyntick data for scalable detection of all-idle state

2013-07-01 Thread Mike Galbraith
On Mon, 2013-07-01 at 12:16 -0700, Paul E. McKenney wrote: > On Mon, Jul 01, 2013 at 11:34:13AM -0700, Josh Triplett wrote: > > > > This also naturally raises the question "How can we let userspace get > > > > accurate time without forcing a timer tick?". > > > > > > We don't. ;-) > > > > We d

Re: udevd cannot modprobe snd-hda-intel with 3.9.8

2013-07-01 Thread Damien Wyart
* Marc Haber [130701 17:50]: > The issue does not appear when one uses a Debian kernel, or uses the > configuration that Debian uses for its kernels to build a vanilla > kernel.org kernel. This has, after a gazillion of reoboots and > experimenting with man different blacklist entries and kernel >

Re: [PATCH v2 00/11] tracing: trace event triggers

2013-07-01 Thread zhangwei(Jovi)
On 2013/7/1 20:32, Masami Hiramatsu wrote: > (2013/06/29 18:30), zhangwei(Jovi) wrote: >>> This patchset implements 'trace event triggers', which are similar to >>> the function triggers implemented for 'ftrace filter commands' (see >>> 'Filter commands' in Documentation/trace/ftrace.txt), but inst

Re: [v3.9] [v3.10] [Regression] serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller

2013-07-01 Thread Wang YanQing
On Mon, Jul 01, 2013 at 12:14:45PM -0400, Joseph Salisbury wrote: > Hi Wang, > > A bug was opened against the Ubuntu kernel[0]. After a kernel bisect, > it was found that reverting the following commit resolved this bug: > > commit 8d2f8cd424ca0b99001f3ff4f5db87c4e525f366 > Author: Wang YanQing

Re: is it desirable to improve the build system?

2013-07-01 Thread Greg KH
On Mon, Jul 01, 2013 at 05:12:01PM -0700, Mark Galeck wrote: > Dear Linux-Kernel Community, > > I am a consultant specializing in builds, and I recently worked for a > large client company, a world-wide leader in its field, where I > overhauled their build system: sped it up by more of an order of

[PATCH] sched: smart wake-affine

2013-07-01 Thread Michael Wang
Since RFC: Tested again with the latest tip 3.10.0-rc7. wake-affine stuff is always trying to pull wakee close to waker, by theory, this will bring benefit if waker's cpu cached hot data for wakee, or the extreme ping-pong case. And testing show it could benefit hackbench 15% at most. Ho

Re: [RFC][PATCH] mm: madvise: MADV_POPULATE for quick pre-faulting

2013-07-01 Thread Dave Hansen
On 07/01/2013 07:37 PM, Zheng Liu wrote: > FWIW, it would be great if we can let MAP_POPULATE flag support shared > mappings because in our product system there has a lot of applications > that uses mmap(2) and then pre-faults this mapping. Currently these > applications need to pre-fault the mapp

Re: [PATCH] vfs: remove the unnecessrary code of fs/inode.c

2013-07-01 Thread Al Viro
On Mon, Jul 01, 2013 at 08:19:03AM -0400, Dong Fang wrote: > These functions, such as find_inode_fast() and find_inode(), iget_lock() and > iget5_lock(), insert_inode_locked() and insert_inode_locked4(), almost have > the same code. NAK. These functions exist exactly because the variant with call

Re: [PATCH v2] vmpressure: implement strict mode

2013-07-01 Thread Anton Vorontsov
On Mon, Jul 01, 2013 at 05:22:36PM +0900, Hyunhee Kim wrote: > >> > > for each event in memory.pressure_level; do > >> > > /* register eventfd to be notified on "event" */ > >> > > done > >> > > >> > This scheme registers "all" events. > >> > >> Yes, because I thought that's the user-case that ma

Re: [PATCH] vfs: remove the unnecessrary code of fs/inode.c

2013-07-01 Thread Gu Zheng
On 07/01/2013 08:19 PM, Dong Fang wrote: > These functions, such as find_inode_fast() and find_inode(), iget_lock() and > iget5_lock(), insert_inode_locked() and insert_inode_locked4(), almost have > the same code. Maybe the title "[PATCH] vfs: remove the reduplicate code of fs/inode.c" is more s

Re: [PATCH] sched: fix cpu utilization account error

2013-07-01 Thread Xie XiuQi
On 2013/7/2 11:20, Michael Wang wrote: > Hi, Xie > > On 07/01/2013 07:26 PM, Xie XiuQi wrote: > [snip] >> Here is the kthread main logic. Although it's not a good idea, but it does >> exist: >> while (!kthread_should_stop()) { >> /* call schedule every 1 sec */ >> if (HZ <= jiffies - las

Re: [PATCH] sched: fix cpu utilization account error

2013-07-01 Thread Xie XiuQi
On 2013/7/2 11:07, Mike Galbraith wrote: > On Mon, 2013-07-01 at 19:26 +0800, Xie XiuQi wrote: > >> Here is the kthread main logic. Although it's not a good idea, but it does >> exist: > > Why not fix this instead? > >> while (!kthread_should_stop()) { >> /* call schedule every 1 sec */ >>

Re: [PATCH] proc: Add workaround for idle/iowait decreasing problem.

2013-07-01 Thread Fernando Luis Vazquez Cao
Hi Frederic, I'm sorry it's taken me so long to respond; I got sidetracked for a while. Comments follow below. On 2013/04/28 09:49, Frederic Weisbecker wrote: On Tue, Apr 23, 2013 at 09:45:23PM +0900, Tetsuo Handa wrote: CONFIG_NO_HZ=y can cause idle/iowait values to decrease. [...] It's not

Re: sched: context tracking demolishes pipe-test

2013-07-01 Thread Mike Galbraith
On Mon, 2013-07-01 at 11:20 +0200, Mike Galbraith wrote: > On Mon, 2013-07-01 at 11:12 +0200, Mike Galbraith wrote: > > On Mon, 2013-07-01 at 10:06 +0200, Peter Zijlstra wrote: > > > > > So aside from the context tracking stuff, there's still a regression > > > we might want to look at. That's s

Re: [PATCH v2 00/11] tracing: trace event triggers

2013-07-01 Thread zhangwei(Jovi)
On 2013/7/1 23:49, Tom Zanussi wrote: > Hi jovi, > > On Sat, 2013-06-29 at 17:30 +0800, zhangwei(Jovi) wrote: >> On 2013/6/29 13:08, Tom Zanussi wrote: >>> Hi, >>> >>> This is v2 of the trace event triggers patchset, addressing comments >>> from Masami Hiramatsu, zhangwei(Jovi), and Steve Rostedt

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-07-01 Thread Guenter Roeck
On Mon, Jul 01, 2013 at 12:46:24PM +0300, Pantelis Antoniou wrote: > Hi Guenter, > > Yes there is an updated patchset against 3.10 as of this morning. > > I will post details how to get it later today. > Hi Pantelis, looking forward to it. I see you have a large number of new branches in your r

Re: [PATCH] block: Fix possible sleep in invalid context

2013-07-01 Thread Sujit Reddy Thumma
On 7/2/2013 8:34 AM, Aaron Lu wrote: Fix this by releasing spin_lock_irq() before calling >pm_runtime_autosuspend() in blk_post_runtime_resume(). Hi Sujit, Thanks for testing out block layer runtime PM! As for the problem here, it is already fixed by: commit c60855cdb976c632b3bf8922eeab8a0e78

Re: [PATCH v2] usb: host: xhci: Enable XHCI_SPURIOUS_SUCCESS for all controllers with xhci 1.0

2013-07-01 Thread Sarah Sharp
Thanks George, this looks fine. I will munge the description a bit when I commit it, and mark it for stable as well. Unfortunately, due to the timing of the merge window, this patch will have to wait for 2-3 weeks until 3.11-rc1 is out. Sarah Sharp On Mon, Jul 01, 2013 at 10:59:12AM +0530, Geor

Re: [RFC PATCH 08/13] sound: sam9x5_wm8731: machine driver for at91sam9x5 wm8731 boards

2013-07-01 Thread Bo Shen
Hi Richard, Will move this patch before 5, 6, 7? On 7/1/2013 16:39, Richard Genoud wrote: From: Nicolas Ferre Description of the Asoc machine driver for an at91sam9x5 based board with a wm8731 audio DAC. Wm8731 is clocked by a crystal and used as a master on the SSC/I2S interface. Its conne

Re: [PATCH] sched: fix cpu utilization account error

2013-07-01 Thread Michael Wang
Hi, Xie On 07/01/2013 07:26 PM, Xie XiuQi wrote: [snip] > Here is the kthread main logic. Although it's not a good idea, but it does > exist: > while (!kthread_should_stop()) { > /* call schedule every 1 sec */ > if (HZ <= jiffies - last) { > last = jiffies; >

Re: [PATCH] sched: fix cpu utilization account error

2013-07-01 Thread Mike Galbraith
On Mon, 2013-07-01 at 19:26 +0800, Xie XiuQi wrote: > Here is the kthread main logic. Although it's not a good idea, but it does > exist: Why not fix this instead? > while (!kthread_should_stop()) { > /* call schedule every 1 sec */ > if (HZ <= jiffies - last) { > last

Re: [RFC PATCH 03/13] ARM: at91: DTS: sam9x5: add clock for SSC DT entry

2013-07-01 Thread Bo Shen
Hi Richard, On 7/1/2013 16:39, Richard Genoud wrote: Signed-off-by: Richard Genoud --- arch/arm/mach-at91/at91sam9x5.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/at91sam9x5.c b/arch/arm/mach-at91/at91sam9x5.c index 2abee66..191eb4b 100644 --- a/arch/arm/mach-at

Re: [RFC PATCH 02/13] misc: atmel_ssc: keep the count of pdev->id

2013-07-01 Thread Bo Shen
Hi Richard, On 7/1/2013 16:39, Richard Genoud wrote: With device tree, pdev->id is always -1, so we introduce a local counter. Signed-off-by: Richard Genoud --- drivers/misc/atmel-ssc.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/misc/atmel-ssc.c b/drivers/misc/atm

Re: [PATCH] block: Fix possible sleep in invalid context

2013-07-01 Thread Aaron Lu
On 07/01/2013 11:28 PM, Sujit Reddy Thumma wrote: > When block runtime PM is enabled following warning is seen > while resuming the device. > > BUG: sleeping function called from invalid context at > .../drivers/base/power/runtime.c:923 > in_atomic(): 1, irqs_disabled(): 128, pid: 12, name: kworke

Re: [RFC PATCH 01/13] misc: atmel_ssc: add device tree DMA support

2013-07-01 Thread Bo Shen
Hi Richard, On 7/1/2013 16:39, Richard Genoud wrote: The ssc device has to fill the at_dma_slave structure with the device tree informations. Doing a of_dma_request_slave_channel()+dma_release_channel() for that seems wrong (or at least not very clean). Please hold on of this, as to the ASoC d

Re: Fwd: [draft] Tracing multibuffer support concurrency issues

2013-07-01 Thread Alexander Lam
On Mon, Jul 1, 2013 at 6:35 PM, Steven Rostedt wrote: > On Mon, 2013-07-01 at 15:33 -0700, Alexander Lam wrote: > >> To fix this we could go through the ftrace_trace_arrays list and use >> addresses to check if a particular pointer to a trace_array is still >> valid, but this is vulnerable to the

Re: [V2 2/2] sched: update cfs_rq weight earlier in enqueue_entity

2013-07-01 Thread Lei Wen
Paul, On Mon, Jul 1, 2013 at 10:07 PM, Paul Turner wrote: > Could you please restate the below? > > On Mon, Jul 1, 2013 at 5:33 AM, Lei Wen wrote: >> Since we are going to calculate cfs_rq's average ratio by >> runnable_load_avg/load.weight > > I don't understand what you mean by this. Previous

Re: [PATCHv3 2/3] ARM: mxs: cfa10049: Switch bus i2c1 to bitbanging

2013-07-01 Thread Fabio Estevam
Hi Alexandre, On Mon, Jun 24, 2013 at 2:24 PM, Alexandre Belloni wrote: > From: Maxime Ripard > > The ADCs connected to this bus have been experiencing some timeout > issues when using the iMX28 i2c controller. Switching back to bitbanging > solves this. Are you able to use the mxs i2c controll

[PATCH v2] tracing: Protect ftrace_trace_arrays list in trace_events.c

2013-07-01 Thread Alexander Z Lam
There are multiple places where the ftrace_trace_arrays list is accessed in trace_events.c without the trace_types_lock held. Cc: David Sharp Cc: Alexander Z Lam Signed-off-by: Alexander Z Lam --- kernel/trace/trace.c| 2 +- kernel/trace/trace.h| 2 ++ kernel/trace/trace_even

Re: Fwd: [draft] Tracing multibuffer support concurrency issues

2013-07-01 Thread Steven Rostedt
On Mon, 2013-07-01 at 21:35 -0400, Steven Rostedt wrote: > > > > Is there a better way to fix this problem? > > > > Also unaddressed are all of the other files which use a trace_array, > > trace_cpu, or ftrace_event_file in their operation - these would need > > the same fix. > > Hmm, really? J

Re: [GIT PULL for v3.11] media patches for v3.11

2013-07-01 Thread Stephen Rothwell
Hi Mauro, On Mon, 1 Jul 2013 07:58:56 -0300 Mauro Carvalho Chehab wrote: > > Please pull from: > git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media > v4l_for_linus > > For the media patches for Kernel v3.11. I am not sure why you added a back merge of v3.10 before sending thi

[PATCH] shdma: fixup sh_dmae_get_partial() calculation error

2013-07-01 Thread Kuninori Morimoto
sh_desc->hw.tcr is controlling data size, and register TCR is controlling data transfer count which was xmit_shift'ed value of hw.tcr. Current sh_dmae_get_partial() is calculating in different unit. This patch fixes it. Cc: Guennadi Liakhovetski Signed-off-by: Kuninori Morimoto --- >> Guennadi

Re: [PATCH 3/3] tracing: Protect ftrace_trace_arrays list in trace_events.c

2013-07-01 Thread Alexander Lam
Oh, sorry, that is an incomplete patch; some bits are in a patch I dropped. I'll send you a new one in about 20 minutes. - Alex On Mon, Jul 1, 2013 at 6:25 PM, Steven Rostedt wrote: > On Mon, 2013-07-01 at 15:31 -0700, Alexander Z Lam wrote: >> There are multiple places where the ftrace_trace_ar

Re: [PATCH v6 01/12] iommu/exynos: add missing cache flush for removed pagetable entries

2013-07-01 Thread Grant Grundler
-linux-arm (wrong email address - sorry) On Mon, Jul 1, 2013 at 6:49 PM, Grant Grundler wrote: > On Tuesday, December 25, 2012 6:00:01 PM UTC-8, Cho KyongHo wrote: >> This commit adds cache flush for removed small page and large page >> entries in exynos_iommu_unmap(). Missing cache flush of remo

[PATCH V2 1/1] mwifiex: add tx info to skb when forming mgmt frame

2013-07-01 Thread Harvey Yang
From: Huawei Yang In function 'mwifiex_write_data_complete' it need tx info to find the mwifiex_private to updates statistics and wake up tx queues. Or we may trigger tx queues timeout when transmitting lots of mgmt frames. Signed-off-by: Huawei Yang --- drivers/net/wireless/mwifiex/cfg80211.c

Re: [RFC][PATCH] mm: madvise: MADV_POPULATE for quick pre-faulting

2013-07-01 Thread Zheng Liu
On Mon, Jul 01, 2013 at 09:16:46AM -0700, Dave Hansen wrote: > On 06/28/2013 07:20 PM, Zheng Liu wrote: > >> > IOW, a process needing to do a bunch of MAP_POPULATEs isn't > >> > parallelizable, but one using this mechanism would be. > > I look at the code, and it seems that we will handle MAP_POPUL

[PATCH] include/asm-generic/io.h: add dummy fuctions to support 'COMPILE_TEST' in 'asm-generic'.

2013-07-01 Thread Chen Gang
'asm-generic' need provide necessary configuration checking, if can't pass checking, 'asm-generic' shouldn't implement it. For 'COMPILE_TEST', according to its help contents, 'asm-generic' need let it pass configuration checking, and provide related dummy contents for it. Part of 'COMPLE_TEST' he

Re: block layer softlockup

2013-07-01 Thread Dave Chinner
On Mon, Jul 01, 2013 at 01:57:34PM -0400, Dave Jones wrote: > On Fri, Jun 28, 2013 at 01:54:37PM +1000, Dave Chinner wrote: > > On Thu, Jun 27, 2013 at 04:54:53PM -1000, Linus Torvalds wrote: > > > On Thu, Jun 27, 2013 at 3:18 PM, Dave Chinner > wrote: > > > > > > > > Right, that will be what

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

2013-07-01 Thread Benjamin Herrenschmidt
o *' > fs/pstore/ftrace.c:47:6: error: too few arguments to function > 'psinfo->write_buf' > > Caused by commit 6bbbca735936 ("pstore: Pass header size in the pstore > write callback"). > > I have used the version from next-20130701 for today. Interestin

Re: [PATCH 5/9] cciss: rework pci pm related code for simplification

2013-07-01 Thread Yijing Wang
Hi Jens, Sorry to disturb you, do you have any comments for this patch? Thanks! Yijing. On 2013/6/18 16:19, Yijing Wang wrote: > Use pci core pm interface to simplify code. > > Signed-off-by: Yijing Wang > Cc: Mike Miller > Cc: iss_storage...@hp.com > Cc: linux-kernel@vger.kernel.org > ---

  1   2   3   4   5   6   7   >