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

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

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

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

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

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 >

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

[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

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:

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

[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

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

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 >

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

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 >

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

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

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

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

[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

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

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

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 >

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 >

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

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

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

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

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

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

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

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

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 -

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

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

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

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

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,

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

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

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

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:

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

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.

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

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

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?

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

[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

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

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

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

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

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

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

2013-07-01 Thread Benjamin Herrenschmidt
: 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. Interestingly enough I didn't see that when testing a x86_64 bu

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

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

2013-07-01 Thread Grant Grundler
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 removed > page table entries can cause missing page fault interrupt when a > master IP accesses an

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

2013-07-01 Thread Xie XiuQi
On 2013/7/1 23:19, Greg KH wrote: > On Mon, Jul 01, 2013 at 02:45:04PM +0800, Xie XiuQi wrote: >> We setting clock_skip_update = 1 based on the assumption that the >> next call to update_rq_clock() will come nearly immediately >> after being set. However, it is not always true especially on >>

Re: [PATCH 4/6] vt6655/trivial: replace numeric with standard PM state macros

2013-07-01 Thread Yijing Wang
On 2013/7/2 9:23, Greg Kroah-Hartman wrote: > On Tue, Jul 02, 2013 at 09:14:06AM +0800, Yijing Wang wrote: >> ping...? > > You are asking yourself the status of a patch? Interesting... > >> On 2013/6/27 20:57, Yijing Wang wrote: > > You sent this after I closed my staging tree, so it will be

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

2013-07-01 Thread Steven Rostedt
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 ABA problem if a trace_array is > freed and another is

Re: [RFC PATCH 5/6] ARM, mm: change meaning of max_low_pfn to maximum pfn for nobootmem

2013-07-01 Thread Joonsoo Kim
On Mon, Jul 01, 2013 at 10:14:45AM -0400, Santosh Shilimkar wrote: > Joonsoo, > > On Monday 25 March 2013 12:11 AM, Joonsoo Kim wrote: > > nobootmem use max_low_pfn for computing boundary in free_all_bootmem() > > So we need proper value to max_low_pfn. > > > > But, there is some difficulty

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

2013-07-01 Thread Steven Rostedt
On Mon, 2013-07-01 at 15:31 -0700, Alexander Z Lam wrote: > There are multiple places where the ftrace_trace_arrays list is accessed in > trace_events.c without the trace_types_lock held. Hmm, doesn't compile. Not a complete patch? trace_types_lock is local to trace.c, and needs to be in trace.h

Re: [PATCH 4/6] vt6655/trivial: replace numeric with standard PM state macros

2013-07-01 Thread Greg Kroah-Hartman
On Tue, Jul 02, 2013 at 09:14:06AM +0800, Yijing Wang wrote: > ping...? You are asking yourself the status of a patch? Interesting... > On 2013/6/27 20:57, Yijing Wang wrote: You sent this after I closed my staging tree, so it will be applied after 3.11-rc1 is out, don't worry, it's not lost.

Re: [PATCH 1/6] PCI: acpiphp: do not check for SLOT_ENABLED in enable_device()

2013-07-01 Thread Rafael J. Wysocki
On Monday, July 01, 2013 09:36:13 PM Mika Westerberg wrote: > On Mon, Jul 01, 2013 at 04:01:37PM +0200, Rafael J. Wysocki wrote: > > > Given the fact that SLOT_ENABLED is only checked in acpiphp_enable_slot() > > > (after this patch) and that /sys/bus/pci/slots/*/power uses SLOT_POWEREDON > > >

Re: [PATCH 1/3] ACPI / dock: Rework the handling of notifications

2013-07-01 Thread Rafael J. Wysocki
On Monday, July 01, 2013 02:21:45 PM Bjorn Helgaas wrote: > On Fri, Jun 28, 2013 at 4:53 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > The ACPI dock driver uses register_acpi_bus_notifier() which > > installs a notifier triggered globally for all system notifications. > > That

Re: [PATCH 4/6] vt6655/trivial: replace numeric with standard PM state macros

2013-07-01 Thread Yijing Wang
ping...? On 2013/6/27 20:57, Yijing Wang wrote: > Use standard PM state macros PCI_Dx instead of numeric 0/1/2.. > > Signed-off-by: Yijing Wang > Cc: Forest Bond > Cc: Greg Kroah-Hartman > Cc: Jiri Kosina > Cc: Devendra Naga > Cc :Joe Perches > Cc: Marcos Paulo de Souza > Cc: Bill

Re: kvm_intel: Could not allocate 42 bytes percpu data

2013-07-01 Thread Chegu Vinod
On 6/30/2013 11:22 PM, Rusty Russell wrote: Chegu Vinod writes: Hello, Lots (~700+) of the following messages are showing up in the dmesg of a 3.10-rc1 based kernel (Host OS is running on a large socket count box with HT-on). [ 82.270682] PERCPU: allocation failed, size=42 align=16, alloc

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

2013-07-01 Thread Stephen Rothwell
store write callback"). I have used the version from next-20130701 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgpNiotIEG7Qf.pgp Description: PGP signature

[GIT PULL] f2fs updates for v3.11

2013-07-01 Thread Jaegeuk Kim
Hi Linus, Here is the pull request on f2fs updates for v3.11. Most of patches in this patch-set have been proposed to fix the roll-forward mechanism significantly. One of major fixes is related to little and big endian conversion, and its errorneous symptom on powerpc was initially reported by

[GIT PULL] f2fs updates for v3.11

2013-07-01 Thread Jaegeuk Kim
Hi Linus, Here is the pull request on f2fs updates for v3.11. Most of patches in this patch-set have been proposed to fix the roll-forward mechanism significantly. One of major fixes is related to little and big endian conversion, and its errorneous symptom on powerpc was initially reported by

Re: [PATCH] seq_file:update file->f_pos when lseek() to m->read_pos

2013-07-01 Thread Jiaxing Wang
On 07/01/2013 08:41 PM, fangdong wrote: > On 06/29/2013 05:11 AM, Jiaxing Wang wrote: >> After pread(), file->f_pos and m->read_pos get different, >> and lseek() to m->read_pos did not update file->f_pos, then >> a subsequent read may read from a wrong position, the following >> program shows the

[GIT] Security subsystem updates for 3.11

2013-07-01 Thread James Morris
In this update, Smack learns to love IPv6 and to mount a filesystem with a transmutable hierarchy (i.e. security labels are inherited from parent directory upon creation rather than creating process). The rest of the changes are maintenance. Please pull. The following changes since commit

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

2013-07-01 Thread Steven Rostedt
On Mon, 2013-07-01 at 15:31 -0700, Alexander Z Lam wrote: > There are multiple places where the ftrace_trace_arrays list is accessed in > trace_events.c without the trace_types_lock held. Thanks, this I'll also pull into 3.11 and mark stable. -- Steve > > Cc: David Sharp > Cc: Alexander Z Lam

Re: [PATCH 2/3] tracing: Make trace_marker use the correct per-instance buffer

2013-07-01 Thread Steven Rostedt
On Mon, 2013-07-01 at 15:31 -0700, Alexander Z Lam wrote: > The trace_marker file was present for each new instance created, but it > added the trace mark to the global trace buffer instead of to > the instance's buffer. Thanks, I'll get this into this merge window. And maybe even mark it for

Re: [PATCH 0/4] rtc: omap: handle rtc wakeup support in driver

2013-07-01 Thread Kevin Hilman
Hi Hebbar, Hebbar Gururaja writes: > rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms. > > However, rtc wake support on OMAP1 is broken. Hence the > device_init_wakeup() was removed from rtc-omap driver and moved to > platform board files that supported it

is it desirable to improve the build system?

2013-07-01 Thread Mark Galeck
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 magnitude, and improved maintainability, for example making

[GIT PULL] pin control bulk changes for v3.11

2013-07-01 Thread Linus Walleij
Hi Linus, here is the big pin control pull request for the v3.11 cycle. A lot is going on as this is now getting ever more accepter with embedded system on chips. We have new archs using pin control and a batch of beautification. I've boiled this in -next, the 0day build system and manual test

Re: [PATCH 1/3] tracing: Use a ring buffer size of 1 when creating a new trace buffer

2013-07-01 Thread Steven Rostedt
On Mon, 2013-07-01 at 15:31 -0700, Alexander Z Lam wrote: > Use deferred ring buffer allocation in new trace buffer instances by > copying the behavior of the deferred allocation of global_trace's buffer. > Without this, each new trace buffer instance will attempt to allocate > num_cpus *

[PATCH] scripts/package/builddeb: build perftools package

2013-07-01 Thread Sage Weil
This will build a linux-tools-$version package for each build that includes perf. Signed-off-by: Gary Lowell --- scripts/package/builddeb | 95 +- 1 file changed, 94 insertions(+), 1 deletion(-) diff --git a/scripts/package/builddeb

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

2013-07-01 Thread Kevin Hilman
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. > > Platforms using such IP should set "ti,am3352-rtc" in rtc device dt >

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

2013-07-01 Thread Kevin Hilman
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 > > commit 75c99bb0006ee065b4e2995078d779418b0fab54 > Author: Sekhar Nori >

Re: [PATCH 1/4] rtc: omap: restore back (hard-code) wakeup support

2013-07-01 Thread Kevin Hilman
Hebbar Gururaja writes: > rtc-omap driver modules is used both by OMAP1/2, Davinci SoC platforms. > > However, rtc wake support on OMAP1 is broken. Hence the > device_init_wakeup() was removed from rtc-omap driver and moved to > platform board files that supported it (DA850/OMAP-L138). [1] > >

Re: [PATCH 4/5] metag: kick: prevent nested kick handlers

2013-07-01 Thread James Hogan
Thomas Gleixner wrote: >On Mon, 1 Jul 2013, James Hogan wrote: >> On 1 July 2013 22:51, Thomas Gleixner wrote: >> > On Mon, 1 Jul 2013, James Hogan wrote: >> > >> >> The main kick trigger handler iterates a list of kick handlers and >calls >> >> each one. This is done with the

[GIT PULL] clk: changes for 3.11

2013-07-01 Thread Mike Turquette
The following changes since commit e4aa937ec75df0eea0bee03bffa3303ad36c986b: Linux 3.10-rc3 (2013-05-26 16:00:47 -0700) are available in the git repository at: git://git.linaro.org/people/mturquette/linux.git tags/clk-for-linus-3.11 for you to fetch changes up to

Re: [PATCH 0/2] *** SUBJECT HERE ***

2013-07-01 Thread Anders Hammarquist
In a message of Fri, 28 Jun 2013 12:23:33 +0200, Johan Hovold writes: >> I did a quick check of adding the device id though sysfs, and although >> it partly works, it doesn't find the correct firmware (it ends up trying >> to load 5052 firmware for a 3410 device. Looking at the code it seems >>

Re: [PATCH v3 3/3] mce, acpi/apei: Soft-offline a page on firmware GHES notification

2013-07-01 Thread Borislav Petkov
On Mon, Jul 01, 2013 at 09:08:59PM +0530, Naveen N. Rao wrote: > If the firmware indicates in GHES error data entry that the error threshold > has exceeded for a corrected error event, then we try to soft-offline the > page. This could be called in interrupt context, so we queue this up similar >

Re: [PATCH] mfd: sec: Provide max_register to regmap

2013-07-01 Thread Samuel Ortiz
Hi Mark, On Mon, Jul 01, 2013 at 11:02:19PM +0100, Mark Brown wrote: > From: Mark Brown > > Enable debugfs register dumps and greater error checking within the > regmap API providing the maximum register to the regmap API. > > Signed-off-by: Mark Brown > --- > drivers/mfd/sec-core.c | 41

Re: [PATCH] mfd: wm8994: Remove duplicate check for active JACKDET

2013-07-01 Thread Samuel Ortiz
Hi Mark, On Mon, Jul 01, 2013 at 08:56:18PM +0100, Mark Brown wrote: > From: Mark Brown > > Probably the result of a mismerge or rebase failing to notice that the > hunk had already been applied. > > Signed-off-by: Mark Brown > --- > drivers/mfd/wm8994-core.c | 14 -- > 1 file

Re: [tpmdd-devel] [PATCH v4] drivers/tpm: add xen tpmfront interface

2013-07-01 Thread Konrad Rzeszutek Wilk
"Peter Hüwe" wrote: >Am Montag, 1. Juli 2013, 23:34:28 schrieb Daniel De Graaf: >> This is a complete rewrite of the Xen TPM frontend driver, taking >> advantage of a simplified frontend/backend interface and adding >support >> for cancellation and timeouts. The backend for this driver is

  1   2   3   4   5   6   7   8   9   10   >