[PATCH v2 3/5] cpuacct: Initialize cpuacct subsystem earlier

2013-03-28 Thread Li Zefan
Initialize cpuacct before the scheduler is functioning, so when cpuacct_charge() and cpuacct_account_field() are called, task_ca() won't return NULL. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/kernel/sched/cp

[PATCH v2 0/5] cpuacct, cgroup: Kill cgroup_subsys.active

2013-03-28 Thread Li Zefan
v2: - rebase against tip-tree - add acked-by I said this patchset needn't to be rebased, which is wrong. The last patch needs rebasing. === cpuacct is the only user of cgroup_subsys.active flag. The flag is needed because cpuacct_charge() and cpuacct_account_fiel

[PATCH v2 5/5] cgroup: Kill subsys.active flag

2013-03-28 Thread Li Zefan
The only user was cpuacct. Acked-by: Tejun Heo Signed-off-by: Li Zefan --- include/linux/cgroup.h | 1 - kernel/cgroup.c| 3 --- 2 files changed, 4 deletions(-) diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index 900af59..95c02c0 100644 --- a/include/linux/cgroup.h +++ b

[PATCH v2 1/5] cpuacct: allocate per_cpu cpuusage for root cpuacct statically

2013-03-28 Thread Li Zefan
This is a preparation, so later we can initialize cpuacct earlier. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/sched/cpuacct.c b/kernel/sched/cpuacct.c index 9305fd2..a691c4d 100644 --- a/kernel/sched/cpuacct.c

[PATCH v2 4/5] cpuacct: No need to check subsys active state

2013-03-28 Thread Li Zefan
Now we're guaranteed when cpuacct_charge() and cpuacct_account_field() are called, cpuacct has already been properly initialized, so we no longer need those checks. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/kernel/sched/cpuacct.c

[PATCH v2 2/5] cpuacct: Initialize root cpuacct earlier

2013-03-28 Thread Li Zefan
Now we don't need cpuacct_init(), and instead we just initialize root_cpuacct when it's defined. Signed-off-by: Li Zefan --- kernel/sched/core.c| 2 -- kernel/sched/cpuacct.c | 11 --- kernel/sched/cpuacct.h | 5 - 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a

[PATCH v2 7/7] cpuacct: Clean up cpuacct.h

2013-03-28 Thread Li Zefan
Now most of the code in cpuacct.h can be moved to cpuacct.c Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 44 +++- kernel/sched/cpuacct.h | 46 -- 2 files changed, 43 insertions(+), 47 deletions(-) diff -

[PATCH v2 6/7] cpuacct: Remove redundant NULL checks in cpuacct_acount_field()

2013-03-28 Thread Li Zefan
This is a micro optimazation for a hot path. - We don't need to check if @ca returned from task_ca() is NULL. - We don't need to check if @ca returned from parent_ca() is NULL. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 4 ++-- kernel/sched/cpuacct.h | 5 + 2 files changed, 7 inse

[PATCH v2 2/7] sched: Split cpuacct code out of sched.h

2013-03-28 Thread Li Zefan
Add cpuacct.h and let sched.h include it. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.h | 52 ++ kernel/sched/sched.h | 48 +- 2 files changed, 53 insertions(+), 47 deletions(-) create mode 100644

[PATCH v2 3/7] cpuacct: Add cpuacct_init()

2013-03-28 Thread Li Zefan
So we don't open-coded initialization of cpuacct in core.c. Signed-off-by: Li Zefan --- kernel/sched/core.c| 8 ++-- kernel/sched/cpuacct.c | 7 +++ kernel/sched/cpuacct.h | 5 + 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/co

[PATCH v2 5/7] cpuacct: Remove redundant NULL checks in cpuacct_charge()

2013-03-28 Thread Li Zefan
This is a micro optimization for the hot path. - We don't need to check if @ca is NULL in parent_ca(). - We don't need to check if @ca is NULL in the beginning of the for loop. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 6 +- kernel/sched/cpuacct.h | 2 +- 2 files changed, 6 inser

[PATCH v2 4/7] cpuacct: Add cpuacct_acount_field()

2013-03-28 Thread Li Zefan
So we can remove open-coded cpuacct code in cputime.c. Signed-off-by: Li Zefan --- kernel/sched/cpuacct.c | 23 +++ kernel/sched/cpuacct.h | 6 ++ kernel/sched/cputime.c | 18 +- 3 files changed, 30 insertions(+), 17 deletions(-) diff --git a/kernel/sche

[PATCH v2 1/7] sched: Split cpuacct code out of core.c

2013-03-28 Thread Li Zefan
Signed-off-by: Li Zefan --- kernel/sched/Makefile | 1 + kernel/sched/core.c| 220 --- kernel/sched/cpuacct.c | 227 + 3 files changed, 228 insertions(+), 220 deletions(-) create mode 100644 kerne

[PATCH v2 0/7] sched: Split cpuacct

2013-03-28 Thread Li Zefan
v2: rebase against tip-tree I don't rebase "[PATCH 0/5] cpuacct, cgroup: Remove cgroup_subsys.active", because it can be applied cleanly on top of this patchset. - This patchset splits cpuacct out of core scheduler code. - Plus two small optimizations. 0001-sched-Sp

[ANNOUNCE] 3.2.42-rt62

2013-03-28 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.42-rt62 stable release. This release is just an update to the new stable 3.2.42 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Julia Lawall
> > I looked in today's linux-next, and there seems to be only one > > initialization of this field, to true, and one test of this field. So > > perhaps the case for setting the field to false just isn't needed. > > Oh sorry now I get what you mean! I thought about this -- and yes I > decided to

Re: [PATCH 0/7] sched: Split cpuacct

2013-03-28 Thread Li Zefan
Please ignore this patchset. It's not based on the right kernel version.. On 2013/3/28 12:11, Li Zefan wrote: > - This patchset splits cpuacct out of core scheduler code. > - Plus two small optimizations. > > 0001-sched-Split-cpuacct-code-out-of-core.c.patch > 0002-sched-Split-cpuacct-out-of-sche

[PATCH] [libata] Fix HDIO_DRIVE_CMD ioctl sense data check

2013-03-28 Thread Gwendal Grignou
commit 84a9a8cd9d0aa93c17e5815ab8a9cc4c0a765c63 changed the sense key used for returning task registers, but HDIO_DRIVE_CMD ioctl was not changed accordingly. Tested: check that SMART ENABLE sent using HDIO_DRIVE_CMD returns 0 instead of EIO. Signed-off-by: Gwendal Grignou --- drivers/ata/libat

[ANNOUNCE] 3.4.37-rt51

2013-03-28 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.37-rt51 stable release. This release is just an update to the new stable 3.4.37 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

Re: [PATCH 1/2] hugetlbfs: stop setting VM_DONTDUMP in initializing vma(VM_HUGETLB)

2013-03-28 Thread Konstantin Khlebnikov
Naoya Horiguchi wrote: > On Thu, Mar 28, 2013 at 09:03:16PM +0400, Konstantin Khlebnikov wrote: >> Naoya Horiguchi wrote: >>> Currently we fail to include any data on hugepages into coredump, >>> because VM_DONTDUMP is set on hugetlbfs's vma. This behavior was recently >>> introduced by commit 314e

Re: [PATCH 03/10] soft-offline: use migrate_pages() instead of migrate_huge_page()

2013-03-28 Thread Aneesh Kumar K.V
Michal Hocko writes: > On Tue 26-03-13 16:59:40, Aneesh Kumar K.V wrote: >> Naoya Horiguchi writes: > [...] >> > diff --git v3.9-rc3.orig/mm/memory-failure.c v3.9-rc3/mm/memory-failure.c >> > index df0694c..4e01082 100644 >> > --- v3.9-rc3.orig/mm/memory-failure.c >> > +++ v3.9-rc3/mm/memory-fai

Re: Bug in ks8851.c

2013-03-28 Thread Max . Nekludov
Linus, I tried to send the mail to 'Ben Dooks ' but the address is dead now. > I assume you've tested it in practice? Yes, I'm running the modified code both in bootloader and Linux kernel on my board. Thanks, Max Signed-off-by: Max Nekludov --- drivers/net/ethernet/micrel/ks8851.c | 2 +- 1

Re: Generic syscall ABI support

2013-03-28 Thread H. Peter Anvin
On 03/28/2013 09:41 PM, Rob Landley wrote: > > You don't need a new glibc port, you need a new klibc or musl port. > > http://www.openwall.com/lists/musl/2012/07/08/1 > > Way less work than getting glibc working for your basic smoketest... > Good point. Average time to port klibc to a new a

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Roberto Vitillo
On Thu, Mar 28, 2013 at 9:18 PM, Namhyung Kim wrote: > On Thu, Mar 28, 2013 at 04:58:30PM -0700, Sukadev Bhattiprolu wrote: >> Roberto Vitillo [raviti...@lbl.gov] wrote: >> | The proposed patch adds the convert tool to perf which allows to convert a >> | perf.data file to a set of callgrind data f

Re: Generic syscall ABI support

2013-03-28 Thread Rob Landley
On 03/28/2013 06:42:47 AM, Arnd Bergmann wrote: On Thursday 28 March 2013, Ley Foon Tan wrote: > On Thu, 2013-03-28 at 10:40 +, Arnd Bergmann wrote: > > On Thursday 28 March 2013, Ley Foon Tan wrote: > > > We will working on generic ABI for kernel and Glibc. This might take > > > some time

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Namhyung Kim
On Thu, Mar 28, 2013 at 04:58:30PM -0700, Sukadev Bhattiprolu wrote: > Roberto Vitillo [raviti...@lbl.gov] wrote: > | The proposed patch adds the convert tool to perf which allows to convert a > | perf.data file to a set of callgrind data files which can subsequently be > | displayed with kcachegri

Re: [PATCH 2/2] Documentation: Add ABI entry for crash_notes and crash_notes_size

2013-03-28 Thread Simon Horman
On Thu, Mar 28, 2013 at 04:16:45PM +0800, Zhang Yanfei wrote: > Add an Documentation/ABI entry for /sys/devices/system/cpu/cpu0/crash_notes > and /sys/devices/system/cpu/cpu0/crash_notes_size. > > Cc: Greg KH > Cc: "Eric W. Biederman" > Cc: Vivek Goyal > Signed-off-by: Zhang Yanfei Assuming t

Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Simon Horman
On Fri, Mar 29, 2013 at 11:50:35AM +0800, Zhang Yanfei wrote: > Hi, simon > > I forgot to add your email in the CC, could you please help > reviewing this patch since I will send the kexec-tools patch > if this patch is accepted. > > Thanks > Zhang > > 于 2013年03月28日 16:15, Zhang Yanfei 写道: > > F

Re: [PATCH 1/2] sysfs: Add crash_notes_size to export percpu note size

2013-03-28 Thread Zhang Yanfei
Hi, simon I forgot to add your email in the CC, could you please help reviewing this patch since I will send the kexec-tools patch if this patch is accepted. Thanks Zhang 于 2013年03月28日 16:15, Zhang Yanfei 写道: > For percpu notes, we are exporting only address and not size. So > the userspace tool

Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot

2013-03-28 Thread Paul E. McKenney
On Thu, Mar 28, 2013 at 10:08:23PM -0400, Paul Gortmaker wrote: > [Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On > 28/03/2013 (Thu 19:00) Paul E. McKenney wrote: > > > On Fri, Mar 29, 2013 at 01:39:04AM +0100, Frederic Weisbecker wrote: > > > 2013/3/29 Paul Gortmaker : >

Re: [PATCH 2/2] ARM: remove mach .init_irq for irqchip_init users

2013-03-28 Thread Simon Horman
On Thu, Mar 28, 2013 at 07:24:02PM +0100, Maxime Ripard wrote: > Hi Simon, > > Le 28/03/2013 13:42, Simon Horman a écrit : > > On Thu, Mar 28, 2013 at 10:41:44AM +0100, Maxime Ripard wrote: > >> Now that the arm core code calls irqchip_init, we can remove it from all > >> the machines that were us

Re: [PATCH 3/3] ftrace: Do not call stub functions in control loop

2013-03-28 Thread WANG Chao
On 03/28/2013 08:52 PM, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The function tracing control loop used by perf spits out a warning > if the called function is not a control function. This is because > the control function references a per cpu allocated data structure > on str

[ANNOUNCE] 3.6.11.1-rt32

2013-03-28 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.6.11.1-rt32 stable release. This release is just an update to the new stable 3.6.11.1 version and no RT specific changes have been made. You can get this release via the git tree at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-

Re: [PATCH] PCI: Remove not needed check in disable aspm link

2013-03-28 Thread Bjorn Helgaas
[+cc Matthew] [+cc e1000-de...@lists.sourceforge.net for suspected 82575/82598 regression] On Thu, Mar 28, 2013 at 01:24:55PM -0700, Yinghai Lu wrote: > patch for Roman > > On Thu, Mar 28, 2013 at 1:24 PM, Yinghai Lu wrote: > > resending with adding To Roman. > > > > On Thu, Mar 28, 2013 at 5:46

Re: [PATCH] include/linux: printk is needed in filter.h when CONFIG_BPF_JIT is defined

2013-03-28 Thread Chen Gang
On 2013年03月29日 02:31, David Miller wrote: > Please post networking patches to net...@vger.kernel.org, thanks. ok, thanks, it is my fault. originally, I get the mail addresses from ./scripts/get_maintainer.pl. it is a useful tool to help members to find mail addresses. I should fully

[PATCH] fuse: Don't do file_update_time for write_operation.

2013-03-28 Thread majianpeng
For direct-write and normal-write operations, after write they will call fuse_invalidate_attr. So it's make no sense to call file_update_time before writing. In function file_update_time, there is other thing which update version of inode.For this i am not sure. Signed-off-by: Jianpeng Ma --- f

Re: [PATCH 1/6] net-next: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread Brian Haley
On 03/27/2013 12:47 PM, Hong Zhiguo wrote: > Signed-off-by: Hong Zhiguo > diff --git a/net/ieee802154/netlink.c b/net/ieee802154/netlink.c > index 97351e1..9247252 100644 > --- a/net/ieee802154/netlink.c > +++ b/net/ieee802154/netlink.c > @@ -65,7 +65,7 @@ struct sk_buff *ieee802154_nl_create(int

Re: [PATCH v3 2/7] USB: EHCI: make ehci-spear a separate driver

2013-03-28 Thread Viresh Kumar
On Fri, Mar 29, 2013 at 3:25 AM, Arnd Bergmann wrote: > From: Manjunath Goudar > > Separate the SPEAr host controller driver from ehci-hcd host code > so that it can be built as a separate driver module. > This work is part of enabling multi-platform kernels on ARM; > however, note that other cha

Re: [RT LATENCY] 249 microsecond latency caused by slub's unfreeze_partials() code.

2013-03-28 Thread Paul Gortmaker
On Thu, Mar 28, 2013 at 1:30 PM, Christoph Lameter wrote: > This patch requires the earlier bug fix. > > > Subject: slub: Make cpu partial slab support configurable Hi Christoph, Minor nit: Applying: slub: Make cpu partial slab support configurable /home/paul/git/linux-head/.git/rebase-ap

Re: [PATCH v2 -mm -next] ipc,sem: fix lockdep false positive

2013-03-28 Thread Michel Lespinasse
On Thu, Mar 28, 2013 at 1:23 PM, Rik van Riel wrote: > Subject: [PATCH -mm -next] ipc,sem: change locking scheme to make lockdep > happy > > Unfortunately the locking scheme originally proposed has false positives > with lockdep. This can be fixed by changing the code to only ever take > one loc

Re: [PATCH V2 0/2] cpufreq: ondemand: add AMD specific powersave bias

2013-03-28 Thread Viresh Kumar
On 28 March 2013 23:54, Jacob Shin wrote: > This patchset adds AMD specific powersave bias function to the ondemand > governor; which can be used to help ondemand governor make more power > conscious > frequency change decisions based on feedback from hardware (availble on AMD > Family 16h and ab

Re: [PATCH V3 3/7] workqueue: Add helpers to schedule work on any cpu

2013-03-28 Thread Viresh Kumar
On 28 March 2013 23:43, Tejun Heo wrote: > Ping. Peter, Ingo? Thanks for your ping, even i was thinking of it since sometime :) > Viresh, would it be difficult to make another measurement of the same > workload with the said workqueues converted to unbound? I think that > would at least provid

Re: For review (v2): user_namespaces(7) man page

2013-03-28 Thread Eric W. Biederman
Over the last little while I have been working to correct a design oversight in user namespaces, that probably needs to be documented somewhere, and the fixes for the worst of the oversight have been merged. The problem was I forgot to consider what when there are shared resources and root uses t

RE: r8169 auto speed down issue

2013-03-28 Thread hayeswang
Francois Romieu [mailto:rom...@fr.zoreil.com] [...] > Your description suggests that testing against the link > partner ability > to work at 10M instead of testing for tp->link_ok could be > good enough. > > Does it make sense ? > Furthermore, should it not speed down without linking, even th

Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot

2013-03-28 Thread Paul Gortmaker
[Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On 28/03/2013 (Thu 19:00) Paul E. McKenney wrote: > On Fri, Mar 29, 2013 at 01:39:04AM +0100, Frederic Weisbecker wrote: > > 2013/3/29 Paul Gortmaker : > > > [Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] O

Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot

2013-03-28 Thread Paul Gortmaker
[Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On 29/03/2013 (Fri 01:39) Frederic Weisbecker wrote: > 2013/3/29 Paul Gortmaker : > > [Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On > > 28/03/2013 (Thu 08:40) Ingo Molnar wrote: > > > >> > >> * Frederi

Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot

2013-03-28 Thread Paul E. McKenney
On Fri, Mar 29, 2013 at 01:39:04AM +0100, Frederic Weisbecker wrote: > 2013/3/29 Paul Gortmaker : > > [Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On > > 28/03/2013 (Thu 08:40) Ingo Molnar wrote: > > > >> > >> * Frederic Weisbecker wrote: > >> > >> > + cpulist_scnprintf(

Linux 3.6.11.1

2013-03-28 Thread Steven Rostedt
I'm announcing the release of the 3.6.11.1 kernel. The updated 3.6.11.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git v3.6-stable The patch can be downloaded at: https://www.kernel.org/pub/linux/kernel/projects/rt/3.6/stable/pat

[PATCH v2] pnp: restore automatic resolution of DMA conflicts

2013-03-28 Thread David Flater
From: David Flater To fix a 5-year-old regression, reverse the changes made in the following commit: commit 7ef36390fabe2168fe31f245e49eb4e5f3762622 Author: Jan Beulich Date: Tue Oct 16 23:31:07 2007 -0700 PNP: don't fail device init if no DMA channel available Most drivers for

[PATCH v2] ia64: Fix example error_injection_tool

2013-03-28 Thread Xie XiuQi
I got a "sched_setaffinity:: Invalid argument" error when using err_injection_tool to inject error on a system with over 32 cpus. Error information when injecting an error on a system with over 32 cpus: $ ./err_injection_tool -i /sys/devices/system/cpu/cpu0/err_inject//err_type_info Begine at Tue

[PATCH RESEND] fbmon: use VESA_DMT_VSYNC_HIGH to fix typo

2013-03-28 Thread Jingoo Han
VESA_DMT_VSYNC_HIGH should be used instead of VESA_DMT_HSYNC_HIGH, because FB_SYNC_VERT_HIGH_ACT is related to vsync, not to hsync. Signed-off-by: Jingoo Han Cc: Steffen Trumtrar Cc: Tomi Valkeinen --- drivers/video/fbmon.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --gi

Re: [PATCH] ia64: Fix example error_injection_tool

2013-03-28 Thread Xie XiuQi
On 2013/3/29 0:47, Luck, Tony wrote: > Nice catch. > > - mask[j]=1< + mask[j] = (unsigned long)1< > Could use > mask[j] = 1ul << k; > to avoid the verbose cast. Thank you for your suggestion, Tony. I'll modify it in next version. >

Re: [PATCH] ARM: dove: fix Dove cpu type from V7 to PJ4

2013-03-28 Thread Jason Cooper
On Thu, Mar 28, 2013 at 09:04:12PM +, Russell King - ARM Linux wrote: ... > From what I could see, there's not much point to pj4-cp0.c without > iwmmxt.S also being built. So, what I'd suggest is this, which will > ensure IWMMXT is enabled when PJ4 is set, otherwise giving people the > choice

Re: [PATCH] include/linux: printk is needed in filter.h when CONFIG_BPF_JIT is defined

2013-03-28 Thread Chen Gang F T
On 2013年03月29日 02:31, David Miller wrote: > Please post networking patches to net...@vger.kernel.org, thanks. ok, thanks. it is my fault. originally, I get mail addresses by ./scripts/get_maintainers.pl it is a useful tool for members to get mail addresses. I should fully use it,

Re: [RFC] mm: remove swapcache page early

2013-03-28 Thread Minchan Kim
On Thu, Mar 28, 2013 at 11:19:12AM -0700, Dan Magenheimer wrote: > > From: Minchan Kim [mailto:minc...@kernel.org] > > Subject: Re: [RFC] mm: remove swapcache page early > > > > Hi Dan, > > > > On Wed, Mar 27, 2013 at 03:24:00PM -0700, Dan Magenheimer wrote: > > > > From: Hugh Dickins [mailto:hu.

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-03-28 Thread Sasha Levin
On 03/28/2013 09:00 PM, Michel Lespinasse wrote: > On Thu, Mar 28, 2013 at 8:32 AM, Rik van Riel wrote: >> The ipc semaphore code has a nasty RCU locking tangle, with both >> find_alloc_undo and semtimedop taking the rcu_read_lock(). The >> code can be cleaned up somewhat by only taking the rcu_re

Re: [PATCH v2] tracepoints: prevents null probe from being added

2013-03-28 Thread Keun-O Park
On Thu, Mar 21, 2013 at 2:34 PM, wrote: > From: Sahara > > Somehow tracepoint_entry_add_probe function allows a null probe function. > And, this may lead to unexpected result since the number of probe > functions in an entry can be counted by checking whether probe is null > or not in for-loop.

Re: [PATCH -mm -next] ipc,sem: untangle RCU locking with find_alloc_undo

2013-03-28 Thread Michel Lespinasse
On Thu, Mar 28, 2013 at 8:32 AM, Rik van Riel wrote: > The ipc semaphore code has a nasty RCU locking tangle, with both > find_alloc_undo and semtimedop taking the rcu_read_lock(). The > code can be cleaned up somewhat by only taking the rcu_read_lock > once. > > The only caller of find_alloc_undo

Re: smartd broken in 3.9.0-rc4 : bisected

2013-03-28 Thread Gwendal Grignou
My mistake. In ata_cmd_ioctl(), we clean the results and remove CHECK_CONDITION when necessary. I did not update that code for the new Sense Key: if (cmd_result & SAM_STAT_CHECK_CONDITION) { struct scsi_sense_hdr sshdr; scsi_normalize_

[PATCH][update] Makefile: allow no update .config build

2013-03-28 Thread liguang
if we pull some commits from other git repo which bring in a few CONFIG_* options, then we have to build all again, but we do assure these options are not interesting for us, so the long waiting build will be offending. this change help us to avoid all-build. Signed-off-by: liguang --- Makefile

Re: Possibility for an external staging tree - bring up quality code

2013-03-28 Thread Luis R. Rodriguez
On Thu, Mar 28, 2013 at 3:53 PM, Greg Kroah-Hartman wrote: > On Thu, Mar 28, 2013 at 01:13:23PM -0700, Luis R. Rodriguez wrote: > > > >> This has me thinking if it makes sense to have an external driver tree >> for staging drivers but lead by engineers who already know the rules >> of upstream, t

[PATCH] pnp: restore automatic resolution of DMA conflicts

2013-03-28 Thread David Flater
From: David Flater To fix a 5-year-old regression, reverse the changes made in the following commit: commit 7ef36390fabe2168fe31f245e49eb4e5f3762622 Author: Jan Beulich Date: Tue Oct 16 23:31:07 2007 -0700 PNP: don't fail device init if no DMA channel available Most drivers for

Re: [PATCH] Makefile: allow no update .config build

2013-03-28 Thread li guang
在 2013-03-28四的 10:13 -0700,Randy Dunlap写道: > On 03/28/13 00:28, liguang wrote: > > if we pull some commits from other git repo > > which bring in a few CONFIG_* options, then > > we have to build all again, but we do assure > > these options are not interesting for us, > > so the long waiting build

Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot

2013-03-28 Thread Frederic Weisbecker
2013/3/29 Paul Gortmaker : > [Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On > 28/03/2013 (Thu 08:40) Ingo Molnar wrote: > >> >> * Frederic Weisbecker wrote: >> >> > + cpulist_scnprintf(nohz_ext_buf, sizeof(nohz_ext_buf), >> > nohz_extended_mask); >> > + pr_info("NO_H

Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot

2013-03-28 Thread Paul Gortmaker
[Re: [PATCH 2/4] nohz: Print final full dynticks CPUs range on boot] On 28/03/2013 (Thu 08:40) Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > + cpulist_scnprintf(nohz_ext_buf, sizeof(nohz_ext_buf), > > nohz_extended_mask); > > + pr_info("NO_HZ: Experimental full dynticks CPUs:

Re: [PATCH 2/2] xhci: Rename SEGMENT_SIZE and SEGMENT_SHIFT as the former is used in a.out.h

2013-03-28 Thread Sarah Sharp
On Thu, Mar 28, 2013 at 10:32:53PM +, David Howells wrote: > Sarah Sharp wrote: > > > I'm a little bit confused about your description for the second one. > > Did you need to change the #defines names because they could conflict > > with other drivers when the xHCI driver is built in? Or is

Re: [PATCH v2] perf: add callgrind conversion tool

2013-03-28 Thread Sukadev Bhattiprolu
Roberto Vitillo [raviti...@lbl.gov] wrote: | The proposed patch adds the convert tool to perf which allows to convert a | perf.data file to a set of callgrind data files which can subsequently be | displayed with kcachegrind. Sounds interesting and useful. My only comment is that 'convert' is a ge

Re: [PATCH v2 1/2] extcon: max77693: Fix return value

2013-03-28 Thread Chanwoo Choi
On 03/28/2013 03:27 PM, Sachin Kamat wrote: > Return the value obtained from the function instead of hardcoding. > Silences the following warnings: > drivers/extcon/extcon-max77693.c:297 max77693_muic_set_path() > info: why not propagate 'ret' from max77693_update_reg() instead of (-11)? > drivers/

[PATCH v6] i2c: exynos5: add High Speed I2C controller driver

2013-03-28 Thread Naveen Krishna Chatradhi
Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-off-by: Naveen Krishna Chatradhi

[PATCH] Revert "mm: introduce VM_POPULATE flag to better deal with racy userspace programs"

2013-03-28 Thread Hugh Dickins
From: Michel Lespinasse This reverts commit 1869305009857cdeaabe6283bcdc2359c5784543 ("mm: introduce VM_POPULATE flag to better deal with racy userspace programs"). VM_POPULATE only has any effect when userspace plays racy games with vmas by trying to unmap and remap memory regions that mmap or

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Luis R. Rodriguez
On Thu, Mar 28, 2013 at 3:29 PM, Julia Lawall wrote: > On Thu, 28 Mar 2013, Luis R. Rodriguez wrote: > >> On Thu, Mar 28, 2013 at 11:10 AM, Julia Lawall wrote: >> > On Thu, 28 Mar 2013, Luis R. Rodriguez wrote: >> >> >> >> Thanks Julia! I'll be sure to try to add this to compat-drivers if the >>

Re: r8169 auto speed down issue

2013-03-28 Thread Francois Romieu
hayeswang : [...] > Do you have any suggestion about this? Your description suggests that testing against the link partner ability to work at 10M instead of testing for tp->link_ok could be good enough. Does it make sense ? -- Ueimor -- To unsubscribe from this list: send the line "unsubscribe

[PATCHv2] serial: 8250_dw: add support for clk api

2013-03-28 Thread Maxime Ripard
From: Emilio López This commit implements support for using the clk api; this lets us use the "clocks" property with device tree, instead of having to use clock-frequency. Signed-off-by: Emilio López Signed-off-by: Maxime Ripard Reviewed-by: Heikki Krogerus --- Changes from v1: - Add my SoB

Re: [PATCH] serial: 8250_dw: add support for clk api

2013-03-28 Thread Greg Kroah-Hartman
On Fri, Mar 29, 2013 at 12:06:52AM +0100, Maxime Ripard wrote: > Hi Greg, > > Le 29/03/2013 00:03, Greg Kroah-Hartman a écrit : > > On Wed, Mar 27, 2013 at 01:35:48PM +0100, Maxime Ripard wrote: > >> From: Emilio López > >> > >> This commit implements support for using the clk api; this lets us u

Re: [PATCH] serial: 8250_dw: add support for clk api

2013-03-28 Thread Maxime Ripard
Hi Greg, Le 29/03/2013 00:03, Greg Kroah-Hartman a écrit : > On Wed, Mar 27, 2013 at 01:35:48PM +0100, Maxime Ripard wrote: >> From: Emilio López >> >> This commit implements support for using the clk api; this lets us use >> the "clocks" property with device tree, instead of having to use >> clo

Re: [PATCH] serial: 8250_dw: add support for clk api

2013-03-28 Thread Greg Kroah-Hartman
On Wed, Mar 27, 2013 at 01:35:48PM +0100, Maxime Ripard wrote: > From: Emilio López > > This commit implements support for using the clk api; this lets us use > the "clocks" property with device tree, instead of having to use > clock-frequency. > > Signed-off-by: Emilio López > --- Why aren't

Re: Possibility for an external staging tree - bring up quality code

2013-03-28 Thread Greg Kroah-Hartman
On Thu, Mar 28, 2013 at 01:13:23PM -0700, Luis R. Rodriguez wrote: > This has me thinking if it makes sense to have an external driver tree > for staging drivers but lead by engineers who already know the rules > of upstream, they just want to get things done faster. That's called a "fork" or "

Re: [PATCH 1/2] ARM: irq: Call irqchit_init if no init_irq function is specified

2013-03-28 Thread Rob Herring
On 03/28/2013 03:46 PM, Maxime Ripard wrote: > More and more sub-architectures are using only the irqchip_init > function. Make the core code call this function if no init_irq field is > provided in the machine description to remove some boilerplate code. > > Signed-off-by: Maxime Ripard Acked-b

perf test failures on Power

2013-03-28 Thread Sukadev Bhattiprolu
The 'perf' tool has some built-in test cases and one of them checks to see if the symbols in vmlinux match those in /proc/kallsyms. This test is failing on Power for several reasons. I fixed a couple of them (described briefly at the end of the mail) and these fixes take the test further. One p

Re: [PATCH 2/2] xhci: Rename SEGMENT_SIZE and SEGMENT_SHIFT as the former is used in a.out.h

2013-03-28 Thread David Howells
Sarah Sharp wrote: > I'm a little bit confused about your description for the second one. > Did you need to change the #defines names because they could conflict > with other drivers when the xHCI driver is built in? Or is there some > other point I'm missing? Sorry, I should say. I'm trying t

Re: [PATCH v2] irqchip: Add support for ARMv7-M's NVIC

2013-03-28 Thread Arnd Bergmann
On Monday 18 March 2013, Uwe Kleine-König wrote: > +static int __init nvic_init_bases(struct device_node *node, > + void __iomem *nvic_base) > +{ There is probably no point to keep this function separate from nvic_of_init any more, unless you plan to mke it globally

Re: [PATCH 01/10] mm: vmscan: Limit the number of pages kswapd reclaims at each priority

2013-03-28 Thread Jiri Slaby
On 03/25/2013 10:13 AM, Jiri Slaby wrote: > BTW I very pray this will fix also the issue I have when I run ltp tests > (highly I/O intensive, esp. `growfiles') in a VM while playing a movie > on the host resulting in a stuttered playback ;). No, this is still terrible. I was now updating a kernel

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Julia Lawall
On Thu, 28 Mar 2013, Luis R. Rodriguez wrote: > On Thu, Mar 28, 2013 at 11:10 AM, Julia Lawall wrote: > > On Thu, 28 Mar 2013, Luis R. Rodriguez wrote: > >> > >> Thanks Julia! I'll be sure to try to add this to compat-drivers if the > >> upstream fb patch is not accepted. If it is accepted we wou

[PATCH 09/10 v2] ioatdma: Adding write back descriptor error status support for ioatdma 3.3

2013-03-28 Thread Jiang, Dave
v3.3 provides support for write back descriptor error status. This allows reporting of errors in a descriptor field. In supporting this, certain errors such as P/Q validation errors no longer halts the channel. The DMA engine can continue to execute until the end of the chain and allow software to

Re: [PATCH 1/1] clk: Add notifier support in clk_prepare/clk_unprepare

2013-03-28 Thread Stephen Warren
On 03/28/2013 04:01 PM, Mike Turquette wrote: > Quoting Colin Cross (2013-03-21 17:06:25) >> On Thu, Mar 21, 2013 at 3:36 PM, Mike Turquette >> wrote: >>> To my knowledge, devfreq performs one task: implements an algorithm >>> (typically one that loops/polls) and applies this heuristic towards a

MTD NAND BCH support for 24 bits/1K of ECC correction?

2013-03-28 Thread Aaron Williams
Hi all, I am trying to clean up our OCTEON NAND flash driver in the Linux kernel and enable support for multi-bit ECC using BCH and am having some issues. I am able to successfully work with NAND flash that requires 4 bits ECC per 512 bytes but I am having issues with one of our boards that h

Re: [patch 00/34] idle: Consolidate idle implementations

2013-03-28 Thread Chris Zankel
Hi Thomas, On 3/28/13 2:24 AM, Thomas Gleixner wrote: On Thu, 28 Mar 2013, Chris Zankel wrote: For Xtensa: Acked-by: Chris Zankel Thanks for going the extra mile and test-compiling it. Though, the build fails later with: arch/xtensa/kernel/built-in.o:(.init.literal+0x90): undefined referen

[PATCH v6] i2c: exynos5: add High Speed I2C controller driver

2013-03-28 Thread Naveen Krishna Chatradhi
From: Naveen Krishna Chatradhi Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Note: Added debugfs support for registers view, not tested. Signed-off-by: Taekgyun Ko Signed-o

Re: [PATCH v3] ARM: add support for context tracking subsystem

2013-03-28 Thread Kevin Hilman
Kevin Hilman writes: > commit 91d1aa43 (context_tracking: New context tracking susbsystem) > generalized parts of the RCU userspace extended quiescent state into > the context tracking subsystem. Context tracking is then used > to implement adaptive tickless (a.k.a extended nohz) > > To support

[PATCH v3 6/7] USB: EHCI: make ehci-msm a separate driver

2013-03-28 Thread Arnd Bergmann
From: Manjunath Goudar Separate the Qualcomm QSD/MSM on-chip host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before Qualcomm QSD/MSM

[PATCH v3 1/7] USB: EHCI: make ehci-orion a separate driver

2013-03-28 Thread Arnd Bergmann
From: Manjunath Goudar Separate the Orion host controller driver from ehci-hcd host code into its own driver module because of following reason. With the multiplatform changes in arm-soc tree, it becomes possible to enable the mvebu platform (which uses ehci-orion) at the same time as other plat

[PATCH v3 3/7] USB: EHCI: make ehci-s5p a separate driver

2013-03-28 Thread Arnd Bergmann
From: Manjunath Goudar Separate the Samsung S5P/EXYNOS host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before S5P/EXYNOS can be boote

[PATCH v3 4/7] USB: EHCI: export ehci_shutdown

2013-03-28 Thread Arnd Bergmann
The ehci_shutdown function is used by the platform specific ehci backends for at91, tegra and ps3. In order to turn any of these into separate modules, we need to make this function globally visible and export it. Signed-off-by: Arnd Bergmann Cc: Greg KH Cc: Alan Stern Cc: linux-...@vger.kernel

[PATCH v3 5/7] USB: EHCI: make ehci-atmel a separate driver

2013-03-28 Thread Arnd Bergmann
From: Manjunath Goudar Separate the Atmel host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before Atmel can be booted with a multi-plat

[PATCH v3 7/7] USB: OHCI: avoid conflicting platform drivers

2013-03-28 Thread Arnd Bergmann
Like the EHCI driver, OHCI supports a large number of different platform glue drivers by directly including them, which causes problems with conflicting macro definitions in some cases. As more ARM architecture specific back-ends are required to coexist in a single build, we should split those out

[PATCH v3 0/7] USB EHCI multiplatform series again

2013-03-28 Thread Arnd Bergmann
Hi Alan, These are the current patches from Manjunath, after I helped him address the remaining review comments and found a few more in the process. Unfortunately, Manjunath is currently on vacation and I will be away for the next couple of days when he returns, so I took the liberty to send the

[PATCH v3 2/7] USB: EHCI: make ehci-spear a separate driver

2013-03-28 Thread Arnd Bergmann
From: Manjunath Goudar Separate the SPEAr host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before SPEAr can be booted with a multi-plat

[PATCH] ARM: remove last use of CONFIG_CPU_ARM710

2013-03-28 Thread Paul Bolle
Support for ARM710 CPUs was removed in v3.5. Now remove the last code depending on its Kconfig macro. Signed-off-by: Paul Bolle --- Untested. Note that cpu_arm7_data_abort was also removed. arch/arm/include/asm/glue-df.h | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm/includ

Re: [PATCH] OMAP3 ROM Random Number Generator support

2013-03-28 Thread Tony Lindgren
* Pali Rohár [130328 10:58]: > > Here is new version of patch: > > --- a/arch/arm/mach-omap2/devices.c > +++ b/arch/arm/mach-omap2/devices.c > @@ -486,6 +486,23 @@ static void omap_init_mcspi(void) > static inline void omap_init_mcspi(void) {} > #endif > > +extern u32 *omap3_rom_rng_call(u32

Re: [PATCH net-next] audit: pass int* to nlmsg_next

2013-03-28 Thread David Miller
From: Alexandru Copot Date: Thu, 28 Mar 2013 23:31:29 +0200 > Commit 941912133025926307c7a65b203fa38403b1063a replaced the macros > NLMSG_NEXT with calls to nlmsg_next which produces this warning: > > kernel/audit.c: In function ‘audit_receive_skb’: > kernel/audit.c:928:3: warning: passing argum

  1   2   3   4   5   6   >