Re: amba-pl08x and 'get_signal' namespace collision/build error

2013-07-04 Thread Vinod Koul
On Wed, Jul 03, 2013 at 11:27:12AM -0700, Olof Johansson wrote: > This has now hit the mainline kernel, and several defconfigs (nhk815, > lpc32xx and the spear ones) are broken there. > > Vinod, when are you sending up your pull request with the fix? It'd be > good to see it go in soon. It should

Re: [PATCH] perf: fix interrupt handler timing harness

2013-07-04 Thread Ingo Molnar
* Stephane Eranian wrote: > This patch fixes a serious bug in: > > commit 14c63f17b1fde5a575a28e96547a22b451c71fb5 > Author: Dave Hansen > Date: Fri Jun 21 08:51:36 2013 -0700 > > perf: Drop sample rate when sampling is too slow > > > There was an misunderstanding on the API of th

[tip:perf/urgent] perf/x86/amd: Do not print an error when the device is not present

2013-07-04 Thread tip-bot for Peter Zijlstra
Commit-ID: 100ac5331519866afa9b000b10642b00cb6d03dd Gitweb: http://git.kernel.org/tip/100ac5331519866afa9b000b10642b00cb6d03dd Author: Peter Zijlstra AuthorDate: Wed, 3 Jul 2013 09:55:42 +0200 Committer: Ingo Molnar CommitDate: Fri, 5 Jul 2013 08:27:15 +0200 perf/x86/amd: Do not print

Re: scheduling while atomic & hang.

2013-07-04 Thread Ingo Molnar
* H. Peter Anvin wrote: > On 07/03/2013 07:49 PM, Linus Torvalds wrote: > >> [] __schedule+0x94f/0x9c0 > >> [] schedule_user+0x2e/0x70 > >> [] retint_careful+0x12/0x2e > > This call trace does indeed indicate that we took a hardware > interrupt which caused a reschedule. It doesn't necessarily

[tip:x86/urgent] x86/tracing: Add irq_enter/exit() in smp_trace_reschedule_interrupt()

2013-07-04 Thread tip-bot for Seiji Aguchi
Commit-ID: 4787c368a9bca39e173d702389ee2eaf0520abc1 Gitweb: http://git.kernel.org/tip/4787c368a9bca39e173d702389ee2eaf0520abc1 Author: Seiji Aguchi AuthorDate: Fri, 28 Jun 2013 14:02:11 -0400 Committer: Ingo Molnar CommitDate: Tue, 2 Jul 2013 09:52:31 +0200 x86/tracing: Add irq_enter/e

Re: [PATCH 3/3] clocksource: fix can not set tsc as clocksource bug

2013-07-04 Thread Alex Shi
On 07/05/2013 01:41 PM, Thomas Gleixner wrote: > > >> > Unlikely, but if we have 3 watched clocksources which have the HRES > > >> > bit set, you'd call 3 times clocksource_select(). >>> > > Also the reselect must be called outside the watchdog_lock region. >> > >> > Sorry for stupid, the

Re: [PATCH v5 5/7] thermal:boost: Automatic enable/disable of BOOST feature

2013-07-04 Thread Lukasz Majewski
On Fri, 05 Jul 2013 05:31:42 +, R, Durgadoss wrote: Hi Durga, > Hi Lukasz, > > > -Original Message- > > From: Lukasz Majewski [mailto:l.majew...@majess.pl] > > Sent: Friday, July 05, 2013 2:28 AM > > To: R, Durgadoss > > Cc: Lukasz Majewski; Viresh Kumar; Rafael J. Wysocki; Zhang, Rui

[GIT PULL] irqdomain refactoring for v3.11

2013-07-04 Thread Grant Likely
Hi Linus, Please pull the following irqdomain tree. The following changes since commit 317ddd256b9c24b0d78fa8018f80f1e495481a10: Linux 3.10-rc5 (2013-06-08 17:41:04 -0700) are available in the git repository at: git://git.secretlab.ca/git/linux tags/irqdomain-for-linus for you to fetch ch

Re: [PATCH] clocksource/cadence_ttc: Reuse clocksource as sched_clock

2013-07-04 Thread Thomas Gleixner
On Wed, 3 Jul 2013, Soren Brinkmann wrote: > Reuse the TTC clocksource timer as sched clock, too. Since only a single > sched clock is supported in Linux, this feature optional and can be > selected through Kconfig. This changelog doesn't make sense. There can be only one active sched_clock, but

[PATCH V2 1/2] DMA: Freescale: Add new 8-channel DMA engine device tree nodes

2013-07-04 Thread hongbo.zhang
From: Hongbo Zhang Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch add the device tree nodes for them. Signed-off-by: Hongbo Zhang --- arch/powerpc/boot/dts/fsl/elo3-dma-0.dtsi | 90 +++ arch/powerpc/boot/dts/fsl/elo3-dma-1.dtsi | 90 ++

[PATCH V2 0/2] DMA: Freescale: Add support for 8-channel DMA engine

2013-07-04 Thread hongbo.zhang
From: Hongbo Zhang Hi Vinod, Dan, Leo and Scott, please have a look at these V2 patches. Freescale QorIQ T4 and B4 introduce new 8-channel DMA engines, this patch set adds support this DMA engine. V1->v2 changes: - removed the codes handling the register dgsr1, since it isn't used corrently - r

Re: [URGENT rfc patch 0/3] tsc clocksource bug fix

2013-07-04 Thread Alex Shi
On 07/05/2013 01:58 PM, Thomas Gleixner wrote: >> > >> > Ingo had merged your branch into sched/core. :) >> > >> > commit f9bed7021710a3e45c331f7d7781de914cc1b939 >> > Merge: 7e76057 67dd331 >> > Author: Ingo Molnar >> > Date: Wed May 29 11:21:59 2013 +0200 >> > >> > Merge branch 'timers/

[PATCH V2 2/2] DMA: Freescale: update driver to support 8-channel DMA engine

2013-07-04 Thread hongbo.zhang
From: Hongbo Zhang This patch adds support to 8-channel DMA engine, thus the driver works for both the new 8-channel and the legacy 4-channel DMA engines. Signed-off-by: Hongbo Zhang --- drivers/dma/fsldma.c |5 - drivers/dma/fsldma.h |2 +- 2 files changed, 5 insertions(+), 2 dele

Re: [GIT PULL] perf changes for v3.11

2013-07-04 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Tue, Jul 02, 2013 at 05:50:29PM -0700, Linus Torvalds wrote: > > On Mon, Jul 1, 2013 at 2:03 AM, Ingo Molnar wrote: > > > > > >git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > > > perf-core-for-linus > > > > > > Kernel improvements: > > > > > > * AM

Re: [PATCH 3/5] drivers/misc: rf/ad9361: AD9361 device driver for Radio phy

2013-07-04 Thread pankaj chauhan
On 7/4/2013 1:06 AM, Mark Brown wrote: > On Thu, Jun 20, 2013 at 04:05:20PM +0530, pankaj chauhan wrote: > >> Yes modifying registers from user space is part of the patch set and >> register read/write interface is aimed only for two purposes: >> >> 1. Debugging : taking register dumps etc. > > U

Re: [GIT PULL] core/mutexes changes for v3.11: W/W mutex support

2013-07-04 Thread Ingo Molnar
* Maarten Lankhorst wrote: > Hey, > > Op 03-07-13 02:54, Linus Torvalds schreef: > > On Mon, Jul 1, 2013 at 1:22 AM, Ingo Molnar wrote: > >> Please pull the latest core-mutexes-for-linus git tree from: > >> > >>git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > >> core-mutexes-fo

Re: [PATCH] sched: smart wake-affine

2013-07-04 Thread Michael Wang
On 07/05/2013 01:41 PM, Mike Galbraith wrote: [snip] >> >> Have you tried to use more loops and groups? will that show even bigger >> regressions? > > Nope, less on either side. > > hackbench -g 100 -l 1000 >avg > 3.10.0-regr

[patch] rapidio: use after free in unregister function

2013-07-04 Thread Dan Carpenter
We need to use the _safe version of list_for_each_entry() because we are freeing the iterator. Signed-off-by: Dan Carpenter diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c index f4f30af..84ac64a 100644 --- a/drivers/rapidio/rio.c +++ b/drivers/rapidio/rio.c @@ -1701,7 +1701,7 @@ EXPOR

Re: [URGENT rfc patch 0/3] tsc clocksource bug fix

2013-07-04 Thread Thomas Gleixner
On Fri, 5 Jul 2013, Alex Shi wrote: > On 07/05/2013 04:27 AM, Thomas Gleixner wrote: > We find some benchmarks drop a lot on tip/sched/core on many Intel boxes, > > And that branch does NOT have that commit included. So how can you see > > a regression on a branch caused by a commit NOT includ

Re: Intel_pstate: One Core always 100% C0 state and never scale down

2013-07-04 Thread Light
On 07/04/2013 11:43 AM, Light wrote: I am using a laptop with Intel Ivy bridge core i7 3610QM. I updated my kernel to 3.10 and started to use intel_pstate as scaling driver: #cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver intel_pstate However I find that one of my four cores is always

Re: [PATCH v2.1 6/8] PCI: acpiphp: workaround for Thunderbolt on Acer Aspire S5

2013-07-04 Thread Mika Westerberg
On Fri, Jul 05, 2013 at 01:48:01AM +0200, Rafael J. Wysocki wrote: > This is fine by me and same for the other patches in the series. > > Acked-by: Rafael J. Wysocki Thanks! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kern

Re: [PATCH] sched: smart wake-affine

2013-07-04 Thread Mike Galbraith
On Fri, 2013-07-05 at 12:33 +0800, Michael Wang wrote: > On 07/05/2013 12:08 PM, Mike Galbraith wrote: > [snip] > >> > >> Wow, I used to think such issue is very hard to be tracked by > >> benchmarks, is this regression stable? > > > > Yeah, seems to be. I was curious as to why you saw an improve

Re: [PATCH 3/3] clocksource: fix can not set tsc as clocksource bug

2013-07-04 Thread Thomas Gleixner
On Fri, 5 Jul 2013, Alex Shi wrote: > On 07/04/2013 09:04 PM, Thomas Gleixner wrote: > >>> > > static int clocksource_watchdog_kthread(void *data) > >>> > > { > >>> > > struct clocksource *cs, *tmp; > >>> > > @@ -412,11 +415,14 @@ static int clocksource_watchdog_kthread(void > >>> > > *dat

Re: [PATCH v2 4/7] perf, x86: Save/resotre LBR stack during context switch

2013-07-04 Thread Yan, Zheng
On 07/04/2013 08:45 PM, Peter Zijlstra wrote: > On Mon, Jul 01, 2013 at 03:23:04PM +0800, Yan, Zheng wrote: > >> @@ -2488,25 +2508,31 @@ static void perf_branch_stack_sched_in(struct >> task_struct *prev, >> >> list_for_each_entry_rcu(pmu, &pmus, entry) { >> cpuctx = this_cpu_

RE: [PATCH v5 5/7] thermal:boost: Automatic enable/disable of BOOST feature

2013-07-04 Thread R, Durgadoss
Hi Lukasz, > -Original Message- > From: Lukasz Majewski [mailto:l.majew...@majess.pl] > Sent: Friday, July 05, 2013 2:28 AM > To: R, Durgadoss > Cc: Lukasz Majewski; Viresh Kumar; Rafael J. Wysocki; Zhang, Rui; Eduardo > Valentin; cpuf...@vger.kernel.org; Linux PM list; Jonghwa Lee; linux-

[PATCH] f2fs: fix readdir incorrectness

2013-07-04 Thread Jaegeuk Kim
In the previous Al Viro's readdir patch set, there occurs a bug when running xfstest: 006 as follows. [Error output] alpha size = 4, name length = 6, total files = 4096, nproc=1 1023 files created rm: cannot remove `/mnt/f2fs/permname.15150/a': Directory not empty [Correct output] alpha size = 4,

[PATCH] f2fs: recover date requested by fdatasync

2013-07-04 Thread Jaegeuk Kim
In order to support SQLite that uses fdatasync instead of fsync, we should guarantee the data requested by fdatasync can be recovered after sudden-power- off. So, let's remove the fdatasync condition in f2fs_sync_file. Otherwise, we can restore the data after sudden-power-off due to nonexistence o

linux-next: Tree for Jul 5

2013-07-04 Thread Stephen Rothwell
Hi all, Changes since 20130704: The pm tree gained a build failure, so I used the version from next-20130704. I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-nex

Re: [PATCH] btusb: fix overflow return values

2013-07-04 Thread Adam Lee
On Fri, Jul 05, 2013 at 10:59:47AM +0800, Adam Lee wrote: > On Fri, Jul 05, 2013 at 10:37:07AM +0800, Yang Bai wrote: > > The return value of btusb_setup_intel is compared with 0. Code as: > > > > drivers/bluetooth/btusb.c: > > static int btusb_probe(struct usb_interface *intf, > > const struct us

Re: [PATCH] sched: smart wake-affine

2013-07-04 Thread Michael Wang
On 07/05/2013 12:08 PM, Mike Galbraith wrote: [snip] >> >> Wow, I used to think such issue is very hard to be tracked by >> benchmarks, is this regression stable? > > Yeah, seems to be. I was curious as to why you saw an improvement to > hackbench, didn't seem there should be any, so though I'd t

KVM VM shutdown triggers BUG from network bridge code in 3.9.9

2013-07-04 Thread Robert Hancock
I've run into a problem after updating to Fedora 19 where if I shut down a Windows 7 KVM virtual machine, the machine hits a kernel panic. There are a few reports of this on 3.9.8 and 3.9.9 kernels here: https://bugzilla.redhat.com/show_bug.cgi?id=981437 The panic is "kernel BUG at kernel/time

Re: [PATCH] sched: smart wake-affine

2013-07-04 Thread Mike Galbraith
On Fri, 2013-07-05 at 10:47 +0800, Michael Wang wrote: > On 07/04/2013 06:33 PM, Mike Galbraith wrote: > [snip] > >> Well, seems like we still have many follow-up research works after fix > >> the issue ;-) > > > > Yeah. Like how to how to exterminate the plus sign, they munch cache > > lines, a

Re: tuntap regression in v3.9.8 and v3.10

2013-07-04 Thread Jason Wang
On 07/03/2013 02:11 PM, Thomas Zeitlhofer wrote: > Hello Jason, > > On Wed, Jul 03, 2013 at 10:44:32AM +0800, Jason Wang wrote: >> On 07/03/2013 06:06 AM, Thomas Zeitlhofer wrote: >>> On Tue, Jul 02, 2013 at 06:01:12PM -0300, Fabio Estevam wrote: On Tue, Jul 2, 2013 at 4:59 PM, Thomas Zeitlhof

[PATCH v2] irqchip: vt8500: Staticize local symbols

2013-07-04 Thread Axel Lin
This driver is converted to use IRQCHIP_DECLARE and irqchip_init. vt8500_handle_irq() and vt8500_irq_init() are only referenced in this file, so make them static. Signed-off-by: Axel Lin Acked-by: Tony Prisk --- drivers/irqchip/irq-vt8500.c | 6 -- 1 file changed, 4 insertions(+), 2 deletio

Re: [WiP]: aio support for migrating pages (Re: [PATCH V2 1/2] mm: hotplug: implement non-movable version of get_user_pages() called get_user_pages_non_movable())

2013-07-04 Thread Gu Zheng
On 07/04/2013 07:41 PM, Benjamin LaHaise wrote: > On Thu, Jul 04, 2013 at 02:51:18PM +0800, Gu Zheng wrote: >> Hi Ben, >> When I test your patch on kernel 3.10, the kernel panic when aio job >> complete or exit, exactly in aio_free_ring(), the following is a part of >> dmesg. > > What is y

Re: [PATCH v2 3/7] perf, x86: Introduce x86 special perf event context

2013-07-04 Thread Yan, Zheng
On 07/04/2013 08:41 PM, Peter Zijlstra wrote: > On Mon, Jul 01, 2013 at 03:23:03PM +0800, Yan, Zheng wrote: >> From: "Yan, Zheng" >> >> The x86 special perf event context is named x86_perf_event_context, >> We can enlarge it later to store PMU special data. > > This changelog is completely inadeq

Re: [PATCH] btusb: fix overflow return values

2013-07-04 Thread Adam Lee
On Fri, Jul 05, 2013 at 10:37:07AM +0800, Yang Bai wrote: > The return value of btusb_setup_intel is compared with 0. Code as: > > drivers/bluetooth/btusb.c: > static int btusb_probe(struct usb_interface *intf, > const struct usb_device_id *id) > if (id->driver_info & BTUSB_INTEL) > hdev->setup =

Re: Rebased for_next branch in my linux-fs git tree

2013-07-04 Thread Stephen Rothwell
On Fri, 5 Jul 2013 10:04:37 +1000 Stephen Rothwell wrote: > > On Thu, 4 Jul 2013 19:43:04 +0200 Jan Kara wrote: > > > > I'm just writing this to let you know that I had to rebase for_next > ^^^ > wrong choice of work, you "chose" to rebase. :-)

Re: [RFC][PATCH 3/4] tracing/kprobes: Fail to unregister if probe event files are open

2013-07-04 Thread Masami Hiramatsu
(2013/07/05 3:48), Oleg Nesterov wrote: > On 07/04, Masami Hiramatsu wrote: >> >> (2013/07/04 12:33), Steven Rostedt wrote: >>> + /* Will fail if probe is being used by ftrace or perf */ >>> + if (unregister_probe_event(tp)) >>> + return -EBUSY; >>> + >>> __unregister_trace_probe(

Re: [PATCH] btusb: fix overflow return values

2013-07-04 Thread Yang Bai
Resend without HTML format. The return value of btusb_setup_intel is compared with 0. Code as: drivers/bluetooth/btusb.c: static int btusb_probe(struct usb_interface *intf, const struct usb_device_id *id) { if (id->driver_info & BTUSB_INTEL) hdev->setup = btusb_setup_intel; } net/bluetooth/hci

Re: [PATCH 3/3] clocksource: fix can not set tsc as clocksource bug

2013-07-04 Thread Alex Shi
On 07/04/2013 09:04 PM, Thomas Gleixner wrote: >>> > > static int clocksource_watchdog_kthread(void *data) >>> > > { >>> > > struct clocksource *cs, *tmp; >>> > > @@ -412,11 +415,14 @@ static int clocksource_watchdog_kthread(void >>> > > *data) >>> > > >>> > > mutex_lock(&clock

Re: [PATCH] sched: smart wake-affine

2013-07-04 Thread Michael Wang
On 07/04/2013 06:33 PM, Mike Galbraith wrote: [snip] >> Well, seems like we still have many follow-up research works after fix >> the issue ;-) > > Yeah. Like how to how to exterminate the plus sign, they munch cache > lines, and have a general tendency to negatively impact benchmarks. > > Q6600

Re: [PATCH 0/7] Minor perf completion improvements

2013-07-04 Thread Namhyung Kim
On Thu, 4 Jul 2013 18:11:24 +0530, Ramkumar Ramachandra wrote: > Hi, > > So I just started using perf, and noticed the accompanying completion > script. Having dabbled with git.git's completion script a bit, I > thought I should contribute what I learnt from it. > > [6/7] is the meat of the series

Re: [-stable 3.8.1 performance regression] madvise POSIX_FADV_DONTNEED

2013-07-04 Thread Mathieu Desnoyers
* Dave Chinner (da...@fromorbit.com) wrote: > On Wed, Jul 03, 2013 at 08:31:03PM -0400, Mathieu Desnoyers wrote: > > * Dave Chinner (da...@fromorbit.com) wrote: > > > On Wed, Jul 03, 2013 at 10:53:08AM -0400, Jeff Moyer wrote: > > > > Mel Gorman writes: > > > > > > > > >> > I just tried replacing

Re: [PATCH 2/2] perf: squelch warnings from perl.h to compile-pass

2013-07-04 Thread Namhyung Kim
Hi Ramkumar, On Thu, 4 Jul 2013 19:10:46 +0530, Ramkumar Ramachandra wrote: > Currently, a simple > > $ make > > errors out because we compile with -Werror by default, turning all > warnings into errors. Although no warnings are emitted by our code > itself, two kinds of warnings are emitted b

Re: [RFC PATCH] tracing: Atomically get refcounts of event_call and trace_array

2013-07-04 Thread Masami Hiramatsu
(2013/07/05 9:32), Oleg Nesterov wrote: > On 07/04, Masami Hiramatsu wrote: >> >> Currently ftrace_open_generic_file gets an event_file from >> inode->i_private, and then locks event_mutex and gets refcount. >> However, this can cause a race as below scenario; >> >> CPU0

Re: [RFC][PATCH] fs/buffer.c: Revoke LRU when trying to drop buffers

2013-07-04 Thread Damian Hobson-Garcia
Hi, I've come across a problem allocating chunks of CMA memory on a system under heavy disk access load which seems very similar to the situation described as the rationale for this patch: https://lkml.org/lkml/2012/9/11/335 Basically buffer headers sitting on the LRU list preventing them from b

Re: [PATCH v2 1/1] [SCSI] sg: fix race condition when do exclusive open

2013-07-04 Thread vaughan
On 06/26/2013 09:37 AM, vaughan wrote: Hi Jörn Engel, Ping. How about this one? I found my lat patch hasn't fix the issue, so I modified it a little more. Last thread is: Subject: Re: [PATCH] sg: atomize check and set sdp->exclude in sg_open Message-ID: <20130605154106.ga2...@logfs.org> Regards

Re: [-stable 3.8.1 performance regression] madvise POSIX_FADV_DONTNEED

2013-07-04 Thread Dave Chinner
On Wed, Jul 03, 2013 at 08:31:03PM -0400, Mathieu Desnoyers wrote: > * Dave Chinner (da...@fromorbit.com) wrote: > > On Wed, Jul 03, 2013 at 10:53:08AM -0400, Jeff Moyer wrote: > > > Mel Gorman writes: > > > > > > >> > I just tried replacing my sync_file_range()+fadvise() calls and > > > >> > in

Re: [PATCH] clocksource: Reselect clocksource when watchdog validated

2013-07-04 Thread Alex Shi
On 07/05/2013 04:46 AM, Thomas Gleixner wrote: > > Reported-by: Alex Shi > Cc: Hans Peter Anvin > Cc: Tim Chen > Cc: Andi Kleen > Cc: Peter Zijlstra > Cc: Ingo Molnar > Signed-off-by: Thomas Gleixner Glad to the problem fixed. Thanks! -- Thanks Alex -- To unsubscribe from this list:

Re: [PATH v4] itimers: Remove bogus NULL pointer check in sys_getitimer()

2013-07-04 Thread Chen Gang
Hello Maintainers: Is this patch under the normal work flow (or I should need a little more patience) ? Thanks. On 06/25/2013 09:16 AM, Chen Gang wrote: > People might be tricked into assuming that the return value for a > failed NULL pointer check should be -EINVAL instead of -EFAULT. > > Remo

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

2013-07-04 Thread Rafael J. Wysocki
ht_unregister' > [-Werror=implicit-function-declaration] >acpi_video_backlight_unregister(); >^ > > Caused by commit 1823b2aeccce ("drm/radeon: don't provide ACPI backlight > if firmware expects Windows 8"). Dropped that commit for now (along with the whole branch

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

2013-07-04 Thread Bo Shen
t to test this issue? Ok, I nailed it ! To be sure we are on the same base, here is what I have done: onto next-20130704: - your 5 patches: ASoC: atmel_ssc_dai: move set dma data to startup callback ASoC: atmel_ssc_dai: add error mask define ASoC: atmel-pcm-dma: move prepare for dma to dai pr

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

2013-07-04 Thread Stephen Rothwell
;t provide ACPI backlight if firmware expects Windows 8"). I have used the pm tree from next-20130704 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au pgp2OOyeph7qt.pgp Description: PGP signature

Re: [PATCH 1/3] clocksource: clean up clocksource_select

2013-07-04 Thread Alex Shi
On 07/04/2013 06:27 PM, Thomas Gleixner wrote: >> > BTW, why we allow user override a second best clocksource? I mean user >> > can override the tsc with hpet. because undetected unstable tsc? > The user can decide to override with clocksource=jiffies if he wants > for testing purposes. That wont s

Re: 'rmmod -f ipv6': BUG: unable to handle kernel paging request

2013-07-04 Thread Cong Wang
On Fri, Jul 5, 2013 at 5:29 AM, David Miller wrote: > From: Linus Lüssing > Date: Thu, 4 Jul 2013 23:04:34 +0200 > >> When trying to perform a forceful unload of an ipv6 kernel module >> on a 3.10 kernel then I'm getting a kernel panic with the attached >> trace. >> >> Is this supposed to happen

Re: [URGENT rfc patch 0/3] tsc clocksource bug fix

2013-07-04 Thread Alex Shi
On 07/05/2013 04:27 AM, Thomas Gleixner wrote: We find some benchmarks drop a lot on tip/sched/core on many Intel boxes, > And that branch does NOT have that commit included. So how can you see > a regression on a branch caused by a commit NOT included into that > branch? > > The offending co

Re: [PATCH v2] arch: asm-generic: for atomic_set_mask() 1st param, use 'unsigned int' instead of 'unsigned long'

2013-07-04 Thread Chen Gang
Hello Maintainers: Please help check this patch whether OK, when you have time. Thanks. On 06/26/2013 10:03 AM, Chen Gang wrote: > Hello Maintainers: > > Firstly thank the s390 maintainers again for their 'Acked-by' (in my > memory, s390 is the most important business mainframe machine) > > Co

Re: [PATCH v3] arch/*/asm/include/bitops.h: api issue, find_*_bit() defination are different with each other

2013-07-04 Thread Chen Gang
Hello Maintainers: Please help check this patch whether OK, when you have time. Thanks. On 06/18/2013 11:33 AM, Chen Gang wrote: > Hello related Maintainers: > > Please help check this patch when you have time. > > Thanks. > > On 06/06/2013 05:37 PM, Chen Gang wrote: >> >> For arm and m68k, t

Re: [PATCH v2] include/asm-generic/iomap.h: trivial: use '__ASM_GENERIC_IOMAP_H' instead of '__GENERIC_IO_H'

2013-07-04 Thread Chen Gang F T
Hello maintainers: Please help check this patch whether OK, when you have time. Thanks. On 06/28/2013 10:37 AM, Chen Gang wrote: > Recommend to let the header file macro mark match the file name. > > Signed-off-by: Chen Gang > --- > include/asm-generic/iomap.h |6 +++--- > 1 files changed

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

2013-07-04 Thread Chen Gang F T
On 07/05/2013 08:12 AM, Greg KH wrote: > I'm done with this thread, it's madness.. Yeah, especially discussing with 'mad users' (e.g. allmodconfig, randconfig, and me too). ;-) Thanks. -- Chen Gang -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mess

Re: [PATCH RFC 3/3] Update current cpu power when cpu freq change for exynos.

2013-07-04 Thread Kyungmin Park
+ cpufreq maintainers On Fri, Jul 5, 2013 at 12:17 AM, Konstantin Krivyakin wrote: > Signed-off-by: Konstantin Krivyakin > --- > drivers/cpufreq/exynos-cpufreq.c |2 ++ > drivers/cpufreq/exynos-cpufreq.h |1 + > drivers/cpufreq/exynos4x12-cpufreq.c | 19 ++- >

Re: [PATCH RFC 2/3] Add power consumption counter in task_struct.

2013-07-04 Thread Kyungmin Park
+ scheduler maintainers On Fri, Jul 5, 2013 at 12:17 AM, Konstantin Krivyakin wrote: > Signed-off-by: Konstantin Krivyakin > --- > include/linux/sched.h |2 ++ > include/uapi/linux/taskstats.h |2 ++ > kernel/fork.c |1 + > kernel/sched/core.c|

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

2013-07-04 Thread Chen Gang F T
On 07/05/2013 08:14 AM, Stephen Rothwell wrote: > On Fri, 05 Jul 2013 08:03:31 +0800 Chen Gang F T > wrote: >> > >> > When a module select "COMPILE_TEST=y" (e.g with allmodconfig), it has >> > right to compile under the architecture which no related HW support. >> > >> > If it can not pass compi

Re: [PATCH RFC 1/3] Add interface to receive current cpu power

2013-07-04 Thread Kyungmin Park
+ cpufreq maintainers On Fri, Jul 5, 2013 at 12:17 AM, Konstantin Krivyakin wrote: > Signed-off-by: Konstantin Krivyakin > --- > drivers/cpufreq/cpufreq.c | 17 + > include/linux/cpufreq.h |6 ++ > 2 files changed, 23 insertions(+) > > diff --git a/drivers/cpufreq/cp

Re: [PATCH RFC 0/3] Per-process power consumption measurement facility

2013-07-04 Thread Kyungmin Park
Hi Krivyakin, Please use "./scripts/get_maintainer.pl" and send proper maintainers. I added them. Thank you, Kyungmin Park On Fri, Jul 5, 2013 at 12:17 AM, Konstantin Krivyakin wrote: > This patchset adds per-process power consumption measurement facility. > Power consumption is very important

ACPI errors from TPM PPI

2013-07-04 Thread Adam Langley
All TPM PPI calls appear to result in ACPI errors for me: # cat /sys/devices/pnp0/00:09/ppi/version cat: version: Cannot allocate memory (All the nodes in that directory have the same result for read and write.) This appears to be coming from acpi_evaluate_object_typed in http://git.kernel.org/c

Re: [RFC PATCH] tracing: Atomically get refcounts of event_call and trace_array

2013-07-04 Thread Oleg Nesterov
On 07/04, Masami Hiramatsu wrote: > > Currently ftrace_open_generic_file gets an event_file from > inode->i_private, and then locks event_mutex and gets refcount. > However, this can cause a race as below scenario; > > CPU0 CPU1 > open(kprobe_events) > trace_remove_ev

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

2013-07-04 Thread Chen Gang
On 07/05/2013 08:12 AM, Greg KH wrote: > On Fri, Jul 05, 2013 at 08:03:31AM +0800, Chen Gang F T wrote: >> > On 07/04/2013 05:25 PM, Arnd Bergmann wrote: >>> > > On Thursday 04 July 2013, Chen Gang wrote: >>> > > > > >> > --patch > > >> > begin-

[PATCH] Modification of the diffconfig script to support python 3.x and 2.7

2013-07-04 Thread Mike Pagano
Modification of the diffconfig script to support both python 2.7 and 3.2. Added a small change to gracefully exit if the default config files are not present. (.config and .config.old) Diffconfig is a utility script for comparing kernel configuration files. Signed-off-by: Mike Pagano --- scri

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

2013-07-04 Thread Stephen Rothwell
Hi, On Fri, 05 Jul 2013 08:03:31 +0800 Chen Gang F T wrote: > > When a module select "COMPILE_TEST=y" (e.g with allmodconfig), it has > right to compile under the architecture which no related HW support. > > If it can not pass compiling, at least it is not the module's issue, > neither the arc

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

2013-07-04 Thread Chen Gang
On 07/04/2013 04:09 PM, Geert Uytterhoeven wrote: > On Thu, Jul 4, 2013 at 8:12 AM, Greg KH wrote: >> > On Thu, Jul 04, 2013 at 12:50:31PM +0800, Chen Gang wrote: >>> >> On 07/04/2013 12:08 PM, Greg KH wrote: >> >> >> > config COMPILE_TEST >> >> >> >bool "Compile also drivers which

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

2013-07-04 Thread Greg KH
On Fri, Jul 05, 2013 at 08:03:31AM +0800, Chen Gang F T wrote: > On 07/04/2013 05:25 PM, Arnd Bergmann wrote: > > On Thursday 04 July 2013, Chen Gang wrote: > > > >> > --patch begin-- > >> > > >> > 'asm-generic' need provide necessary config

Re: Rebased for_next branch in my linux-fs git tree

2013-07-04 Thread Stephen Rothwell
Hi Jan, On Thu, 4 Jul 2013 19:43:04 +0200 Jan Kara wrote: > > I'm just writing this to let you know that I had to rebase for_next ^^^ wrong choice of work, you "chose" to rebase. :-) > branch in my linux-fs git tree because I've messed up my tr

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

2013-07-04 Thread Chen Gang F T
On 07/04/2013 05:25 PM, Arnd Bergmann wrote: > On Thursday 04 July 2013, Chen Gang wrote: > >> > --patch begin-- >> > >> > 'asm-generic' need provide necessary configuration checking, if can't >> > pass checking, 'asm-generic' shouldn't impl

Re: [PATCH] gpio: em: Add pinctrl support

2013-07-04 Thread Simon Horman
On Thu, Jul 04, 2013 at 11:23:33PM +0200, Laurent Pinchart wrote: > Hi Simon, > > On Thursday 04 July 2013 10:16:02 Simon Horman wrote: > > On Wed, Jul 03, 2013 at 08:59:39PM +0200, Laurent Pinchart wrote: > > > On Wednesday 03 July 2013 13:14:32 Magnus Damm wrote: > > > > From: Magnus Damm > > >

Re: [PATCH 1/3] arch/um/Makefile: remove dead code

2013-07-04 Thread Al Viro
On Fri, Jul 05, 2013 at 02:33:15AM +0530, Ramkumar Ramachandra wrote: > arch/um/Makefile is included in the toplevel Makefile:495. Well before > that, it unconditionally sets $SUBARCH (in Makefile:168) as follows: > > SUBARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/x86_64/x86/ \ >

Re: [PATCH v2.1 6/8] PCI: acpiphp: workaround for Thunderbolt on Acer Aspire S5

2013-07-04 Thread Rafael J. Wysocki
On Thursday, July 04, 2013 05:29:51 PM Mika Westerberg wrote: > The acpiphp driver finds out whether the device is removable by checking > whether it has _RMV method directly behind it (and if it returns 1). > However, at least on Acer Aspire S5 with Thunderbolt host router has this > method placed

[PATCH 0/2] Add support fo BT LE Connection Parameters

2013-07-04 Thread Kyle Manna
This patch series adds support for calling setsockopt() on a l2cap socket to set connection parameters prior to calling connect(). The motivation for setting the paremeters prior to connect is to: 1) Reduce the issues caused with BT and WiFi hardware radios that share the same antenna. During t

[PATCH 1/2] bluetooth: Pass HCI LE connection parameters

2013-07-04 Thread Kyle Manna
* Move hard coded values in hci_le_create_connection() for Bluetooth LE connections to the channel defaults so that they can be overriden by a patch to follow. * Add an argument to hci_connect() so that special connections can pass additional connection parameters. Update existing function

[PATCH 2/2] bluetooth: Add l2cap sockopt for LE conn params

2013-07-04 Thread Kyle Manna
* Userspace can now specify connection parameters to override the defaults prior to connecting to the device. * The intention is that setsockopt() will be called before connect() is called in userspace apps and BlueZ libraries. * It is critical to set these parameters prior to connect() to avoi

[PATCH v2] arch/um: make it work with defconfig and x86_64

2013-07-04 Thread Ramkumar Ramachandra
arch/um/defconfig only lists one default configuration, and that applies only to the i386 architecture. Replace it with two files: i386_defconfig and x86_64_defconfig The build scripts now require two updates: 1. um's Kconfig (arch/x86/um/Kconfig) should specify an ARCH_DEFCONFIG section e

Re: [PATCH] include: net: Add parameter desc to fix waring when generating docs

2013-07-04 Thread Luciano Coelho
On Fri, 2013-07-05 at 09:59 +1200, Sam Bristow wrote: > 'make htmldocs' was generating a warning about a missing parameter description > for gfp. > > Earlier patch was missing my signed-off-by line... > Signed-off-by: Sam Bristow > --- You have a typo in the patch subject (it was not there in yo

Re: [RFC] clk: add flags to distinguish xtal clocks

2013-07-04 Thread Luciano Coelho
On Thu, 2013-07-04 at 15:25 -0700, Mike Turquette wrote: > Quoting Luciano Coelho (2013-07-04 14:05:12) > > Add a flag that indicate whether the clock is a crystal or not. Since > > no clocks set this flag right now, include an additional flag that > > indicates whether the type is set or not. If

[PATCH] perf: fix interrupt handler timing harness

2013-07-04 Thread Stephane Eranian
This patch fixes a serious bug in: commit 14c63f17b1fde5a575a28e96547a22b451c71fb5 Author: Dave Hansen Date: Fri Jun 21 08:51:36 2013 -0700 perf: Drop sample rate when sampling is too slow There was an misunderstanding on the API of the do_div() macro. It returns the remainder of th

Re: [PATCH 0/3] Get defconfig to work with ARCH=um

2013-07-04 Thread Ramkumar Ramachandra
richard -rw- weinberger wrote: >> [1/3] is somewhat unrelated to the series, and I happened to notice it >> while reading. 12783aa07 (um: Switch to large mcmodel on x86_64, >> 2012-01-24) indicates that I did something stupid, but I don't know >> what. > > Yes, you broke kernel modules on um/x84_6

[GIT PULL] devicetree for v3.11

2013-07-04 Thread Grant Likely
Hi Linus, Please pull the following branch. Description in the signed tag. g. The following changes since commit 317ddd256b9c24b0d78fa8018f80f1e495481a10: Linux 3.10-rc5 (2013-06-08 17:41:04 -0700) are available in the git repository at: git://git.secretlab.ca/git/linux tags/devicetree-fo

Re: [PATCH v5 5/7] thermal:boost: Automatic enable/disable of BOOST feature

2013-07-04 Thread Lukasz Majewski
On Thu, 4 Jul 2013 17:19:04 + "R, Durgadoss" wrote: Hi, > Hi Lukasz, > > > -Original Message- > > From: linux-pm-ow...@vger.kernel.org [mailto:linux-pm- > > ow...@vger.kernel.org] On Behalf Of Lukasz Majewski > > Sent: Thursday, July 04, 2013 2:20 PM > > To: Viresh Kumar; Rafael J. W

Re: perf/Documentation/ABI -- add some documentation for perf_event sysfs usage

2013-07-04 Thread Jiri Olsa
On Thu, Jul 04, 2013 at 11:02:53AM +0200, Peter Zijlstra wrote: > On Wed, Jul 03, 2013 at 11:14:40PM -0400, Vince Weaver wrote: > > On Wed, 3 Jul 2013, Vince Weaver wrote: > > > OK, don't I feel silly, these values were already documented in > >Documentation/ABI/testing/sysfs-bus-event_source

[PATCH] include: net: Add parameter desc to fix waring when generating docs

2013-07-04 Thread Sam Bristow
'make htmldocs' was generating a warning about a missing parameter description for gfp. Earlier patch was missing my signed-off-by line... Signed-off-by: Sam Bristow --- include/net/cfg80211.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h ind

[PATCH 1/1] Adding Manhattan Hi-Speed USB DVI Converter to sisusbvga

2013-07-04 Thread Jóhann B. Guðmundsson
Signed-off-by: Jóhann B. Guðmundsson --- drivers/usb/misc/sisusbvga/sisusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c index c21386e..de98906 100644 --- a/drivers/usb/misc/sisusbvga/sisusb.c +++ b/drivers/usb/mi

Re: [PATCH v4 04/12] auto-fs: rename d_count field of dentry to d_refcount

2013-07-04 Thread Thomas Gleixner
On Thu, 4 Jul 2013, Linus Torvalds wrote: > On Thu, Jul 4, 2013 at 7:47 AM, Waiman Long wrote: > > > > I could change patch 3 so that I keep the d_count name, but #define > > d_refcount to d_count. In that way, I can do piece-meal changes without > > breaking the build. Alternatively, I could col

Re: [PATCH v5] ARM: clocksource: add support for MOXA ART SoCs

2013-07-04 Thread Thomas Gleixner
On Thu, 4 Jul 2013, Jonas Jensen wrote: > This patch adds an clocksource driver for the main timer(s) > found on MOXA ART SoCs. > > Signed-off-by: Jonas Jensen > --- > > Notes: > Applies to next-20130703 > > Changes since v4: > > 1. add general cache for TIMER_CR register

Re: [PATCH v2 0/3] extend stmmac DT support

2013-07-04 Thread David Miller
From: Srinivas KANDAGATLA Date: Thu, 4 Jul 2013 10:34:56 +0100 > Thankyou for the comments on v1 patches. > > This patch series adds support to new gmac versions 3.6.10 and 3.710, these > versions of IP are integrated into ST STiH415/STiH416 SOCs. > This patchset also adds phy reset capablity t

Re: kernel panic in skb_copy_bits

2013-07-04 Thread David Miller
From: Eric Dumazet Date: Thu, 04 Jul 2013 03:12:10 -0700 > It looks like a typical COW issue to me. Generically speaking, if we have to mess with page protections this eliminates the performance gain from bypass/zerocopy/whatever that these virtualization layers are doing. But there may be othe

Re: 'rmmod -f ipv6': BUG: unable to handle kernel paging request

2013-07-04 Thread David Miller
From: Linus Lüssing Date: Thu, 4 Jul 2013 23:04:34 +0200 > When trying to perform a forceful unload of an ipv6 kernel module > on a 3.10 kernel then I'm getting a kernel panic with the attached > trace. > > Is this supposed to happen due to the '-f' option or is this a bug > in the ipv6 code? T

Re: [PATCH 0/3] Get defconfig to work with ARCH=um

2013-07-04 Thread richard -rw- weinberger
Hi! On Thu, Jul 4, 2013 at 11:03 PM, Ramkumar Ramachandra wrote: > does not work on 64-bit hosts, because the build-infrastructure is > hard-wired to pick a 32-bit defconfig when ARCH=um. This series fixes > the problem. > > [1/3] is somewhat unrelated to the series, and I happened to notice it

[git pull] Input updates for 3.11-rc0

2013-07-04 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive first round of updates for the input subsystem. You will get a new touchsreen driver for Cypress

Re: [PATCH] gpio: em: Add pinctrl support

2013-07-04 Thread Laurent Pinchart
Hi Simon, On Thursday 04 July 2013 10:16:02 Simon Horman wrote: > On Wed, Jul 03, 2013 at 08:59:39PM +0200, Laurent Pinchart wrote: > > On Wednesday 03 July 2013 13:14:32 Magnus Damm wrote: > > > From: Magnus Damm > > > > > > Register the GPIO pin range, and request and free GPIO pins using the

[PATCH] include: net: Add parameter desc to fix warning when generating docs

2013-07-04 Thread Sam Bristow
'make htmldocs' was generating a warning about a missing parameter description for gfp. --- include/net/cfg80211.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 26b5b69..159e070 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg802

  1   2   3   4   5   >