Re: [PATCH 05/21] iio: input: am335x_adc: Add continuous mode to adc

2013-07-17 Thread Greg KH
On Wed, Jul 17, 2013 at 06:26:34PM +0100, Zubair Lutfullah wrote: > Main patch. Adds continuous sampling support for the driver What does that mean? Why have this in the changelog at all? > > The IRQs are changed in the TSC drivers as they are shared with > the ADC IRQ lines. > > This patch is

Re: driver model, duplicate names question

2013-07-17 Thread Greg KH
On Wed, Jul 17, 2013 at 10:50:19AM -0700, Srinivas Pandruvada wrote: > On 07/16/2013 12:32 PM, Greg KH wrote: lkml rejects html email, care to resend this so that others can see it? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a mes

[PATCH 07/23] perf tools: Recognize version number for perf data file

2013-07-17 Thread Jiri Olsa
Keep the recognized data file version within 'struct perf_header'. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- tools/perf/util/he

[PATCH 02/23] perf tools: Remove data_offset seek as it's not needed

2013-07-17 Thread Jiri Olsa
Removing data_offset seek as it's not needed, because data are not read by syscall but mmaped instead. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc:

[PATCH 23/23] perf tools: Have the process properly sythesized in subsequent data files

2013-07-17 Thread Jiri Olsa
Change the target so the sythesizing routine would think it needs to synthesized whole process, because there's no exec COMM event for subsequent data files. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijls

[PATCH 03/23] perf tools: Remove attr_offset from perf_header

2013-07-17 Thread Jiri Olsa
Removing attr_offset from perf_header as it's possible to use it as a local variable. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern ---

[PATCH 06/23] perf doc: Add perf data file documentation

2013-07-17 Thread Jiri Olsa
Adding perf data file documentation. TODO: Finish the FEATURES section Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- tools/perf/Do

[PATCH 04/23] perf tools: Introduce feat_offset into perf_header

2013-07-17 Thread Jiri Olsa
Introducing feat_offset into perf_header to make the location of the features section clear. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Aher

[PATCH 17/23] perf tools: Get rid of post_processing_offset in record command

2013-07-17 Thread Jiri Olsa
No need to use post_processing_offset variable now when we know where the data starts. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern ---

[PATCH 20/23] perf tools: Add perf_data_file__open interface to data object

2013-07-17 Thread Jiri Olsa
Adding perf_data_file__open interface to data object to open the perf.data file for both read and write. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc

[PATCH 10/23] perf tools: Introduce swap_header function

2013-07-17 Thread Jiri Olsa
Introducing swap_header function to make the swapping code more clear and extensible. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern ---

[PATCH 21/23] perf tools: Separating data file properties from session

2013-07-17 Thread Jiri Olsa
Removing 'fd, fd_pipe, filename, size' from struct perf_session and replacing it with struct perf_data_file. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen

[PATCH 13/23] perf tools: Introduce perf.data version 3 format

2013-07-17 Thread Jiri Olsa
Introducing perf.data version 3 format. No functional change, just introducing doc, magic bytes and the struct. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kl

[PATCH 19/23] perf tools: Add data object to handle perf data file

2013-07-17 Thread Jiri Olsa
Adding data object to define 'struct perf_data_file', which holds all attributes wrt to perf.data file. This patch uses 'struct perf_data_file' as a placeholder for all attributes regarding perf.data file handling. Changing perf_session__new to take it as an argument. The rest of the functionalit

[PATCH 18/23] perf tools: Move synthetizing into single function

2013-07-17 Thread Jiri Olsa
Moving synthetizing into single function, so it could be reused. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- tools/perf/builtin-r

[PATCH 22/23] perf tools: Add multi file '-M' option for record command

2013-07-17 Thread Jiri Olsa
Adding multi file '-M' option for record command to store split event data into multiple files based on the file size specified as an argument to the option. Also watermark/wakeup_watermark is set to get wake ups more often so we could get close enough to the file size promise. Example: $ ./per

Re: [RFC] sched: Limit idle_balance() when it is being used too frequently

2013-07-17 Thread Rik van Riel
On 07/17/2013 12:18 PM, Peter Zijlstra wrote: On Wed, Jul 17, 2013 at 08:59:01AM -0700, Jason Low wrote: Do you think its worth a try to consider each newidle balance attempt as the total load_balance attempts until it is able to move a task, and then skip balancing within the domain if a CP

[PATCH 15/23] perf tools: Add perf data version 3 header read

2013-07-17 Thread Jiri Olsa
Adding perf data version 3 header read code to load data for v3 format. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- tools/perf/ut

[PATCH 05/23] perf tests: Add simple session read/write test

2013-07-17 Thread Jiri Olsa
Adding simple session read/write test to keep up with file format changes. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- tools/perf

[PATCH 14/23] perf tools: Add perf data version 3 header swap

2013-07-17 Thread Jiri Olsa
Adding perf data version 3 header swap same way as it's done for v2. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --- tools/perf/util/

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Willy Tarreau
On Wed, Jul 17, 2013 at 11:09:31AM -0400, Steven Rostedt wrote: > What we need are mentors, and educate people that Linux really isn't > that harsh, and that the new developers actually do have talent, and > shouldn't be afraid to post their code. Hey, this is exactly the goal that we seek at the

[PATCH 12/23] perf tools: Using evlist as a holder for event_desc feature

2013-07-17 Thread Jiri Olsa
Using evlist as a holder for events stored via event_desc feature. The event_desc events data is same as the one stored via main header. We will use event_desc data to replace the main header data source in next patches. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ing

[PATCH 16/23] perf tools: Add perf.data version 3 header write

2013-07-17 Thread Jiri Olsa
Adding perf data version 3 header write code and switch perf tool storing to version 3. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --

[PATCH 09/23] perf tools: Introduce swap_features function

2013-07-17 Thread Jiri Olsa
Introducing swap_features function to make the swapping code more clear and extensible. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: David Ahern --

[PATCH 11/23] perf tools: Separate version 2 specific perf data header bits

2013-07-17 Thread Jiri Olsa
Separating version 2 specific perf data header bits, so the code could be extented with new format version. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen

[PATCH 08/23] perf tools: Introduce perf data file version CHECK macro

2013-07-17 Thread Jiri Olsa
Introducing perf data file version CHECK macro, so the check is easily extensible for new versions. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi Kleen Cc: Dav

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Al Viro
On Wed, Jul 17, 2013 at 06:00:46PM +0100, Stefano Stabellini wrote: > On Wed, 17 Jul 2013, Steven Rostedt wrote: > > The last thing I want to do is to lower the quality of the kernel just > > to get a wider range of developers. > > Can we stop bringing the quality of the code into the discussion?

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Stefano Stabellini
On Wed, 17 Jul 2013, Felipe Contreras wrote: > On Wed, Jul 17, 2013 at 12:00 PM, Stefano Stabellini > wrote: > > On Wed, 17 Jul 2013, Steven Rostedt wrote: > >> The last thing I want to do is to lower the quality of the kernel just > >> to get a wider range of developers. > > > > Can we stop bring

[PATCH 01/23] perf tools: Use session->fd instead of passing fd as argument

2013-07-17 Thread Jiri Olsa
Using session->fd instead of passing fd as argument because it's always session->fd that's passed as fd argument. Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Arnaldo Carvalho de Melo Cc: Andi

Re: [PATCH 05/18] vtime: Update a few comments

2013-07-17 Thread Steven Rostedt
On Wed, 2013-07-17 at 18:44 +0200, Frederic Weisbecker wrote: > Update a stale comment from the old vtime era and document some > locking that might be non obvious. > > Signed-off-by: Frederic Weisbecker > Cc: Steven Rostedt > Cc: Paul E. McKenney > Cc: Ingo Molnar > Cc: Thomas Gleixner > Cc:

[RFC 0/23] perf tool: Add support for multiple data file storage

2013-07-17 Thread Jiri Olsa
hi, this *RFC* adds support for record command to split perf data file output into multiple files. Each such data file is fully-fledged and readable upon by any perf command. This patchset is actually doing 3 essential things: 1) adds new perf data format version (v3) 2) adds class/object to h

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Steven Rostedt
On Wed, 2013-07-17 at 10:41 -0700, Randy Dunlap wrote: > The big disadvantage is that it leaves out several hundred (or thousdand) > people. I see that as an advantage ;-) We could video tape it for the entertainment value. -- Steve -- To unsubscribe from this list: send the line "unsubscrib

RE: [PATCH] mm/swap.c: clear PageActive before adding pages onto unevictable list (Re: 3.11.0-rc1: kernel BUG at mm/migrate.c:458 in page migration)

2013-07-17 Thread Kirill A. Shutemov
Naoya Horiguchi wrote: > (CC:ed more) > > On Tue, Jul 16, 2013 at 06:09:47PM -0400, Naoya Horiguchi wrote: > > Hi, > > > > v3.11-rc1 kernel triggers VM_BUG_ON(PageUnevictable(page)) in > > migrate_page_copy > > when I do page migration like the following: > > > > $ sleep 100 & > > $ migrate

Re: [RFC] sched: Limit idle_balance() when it is being used too frequently

2013-07-17 Thread Peter Zijlstra
On Wed, Jul 17, 2013 at 01:51:51PM -0400, Rik van Riel wrote: > On 07/17/2013 12:18 PM, Peter Zijlstra wrote: > >So the way I see things is that the only way newidle balance can slow down > >things is if it runs when we could have ran something useful. > > Due to contention on the runqueue locks

Re: [PATCH v5 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Lars-Peter Clausen
On 07/17/2013 01:12 PM, Oleksandr Kozaruk wrote: > The GPADC is general purpose ADC found on TWL6030, and TWL6032 PMIC, > known also as Phoenix and PhoenixLite. > > The TWL6030 and TWL6032 have GPADC with 17 and 19 channels > respectively. Some channels have current source and are used for > measu

Re: driver model, duplicate names question

2013-07-17 Thread Srinivas Pandruvada
On 07/16/2013 12:32 PM, Greg KH wrote: On Tue, Jul 16, 2013 at 12:33:03PM -0700, Srinivas Pandruvada wrote: +Example Sys-FS Interface + +/sys/class/power_cap/intel-rapl +├── package-0 +│ ├── constraint-0 +│ │ ├── name +│ │ ├── power_limit_uw +│ │ └── time_window_us +│ ├── constra

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Felipe Contreras
On Wed, Jul 17, 2013 at 12:56 PM, Stefano Stabellini wrote: > On Wed, 17 Jul 2013, Felipe Contreras wrote: >> On Wed, Jul 17, 2013 at 12:00 PM, Stefano Stabellini >> wrote: >> > On Wed, 17 Jul 2013, Steven Rostedt wrote: >> >> The last thing I want to do is to lower the quality of the kernel just

Re: [PATCH] mm/swap.c: clear PageActive before adding pages onto unevictable list (Re: 3.11.0-rc1: kernel BUG at mm/migrate.c:458 in page migration)

2013-07-17 Thread Naoya Horiguchi
On Wed, Jul 17, 2013 at 12:35:50PM -0400, Naoya Horiguchi wrote: ... > --- > From: Naoya Horiguchi > Date: Wed, 17 Jul 2013 11:49:56 -0400 > Subject: [PATCH] mm/swap.c: clear PageActive before adding pages onto > unevictable list > > As a result of v3.10-3600-g13f7f78 "mm: pagevec: defer decidin

RE: [PATCH v2] RDMA/cma: silence GCC warning

2013-07-17 Thread Hefty, Sean
> Building cma.o triggers this GCC warning: > drivers/infiniband/core/cma.c: In function ‘rdma_resolve_addr’: > drivers/infiniband/core/cma.c:465:23: warning: ‘port’ may be used > uninitialized in this function [-Wmaybe-uninitialized] > drivers/infiniband/core/cma.c:426:5: note: ‘port’

Re: [PATCH] mm/swap.c: clear PageActive before adding pages onto unevictable list (Re: 3.11.0-rc1: kernel BUG at mm/migrate.c:458 in page migration)

2013-07-17 Thread Naoya Horiguchi
On Wed, Jul 17, 2013 at 09:02:49PM +0300, Kirill A. Shutemov wrote: ... > > --- > > From: Naoya Horiguchi > > Date: Wed, 17 Jul 2013 11:49:56 -0400 > > Subject: [PATCH] mm/swap.c: clear PageActive before adding pages onto > > unevictable list > > > > As a result of v3.10-3600-g13f7f78 "mm: pagev

Re: [PATCH 05/21] iio: input: am335x_adc: Add continuous mode to adc

2013-07-17 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Wed, Jul 17, 2013 at 06:53:53PM +0100, Zubair Lutfullah wrote: > checkpatch is applied at the end all together. The last 3 patches are those. > > I guess that is non-standard practice. Yes, each

open conflicts vs. hidden conflicts (was: [ 00/19] 3.10.1-stable review)

2013-07-17 Thread Ingo Molnar
* Sarah Sharp wrote: > On Mon, Jul 15, 2013 at 12:07:56PM -0700, Linus Torvalds wrote: > > On Mon, Jul 15, 2013 at 11:46 AM, Sarah Sharp > > wrote: > > > > > > Bullshit. I've seen you be polite, and explain to clueless > > > maintainers why there's no way you can revert their merge that > >

Re: [Regression][v3.10][v3.11] net: Kill link between CSUM and SG features.

2013-07-17 Thread Joseph Salisbury
On 07/17/2013 01:45 PM, Haiyang Zhang wrote: > >> -Original Message- >> From: Joseph Salisbury [mailto:joseph.salisb...@canonical.com] >> Sent: Wednesday, July 17, 2013 8:31 AM >> To: Pravin Shelar >> Cc: da...@davemloft.net; ben.how...@canonical.com; >> eduma...@google.com; xiyou.wangc...@

RE: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Luck, Tony
> Those are just stories; things that happened. What you need to provide > is *evidence* that if the community changes, things will be better, > and unless you have a study of series of collaborative groups like the > Linux kernel, that demonstrates that suppressing swearing has a > positive effect

Re: [PATCH 07/18] nohz: Selectively enable context tracking on full dynticks CPUs

2013-07-17 Thread Steven Rostedt
On Wed, 2013-07-17 at 18:44 +0200, Frederic Weisbecker wrote: > The code is ready to do so in the context tracking subsystem, now "do so"? Do what? > we just need to pass our cpu range selection to it from the Pass cpu range selection to what? Pronouns are evil in technical documentation. > fu

Re: [RFC PATCH v5 0/1] drivers: mfd: Versatile Express SPC support

2013-07-17 Thread Nicolas Pitre
On Wed, 17 Jul 2013, Russell King - ARM Linux wrote: > On Wed, Jul 17, 2013 at 11:57:55AM -0400, Nicolas Pitre wrote: > > The sanest location at this point might simply be > > drivers/platform/vexpress_spc.c or drivers/platform/vexpress/spc.c > > depending on whether or not more such driver glue

Re: driver model, duplicate names question

2013-07-17 Thread Greg KH
On Wed, Jul 17, 2013 at 11:09:44AM -0700, Srinivas Pandruvada wrote: > > But thermal devices are not "real" at all. There are just a number of > > "cooling devices" on a virtual bus and not attached to any type of a > > real device at all. > > > > There's also no hierarchy that I can see with the

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Al Viro
On Wed, Jul 17, 2013 at 06:56:16PM +0100, Stefano Stabellini wrote: > Abuse is never justified, I hope that's clear for everybody. Depends on details of your definition of abuse. > So we are down to the definition of verbal abuse. > The Oxford dictionary gives me: > > "speak to (someone) in an

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Markus Trippelsdorf
On 2013.07.18 at 01:25 +0800, Xiao Guangrong wrote: > Hi Markus, > > Thanks for your report! I am downloading the ubuntu iso and will try to > reproducible it. > > Could you please enable these tracepoints: > kvmmmu/check_mmio_spte > kvmmmu/handle_mmio_page_fault > kvmmmu/kvm_mmu_invalidate_zap_

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Felipe Contreras
On Wed, Jul 17, 2013 at 1:24 PM, Luck, Tony wrote: >> Those are just stories; things that happened. What you need to provide >> is *evidence* that if the community changes, things will be better, >> and unless you have a study of series of collaborative groups like the >> Linux kernel, that demons

Re: [RFC] sched: Limit idle_balance() when it is being used too frequently

2013-07-17 Thread Jason Low
On Wed, 2013-07-17 at 20:01 +0200, Peter Zijlstra wrote: > On Wed, Jul 17, 2013 at 01:51:51PM -0400, Rik van Riel wrote: > > On 07/17/2013 12:18 PM, Peter Zijlstra wrote: > > > >So the way I see things is that the only way newidle balance can slow down > > >things is if it runs when we could have

Re: driver model, duplicate names question

2013-07-17 Thread Srinivas Pandruvada
On 07/17/2013 11:31 AM, Greg KH wrote: On Wed, Jul 17, 2013 at 11:09:44AM -0700, Srinivas Pandruvada wrote: But thermal devices are not "real" at all. There are just a number of "cooling devices" on a virtual bus and not attached to any type of a real device at all. There's also no hierarchy t

3.11.0-rc1: Mellanox mlx5 fails to compile on 32-bit kernels

2013-07-17 Thread Ben Greear
Seems there is a 64-bit division in there somewhere. Thanks, Ben -- Ben Greear Candela Technologies Inc http://www.candelatech.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vg

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Sarah Sharp
On Wed, Jul 17, 2013 at 11:09:31AM -0400, Steven Rostedt wrote: > On Wed, 2013-07-17 at 07:48 -0700, Sarah Sharp wrote: > > > > Does that sound like there are not going to have enough direct/thick skin > > > new kernel developers around to maintain the future Linux community? Maybe > > > just need

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Gleb Natapov
On Wed, Jul 17, 2013 at 08:42:26PM +0200, Markus Trippelsdorf wrote: > On 2013.07.18 at 01:25 +0800, Xiao Guangrong wrote: > > Hi Markus, > > > > Thanks for your report! I am downloading the ubuntu iso and will try to > > reproducible it. > > > > Could you please enable these tracepoints: > > kv

Re: [PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-07-17 Thread John Stultz
On 07/17/2013 03:05 AM, Baruch Siach wrote: Signed-off-by: Baruch Siach --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bf61e04..bd9616a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -7129,6 +7129,7 @@ M:Thomas Gleixner T:gi

Re: [PATCH net] hyperv: Fix the NETIF_F_SG flag setting in netvsc

2013-07-17 Thread David Miller
From: KY Srinivasan Date: Wed, 17 Jul 2013 11:40:41 + > > >> -Original Message- >> From: Haiyang Zhang [mailto:haiya...@microsoft.com] >> Sent: Wednesday, July 17, 2013 2:01 AM >> To: da...@davemloft.net; net...@vger.kernel.org >> Cc: Haiyang Zhang; KY Srinivasan; o...@aepfle.de; ja

Re: [tip:x86/urgent] x86: Make sure IDT is page aligned

2013-07-17 Thread Yinghai Lu
On Tue, Jul 16, 2013 at 3:33 PM, tip-bot for Kees Cook wrote: > Commit-ID: 4df05f361937ee86e5a8c9ead8aeb6a19ea9b7d7 > Gitweb: http://git.kernel.org/tip/4df05f361937ee86e5a8c9ead8aeb6a19ea9b7d7 > Author: Kees Cook > AuthorDate: Tue, 16 Jul 2013 11:34:41 -0700 > Committer: H. Peter Anvin

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Sarah Sharp
On Wed, Jul 17, 2013 at 01:28:59PM -0400, Steven Rostedt wrote: > On Wed, 2013-07-17 at 18:00 +0100, Stefano Stabellini wrote: > > On Wed, 17 Jul 2013, Steven Rostedt wrote: > > > The last thing I want to do is to lower the quality of the kernel just > > > to get a wider range of developers. > > >

Re: [PATCH 2/2] iio: twl6030-gpadc: TWL6030, TWL6032 GPADC driver

2013-07-17 Thread Jonathan Cameron
Oleksandr Kozaruk wrote: >Hello Jonathan, > > >Two very quick comments based on quick glance as it may be a while >before I can do a full review. > > >We still have channels that are only usable for temperature being >output to user space as voltage channels? Is the conversion so very >hard? >

Re: [ATTEND] How to act on LKML

2013-07-17 Thread David Miller
From: Sarah Sharp Date: Wed, 17 Jul 2013 07:40:43 -0700 > If you give a flying fuck about diversity ... Pot, meet kettle. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.o

[PATCH] ktime: fix some scripts/kernel-doc warnings

2013-07-17 Thread Yacine Belkadi
When building the htmldocs (in verbose mode), scripts/kernel-doc reports the following type of warnings: Warning(include/linux/ktime.h:75): No description found for return value of 'ktime_set' Fix them by using a "Return:" section to describe the return values. (Also apply some minor reformatting

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Xiao Guangrong
Ouch! The guest is hang when boot from ubuntu iso, i bisected the code and found it is caused by: cad55f1aed000db46dfd1b5706707f33624d8604 is the first bad commit commit cad55f1aed000db46dfd1b5706707f33624d8604 Author: Cornelia Huck Date: Wed Jul 3 16:30:53 2013 +0200 KVM: kvm-io: suppor

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread David Lang
On Wed, 17 Jul 2013, Sarah Sharp wrote: On Wed, Jul 17, 2013 at 11:09:31AM -0400, Steven Rostedt wrote: On Wed, 2013-07-17 at 07:48 -0700, Sarah Sharp wrote: Does that sound like there are not going to have enough direct/thick skin new kernel developers around to maintain the future Linux com

Re: [PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-07-17 Thread Baruch Siach
Hi John, On Wed, Jul 17, 2013 at 11:57:32AM -0700, John Stultz wrote: > On 07/17/2013 03:05 AM, Baruch Siach wrote: > >Signed-off-by: Baruch Siach > >--- > > MAINTAINERS | 2 ++ > > 1 file changed, 2 insertions(+) > > > >diff --git a/MAINTAINERS b/MAINTAINERS > >index bf61e04..bd9616a 100644 > >

Re: [PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-07-17 Thread Joe Perches
On Wed, 2013-07-17 at 22:12 +0300, Baruch Siach wrote: [] > > >diff --git a/MAINTAINERS b/MAINTAINERS [] > > >@@ -7129,6 +7129,7 @@ M: Thomas Gleixner [] > > >+F:include/linux/sched_clock.h [] > > >+F:kernel/time/sched_clock.c > > > > It seems like we could probably simplify thi

[PATCH] Documentation: development-process: Update -mm and -next URLs

2013-07-17 Thread enselic
From: Martin Nordholts Both old URLs are broken, so update them. Signed-off-by: Martin Nordholts --- Documentation/development-process/2.Process |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/development-process/2.Process b/Documentation/development-p

Re: [PATCH] arm64: use common reboot infrastructure

2013-07-17 Thread Catalin Marinas
On Thu, Jul 11, 2013 at 12:13:00PM +0100, Marc Zyngier wrote: > Commit 7b6d864b48d9 (reboot: arm: change reboot_mode to use enum > reboot_mode) changed the way reboot is handled on arm, which has a > direct impact on arm64 as we share the reset driver on the VE platform. > > The obvious fix is to

Re: [PATCH] MAINTAINERS: add the generic sched_clock under timekeeping

2013-07-17 Thread John Stultz
On 07/17/2013 12:12 PM, Baruch Siach wrote: Hi John, On Wed, Jul 17, 2013 at 11:57:32AM -0700, John Stultz wrote: On 07/17/2013 03:05 AM, Baruch Siach wrote: Signed-off-by: Baruch Siach --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index bf

Re: [RFC PATCH 3/4] tracing: Kill tracing_open/release_generic_file

2013-07-17 Thread Oleg Nesterov
On 07/16, Steven Rostedt wrote: > > On Tue, 2013-07-16 at 20:57 +0200, Oleg Nesterov wrote: > > trace_array_get() goes away. NOTE! this is actually wrong until we > > change instance_delete() path to nullify ->i_private. > > I think this needs to be done first. Do you mean "change instance_delete(

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Xiao Guangrong
Hi, Could you please try this: index 460b9c6..16d1578 100644 --- a/arch/x86/kvm/mmu.c +++ b/arch/x86/kvm/mmu.c @@ -2952,6 +2952,9 @@ static bool page_fault_can_be_fast(u32 error_code) !(error_code & PFERR_WRITE_MASK)) return false; + if (error_code & PFERR_RS

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Steven Rostedt
On Wed, 2013-07-17 at 11:51 -0700, Sarah Sharp wrote: > > I have to ask. How much verbal abuse have you received in LKML? And I > > don't mean in this thread. > > I assume you also want me to exclude the verbal abuse and personal > threats I've received via email and my blog because of this threa

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Gleb Natapov
On Wed, Jul 17, 2013 at 09:00:29PM +0200, Markus Trippelsdorf wrote: > > > 10346403 qemu-system-x86-1403 [001] 1451.422260: check_mmio_spte: > > > spte fee00e3f kvm_gen 7ffc8 spte-gen 7ffc7 valid 0 > > > ... Can you trace only this event and record stack information: trace-cmd re

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Gleb Natapov
On Thu, Jul 18, 2013 at 03:07:11AM +0800, Xiao Guangrong wrote: > Ouch! > > The guest is hang when boot from ubuntu iso, i bisected the code and found it > is caused by: > > cad55f1aed000db46dfd1b5706707f33624d8604 is the first bad commit > commit cad55f1aed000db46dfd1b5706707f33624d8604 > Autho

[RFC PATCH 5/4] tracing: Simplify the ftrace_event_field iteration in f_next/f_show

2013-07-17 Thread Oleg Nesterov
f_next() looks overcomplicated, and it is not strictly correct even if this doesn't matter. Say, FORMAT_FIELD_SEPERATOR should not return NULL (means EOF) if trace_get_fields() returns an empty list, we should simply advance to FORMAT_PRINTFMT as we do when we find the end of list. 1. Change f_ne

[RFC PATCH 6/4] tracing: Change f_start() to verify i_private under event_mutex

2013-07-17 Thread Oleg Nesterov
Finally change f_start() to take event_mutex and verify i_private, f_stop() drops this lock. This closes the races with event_remove. Note: the usage of event_mutex is sub-optimal but simple, we can change this later. Signed-off-by: Oleg Nesterov --- kernel/trace/trace_events.c | 17 +

Re: zswap: How to determine whether it is compressing swap pages?

2013-07-17 Thread Martin Steigerwald
Am Mittwoch, 17. Juli 2013, 09:38:34 schrieb Seth Jennings: > On Wed, Jul 17, 2013 at 01:41:44PM +0200, Martin Steigerwald wrote: > > Is there any way to run zcache concurrently with zswap? I.e. use zcache only > > for read caches for filesystem and zswap for swap? > > No, at least not with zcache

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Markus Trippelsdorf
On 2013.07.18 at 03:27 +0800, Xiao Guangrong wrote: > > Could you please try this: > > index 460b9c6..16d1578 100644 > --- a/arch/x86/kvm/mmu.c > +++ b/arch/x86/kvm/mmu.c > @@ -2952,6 +2952,9 @@ static bool page_fault_can_be_fast(u32 error_code) > !(error_code & PFERR_WRITE_MASK)) >

[RFC] [PATCH] x86: avoid per_cpu for APIC id tables

2013-07-17 Thread Andrew Hunter
Hi, I have a patch (following) that modifies handling of APIC id tables, trading a small amount of space in the (NR_CPUS - nr_cpu_ids) >> 0 case for faster accesses and slightly better cache layout (as APIC ids are mostly used cross-cpu.) I'm not an APIC expert so I'd appreciate some eyes on this,

Re: [RFC PATCH 5/4] tracing: Simplify the ftrace_event_field iteration in f_next/f_show

2013-07-17 Thread Oleg Nesterov
On 07/17, Oleg Nesterov wrote: > > f_next() looks overcomplicated, and it is not strictly correct > even if this doesn't matter. Honestly, I do not know what the changelog can say to explain this patch except "make the code simpler/cleaner". To simplify the review, please see f_next/f_start with

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Willy Tarreau
On Wed, Jul 17, 2013 at 11:51:38AM -0700, Sarah Sharp wrote: > I assume you also want me to exclude the verbal abuse and personal > threats I've received via email and my blog because of this thread. > But, just for reference, I'll post them here as well. [ comments removed not to give them too mu

Re: [RFC PATCH 2/4] tracing: Turn "id"->i_private into call->event.type

2013-07-17 Thread Oleg Nesterov
On 07/16, Steven Rostedt wrote: > > On Tue, 2013-07-16 at 20:57 +0200, Oleg Nesterov wrote: > > ftrace_event_id_fops and event_id_read() is overcomplicated. > > > > 1. Change event_create_dir() to pass "data = call->event.type" > >to debugfs_create_file(). > > > >This means that ftrace_even

Re: arm: Only load TLS values when needed

2013-07-17 Thread André Hentschel
Am 17.07.2013 13:10, schrieb Jonathan Austin: > Hi André, > > On 16/07/13 20:27, André Hentschel wrote: >> Hi Jonathan, First, thank you for your review. >> >> Am 16.07.2013 19:31, schrieb Jonathan Austin: >>> Hi André, >>> >>> On 15/07/13 18:14, André Hentschel wrote: From: André Hentschel

[PATCH] hugepage: allow parallelization of the hugepage fault path

2013-07-17 Thread Davidlohr Bueso
From: David Gibson At present, the page fault path for hugepages is serialized by a single mutex. This is used to avoid spurious out-of-memory conditions when the hugepage pool is fully utilized (two processes or threads can race to instantiate the same mapping with the last hugepage from the poo

Re: commit f8f559422b (KVM: MMU: fast invalidate all mmio sptes) causes hang

2013-07-17 Thread Xiao Guangrong
On Jul 18, 2013, at 3:31 AM, Gleb Natapov wrote: > On Thu, Jul 18, 2013 at 03:07:11AM +0800, Xiao Guangrong wrote: >> Ouch! >> >> The guest is hang when boot from ubuntu iso, i bisected the code and found >> it is caused by: >> >> cad55f1aed000db46dfd1b5706707f33624d8604 is the first bad comm

Re: [PATCH 2/7] alpha: Eliminate compiler warning from memset macro

2013-07-17 Thread Matt Turner
On Tue, Jul 16, 2013 at 10:04 AM, Richard Henderson wrote: > Compiling with GCC 4.8 yields several instances of > > crypto/vmac.c: In function ‘vmac_final’: > crypto/vmac.c:616:9: warning: value computed is not used [-Wunused-value] > memset(&mac, 0, sizeof(vmac_t)); > ^ > arch/alpha/in

Re: [PATCH 0/3] Fix backlight issues on some Windows 8 systems

2013-07-17 Thread Yves-Alexis Perez
On mer., 2013-07-17 at 10:51 -0500, Felipe Contreras wrote: > On Sat, Jun 22, 2013 at 4:46 PM, Yves-Alexis Perez wrote: > > Before Linux support for acpi_osi("Windows 2012") (and when booting with > > acpi_osi="!Windows 2012"), brightness keys were handled by the kernel > > just fine, whether in c

Re: [tip:x86/urgent] x86: Make sure IDT is page aligned

2013-07-17 Thread H. Peter Anvin
On 07/17/2013 11:57 AM, Yinghai Lu wrote: > > Hi, Peter, > > Any reason for why following changelog get dropped? > > --- > v5: > - add comments to all IDTs about alignment reasoning, suggested by Linus > v4: > - rework using __page_aligned_bss, suggested by Yinghai LU > - move all the other I

Re: [PATCH 06/23] perf doc: Add perf data file documentation

2013-07-17 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 17, 2013 at 07:49:46PM +0200, Jiri Olsa escreveu: > Adding perf data file documentation. > > TODO: Finish the FEATURES section > > Signed-off-by: Jiri Olsa ASCIIDOC /tmp/build/perf/perf-evlist.xml asciidoc: ERROR: perf-data-file-v2.txt: line 5: name section expected asciidoc: FA

[PATCH v2 36/42] ARM: at91/dt: move sam9260/sam9g20 to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Define the main clock frequency in every sam9260/sam9g20 boards. Remove the old main clock definition. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/animeo_ip.dts | 17 ++--- arch/arm/boot/dts/at91sam9g20ek_common.dtsi | 17 ++--- arch/arm/boot/dts/

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread George Spelvin
> I think it's pretty clear that one doesn't need to be verbally abusive > in order to stop bad code from getting into the kernel. Actually, it *not* clear. Without drawing fine distinctions about the definition of "abusive", I think Linus's rants have a real purpose at times. One is so that *ev

Re: 3.11.0-rc1: Mellanox mlx5 fails to compile on 32-bit kernels

2013-07-17 Thread Tim Gardner
On 07/17/2013 12:50 PM, Ben Greear wrote: > Seems there is a 64-bit division in there somewhere. > > Thanks, > Ben > http://www.gossamer-threads.com/lists/linux/kernel/1746720 -- Tim Gardner tim.gard...@canonical.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH v2 37/42] ARM: at91/dt: move rm9200 boards to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Define the main clock frequency in every at91rm9200 boards. Remove the old main clock definition. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91rm9200ek.dts | 17 ++--- arch/arm/boot/dts/mpa1600.dts | 16 +--- 2 files changed, 11 insertions(+), 22 dele

[PATCH v2 38/42] ARM: at91/dt: move sam9263 boards to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Define the main clock frequency in every at91sam9263 boards. Remove the old main clock definition. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91sam9263ek.dts | 17 ++--- arch/arm/boot/dts/tny_a9263.dts | 17 ++--- arch/arm/boot/dts/usb_a9263.dts |

Re: [PATCH V7 01/14] perf tools: add debug prints

2013-07-17 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 17, 2013 at 03:43:01PM +0300, Adrian Hunter escreveu: > It is useful to see the arguments to perf_event_open > and whether the perf events ring buffer was mmapped > per-cpu or per-thread. That information will now be > displayed when verbose is 2 i.e option -vv > > Signed-off-by: Adri

Re: [PATCH 3/3] pch_gbe: Add MinnowBoard support

2013-07-17 Thread Darren Hart
On Fri, 2013-07-12 at 17:58 -0700, Darren Hart wrote: > The MinnowBoard uses an AR803x PHY with the PCH GBE which requires > special handling. Use the MinnowBoard PCI Subsystem ID to detect this > and add a pci_device_id.driver_data structure and functions to handle > platform setup. > > The AR803

Re: [PATCH RFC] lib: Make radix_tree_node_alloc() irq safe

2013-07-17 Thread Jens Axboe
On Tue, Jul 16 2013, Jan Kara wrote: > With users of radix_tree_preload() run from interrupt (CFQ is one such > possible user), the following race can happen: > > radix_tree_preload() > ... > radix_tree_insert() > radix_tree_node_alloc() > if (rtp->nr) { > ret = rtp->nodes[rtp->nr - 1]

Re: [PATCH 1/3] pch_uart: Use DMI interface for board detection

2013-07-17 Thread Darren Hart
On Fri, 2013-07-12 at 17:58 -0700, Darren Hart wrote: > Use the DMI interface rather than manually matching DMI strings. Greg, The rest of this series is either being dropped or has moved on to netdev. This patch however remains unchanged. Would you like me to resend individually or can you pull

[PATCH v2 39/42] ARM: at91/dt: move sam9g45 boards to new at91 clk implem

2013-07-17 Thread Boris BREZILLON
Define the main clock frequency in every at91sam9g45 boards. Remove the old main clock definition. Signed-off-by: Boris BREZILLON --- arch/arm/boot/dts/at91sam9m10g45ek.dts | 17 ++--- arch/arm/boot/dts/pm9g45.dts | 16 +--- 2 files changed, 11 insertions(+)

Re: [Ksummit-2013-discuss] [ATTEND] How to act on LKML

2013-07-17 Thread Geert Uytterhoeven
On Wed, Jul 17, 2013 at 9:29 PM, Steven Rostedt wrote: > I've said it several times in this thread. I think the tone of LKML has > been getting more tame, and it's not your father's mailing list > anymore. ;-) Indeed. Several (definitely more than 5) years ago, there was a presentation (IIRC eve

<    1   2   3   4   5   6   7   8   9   10   >