[PATCH 11/47] perf evsel: Actually show symbol offset in stack trace when requested

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Symbol offset is one of the fields that can be requested in perf-script. Currently you do not get that data when requested. e.g., perf script -f comm,tid,pid,time,cpu,sym,symoff,ip ... gcc 6201/6201 [006] 762250.617897: 81090d95 update_curr 810911b8 de

[PATCH 07/47] perf evsel: Add PERF_SAMPLE_READ sample related processing

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa For sample with sample type PERF_SAMPLE_READ the period value is stored in the 'struct sample_read'. Moreover if the read format has PERF_FORMAT_GROUP, the 'struct sample_read' contains period values for all events in the group (for which the sample's event is a leader). We deli

Re: [PATCH] udev: fail firmware loading immediately if no search path is defined

2013-08-07 Thread Andy Lutomirski
On Wed, Aug 7, 2013 at 12:52 AM, Maarten Lankhorst wrote: > Op 07-08-13 02:26, Andy Lutomirski schreef: >> On Tue, Aug 6, 2013 at 5:24 PM, Tom Gundersen wrote: >>> On 6 Aug 2013 18:32, "Bryan Kadzban" wrote: On Tue, Aug 06, 2013 at 11:17:17AM +0200, Tom Gundersen wrote: > On Tue, Aug 6,

[PATCH 16/47] perf top: move CONSOLE_CLEAR to header file

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern For use with kvm-live mode. Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Runzhen Wang Cc: Xiao Guangrong Link: http://lkml.kernel.org/r/1375473947-64285-2-git-send-email-dsah...@gmail.com Signe

[PATCH 39/47] perf session: Export queue_event function

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Taking a lesson from perf-trace and bringing in control of event processing to perf-kvm-stat-live: parse the sample to get access the time leaving just the need to queue it to the ordered samples list. For that the queue_event function needs to be exported. Unexport perf_sessi

[PATCH 12/47] perf tools: Fix compile of util/tsc.c

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern On Fedora 18, with gcc 4.6.4 compile fails with: arch/x86/util/tsc.c: In function ‘perf_time_to_tsc’: arch/x86/util/tsc.c:13:6: error: declaration of ‘time’ shadows a global declaration [-Werror=shadow] cc1: all warnings being treated as errors make: *** [/tmp/junk/arch/x86/ut

[PATCH 10/47] perf tests: Add parse events tests for leader sampling

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding 2 more tests to the automated parse events suite for following event config: '{cycles,cache-misses,branch-misses}:S' '{instructions,branch-misses}:Su' Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: P

next-20130807: possible circular locking dependency detected

2013-08-07 Thread Belisko Marek
4.417694] 3.11.0-rc4-next-20130807-dirty #2 Not tainted [4.423339] --- [4.429931] getty/767 is trying to acquire lock: [4.434783] (&tty->termios_rwsem){..}, at: [] n_tty_read+0x3ec/0x958 [4.442871] [4.442871] bu

[PATCH 09/47] perf tests: Add attr record group sampling test

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding test to validate perf_event_attr data for command: 'record -e '{cycles,cache-misses}:S' Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/n

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 17:21:32 -0400 Ed Cashin wrote: > > What are the end-user-visible effects of the problem which is being > > fixed? Please always include this info when fixing bugs so that others > > can work out what kernel version(s) need the patch. > > > Sorry. I tried to cover that but

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 14:18:35 -0700 Andrew Morton wrote: > On Wed, 7 Aug 2013 17:12:36 -0400 Ed Cashin wrote: > > > > > On Aug 7, 2013, at 4:58 PM, Andrew Morton wrote: > > > > > On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > > > > > >> As discussed previously, > > > > > > I think I m

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Bob Smith
Greg Kroah-Hartman wrote: > You ignored my mknod comment. Yes, proxy is a type of IPC. It's closest counterpart in the kernel now is a named pipe. The kernel does not try to create named pipes automatically. Named pipes are created deliberately by users with the mkfifo command or system call.

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Kent Overstreet
On Wed, Aug 07, 2013 at 11:08:42PM +0200, Ben Hutchings wrote: > On Wed, 2013-08-07 at 13:53 -0700, Kent Overstreet wrote: > > On Wed, Aug 07, 2013 at 10:28:18PM +0200, Ben Hutchings wrote: > > > As Kent said back in 2011 (commit 84759c6d18c5), bcache needs > > > {down,up}_read_non_owner(). But th

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 02:04:52PM -0700, Bob Smith wrote: > Greg Kroah-Hartman wrote: > >>cat /dev/proxyctrl # what is the offset? > >>echo 2 > /dev/proxyctrl # set offset to 2 > > > >You have language bindings right there in bash for this api, what you > >are saying is that you don't w

Re: [PATCH v2 1/2] perf tools: Add support for pinned modifier

2013-08-07 Thread Michael Ellerman
Arnaldo Carvalho de Melo wrote: >Em Wed, Aug 07, 2013 at 03:19:57PM +1000, Michael Ellerman escreveu: >> On Tue, Aug 06, 2013 at 03:59:37PM +0200, Jiri Olsa wrote: >> > On Tue, Aug 06, 2013 at 11:28:05PM +1000, Michael Ellerman wrote: >> > > +if (evsel->leader == evsel) >> > > +

Re: [PATCH 01/23] radix-tree: implement preload for multiple contiguous elements

2013-08-07 Thread Kirill A. Shutemov
Jan Kara wrote: > On Wed 07-08-13 23:24:03, Kirill A. Shutemov wrote: > > Jan Kara wrote: > > > On Wed 07-08-13 19:32:36, Kirill A. Shutemov wrote: > > > > Jan Kara wrote: > > > > > On Sun 04-08-13 05:17:03, Kirill A. Shutemov wrote: > > > > > > From: "Kirill A. Shutemov" > > > > > > > > > > > >

Re: [RFC][PATCH 3/2] x86/jump labels: Count and display the short jumps used

2013-08-07 Thread Jason Baron
On 08/07/2013 04:47 PM, Linus Torvalds wrote: > On Wed, Aug 7, 2013 at 1:19 PM, Jason Baron wrote: >> The whole point of the thread started with wanting to move the default >> 'disabled' branch further out-of-line. > Yeah, but I always disagreed with that. > > Putting the unusual code out-of-line

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Greg Kroah-Hartman
On Wed, Aug 07, 2013 at 02:28:49PM -0700, Bob Smith wrote: > Greg Kroah-Hartman wrote: > > You ignored my mknod comment. > Yes, proxy is a type of IPC. It's closest counterpart in the > kernel now is a named pipe. The kernel does not try to create > named pipes automatically. Named pipes are cr

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Bob Smith
Greg Kroah-Hartman wrote: >>echo 1 > /proc/sys/net/ipv4/ip_forward # procfs >>echo 75 > /dev/motors/left/speed# proxy >>echo 5 > /dev/wpa_supplicant/use_channel # proxy > No it shouldn't, that is userspace talking to the kernel, you aren't > doing that at all. You

[PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Hi guys! TL;DR: the patches remove (currently or already) dead code and localize symbol visibility used only in one module. Thanks! The Story: Once upon a time I've got very simple idea to find dead code in large C/C++ mixed project at work. The things of my primary

[PATCH 6/7] btrfs: cleanup: removed unused 'btrfs_reada_detach'

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_reada_detach: [R]: exported from: fs/btrfs/btrfs.o fs/btrfs/built-in.o > fs/btrfs/reada.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/ctree.h | 1 - fs/btrfs/reada.c | 9 + 2 files changed, 1 insertion(+), 9 deletions(-) diff --

[PATCH 5/7] btrfs: cleanup: mark 'btrfs_read_root_item' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_read_root_item: [R]: exported from: fs/btrfs/btrfs.o > fs/btrfs/built-in.o fs/btrfs/root-tree.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/ctree.h | 2 -- fs/btrfs/root-tree.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(

[PATCH 3/7] btrfs: cleanup: mark 'btrfs_write_and_wait_marked_extents' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_write_and_wait_marked_extents: [R]: exported from: fs/btrfs/btrfs.o > fs/btrfs/transaction.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/transaction.c | 4 ++-- fs/btrfs/transaction.h | 2 -- 2 files changed, 2 insert

[PATCH 4/7] btrfs: cleanup: removed unused 'btrfs_start_transaction_lflush'

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_start_transaction_lflush: [R]: exported from: fs/btrfs/btrfs.o > fs/btrfs/transaction.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/transaction.c | 7 --- fs/btrfs/transaction.h | 2 -- 2 files changed, 9 deletion

[PATCH 7/7] btrfs: cleanup: removed unused 'btrfs_get_inode_ref_index'

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_get_inode_ref_index: [R]: exported from: fs/btrfs/inode-item.o > fs/btrfs/btrfs.o fs/btrfs/built-in.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/ctree.h | 6 - fs/btrfs/inode-item.c | 65 ---

[PATCH 1/7] btrfs: cleanup: mark 'btrfs_lookup_fs_root' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > btrfs_lookup_fs_root: [R]: exported from: fs/btrfs/disk-io.o > fs/btrfs/built-in.o fs/btrfs/btrfs.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/disk-io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/btrfs/disk-io.

[PATCH 2/7] btrfs: cleanup: mark 'set_state_private' as static

2013-08-07 Thread Sergei Trofimovich
From: Sergei Trofimovich Found by uselex.rb: > set_state_private: [R]: exported from: fs/btrfs/disk-io.o fs/btrfs/built-in.o > fs/btrfs/btrfs.o Signed-off-by: Sergei Trofimovich --- fs/btrfs/extent_io.c | 2 +- fs/btrfs/extent_io.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff

Re: [GIT PULL] msm cleanups for v3.12

2013-08-07 Thread David Brown
On Wed, Aug 07, 2013 at 01:58:16PM -0700, David Brown wrote: The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git for

Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

2013-08-07 Thread Bob Smith
Greg Kroah-Hartman wrote: The proxy device nodes are application specific and need to be created as needed by applications. But applications do not have the permissions in a system to create device nodes. Nor should they need that permission. Agreed. But you need root permissions to install

[PATCH 0/22] Immutable biovecs, block layer changes

2013-08-07 Thread Kent Overstreet
Jens - here's the immutable biovec patch series. I'd really like to get this stuff into 3.12 if at all possible, and I think this series ought to be ready - and, the dio rewrite and various other fun stuff is gated on this stuff. Not much in these patches has changed over the past six months or so

[PATCH 05/22] dm: Use bvec_iter for dm_bio_record()

2013-08-07 Thread Kent Overstreet
This patch doesn't itself have any functional changes, but immutable biovecs are going to add a bi_bvec_done member to bi_iter, which will need to be saved too here. Signed-off-by: Kent Overstreet Cc: Alasdair Kergon Cc: dm-de...@redhat.com --- drivers/md/dm-bio-record.h | 12 +++- 1 fi

[PATCH 02/22] block: Consolidate duplicated bio_trim() implementations

2013-08-07 Thread Kent Overstreet
Someone cut and pasted md's md_trim_bio() into xen-blkfront.c. Come on, we should know better than this. Signed-off-by: Kent Overstreet Cc: Jens Axboe Cc: Neil Brown Cc: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge --- drivers/block/xen-blkfront.c | 53 +-

[PATCH 14/22] block: Kill bio_iovec_idx(), __bio_iovec()

2013-08-07 Thread Kent Overstreet
bio_iovec_idx() and __bio_iovec() don't have any valid uses anymore - previous users have been converted to bio_iovec_iter() or other methods. __BVEC_END() has to go too - the bvec array can't be used directly for the last biovec because we might only be using the first portion of it, we have to i

[PATCH 15/22] rbd: Refactor bio cloning, don't clone biovecs

2013-08-07 Thread Kent Overstreet
Now that we've got drivers converted to the new immutable bvec primitives, bio splitting becomes much easier. In a few patches, bio_clone() will be changed to share the old bio's bvec instead of copying it, and bio_split() will do exactly what's being done here. Signed-off-by: Kent Overstreet Cc:

Re: [PATCH 03/17] Add system pointer argument to shared EFI stub related functions so they no longer use global system table pointer as they did when part of eboot.c.

2013-08-07 Thread Matt Fleming
On Wed, 07 Aug, at 10:10:54AM, Roy Franz wrote: > I went this way since the shared code is in a separate file - I really > didn't like using a global variable as part of the interface to > the shared code. This has the nice side benefit of allowing the ARM > stub to not use any global variables, s

[PATCH 22/22] block: Don't save/copy bvec array anymore, share when cloning

2013-08-07 Thread Kent Overstreet
Now that drivers have been converted to the bvec_iter primitives, they shouldn't be modifying the biovec anymore and thus saving it is unnecessary - code that was previously making a backup of the bvec array can now just save bio->bi_iter. Also, when cloning bios we can usually just reuse the orig

Re: [RFC][PATCH 3/2] x86/jump labels: Count and display the short jumps used

2013-08-07 Thread Linus Torvalds
On Wed, Aug 7, 2013 at 2:37 PM, Jason Baron wrote: > > ok - I can see 2 variants here as you mentioned: > > 1) 'Unbiased' - we want to treat both branches equally but don't want > the load/test/jmp sequence. For things like the scheduler stats. > > 2) 'Biased' - where the unlikely path is moved co

[PATCH 21/22] block: Kill bio_pair_split()

2013-08-07 Thread Kent Overstreet
Signed-off-by: Kent Overstreet Cc: Jens Axboe --- fs/bio-integrity.c | 45 --- fs/bio.c| 90 - include/linux/bio.h | 30 -- 3 files changed, 165 deletions(-) diff --git a/fs/bio-integrity.c

[PATCH 13/22] ceph: Convert to immutable biovecs

2013-08-07 Thread Kent Overstreet
Now that we've got a mechanism for immutable biovecs - bi_iter.bi_bvec_done - we need to convert drivers to use primitives that respect it instead of using the bvec array directly. Signed-off-by: Kent Overstreet Cc: Jens Axboe Cc: Sage Weil Cc: ceph-de...@vger.kernel.org --- include/linux/ceph

[PATCH 20/22] block: Introduce new bio_split()

2013-08-07 Thread Kent Overstreet
The new bio_split() can split arbitrary bios - it's not restricted to single page bios, like the old bio_split() (previously renamed to bio_pair_split()). It also has different semantics - it doesn't allocate a struct bio_pair, leaving it up to the caller to handle completions. Then convert the ex

[PATCH 16/22] dm: Refactor for new bio cloning/splitting

2013-08-07 Thread Kent Overstreet
We need to convert the dm code to the new bvec_iter primitives which respect bi_bvec_done; they also allow us to drastically simplify dm's bio splitting code. Also kill bio_sector_offset(), dm was the only user and it doesn't make much sense anymore. Signed-off-by: Kent Overstreet Cc: Jens Axboe

[PATCH 18/22] block: Generic bio chaining

2013-08-07 Thread Kent Overstreet
This adds a generic mechanism for chaining bio completions. This is going to be used for a bio_split() replacement, and some other things in the future. This is implemented with a new bio flag that bio_endio() checks; it would definitely be cleaner to implement chaining with a bi_end_io function,

[PATCH 12/22] block: Convert drivers to immutable biovecs

2013-08-07 Thread Kent Overstreet
Now that we've got a mechanism for immutable biovecs - bi_iter.bi_bvec_done - we need to convert drivers to use primitives that respect it instead of using the bvec array directly. Signed-off-by: Kent Overstreet Cc: Jens Axboe Cc: NeilBrown Cc: "Ed L. Cashin" Cc: Alasdair Kergon Cc: dm-de...@

[PATCH 17/22] block: Remove bi_idx hacks

2013-08-07 Thread Kent Overstreet
Now that drivers have been converted to the new bvec_iter primitives, there's no need to trim the bvec before we submit it; and we can't trim it once we start sharing bvecs. It used to be that passing a partially completed bio (i.e. one with nonzero bi_idx) to generic_make_request() was a dangerou

[PATCH 19/22] block: Rename bio_split() -> bio_pair_split()

2013-08-07 Thread Kent Overstreet
This is prep work for introducing a more general bio_split(). Signed-off-by: Kent Overstreet Cc: Jens Axboe Cc: NeilBrown Cc: Alasdair Kergon Cc: Lars Ellenberg Cc: Peter Osterlund Cc: Sage Weil --- drivers/block/pktcdvd.c | 2 +- drivers/md/linear.c | 2 +- drivers/md/raid0.c | 6

Re: [PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Eric Sandeen
On 8/7/13 4:43 PM, Sergei Trofimovich wrote: ... > Meet uselex.rb: one-file script to parse 'nm' output: > > https://github.com/trofi/uselex/blob/master/uselex.rb Nice to meet you! I think I've met your close relative, ftp://ftp.samba.org/pub/unpacked/junkcode/findstatic.pl :) #!/usr/bin

[PATCH 11/22] block: Kill bio_segments()/bi_vcnt usage

2013-08-07 Thread Kent Overstreet
When we start sharing biovecs, keeping bi_vcnt accurate for splits is going to be error prone - and unnecessary, if we refactor some code. So bio_segments() has to go - but most of the existing users just needed to know if the bio had multiple segments, which is easier - add a bio_multiple_segment

[PATCH] perf tests: Fix compile failure on do_sort_something

2013-08-07 Thread David Ahern
Commit b55ae0a9 added code-reading.c which fails to compile on Fedora 16 with compiler version: $ gcc --version gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2) Failure message is: tests/code-reading.c: In function ‘do_sort_something’: tests/code-reading.c:305:13: error: stack protector not protecting

Re: [PATCH 0/1] Platform: x86: chromeos_laptop - convert to i2c_driver to handle i915 race

2013-08-07 Thread Benson Leung
Hi Martin, On Sun, Aug 4, 2013 at 10:32 PM, Martin Nordholts wrote: > ... I must admit I did not see this. I realize that this makes my > patch a dead end. I wish I would have seen that earlier, that would > have saved time for everyone. My apologies. > > Regarding the interaction with non-i2c d

[PATCH 08/22] block: Immutable bio vecs

2013-08-07 Thread Kent Overstreet
This adds a mechanism by which we can advance a bio by an arbitrary number of bytes without modifying the biovec: bio->bi_iter.bi_bvec_done indicates the number of bytes completed in the current bvec. Various driver code still needs to be updated to not refer to the bvec directly before we can use

[PATCH 03/22] bcache: Kill unaligned bvec hack

2013-08-07 Thread Kent Overstreet
Bcache has a hack to avoid cloning the biovec if it's all full pages - but with immutable biovecs coming this won't be necessary anymore. For now, we remove the special case and always clone the bvec array so that the immutable biovec patches are simpler. Signed-off-by: Kent Overstreet --- driv

[PATCH 10/22] bio-integrity: Convert to bvec_iter

2013-08-07 Thread Kent Overstreet
The bio integrity is also stored in a bvec array, so if we use the bvec iter code we just added, the integrity code won't need to implement its own iteration stuff (bio_integrity_mark_head(), bio_integrity_mark_tail()) Signed-off-by: Kent Overstreet Cc: Jens Axboe Cc: "Martin K. Petersen" Cc: "

[PATCH 09/22] block: Convert bio_copy_data() to bvec_iter

2013-08-07 Thread Kent Overstreet
Our fancy new bvec iterator makes code like this much easier to write. Signed-off-by: Kent Overstreet Cc: Jens Axboe --- fs/bio.c | 60 +--- 1 file changed, 25 insertions(+), 35 deletions(-) diff --git a/fs/bio.c b/fs/bio.c index 1c10ccc.

[PATCH 06/22] block: Convert bio_iovec() to bvec_iter

2013-08-07 Thread Kent Overstreet
For immutable biovecs, we'll be introducing a new bio_iovec() that uses our new bvec iterator to construct a biovec, taking into account bvec_iter->bi_bvec_done - this patch updates existing users for the new usage. Some of the existing users really do need a pointer into the bvec array - those us

Re: [PATCH 00/26] STA2X11 devicetree support for amba/pci

2013-08-07 Thread H. Peter Anvin
On 08/07/2013 02:12 PM, Alessandro Rubini wrote: > > Thank you for your feedback. May I ask three more questions (this is > the 1st)? > > Is the patch-set a viable approach for mainline, modulo serious evaluation > of the hairy IRQ details and the other bits? > Serious evaluation is definitely

Re: [PATCH] ACPI: Try harder to resolve _ADR collisions for bridges

2013-08-07 Thread Rafael J. Wysocki
On Wednesday, August 07, 2013 11:49:26 AM Bjorn Helgaas wrote: > On Tue, Aug 6, 2013 at 5:00 PM, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > In theory, under a given ACPI namespace node there should be only > > one child device object with _ADR whose value matches a given bus > >

[PATCH 01/22] block: Use rw_copy_check_uvector()

2013-08-07 Thread Kent Overstreet
No need for silly open coding - and struct sg_iovec has exactly the same layout as struct iovec... Signed-off-by: Kent Overstreet Cc: Jens Axboe --- block/scsi_ioctl.c | 39 ++- 1 file changed, 10 insertions(+), 29 deletions(-) diff --git a/block/scsi_ioctl.

Potentially missing "else"

2013-08-07 Thread Jan Engelhardt
The following changes since commit 48a409644199d5efff6d966cd72ccc7f5a06c2a5: shell-completion: Make options accept '=' as last char (2013-08-02 12:07:39 -0300) are available in the git repository at: git://git.inai.de/kmod master for you to fetch changes up to e4523541e7f26457cf7078d5f30e

[PATCH] depmod: add missing "else" clause

2013-08-07 Thread Jan Engelhardt
It occurred to an openSUSE user that our mkinitrd would throw a warning when used with kmod: libkmod: conf_files_list: unsupported file mode /dev/null: 0x21b6 Grepping for the error message revealed that there might be a missing "else" keyword here, since it is unusual to put an "if" directly aft

Re: [PATCH 00/26] STA2X11 devicetree support for amba/pci

2013-08-07 Thread H. Peter Anvin
On 08/07/2013 02:12 PM, Alessandro Rubini wrote: > > I understand. My impression of devicetree is exactly like that, I must > say. What we have here is a very clean PCI enumeration of it all: we > only need to specify the mapping of GPIO pins (i.e. card-detect for > mmc) and DMA channels, as all

[PATCH] bq24190_charger: Add support for TI BQ24190 Battery Charger

2013-08-07 Thread Mark A. Greer
Add driver support for the Texas Instruments BQ24190 battery charger. Some of the information provided by the device is about the charger and other information is about the battery so create two power_supply objects (one for each) and provide the appropriate information for each one. The device h

Re: [GIT PULL] msm cleanups for v3.12

2013-08-07 Thread David Brown
On Wed, Aug 07, 2013 at 02:52:59PM -0700, David Brown wrote: On Wed, Aug 07, 2013 at 01:58:16PM -0700, David Brown wrote: The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git

Re: [PATCH 0/7] uselex.rb as a tiny tool to find dead code

2013-08-07 Thread Sergei Trofimovich
On Wed, 07 Aug 2013 17:02:23 -0500 Eric Sandeen wrote: > On 8/7/13 4:43 PM, Sergei Trofimovich wrote: > > ... > > > Meet uselex.rb: one-file script to parse 'nm' output: > > > > https://github.com/trofi/uselex/blob/master/uselex.rb > > Nice to meet you! I think I've met your close relati

Re: perf,arm -- another (different) fuzzer oops

2013-08-07 Thread Will Deacon
On Wed, Aug 07, 2013 at 09:14:55PM +0100, Vince Weaver wrote: > Hello Hi Vince, > I don't have time to come up with a test case right now, but I've > applied the patch to fix the oops from two days ago, and re-ran > my perf_fuzzer tool and it immediately came up with another issue on ARM. > This

Re: [PATCH 04/22] block: Abstract out bvec iterator

2013-08-07 Thread Geoff Levand
Hi Kent, On Wed, 2013-08-07 at 14:54 -0700, Kent Overstreet wrote: > Immutable biovecs are going to require an explicit iterator. To > implement immutable bvecs, a later patch is going to add a bi_bvec_done > member to this struct; for now, this patch effectively just renames > things. > diff --g

Re: [PATCH 00/11] Add compression support to pstore

2013-08-07 Thread Tony Luck
On Tue, Aug 6, 2013 at 10:35 PM, Tony Luck wrote: > ERST is at the whim of the BIOS writer (the ACPI standard doesn't provide any > suggestions on record sizes). My systems support ~6K record size. Off by a little - 7896 bytes on my current machine. > efivars has, IIRC, a 1k limit coded in the

Re: List corruption in hidraw_release in 3.11-rc4

2013-08-07 Thread Peter Wu
On Wednesday 07 August 2013 15:34:08 Jiri Kosina wrote: > On Wed, 7 Aug 2013, Peter Wu wrote: > > [..] > > I have applied Manoj's patch[1] on top of 3.11-rc4 which seem to fix the > > issue. One observation is that the new device is named /dev/hidraw1 > > instead of /dev/hidraw0. Example: > > > >

Re: perf,arm -- oops in validate_event

2013-08-07 Thread Will Deacon
On Wed, Aug 07, 2013 at 04:30:33PM +0100, Vince Weaver wrote: > On Wed, 7 Aug 2013, Vince Weaver wrote: > > On Wed, 7 Aug 2013, Will Deacon wrote: > > > diff --git a/arch/arm/kernel/perf_event.c b/arch/arm/kernel/perf_event.c > > > index d9f5cd4..0500f10b 100644 > > > --- a/arch/arm/kernel/perf_eve

[PATCH] mmc: sdhci-bcm-kona: make linker-section warning go away

2013-08-07 Thread Markus Mayer
This change makes the following build warning go away: [...] LINKvmlinux LD vmlinux.o MODPOST vmlinux.o WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' Signed-off-by: Markus Mayer Reviewed-by: Christ

Re: [PATCH 1/3] memcg: limit the number of thresholds per-memcg

2013-08-07 Thread Kirill A. Shutemov
On Wed, Aug 07, 2013 at 04:37:27PM +0200, Michal Hocko wrote: > On Wed 07-08-13 09:58:18, Tejun Heo wrote: > > Hello, > > > > On Wed, Aug 07, 2013 at 03:46:54PM +0200, Michal Hocko wrote: > > > OK, I have obviously misunderstood your concern mentioned in the other > > > email. Could you be more sp

Re: OPP: rename functions? (was [PATCH] OPP: Export opp_add())

2013-08-07 Thread Rafael J. Wysocki
On Wednesday, August 07, 2013 10:48:54 AM Nishanth Menon wrote: > Rafael, > offline question: Not really offline. :-) > On 08/06/2013 09:15 AM, Rafael J. Wysocki wrote: > > On Tuesday, August 06, 2013 08:08:20 AM Nishanth Menon wrote: > >> change in subject to reflect new discussion. > >> > >> On

RE: [PATCH 3/5] x86, AMD: cleanup: merge common code in early microcode loading

2013-08-07 Thread Yu, Fenghua
> From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Wednesday, July 24, 2013 6:33 AM > On Tue, Jul 23, 2013 at 11:00:26PM +0200, Torsten Kaiser wrote: > > Extract common checks and initialisations from load_ucode_ap() and > > save_microcode_in_initrd_amd() to load_microcode_amd_early(). > > loa

Re: [PATCH v2] mm: make lru_add_drain_all() selective

2013-08-07 Thread Cody P Schafer
On 08/06/2013 01:22 PM, Chris Metcalf wrote: [...] /** + * schedule_on_each_cpu - execute a function synchronously on each online CPU + * @func: the function to call + * + * schedule_on_each_cpu() executes @func on each online CPU using the + * system workqueue and blocks until all CPUs have

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-07 Thread Rafael J. Wysocki
On Wednesday, August 07, 2013 04:25:14 PM Sedat Dilek wrote: > On Wed, Aug 7, 2013 at 7:54 AM, Stephen Rothwell > wrote: > > Hi all, > > > > Changes since 20130806: > > > > The ext4 tree lost its build failure. > > > > The mvebu tree gained a build failure so I used the version from > > next-2013

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-07 Thread Colin Cross
Can you try add a call to show_state_filter(TASK_UNINTERRUPTIBLE) in the error path of try_to_freeze_tasks(), where it prints the "refusing to freeze" message? It will print the stack trace of every thread since they are all in the freezer, so the output will be very long. On Wed, Aug 7, 2013 at

Re: [PATCH v2 1/2] ALSA: Added jack detection KControl support

2013-08-07 Thread Felipe Tonello
Hi Mark, On Wed, Aug 7, 2013 at 9:45 AM, Mark Brown wrote: > On Fri, Aug 02, 2013 at 12:59:24AM -0700, Felipe F. Tonello wrote: > >> +int jack_ctl_integer_info(struct snd_kcontrol *kcontrol, >> + struct snd_ctl_elem_info *uinfo) >> +{ >> + uinfo->type = SNDRV_CTL_ELEM

[GIT PULL v2] msm cleanups for v3.12

2013-08-07 Thread David Brown
The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/davidb/linux-msm.git tags/msm-cleanup3-for-3.12 for you to fetch changes up to 3294a

[GIT PULL] ARM: SoC fixes for 3.11-rc5

2013-08-07 Thread Kevin Hilman
Hi Linus, I'm stepping in to help Olof in arm-soc land while Arnd is away for a bit. Please consider the fixes below for -rc5, Thanks. Kevin The following changes since commit 5ae90d8e467e625e447000cb4335c4db973b1095: Linux 3.11-rc3 (2013-07-28 20:53:33 -0700) are available in the git repo

Re: [PATCH] cpufreq: exynos5440: Fix to skip when new frequency same as current

2013-08-07 Thread Rafael J. Wysocki
On Wednesday, August 07, 2013 05:03:59 PM Viresh Kumar wrote: > On 7 August 2013 17:00, Sudeep KarkadaNagesha > wrote: > > Any particular reason we need this check in all drivers after your > > commit: 5a1c0228 "cpufreq: Avoid calling cpufreq driver's target() > > routine if target_freq == policy-

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-07 Thread Sedat Dilek
On Thu, Aug 8, 2013 at 12:58 AM, Colin Cross wrote: > Can you try add a call to show_state_filter(TASK_UNINTERRUPTIBLE) in > the error path of try_to_freeze_tasks(), where it prints the "refusing > to freeze" message? It will print the stack trace of every thread > since they are all in the freez

[PATCH v2] drivers/crypto/nx: saves chaining value from co-processor

2013-08-07 Thread Fionnuala Gunter
This patch fixes a bug that is triggered when cts(cbc(aes)) is used with nx-crypto driver on input larger than 32 bytes. The chaining value from co-processor was not being saved. This value is needed because it is used as the IV by cts(cbc(aes)). Signed-off-by: Fionnuala Gunter Reviewed-by: Marc

Re: perf,arm -- another (different) fuzzer oops

2013-08-07 Thread Stephen Boyd
On 08/07/13 15:31, Will Deacon wrote: > On Wed, Aug 07, 2013 at 09:14:55PM +0100, Vince Weaver wrote: > >> [ 388.509063] Unable to handle kernel paging request at virtual address >> 73fd14cc >> [ 388.509063] pgd = eca6c000 >> [ 388.519805] [73fd14cc] *pgd= >> [ 388.523651] Internal err

Re: linux-next: Tree for Aug 7

2013-08-07 Thread David Miller
From: Phil Sutter Date: Wed, 7 Aug 2013 20:37:58 +0200 > One could simply call skb_push(skb, ETH_HLEN) right after calling > eth_type_trans(skb, dev) in order to undo the 'data' and 'len' > adjustment. Not sure if this kind of hack is the right way to go here, > or if the whole af_packet parses e

Re: [RFC] gcc feature request: Moving blocks into sections

2013-08-07 Thread Mathieu Desnoyers
* Steven Rostedt (rost...@goodmis.org) wrote: > On Wed, 2013-08-07 at 12:03 -0400, Mathieu Desnoyers wrote: > > > You might want to try creating a global array of counters (accessible > > both from C for printout and assembly for update). > > > > Index the array from assembly using: (2f - 1f) >

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 5:26 PM, Andrew Morton wrote: > On Wed, 7 Aug 2013 17:21:32 -0400 Ed Cashin wrote: ... >> Sorry. I tried to cover that but maybe should have separated it more >> clearly from the running text. >> >> The patch changes the current behavior encountered with direct I/O and aoe:

Re: [PATCH] RAID: add tilegx SIMD implementation of raid6

2013-08-07 Thread NeilBrown
On Wed, 7 Aug 2013 12:39:56 -0400 Ken Steele wrote: > This change adds TILE-Gx SIMD instructions to the software raid > (md), modeling the Altivec implementation. This is only for Syndrome > generation; there is more that could be done to improve recovery, > as in the recent Intel SSE3 recovery i

Re: [PATCH v3 0/3] fs/binfmts: Improve handling of loops

2013-08-07 Thread Zach Levis
On 08/06/2013 02:11 PM, Kees Cook wrote: Hi Zach, I like the idea behind these clean ups. Thanks for working on them! On Fri, Aug 02, 2013 at 04:21:40PM -0700, Zach Levis wrote: This v3 is based off Oleg's changes from "exec: more cleanups" and "exec: minor cleanups + minor fix" I would echo

Re: linux-next: Tree for Aug 7

2013-08-07 Thread David Miller
From: David Miller Date: Wed, 07 Aug 2013 16:27:48 -0700 (PDT) > Look, I'm going to fix this myself, because I'm pretty tired of > waiting for the obvious fix. Someone please test this: diff --git a/include/linux/etherdevice.h b/include/linux/etherdevice.h index c623861..afc02a6 100644 --- a/in

[PLEASE PULL] virtio fixes (again!)

2013-08-07 Thread Rusty Russell
The following changes since commit 3b2f64d00c46e1e4e9bd0bb9bb12619adac27a4b: Linux 3.11-rc2 (2013-07-21 12:05:29 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux.git tags/fixes-for-linus for you to fetch changes up to aa52aeea2725839b

RE: [PATCH 3/5] x86, AMD: cleanup: merge common code in early microcode loading

2013-08-07 Thread Yu, Fenghua
> From: Yu, Fenghua > Sent: Wednesday, August 07, 2013 3:46 PM > > > From: Borislav Petkov [mailto:b...@alien8.de] > > Sent: Wednesday, July 24, 2013 6:33 AM > > On Tue, Jul 23, 2013 at 11:00:26PM +0200, Torsten Kaiser wrote: > > > Extract common checks and initialisations from load_ucode_ap() and

Re: linux-next: Tree for Aug 7 [ call-trace on suspend: ext4 | pm related ? ]

2013-08-07 Thread Colin Cross
On Wed, Aug 7, 2013 at 4:15 PM, Sedat Dilek wrote: > On Thu, Aug 8, 2013 at 12:58 AM, Colin Cross wrote: >> Can you try add a call to show_state_filter(TASK_UNINTERRUPTIBLE) in >> the error path of try_to_freeze_tasks(), where it prints the "refusing >> to freeze" message? It will print the stac

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Andrew Morton
On Wed, 7 Aug 2013 19:27:40 -0400 Ed Cashin wrote: > On Aug 7, 2013, at 5:26 PM, Andrew Morton wrote: > > > On Wed, 7 Aug 2013 17:21:32 -0400 Ed Cashin wrote: > ... > >> Sorry. I tried to cover that but maybe should have separated it more > >> clearly from the running text. > >> > >> The pat

[PATCH v4 2/2] mm: make lru_add_drain_all() selective

2013-08-07 Thread Chris Metcalf
This change makes lru_add_drain_all() only selectively interrupt the cpus that have per-cpu free pages that can be drained. This is important in nohz mode where calling mlockall(), for example, otherwise will interrupt every core unnecessarily. Signed-off-by: Chris Metcalf --- v4: don't lose pos

[PATCH v4 1/2] workqueue: add new schedule_on_cpu_mask() API

2013-08-07 Thread Chris Metcalf
This primitive allows scheduling work to run on a particular set of cpus described by a "struct cpumask". This can be useful, for example, if you have a per-cpu variable that requires code execution only if the per-cpu variable has a certain value (for example, is a non-empty list). Signed-off-by

Re: [PATCH v3 00/25] Arrange hotpluggable memory as ZONE_MOVABLE.

2013-08-07 Thread Rafael J. Wysocki
On Wednesday, August 07, 2013 06:51:51 PM Tang Chen wrote: > This patch-set aims to solve some problems at system boot time > to enhance memory hotplug functionality. > > [Background] > > The Linux kernel cannot migrate pages used by the kernel because > of the kernel direct mapping. Since va = p

Re: [PATCH] aoe: adjust ref of head for compound page tails

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 5:27 PM, Andrew Morton wrote: > On Wed, 7 Aug 2013 14:18:35 -0700 Andrew Morton > wrote: > >> On Wed, 7 Aug 2013 17:12:36 -0400 Ed Cashin wrote: >> >>> >>> On Aug 7, 2013, at 4:58 PM, Andrew Morton wrote: >>> On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote:

[PATCH 2/2] ACPI: Print diagnostic messages if device links cannot be created

2013-08-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Although the device links created by acpi_bind_one() are not essential from the kernel functionality point of view, user space may be confused when they are missing, so print diagnostic messages to the kernel log if they can't be created. Signed-off-by: Rafael J. Wysocki

[PATCH 1/2] ACPI: Drop unnecessary label from acpi_bind_one()

2013-08-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The out_free label in acpi_bind_one() is only jumped to from one place, so in fact it is not necessary, because the code below it can be moved to that place directly. Move that code and drop the label. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/glue.c | 19 +++

[PATCH 0/2] ACPI: More acpi_bind_one() cleanups

2013-08-07 Thread Rafael J. Wysocki
Hi All, Two more cleanups for acpi_bind_one() on top of linux-pm.git/linux-next follow: [1/2] Drop unnecessary label from acpi_bind_one(). [2/2] Print diagnostic messages if device links cannot be created. Thanks, Rafael -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technol

Re: [net-next 0/6] Reduce code duplication of zerocopy of tun and macvtap

2013-08-07 Thread David Miller
From: Jason Wang Date: Tue, 6 Aug 2013 17:45:02 +0800 > This series tries to reduce the code duplication of zerocopy of tun and > macvtap > by: > > - Move common helpers iov_pages() and zerocopy_sg_from_iovec() to net/core > - Use exist helpers instead of open coding the new one > > With this

<    2   3   4   5   6   7   8   9   >