Re: [PATCH v5 3/3] arm64: Add seccomp support

2014-08-11 Thread AKASHI Takahiro
Will, On 08/11/2014 06:24 PM, Will Deacon wrote: On Fri, Aug 08, 2014 at 08:35:42AM +0100, AKASHI Takahiro wrote: On 08/06/2014 12:08 AM, Kees Cook wrote: On Fri, Jul 25, 2014 at 2:37 AM, AKASHI Takahiro wrote: I found a bug in my current patch (v5). When 32-bit tracer skips a system call, w

Re: [PATCH] drm: Do not use BUG_ON(!spin_is_locked())

2014-08-11 Thread Daniel Vetter
On Mon, Aug 11, 2014 at 04:38:50PM -0700, David Rientjes wrote: > On Mon, 11 Aug 2014, Rob Clark wrote: > > > > I'm suggesting that if you don't want to incur the cost of the conditional > > > everytime you call a certain function with assert_spin_locked() that you > > > could covert these to lock

Re: [3.16 stable PATCH 1/1] virtio-rng: fix multi-device startup

2014-08-11 Thread Amit Shah
On (Tue) 12 Aug 2014 [13:55:48], Greg KH wrote: > On Tue, Aug 12, 2014 at 11:01:58AM +0530, Amit Shah wrote: > > On (Tue) 12 Aug 2014 [06:55:27], Greg KH wrote: > > > On Mon, Aug 11, 2014 at 06:11:47PM +0530, Amit Shah wrote: > > > > This is a 3.16-only patch. The linux.git fix is > > > > 5c062734

Re: [PATCH 1/5] efi: move noefi early param code out of x86 arch code

2014-08-11 Thread Randy Dunlap
On 08/11/14 23:10, Dave Young wrote: > noefi param can be used for arches other than X86 later, thus move it out of > x86 platform code. > > Signed-off-by: Dave Young > --- > arch/x86/platform/efi/efi.c | 10 +- > drivers/firmware/efi/efi.c | 13 + > include/linux/efi.h

[PATCH] zd1211rw: replace ZD_ASSERT with lockdep_assert_held()

2014-08-11 Thread Sanjeev Sharma
on some architecture spin_is_locked() always return false in uniprocessor configuration and therefore it would be advise to replace with lockdep_assert_held(). Signed-off-by: Sanjeev Sharma --- drivers/net/wireless/zd1211rw/zd_mac.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH 07/13] perf kvm: Move call to symbol__init() after creating session

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-kvm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/builtin-kvm.c b/tools/perf/builtin-kvm.c ind

[PATCH 03/13] perf annotate: Move session handling out of __cmd_annotate()

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 75 +++ 1 file changed, 40 insertions(+), 35 deletions(-) diff --git a/tools/pe

[PATCH 02/13] perf tools: Fix a memory leak in vmlinux_path__init()

2014-08-11 Thread Namhyung Kim
When uname() failed, it should free vmlinux_path. Signed-off-by: Namhyung Kim --- tools/perf/util/symbol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 581c56836567..009a9d064f11 100644 --- a/tools/perf/util/symbol.

[PATCH 09/13] perf sched: Move call to symbol__init() after creating session

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-sched.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c

[PATCH 04/13] perf buildid-cache: Move session handling into cmd_buildid_cache()

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-buildid-cache.c | 35 +-- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/tools/perf/

[PATCHSET 00/13] perf tools: Fix vmlinux search path initialization

2014-08-11 Thread Namhyung Kim
Hello, Currently, when perf reports kernel symbols, it tries to look up the sample ip from kallsyms/vmlinux in the build-id cache, and then a running kernel. This can be a problem if it's recorded on a different kernel and failed to find it from the build-id cache for some reason. We can fix it

[PATCH 08/13] perf lock: Move call to symbol__init() after creating session

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-lock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c in

[PATCH 06/13] perf kmem: Move session handling out of __cmd_kmem()

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-kmem.c | 49 +++ 1 file changed, 28 insertions(+), 21 deletions(-) diff --git a/tools/pe

[PATCH 05/13] perf inject: Move session handling out of __cmd_inject()

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-inject.c | 29 + 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/tools/perf/builtin-injec

[PATCH 12/13] perf trace: Move call to symbol__init() after creating session

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-trace.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/perf/builtin-trace.c b/tools/perf/builtin-tra

Re: [sched] 143e1e28cb4: +17.9% aim7.jobs-per-min, -9.7% hackbench.throughput

2014-08-11 Thread Peter Zijlstra
On Tue, Aug 12, 2014 at 09:29:19AM +0530, Preeti U Murthy wrote: > On 08/11/2014 07:03 PM, Peter Zijlstra wrote: > > > > Now I think I see why this is; we've reduced load balancing frequency > > significantly on this machine due to: > > We have also changed the value of busy_factor to 32 from 64

[PATCH 10/13] perf script: Move call to symbol__init() after creating session

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-script.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/perf/builtin-script.c b/tools/perf/builtin-sc

[PATCH 11/13] perf timechart: Move call to symbol__init() after creating session

2014-08-11 Thread Namhyung Kim
This is a preparation of fixing dso__load_kernel_sym(). It needs a session info before calling symbol__init(). Signed-off-by: Namhyung Kim --- tools/perf/builtin-timechart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/perf/builtin-timechart.c b/tools/perf/built

[PATCH 01/13] perf script: Fix possible memory leaks

2014-08-11 Thread Namhyung Kim
Some paths in perf script don't call perf_session__delete() after creating a new session. Cc: Adrian Hunter Signed-off-by: Namhyung Kim --- tools/perf/builtin-script.c | 35 ++- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/tools/perf/builtin-sc

[PATCH 13/13] perf tools: Check recorded kernel version when finding vmlinux

2014-08-11 Thread Namhyung Kim
Currently vmlinux_path__init() only tries to find vmlinux file from current directory, /boot and some canonical directories with version number of the running kernel. This can be a problem when reporting old data recorded on a kernel version not running currently. We can use --symfs option for th

[PATCH 1/7 V2] staging: dgap: remove useless variable

2014-08-11 Thread Daeseok Youn
dgap_major_serial_registered and dgap_major_transparent_print_registered could be checked whether a board is initialized. But it doesn't need to check that variables becasue dgap_board as global is managed for boards which are initialized completely. So when it called dgap_cleanup_tty() function, v

Re: [PATCH v2 5/8] mm/isolation: change pageblock isolation logic to fix freepage counting bugs

2014-08-11 Thread Minchan Kim
On Wed, Aug 06, 2014 at 04:18:34PM +0900, Joonsoo Kim wrote: > Current pageblock isolation logic has a problem that results in incorrect > freepage counting. move_freepages_block() doesn't return number of > moved pages so freepage count could be wrong if some pages are freed > inbetween set_pagebl

RE: [PATCH v3] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Sharma, Sanjeev
Yes I have incorporated review comment from Greg. Regards Sanjeev Sharma -Original Message- From: Hans de Goede [mailto:hdego...@redhat.com] Sent: Tuesday, August 12, 2014 11:59 AM To: Sharma, Sanjeev Cc: gre...@linuxfoundation.org; kra...@redhat.com; mdharm-...@one-eyed-alien.net; linu

Re: [PATCH v2] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Guenter Roeck
On Tue, Aug 12, 2014 at 02:01:53PM +0800, Greg KH wrote: > On Tue, Aug 12, 2014 at 11:38:37AM +0530, Sanjeev Sharma wrote: > > spin_is_locked() always return false in uniprocessor configuration and > > therefore it > > would be advise to replace with lockdep_assert_held(). > > Add "on some archit

Re: [PATCH v3] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Hans de Goede
Hi, On 08/12/2014 08:40 AM, Sanjeev Sharma wrote: > on some architecture spin_is_locked() always return false in > uniprocessor configuration and therefore it would be advise > to replace with lockdep_assert_held(). > > Signed-off-by: Sanjeev Sharma > --- > Changes in v3: > incorporated review

RE: [PATCH v2] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Sharma, Sanjeev
Done ! Thanks Sanjeev Sharma -Original Message- From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Tuesday, August 12, 2014 11:32 AM To: Sharma, Sanjeev Cc: hdego...@redhat.com; kra...@redhat.com; mdharm-...@one-eyed-alien.net; linux-...@vger.kernel.org; linux-kernel@vger.kernel.or

[PATCH v3] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Sanjeev Sharma
on some architecture spin_is_locked() always return false in uniprocessor configuration and therefore it would be advise to replace with lockdep_assert_held(). Signed-off-by: Sanjeev Sharma --- Changes in v3: incorporated review comment suggested by Greg drivers/usb/storage/uas.c | 8

Re: [BUG] oops in cpufreq driver with AMD Kaveri CPU

2014-08-11 Thread Viresh Kumar
On Tue, Aug 12, 2014 at 11:25 AM, Oleksandr Natalenko wrote: > What should I do to debug it? Is that necessary to recompile kernel with full > debug? Yeah, you need to recompile the kernel for sure but not necessarily with debug support.. Some background: In cpufreq framework, we manage a CPUs

[PATCH 1/5] efi: move noefi early param code out of x86 arch code

2014-08-11 Thread Dave Young
noefi param can be used for arches other than X86 later, thus move it out of x86 platform code. Signed-off-by: Dave Young --- arch/x86/platform/efi/efi.c | 10 +- drivers/firmware/efi/efi.c | 13 + include/linux/efi.h | 1 + 3 files changed, 15 insertions(+), 9 dele

[PATCH 3/5] efi arm64: do not enter virtual mode in case booting with efi=noruntime or noefi

2014-08-11 Thread Dave Young
In case efi runtime disabled via noefi kernel cmdline arm64_enter_virtual_mode should error out. At the same time move early_memunmap(memmap.map, mapsize) to the beginning of the function or it will leak early mem. Signed-off-by: Dave Young --- arch/arm64/kernel/efi.c | 7 --- 1 file change

[PATCH 5/5] efi_rtc: probe function error out in case no efi runtime enabled

2014-08-11 Thread Dave Young
efi rtc depends on efi runtime services, so if efi runtime services are not usable it should error out. Without this patch rtc-efi will panic with 'noefi' boot Signed-off-by: Dave Young --- drivers/rtc/rtc-efi.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/rtc/rtc-efi.c b/driv

[PATCH 4/5] efi x86: clear EFI_RUNTIME_SERVICES bit in case failures other than SetVirtualAddressMap

2014-08-11 Thread Dave Young
If enter virtual mode failed due to some reason other than the efi call the EFI_RUNTIME_SERVICES bit in efi.flags should be cleared thus users of efi runtime services can check the bit and handle the case instead of assume efi runtime is ok. Per Matt, if efi call SetVirtualAddressMap fails we will

[PATCH 2/5] efi: add kernel param efi=noruntime

2014-08-11 Thread Dave Young
noefi kernel param means actually disabling efi runtime, Per suggestion from Leif Lindholm efi=noruntime should be better. But since noefi is already used in X86 thus just adding another param efi=noruntime for same purpose. Signed-off-by: Dave Young --- Documentation/kernel-parameters.txt | 4

Re: x86: vmalloc and THP

2014-08-11 Thread Kirill A. Shutemov
On Tue, Aug 12, 2014 at 08:00:54AM +0300, Oren Twaig wrote: > plain/text, please. >Hello, > >Does memory allocated using vmalloc() will be mapped using huge >pages either directly or later by THP ? No. It's neither aligned properly, nor physically contiguous. >If not, is there any fast way to

Re: [PATCH] perf, x86: Use extended offcore mask on Haswell

2014-08-11 Thread Stephane Eranian
On Tue, Aug 12, 2014 at 7:56 AM, Peter Zijlstra wrote: > On Mon, Aug 11, 2014 at 05:11:30PM -0700, Andi Kleen wrote: >> From: Andi Kleen >> >> HSW-EP has a larger offcore mask than the client Haswell CPUs. >> It is the same mask as on Sandy/IvyBridge-EP. All of >> Haswell was using the client mas

Re: [PATCH v2] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Greg KH
On Tue, Aug 12, 2014 at 11:38:37AM +0530, Sanjeev Sharma wrote: > spin_is_locked() always return false in uniprocessor configuration and > therefore it > would be advise to replace with lockdep_assert_held(). Add "on some architectures" in here somewhere, as it's not broken on the large majority

Re: [PATCH] Input: serio: make HYPERV_KEYBOARD depend on SERIO_I8042=y

2014-08-11 Thread Greg KH
On Tue, Aug 12, 2014 at 05:51:28AM +, Dexuan Cui wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > > Decoupling the dependency between hyperv_keyboard and i8042 needs > > > non-trivial efforts and is hence a long term goal. > > > > > > For now, let'

[PATCH] perf/x86/uncore: export basic memory events for IVT IMC PMU

2014-08-11 Thread Stephane Eranian
This patch exposes two basic events for Ivytown IMC uncore PMU: - cas_count_read: number of full-cache line reads to memory controller - cas_count_write: number of full-cache line writes to memory controller Those events use the same encoding as for SNB-EP, so reuse the same event table. See spe

Re: [PATCH v2] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Hans de Goede
Hi, On 08/12/2014 08:08 AM, Sanjeev Sharma wrote: > spin_is_locked() always return false in uniprocessor configuration and > therefore it > would be advise to replace with lockdep_assert_held(). > > Signed-off-by: Sanjeev Sharma > --- > Changes in v2: > - replaced WARN_ON_ONCE() with lockdep_a

Re: [3.16 stable PATCH 1/1] virtio-rng: fix multi-device startup

2014-08-11 Thread Greg KH
On Tue, Aug 12, 2014 at 11:01:58AM +0530, Amit Shah wrote: > On (Tue) 12 Aug 2014 [06:55:27], Greg KH wrote: > > On Mon, Aug 11, 2014 at 06:11:47PM +0530, Amit Shah wrote: > > > This is a 3.16-only patch. The linux.git fix is > > > 5c06273401f2eb7b290cadbae18ee00f8f65e893, which fixes this issue i

Re: [PATCH] perf, x86: Use extended offcore mask on Haswell

2014-08-11 Thread Peter Zijlstra
On Mon, Aug 11, 2014 at 05:11:30PM -0700, Andi Kleen wrote: > From: Andi Kleen > > HSW-EP has a larger offcore mask than the client Haswell CPUs. > It is the same mask as on Sandy/IvyBridge-EP. All of > Haswell was using the client mask, so some bits were missing. > > On the client parts some bi

[PATCH v2] uas: replace WARN_ON_ONCE() with lockdep_assert_held()

2014-08-11 Thread Sanjeev Sharma
spin_is_locked() always return false in uniprocessor configuration and therefore it would be advise to replace with lockdep_assert_held(). Signed-off-by: Sanjeev Sharma --- Changes in v2: - replaced WARN_ON_ONCE() with lockdep_assert_held() to avoid runtime overhead instead of assert_spin_lock

Re: [BUG] oops in cpufreq driver with AMD Kaveri CPU

2014-08-11 Thread Oleksandr Natalenko
On Tuesday 12 August 2014 11:22:28 Viresh Kumar wrote: > Yeah, because this is happening while the notifiers are being served. > Can you debug it a bit to go to the exact notifier routine where this > crashes? What should I do to debug it? Is that necessary to recompile kernel with full debug? >

Re: [PATCH] sched: Remove ACCESS_ONCE() for jiffies

2014-08-11 Thread Peter Zijlstra
On Mon, Aug 11, 2014 at 06:51:41PM -0400, Pranith Kumar wrote: > jiffies is declared as a volatile variable. Therefore it is not neccessary to > use ACCESS_ONCE() while reading it. It also doesn't hurt and it documents intent, so I'm inclined to keep it. pgp8tFMX2calj.pgp Description: PGP signat

Re: [PATCH 34/41] perf evlist: Add 'system_wide' option

2014-08-11 Thread Adrian Hunter
On 08/11/2014 04:12 PM, Jiri Olsa wrote: > On Mon, Jul 14, 2014 at 01:02:58PM +0300, Adrian Hunter wrote: >> Add an option to cause a selected event >> to be opened always without a pid when >> configured by perf_evsel__config(). >> >> This is needed when using the sched_switch >> tracepoint to fol

Re: [BUG] oops in cpufreq driver with AMD Kaveri CPU

2014-08-11 Thread Viresh Kumar
On Fri, Aug 8, 2014 at 2:23 AM, Oleksandr Natalenko wrote: > Disabling cpufreq code in kernel config works around this issue. Yeah, because this is happening while the notifiers are being served. Can you debug it a bit to go to the exact notifier routine where this crashes? > Is this bug related

RE: [PATCH] Input: serio: make HYPERV_KEYBOARD depend on SERIO_I8042=y

2014-08-11 Thread Dexuan Cui
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Decoupling the dependency between hyperv_keyboard and i8042 needs > > non-trivial efforts and is hence a long term goal. > > > > For now, let's make the dependency explicit so people can beware of this. > > You did

Re: [PATCH] perf, x86: Use extended offcore mask on Haswell

2014-08-11 Thread Stephane Eranian
On Tue, Aug 12, 2014 at 2:11 AM, Andi Kleen wrote: > From: Andi Kleen > > HSW-EP has a larger offcore mask than the client Haswell CPUs. > It is the same mask as on Sandy/IvyBridge-EP. All of > Haswell was using the client mask, so some bits were missing. > > On the client parts some bits were al

Re: [PATCH tip/core/rcu 1/2] rcu: Parallelize and economize NOCB kthread wakeups

2014-08-11 Thread Amit Shah
On (Mon) 11 Aug 2014 [20:45:31], Paul E. McKenney wrote: > On Mon, Aug 11, 2014 at 01:34:21PM -0700, Paul E. McKenney wrote: > > On Tue, Aug 12, 2014 at 01:48:45AM +0530, Amit Shah wrote: > > > On (Mon) 11 Aug 2014 [13:11:02], Paul E. McKenney wrote: > > > > On Tue, Aug 12, 2014 at 01:11:26AM +0530

Re: [3.16 stable PATCH 1/1] virtio-rng: fix multi-device startup

2014-08-11 Thread Amit Shah
On (Tue) 12 Aug 2014 [06:55:27], Greg KH wrote: > On Mon, Aug 11, 2014 at 06:11:47PM +0530, Amit Shah wrote: > > This is a 3.16-only patch. The linux.git fix is > > 5c06273401f2eb7b290cadbae18ee00f8f65e893, which fixes this issue in a > > different way. > > Why "different"? Why can't I take that

[PATCH 2/2] check if crashk_res_low exists when exclude it from crash mem ranges

2014-08-11 Thread Baoquan He
Add a check if crashk_res_low exists just like GART region does. If crashk_res_low doesn't exist, calling exclude_mem_range is unnecessary. Meanwhile, since crashk_res_low has been initialized at definition, it's safe just use "if (crashk_low_res.end)" to check if it's exist. And this can make it

[PATCH 1/2] take the segment adding out of locate_mem_hole functions

2014-08-11 Thread Baoquan He
In locate_mem_hole functions, a memory hole is located and added as kexec_segment. But from the name of locate_mem_hole, it should only take responsibility of searching a available memory hole to contain data of a specified size. So in this patch add a new field 'mem' into kexec_buf, then take tha

Re: [PATCH tip/core/rcu 1/2] rcu: Parallelize and economize NOCB kthread wakeups

2014-08-11 Thread Amit Shah
On (Mon) 11 Aug 2014 [13:34:21], Paul E. McKenney wrote: > On Tue, Aug 12, 2014 at 01:48:45AM +0530, Amit Shah wrote: > > On (Mon) 11 Aug 2014 [13:11:02], Paul E. McKenney wrote: > > > On Tue, Aug 12, 2014 at 01:11:26AM +0530, Amit Shah wrote: > > > > On (Mon) 11 Aug 2014 [09:28:07], Paul E. McKenn

Re: [PATCH 1/1] virtio: rng: add derating factor for use by hwrng core

2014-08-11 Thread Amit Shah
On (Mon) 11 Aug 2014 [15:11:03], H. Peter Anvin wrote: > On 08/11/2014 11:49 AM, Amit Shah wrote: > > The khwrngd thread is started when a hwrng device of sufficient > > quality is registered. The virtio-rng device is backed by the > > hypervisor, and we trust the hypervisor to provide real entrop

RE: [PATCH] smsc: replace WARN_ON() with WARN_ON_SMP()

2014-08-11 Thread Sharma, Sanjeev
Thanks ! -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Tuesday, August 12, 2014 3:09 AM To: Sharma, Sanjeev Cc: gre...@linuxfoundation.org; steve.glendinn...@shawell.net; net...@vger.kernel.org; linux-kernel@vger.kernel.org Subject: Re: [PATCH] smsc: replace WA

Re: [PATCH] Made bpf_internal_load_pointer_neg_helper static: fixes Sparse warning

2014-08-11 Thread Daniel Borkmann
On 08/12/2014 02:57 AM, Alexei Starovoitov wrote: On Mon, Aug 11, 2014 at 3:00 PM, Benjamin Lee wrote: I wanted to know what the current status of my patch is since my internship will be ending this Friday and I want to know before then. if there are any problems with it I can fix them before T

Re: [PATCH v2 4/8] mm/isolation: close the two race problems related to pageblock isolation

2014-08-11 Thread Minchan Kim
On Wed, Aug 06, 2014 at 04:18:33PM +0900, Joonsoo Kim wrote: > We got migratetype of the freeing page without holding the zone lock so > it could be racy. There are two cases of this race. > > 1. pages are added to isolate buddy list after restoring original > migratetype. > 2. pages are added to

[PATCH v4] kprobes: arm: enable OPTPROBES for ARM 32

2014-08-11 Thread Wang Nan
This patch introduce kprobeopt for ARM 32. Limitations: - Currently only kernel compiled with ARM ISA is supported. - Offset between probe point and optinsn slot must not larger than 32MiB. Masami Hiramatsu suggests replacing 2 words, it will make things complex. Futher patch can make suc

[PATCH v2] mmc: core: Remove fixed voltage regulator logic

2014-08-11 Thread Tim Kryger
There is no need for regulator consumers to include special logic for fixed voltage regulators as they support regulator_set_voltage() just like their non-fixed regulator counterparts. Signed-off-by: Tim Kryger --- Changes in v2: - Remove query of the current voltage, just set the desired volt

[PATCH 2/2] kvm: x86: fix stale mmio cache bug

2014-08-11 Thread Xiao Guangrong
From: David Matlack The following events can lead to an incorrect KVM_EXIT_MMIO bubbling up to userspace: (1) Guest accesses gpa X without a memory slot. The gfn is cached in struct kvm_vcpu_arch (mmio_gfn). On Intel EPT-enabled hosts, KVM sets the SPTE write-execute-noread so that future access

[PATCH 1/2] KVM: fix cache stale memslot info with correct mmio generation number

2014-08-11 Thread Xiao Guangrong
We may cache the current mmio generation number and stale memslot info into spte, like this scenario: CPU 0 CPU 1 page fault:add a new memslot read memslot and detecting its a mmio access

x86: vmalloc and THP

2014-08-11 Thread Oren Twaig
Hello, Does memory allocated using vmalloc() will be mapped using huge pages either directly or later by THP ? If not, is there any fast way to change this behavior ? Maybe by changing the granularity/alignment of such allocations to allow such mapping ? Thanks, Oren Twaig. --- This email

linux-next: Tree for Aug 12

2014-08-11 Thread Stephen Rothwell
Hi all, Please do not add code intended for v3.18 until after v3.17-rc1 is released. Changes since 20140811: The pm tree lost its build failure. The mmc-uh tree lost its build failure. Non-merge commits (relative to Linus' tree): 1616 1064 files changed, 35102 insertions(+), 16638 dele

[BUG] perf top: -z option does not work

2014-08-11 Thread Stephane Eranian
Hi, My understanding is that the -z option is used to only print a profile since the last refresh. So if I have a refresh of 5s, then it prints the profile based on the samples accumulated over the last 5 seconds. The Z mode used to be available interactively. Nowadays, it seems only avail from

Re: [PATCH v4 1/5] cpufreq: Don't wait for CPU to going offline to restart governor

2014-08-11 Thread Viresh Kumar
On 12 August 2014 03:41, Saravana Kannan wrote: > Suggestions welcome. I think the current one explains the main point of this > change. Atleast we need a s/going/go >> There is a down_read() present early in this routine and we better update >> this >> at that place only. > > > I would rathe

Re: [PATCH] staging: rtl8192u/ieee80211: Fix sparse ieee80211_debug_init/_exit not declared warning

2014-08-11 Thread Jeremiah Mahler
On Mon, Aug 11, 2014 at 10:11:13PM -0500, Joel Pelaez Jorge wrote: > El 11/08/14 a las 17:32, Greg Kroah-Hartman escibió: > > On Mon, Aug 11, 2014 at 03:15:54PM -0700, Jeremiah Mahler wrote: > >> A sparse warning is generated about 'ieee80211_debug_init' and > >> 'ieee80211_debug_exit' not being de

[GIT] Networking

2014-08-11 Thread David Miller
Several networking final fixes and tidies for the merge window: 1) Changes during the merge window unintentionally took away the ability to build bluetooth modular, fix from Geert Uytterhoeven. 2) Several phy_node reference count bug fixes from Uwe Kleine-König. 3) Fix ucc_geth build failure

[GIT] Sparc

2014-08-11 Thread David Miller
Please pull to get these Sparc bug fixes, one of which was preventing successful SMP boots with mainline. The following changes since commit 85417aef44fc58b08773117ceb1bc6ca5684e973: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/ide (2014-08-06 09:42:33 -0700) are available in th

Re: [PATCH tip/core/rcu 1/2] rcu: Parallelize and economize NOCB kthread wakeups

2014-08-11 Thread Paul E. McKenney
On Mon, Aug 11, 2014 at 01:34:21PM -0700, Paul E. McKenney wrote: > On Tue, Aug 12, 2014 at 01:48:45AM +0530, Amit Shah wrote: > > On (Mon) 11 Aug 2014 [13:11:02], Paul E. McKenney wrote: > > > On Tue, Aug 12, 2014 at 01:11:26AM +0530, Amit Shah wrote: > > > > On (Mon) 11 Aug 2014 [09:28:07], Paul

Re: [sched] 143e1e28cb4: +17.9% aim7.jobs-per-min, -9.7% hackbench.throughput

2014-08-11 Thread Preeti U Murthy
On 08/11/2014 07:03 PM, Peter Zijlstra wrote: > > Now I think I see why this is; we've reduced load balancing frequency > significantly on this machine due to: We have also changed the value of busy_factor to 32 from 64 across all domains. This would contribute to increased frequency of load bala

Re: [PATCH v3] kprobes: arm: enable OPTPROBES for ARM 32

2014-08-11 Thread Wang Nan
On 2014/8/12 9:38, Masami Hiramatsu wrote: > (2014/08/11 22:48), Will Deacon wrote: >> Hello, >> >> On Sat, Aug 09, 2014 at 03:12:19AM +0100, Wang Nan wrote: >>> This patch introduce kprobeopt for ARM 32. >>> >>> Limitations: >>> - Currently only kernel compiled with ARM ISA is supported. >>> >>>

Re: mm: BUG in unmap_page_range

2014-08-11 Thread Sasha Levin
On 08/05/2014 09:04 PM, Sasha Levin wrote: > Thanks Hugh, Mel. I've added both patches to my local tree and will update > tomorrow > with the weather. > > Also: > > On 08/05/2014 08:42 PM, Hugh Dickins wrote: >> One thing I did wonder, though: at first I was reassured by the >> VM_BUG_ON(!pte_pr

Re: [PATCH] arch: Kconfig: Let all little endian architectures define CPU_LITTLE_ENDIAN explicitly

2014-08-11 Thread Chen Gang
On 8/12/14 6:53, Russell King - ARM Linux wrote: > On Tue, Aug 12, 2014 at 05:18:44AM +0800, Chen Gang wrote: >> x86, ia64, and arm(64) are little endian, and also another architectures >> may be little endian (mips, sh, powerpc, and m32r) which already marked >> CPU_LITTLE_ENDIAN explicitly. >

Re: [PATCH] Input: serio: make HYPERV_KEYBOARD depend on SERIO_I8042=y

2014-08-11 Thread Greg KH
On Mon, Aug 11, 2014 at 08:30:40PM -0700, Dexuan Cui wrote: > hyperv_keyboard invokes serio_interrupt(), which needs a valid serio driver > like atkbd.c. > atkbd.c depends on libps2.c because it invokes ps2_command(). > libps2.c depends on i8042.c because it invokes i8042_check_port_owner(). > As a

[PATCH] media: fix au0828 dvb suspend/resume to call dvb_frontend_suspend/resume

2014-08-11 Thread Shuah Khan
au0828 doesn't resume correctly and TV tuning fails with xc_set_signal_source(0) failed message. Change au0828 dvb suspend and resume interfaces to suspend and resume frontend during suspend and resume respectively. au0828_dvb_suspend() calls dvb_frontend_suspend() which in turn invokes tuner ops s

Re: [PATCH] staging: rtl8192u/ieee80211: Fix sparse ieee80211_debug_init/_exit not declared warning

2014-08-11 Thread Joel Pelaez Jorge
El 11/08/14 a las 17:32, Greg Kroah-Hartman escibió: > On Mon, Aug 11, 2014 at 03:15:54PM -0700, Jeremiah Mahler wrote: >> A sparse warning is generated about 'ieee80211_debug_init' and >> 'ieee80211_debug_exit' not being declared. >> >> drivers/staging/rtl8192u/ieee80211/ieee80211_module.c:275:1

[PATCH V2] ACPI/OSL: Replace synchronize_rcu() with call_rcu() in the acpi_os_map_cleanup() to avoid dead lock with cpu hot plug

2014-08-11 Thread Lan Tianyu
When cpu hotplug and evaluating ACPI method happen at the same time, there is a dead lock between ACPICA namespace lock and cpu hotplug lock. During cpu hotplug, cpu core will call acpi_cpu_soft_notify() to notify Linux ACPI under cpu hotplug lock. acpi_cpu_soft_notify() calls acpi_bus_get_device(

Re: [nfs] BUG: sleeping function called from invalid context at include/linux/wait.h:976

2014-08-11 Thread Weston Andros Adamson
Hi, I posted a 5 patch series to the nfs list last week with the cover letter titled "nfs_page_group_lock cleanup”, but neglected to mail the wider list. The might_sleep check was being hit because nfs_page_group_lock with wait=False called wait_on_bit_lock (which might sleep). I also had to be

Re: [PATCH] xen_hvc: no reason to write the type key on xenstore

2014-08-11 Thread Greg KH
On Mon, Aug 11, 2014 at 03:32:48PM +0100, Stefano Stabellini wrote: > CC'ing tty maintainers. Why? Is that how you submit a patch to be included to the kernel tree? (hint, the answer is no, and also you should cc: the linux-serial list...) greg k-h -- To unsubscribe from this list: send the line

[PATCH] of: Deep-copy names of platform devices

2014-08-11 Thread Stepan Moskovchenko
When we parse the device tree and allocate platform devices, the 'name' of the newly-created platform_device is set to point to the 'name' field of the 'struct device' embedded within the platform_device. This is dangerous, because the name of the 'struct device' is dynamically allocated. Drivers m

Re: [PATCH] staging/lustre: use rcu_dereference to access rcu protected current->real_parent field

2014-08-11 Thread Greg Kroah-Hartman
On Mon, Aug 11, 2014 at 09:44:47PM -0400, Oleg Drokin wrote: > > On Aug 9, 2014, at 11:47 AM, Greg Kroah-Hartman wrote: > > > On Sat, Aug 09, 2014 at 10:34:36AM -0400, Oleg Drokin wrote: > >> > >>> Because maybe these stats preceed the introduction of perf and other > >>> tracing/debug tools? I

Re: [RESEND][PATCH 07/10][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-11 Thread Martin K. Petersen
> "Sreekanth" == Sreekanth Reddy writes: Sreekanth> Please let me known any further changes are required so that Sreekanth> I can send this patch once again with git send-email. I'm OK with the latest iteration. -- Martin K. Petersen Oracle Linux Engineering -- To unsubscribe from thi

[PATCH] Input: serio: make HYPERV_KEYBOARD depend on SERIO_I8042=y

2014-08-11 Thread Dexuan Cui
hyperv_keyboard invokes serio_interrupt(), which needs a valid serio driver like atkbd.c. atkbd.c depends on libps2.c because it invokes ps2_command(). libps2.c depends on i8042.c because it invokes i8042_check_port_owner(). As a result, hyperv_keyboard actually depends on i8042.c. For a Generatio

Re: [PATCH 1/3] Adding Skyworks SKY81452 MFD driver

2014-08-11 Thread Gyungoh Yoo
Hello, Can somebody please review if the code has anything to improve? Thanks. On Fri, Aug 08, 2014 at 06:08:19PM +0900, Gyungoh Yoo wrote: > Signed-off-by: Gyungoh Yoo > --- > Documentation/devicetree/bindings/mfd/sky81452.txt | 24 + > .../devicetree/bindings/vendor-prefixes.txt

[PATCH] staging/lustre/lnet: Fix potential uninitialized variable warning

2014-08-11 Thread Oleg Drokin
Greg reports that with one of the patches in his queue there's now an unused variable warning in lnet_parse_ip2nets for ipaddrs variable. Apparently the warning is a false positive as in all cases where lnet_ipaddr_enumerate can return without setting ipaddrs to something a negative return value is

Re: [PATCH v2 08/13] staging: lustre: fix multi line strings

2014-08-11 Thread Drokin, Oleg
On Aug 11, 2014, at 2:27 PM, Srikrishan Malik wrote: > Fixes the following checkpatch warning: > > WARNING: quoted string split across lines > diff --git a/drivers/staging/lustre/lustre/mdc/mdc_request.c > b/drivers/staging/lustre/lustre/mdc/mdc_request.c > index 57d903156917..6c691a4763b5 100

[GIT] seccomp fix for 3.17

2014-08-11 Thread James Morris
Please pull this fix for the seccomp code. The following changes since commit c8d6637d0497d62093dbba0694c7b3a80b79bfe1: Merge tag 'modules-next-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux (2014-08-10 21:31:58 -0700) are available in the git repository at: git:/

color box, display box, corrugated box, color card, blister card, color sleeve, hang tag, label

2014-08-11 Thread Jinghao Printing - CHINA
Hi, this is David Wu from Shanghai, China. We are a printing company, we can print color box, corrugated box, label, hang tag etc. Please let me know if you need these. I will send you the website then. Best regards, David Wu -- To unsubscribe from this list: send the line "unsubscribe linux-kern

[PATCH 3/3] staging: comedi: addi_apci_1564: tidy register map defines

2014-08-11 Thread Chase Southwood
This commit performs a final tidying of the register map defines, bringing them to a state that is ready for merging into addi_apci_1564.c when the time comes. Actions performed include: *Removes the APCI1564_ADDRESS_RANGE macro, which is no longer needed/used. *Renames the APCI1564_DIGITAL_OP_{V

[PATCH 2/3] staging: comedi: addi_apci_1564: Remove in-driver watchdog support code

2014-08-11 Thread Chase Southwood
Starting with commit 1496e5961113 ("staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice"), this driver uses the addi_watchdog module to provide support for the watchdog subdevice. Any remaining watchdog code in-driver can and should be removed. This will also make

[PATCH 1/3] staging: comedi: addi_apci_1564: remove apci1564_do_config

2014-08-11 Thread Chase Southwood
The DO config function served the purpose of configuring the diagnostic interrupts for the board. As the driver currently does not support diagnostic interrupts, the digital output subdevice does not need an insn_config operation and this function can be safely removed. Signed-off-by: Chase South

Re: [PATCH] drivers: staging: lustre: fix sparse warnings / delete unused function

2014-08-11 Thread Oleg Drokin
On Aug 11, 2014, at 9:58 PM, Oleg Drokin wrote: > > On Aug 10, 2014, at 12:34 AM, Greg KH wrote: >> Very odd, with this patch applied, I now get a build warning: >> >> drivers/staging/lustre/lnet/lnet/config.c: In function ‘lnet_parse_ip2nets’: >> drivers/staging/lustre/lnet/lnet/config.c:1193:

[PATCHv2 3/5] rtc: s3c: Add s3c_rtc_data structure to use variant data instead of s3c_cpu_type

2014-08-11 Thread y
From: Chanwoo Choi This patch add s3c_rtc_data structure to variant data according to SoC type. The s3c_rtc_data structure includes some functions to control RTC operation and specific data dependent on SoC type. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/rtc/rtc-s3c.c |

[PATCHv2 2/5] rtc: s3c: Remove warning message when checking coding style with checkpatch script

2014-08-11 Thread y
From: Chanwoo Choi This patch remove warning message when checking codeing style with checkpatch script and reduce un-necessary i2c read operation on s3c_rtc_enable. WARNING: line over 80 characters #406: FILE: drivers/rtc/rtc-s3c.c:406: + if ((readw(info->b

[PATCH 0/3] staging: comedi: addi_apci_1564: miscellaneous cleanups

2014-08-11 Thread Chase Southwood
This patchset removes an uncorrect and unneeded insn_config operation, strips out remaining in-driver watchdog subdevice code, and cleans up the driver's register map defines. Chase Southwood (3): staging: comedi: addi_apci_1564: remove apci1564_do_config staging: comedi: addi_apci_1564: Remov

[PATCHv2 1/5] rtc: s3c: Define s3c_rtc structure to remove global variables.

2014-08-11 Thread y
From: Chanwoo Choi This patch define s3c_rtc structure including necessary variables for S3C RTC device instead of global variables. This patch improves the readability by removing global variables. Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- drivers/rtc/rtc-s3c.c | 448 ++

[PATCHv2 4/5] rtc: s3c: Add support for RTC of Exynos3250 SoC

2014-08-11 Thread y
From: Chanwoo Choi This patch add support for RTC of Exynos3250 SoC. The Exynos3250 needs source clock(32.768KHz) for RTC block. If source clock of RTC is registerd on clock list of common clk framework, Exynos RTC drvier have to control this clock. Clock list for s3c-rtc device: - rtc : CLK_RTC

[PATCHv2 0/5] rtc: s3c: Refactoring s3c-rtc driver and support Exynos3250 RTC

2014-08-11 Thread y
From: Chanwoo Choi This patchset clean up codes to improve readability as following and support the RTC of Exynos3250 SoC. - Remove global variables and then use new s3c_rtc structure - Remove warn message with checking checkpatch script - Use variant structure according to SoC type instead of le

[PATCHv2 5/5] ARM: dts: Fix wrong compatible string of Exynos3250 RTC dt node

2014-08-11 Thread y
From: Chanwoo Choi This patch fix wrong compatible string of Exynos3250 RTC (Real-Time Clock) dt node. The RTC of Exynos3250 must need additional source clock (XrtcXTI). Signed-off-by: Chanwoo Choi Acked-by: Kyungmin Park --- arch/arm/boot/dts/exynos3250.dtsi | 2 +- 1 file changed, 1 inserti

Re: [PATCH] drivers: staging: lustre: fix sparse warnings / delete unused function

2014-08-11 Thread Drokin, Oleg
On Aug 10, 2014, at 12:34 AM, Greg KH wrote: > Very odd, with this patch applied, I now get a build warning: > > drivers/staging/lustre/lnet/lnet/config.c: In function ‘lnet_parse_ip2nets’: > drivers/staging/lustre/lnet/lnet/config.c:1193:2: warning: ‘ipaddrs’ may be > used uninitialized in this

  1   2   3   4   5   6   7   >