Re: [PATCH/RFC 0/4] perf ui/gtk: Separate out GTK code to a shared object (v2)

2013-08-07 Thread Arnaldo Carvalho de Melo
Em Tue, Aug 06, 2013 at 02:14:12PM +0900, Namhyung Kim escreveu: > Hi, > > This is v2 of gtk code separation patchset to reduce library > dependencies of the perf executable. > > I only built libperf-gtk.so with -fPIC, and it's not linked to libperf > at build time. All unresolved symbols used f

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Matt Fleming
[ Readding Matthew Garrett to the Cc list, seeing as we both got removed for some unknown reason ] On Wed, 07 Aug, at 10:23:56AM, Andrew Fish wrote: > OK so I think I need some Cliff Notes here to help me understand what > is going on... > > type 4 is EfiBootServicesData and attr 0x0f is cache

Re: RFC: device thermal limits represented in device tree nodes

2013-08-07 Thread Eduardo Valentin
Pawel, all, On 06-08-2013 07:14, Pawel Moll wrote: > Apologies about the delay, I was "otherwise engaged" for a week... > I do also excuse for my delay, as I was also "engaged" for a week or so. > I hope you haven't lost all motivation to work on this subject, as it's > really worth the while!

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-07 Thread Andrew Morton
On Wed, 31 Jul 2013 00:41:55 +0400 Cyrill Gorcunov wrote: > Andy Lutomirski reported that in case if a page with _PAGE_SOFT_DIRTY > bit set get swapped out, the bit is getting lost and no longer > available when pte read back. > > To resolve this we introduce _PTE_SWP_SOFT_DIRTY bit which is > s

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 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" > > > > > > > > The radix tree is variable-height, so an insert operation not only has > > > > to build the branch

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 03:22 PM, Linus Torvalds wrote: > On Wed, Aug 7, 2013 at 10:54 AM, Steven Rostedt wrote: >> On another box, using a distro config, I had even better results: >> >> [2.352448] short jumps: 193 >> [2.355407] long jumps: 219 > .. well, another way of looking at this is to say t

Re: [PATCH 03/10] idr: Rewrite ida

2013-08-07 Thread Tejun Heo
Hello, Kent. On Wed, Aug 07, 2013 at 10:34:58AM -0700, Kent Overstreet wrote: > + * So for 1 mb of memory (and allocating more than that should be fine with > + * CONFIG_COMPACTION) you get slightly under 8 million IDs. Nothing seems to explain the section thing. This is broken up now, right? W

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

2013-08-07 Thread Arnaldo Carvalho de Melo
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) > > > + evsel->attr.pinned = mod.pinned

[PATCH] pinctrl: nomadik: delete ancient pin control API

2013-08-07 Thread Linus Walleij
From: Linus Walleij The pin control subsystem was created to do away with custom pin control APIs such as this one. It was kept for backward-compatibility but is completely unused in the current kernel, so let's delete it. Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-nomadik.c

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Matt Fleming
[ Adding Matthew for reals this time ] On Wed, 07 Aug, at 09:19:08PM, Matt Fleming wrote: > [ Readding Matthew Garrett to the Cc list, seeing as we both got removed > for some unknown reason ] > > On Wed, 07 Aug, at 10:23:56AM, Andrew Fish wrote: > > > OK so I think I need some Cliff Notes her

Re: [PATCH 4/5] perf kvm: option to print events that exceed a threshold

2013-08-07 Thread David Ahern
On 8/7/13 3:27 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Aug 05, 2013 at 09:41:36PM -0400, David Ahern escreveu: This is useful to spot high latency blips. It is normal for HLT reasons to have long exit times, so strip those from the threshold check. So 'perf trace' has a similar option: [a

Re: [PATCH 4/7] perf completion: modernize style

2013-08-07 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 16, 2013 at 10:52:55PM +0530, Ramkumar Ramachandra escreveu: > Arnaldo Carvalho de Melo wrote: > > Huh? Why would this be more "modern", if both are equivalent, I think > > applying the same rules as we have for C code applies here. > > It's the prevalent style in git.git, and I figure

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-08-07 Thread Andrew Morton
On Wed, 31 Jul 2013 00:41:56 +0400 Cyrill Gorcunov wrote: > +#define pte_to_pgoff(pte)\ > + pte).pte_low >> (PTE_FILE_SHIFT1)) \ > + & ((1U << PTE_FILE_BITS1) - 1))) \ > + + pte

PREEMPT_RT vs bcache

2013-08-07 Thread Ben Hutchings
As Kent said back in 2011 (commit 84759c6d18c5), bcache needs {down,up}_read_non_owner(). But these are not implemented by the -rt patchset when PREEMPT_RT_FULL is enabled. Can they be added, or is there a fundamental conflict here? Ben. -- Ben Hutchings Experience is what causes a person to m

Re: [PATCH 1/8] ARM: at91: move peripheral id definitions to dt-bindings include dir

2013-08-07 Thread Arnd Bergmann
On Thursday 01 August 2013, Boris BREZILLON wrote: > > This patch moves peripheral id definitions from machine specific include > dir (arch/arm/mach-at91/include/mach/'soc-name'.h) to dt-bindinds include > dir (include/dt-bindings/at91/'soc-name'/peripherals.h). > > These definitions will be used

Re: [patch 1/2] [PATCH] mm: Save soft-dirty bits on swapped pages

2013-08-07 Thread Cyrill Gorcunov
On Wed, Aug 07, 2013 at 01:21:56PM -0700, Andrew Morton wrote: > > > > One of the problem was to find a place in pte entry where we can > > save the _PTE_SWP_SOFT_DIRTY bit while page is in swap. The > > _PAGE_PSE was chosen for that, it doesn't intersect with swap > > entry format stored in pte.

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

2013-08-07 Thread Steven Rostedt
On Wed, 2013-08-07 at 12:49 -0700, Linus Torvalds wrote: > On Wed, Aug 7, 2013 at 12:27 PM, H. Peter Anvin wrote: > > Well we do... both to extract relocations and to sort the exception table. > > Perhaps we need to merge those kinds of postprocessing tools? > > If we can do this generically an

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-08-07 Thread Cyrill Gorcunov
On Wed, Aug 07, 2013 at 01:28:12PM -0700, Andrew Morton wrote: > > Good god. > > I wonder if these can be turned into out-of-line functions in some form > which humans can understand. > > or > > #define pte_to_pgoff(pte) > frob(pte, PTE_FILE_SHIFT1, PTE_FILE_BITS1) + > frob(PTE_FILE

Re: [PATCH] Staging:BCM:DDRInit.c:Replacing __FUNCTION__

2013-08-07 Thread Sergey Senozhatsky
On (08/07/13 20:40), Paul McQuade wrote: > __func__ replaces __Function__. > > Signed-off-by: Paul McQuade > --- > drivers/staging/bcm/DDRInit.c | 75 > - > 1 file changed, 29 insertions(+), 46 deletions(-) > > diff --git a/drivers/staging/bcm/DDRInit.

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

2013-08-07 Thread Steven Rostedt
On Wed, 2013-08-07 at 16:19 -0400, Jason Baron wrote: > The whole point of the thread started with wanting to move the default > 'disabled' branch further out-of-line. We could get there with better > compiler support for the 'cold' label attribute. Thus, in theory the > whole 2-byte jmp is just a

Re: [PATCH 4/5] perf kvm: option to print events that exceed a threshold

2013-08-07 Thread Arnaldo Carvalho de Melo
Em Wed, Aug 07, 2013 at 04:24:23PM -0400, David Ahern escreveu: > On 8/7/13 3:27 PM, Arnaldo Carvalho de Melo wrote: > >Em Mon, Aug 05, 2013 at 09:41:36PM -0400, David Ahern escreveu: > >So 'perf trace' has a similar option: > > > >[acme@zoo linux]$ perf trace --help > > > > --duration > >

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

2013-08-07 Thread Jan Kara
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" > > > > > > > > > > The radix tree is variable-heigh

[PATCH] tile: remove calls to arch_flush_lazy_mmu_mode()

2013-08-07 Thread Chris Metcalf
Since it's a no-op on tile anyway, there's no reason to be calling it in tile-specific code. Signed-off-by: Chris Metcalf --- arch/tile/mm/fault.c | 5 ++--- arch/tile/mm/highmem.c | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/arch/tile/mm/fault.c b/arch/tile/mm/fault.

[PATCH] tile: add some tile drivers to MAINTAINERS

2013-08-07 Thread Chris Metcalf
Also, alphabetize the existing entries for tile. Signed-off-by: Chris Metcalf --- MAINTAINERS | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index bf61e04..8f49198 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8288,9 +8288,13 @@ M: Ch

[PATCH] tile: support CONFIG_PREEMPT

2013-08-07 Thread Chris Metcalf
This change adds support for CONFIG_PREEMPT (full kernel preemption). In addition to the core support, this change includes a number of places where we fix up uses of smp_processor_id() and per-cpu variables. I also eliminate the PAGE_HOME_HERE and PAGE_HOME_UNKNOWN values for page homing, as it t

[PATCH] tile: support simulator notification for ET_DYN objects

2013-08-07 Thread Chris Metcalf
The tile code notifies the simulator of new ET_EXEC objects starting to execute so that tracing code can properly annotate the objects. However, we didn't support ET_DYN executables like ld.so, so we didn't properly load symbols, etc. This change enables that support; we use a variant of the SIM_C

[PATCH] tile: improve big-endian support

2013-08-07 Thread Chris Metcalf
First, fix a bug in asm/unaligned.h; we need to just use the asm-generic unaligned.h so we properly choose endian-correct flavors. Second, keep the hv/hypervisor.h ABI fully "native" in the sense that we don't have __BIG_ENDIAN__ ifdefs there. Instead, we use macros in the head_NN.S assembly code

[PATCH] tile: avoid struct vm_struct leak

2013-08-07 Thread Chris Metcalf
If ioreamp_prot() fails in ioremap_page_range() due to kernel memory exhaustion, we previously would leak a struct vm_struct. Signed-off-by: Chris Metcalf --- arch/tile/mm/pgtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/tile/mm/pgtable.c b/arch/tile/mm/pgtable.

[PATCH] RAID: add tilegx SIMD implementation of raid6

2013-08-07 Thread Ken Steele
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 implementation. The code unrolls 8 times; this turns out to be

[PATCH] arch/tile: provide traceability for hypervisor calls

2013-08-07 Thread Chris Metcalf
This change adds infrastructure (CONFIG_TILE_HVGLUE_TRACE) that provides C code wrappers for the calls the kernel makes to the Tilera hypervisor. This allows standard kernel infrastructure like FTRACE to be able to instrument hypervisor calls. To allow direct calls to the true API, we export thei

[PATCH] tile: improve illegal translation interrupt handling

2013-08-07 Thread Chris Metcalf
First, don't re-enable interrupts blindly in the Linux trap handler. We already handle page faults this way; synchronous interrupts like ILL_TRANS will fire even when interrupts are disabled, and we don't want to re-enable interrupts in that case. For ILL_TRANS, we now pass the ILL_VA_PC reason in

[PATCH] tile: make register dumps more readable

2013-08-07 Thread Chris Metcalf
It's much easier to read register dumps if you read vertically rather than horizontally, since the register numbers line up and lead the eye down more than to the right. Signed-off-by: Chris Metcalf --- arch/tile/kernel/process.c | 20 ++-- 1 file changed, 10 insertions(+), 10 de

[PATCH] tile: implement gettimeofday() via vDSO

2013-08-07 Thread Chris Metcalf
This change creates the framework for vDSO calls, makes the existing rt_sigreturn() mechanism use it, and adds a fast gettimeofday(). Now that we need to expose the vDSO address to userspace, we add AT_SYSINFO_EHDR to the set of aux entries provided to userspace. (You can disable any extra vDSO sup

[PATCH] tile: fix some issues in hugepage support

2013-08-07 Thread Chris Metcalf
First, in huge_pte_offset(), we were erroneously checking pgd_present(), which is always true, rather than pud_present(), which is the thing that tells us if there is a top-level (L0) PTE. Fixing this means we properly look up huge page entries only when the Present bit is actually set in the PTE.

Re: [PATCH 26/26] pinctrl: add support for sta2x11 (via pinctrl-nomadik)

2013-08-07 Thread Alessandro Rubini
> Maybe you could add a commit message? Ack (Davide is holidays, I grant that for him). > Apart from that it looks like a straight-forward plug-in to the > Nomadik pin controller, so I'd happily apply it, but I guess it > will go in through the x86 tree? It's part of a bigger series, that adds d

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

2013-08-07 Thread Tejun Heo
On Tue, Aug 06, 2013 at 04:22:39PM -0400, Chris Metcalf wrote: > 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

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 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 (as in "at the end of the function") is a good idea,

[PATCH] idr: Document ida tree sections

2013-08-07 Thread Kent Overstreet
On Wed, Aug 07, 2013 at 04:22:01PM -0400, Tejun Heo wrote: > Hello, Kent. > > On Wed, Aug 07, 2013 at 10:34:58AM -0700, Kent Overstreet wrote: > > + * So for 1 mb of memory (and allocating more than that should be fine with > > + * CONFIG_COMPACTION) you get slightly under 8 million IDs. > > Noth

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Kent Overstreet
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 these are not implemented by the -rt > patchset when PREEMPT_RT_FULL is enabled. Can they be added, or is > there a fundamental conflict

[PATCH v3 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

[PATCH v3 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 --- v3: split commit i

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

2013-08-07 Thread Andrew Morton
On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > As discussed previously, I think I missed that. > the fact that some users of the block > layer provide bios that point to pages with a zero _count means > that it is not OK for the network layer to do a put_page on the > skb frags during an

[GIT PULL] 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 for-3.12/msm-cleanup2 for you to fetch changes up to b80a0dc53d

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

2013-08-07 Thread Andrew Morton
On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > As discussed previously, the fact that some users of the block > layer provide bios that point to pages with a zero _count means > that it is not OK for the network layer to do a put_page on the > skb frags during an skb_linearize, so the aoe d

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-07 Thread Nix
On 7 Aug 2013, Trond Myklebust said: > On Wed, 2013-08-07 at 11:18 +0100, Nix wrote: >> On 6 Aug 2013, Trond Myklebust verbalised: >> > True. How about something like the following instead. Note the change to >> > the original patch... >> >> Well, with those applied I could reboot without a panic

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: 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 want to write new syscall bindings for new languages, which is fine,

Re: WARNING: CPU: 26 PID: 93793 at fs/ext4/inode.c:230 ext4_evict_inode+0x4c9/0x500 [ext4]() still in 3.11-rc3

2013-08-07 Thread Davidlohr Bueso
On Wed, 2013-08-07 at 20:45 +0200, Jan Kara wrote: > On Wed 07-08-13 11:08:43, Davidlohr Bueso wrote: > > Hi Jan, > > > > On Wed, 2013-08-07 at 17:20 +0200, Jan Kara wrote: > > > On Thu 01-08-13 20:58:46, Davidlohr Bueso wrote: > > > > On Thu, 2013-08-01 at 22:33 +0200, Jan Kara wrote: > > > > >

Re: [PATCH] [TRIVIAL] ARM: msm: fix compilation error in gpiomux

2013-08-07 Thread Stephen Boyd
On 08/07, David Brown wrote: > On Wed, Aug 07, 2013 at 08:34:39AM +0200, Krzysztof Kozlowski wrote: > >Fix compilation error in gpiomux (CONFIG_MSM_GPIOMUX=y): > >arch/arm/mach-msm/gpiomux.c:24:13: error: static declaration of > > ???__msm_gpiomux_write??? follows non-static declaration > >arch

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Ben Hutchings
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 these are not implemented by the -rt > > patchset when PREEMPT_RT_FULL is

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Andrew Fish
On Aug 7, 2013, at 1:19 PM, Matt Fleming wrote: > [ Readding Matthew Garrett to the Cc list, seeing as we both got removed > for some unknown reason ] > > On Wed, 07 Aug, at 10:23:56AM, Andrew Fish wrote: > >> OK so I think I need some Cliff Notes here to help me understand what >> is going o

Re: [3.10.4] NFS locking panic, plus persisting NFS shutdown panic from 3.9.*

2013-08-07 Thread Myklebust, Trond
On Wed, 2013-08-07 at 22:01 +0100, Nix wrote: > On 7 Aug 2013, Trond Myklebust said: > > > On Wed, 2013-08-07 at 11:18 +0100, Nix wrote: > >> On 6 Aug 2013, Trond Myklebust verbalised: > >> > True. How about something like the following instead. Note the change to > >> > the original patch... > >>

[PATCH 01/47] perf: Add PERF_EVENT_IOC_ID ioctl to return event ID

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa The only way to get the event ID is by reading the event fd, followed by parsing the ID value out of the returned data. While this is ok for current read format used by perf tool, it is not ok when we use PERF_FORMAT_GROUP format. With this format the data are returned for the w

[PATCH 03/47] perf evlist: Use PERF_EVENT_IOC_ID perf ioctl to read event id

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Changing the way we retrieve the event ID. Instead of parsing out the ID out of the read data, using the PERF_EVENT_IOC_ID ioctl. Keeping the old way in place to support kernels without PERF_EVENT_IOC_ID ioctl support. This will be useful for retrieving the event ID for events w

[PATCH 30/47] perf symbols: Add support for reading from /proc/kcore

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter In the absence of vmlinux, perf tools uses kallsyms for symbols. If the user has access, now also map to /proc/kcore. The dso data_type is now set to either DSO_BINARY_TYPE__KCORE or DSO_BINARY_TYPE__GUEST_KCORE as approprite. This patch breaks the "vmlinux symtab matches k

[PATCH 15/47] perf util: Add parse_nsec_time() function

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The parse_nsec_time() function is for parsing a string of time into 64-bit nsec value. It's a preparation of time filtering in some of perf commands. Signed-off-by: Namhyung Kim Tested-by: David Ahern Acked-by: David Ahern Cc: Andi Kleen Cc: David Ahern Cc: Ingo Molnar

[PATCH 41/47] perf kvm: Add min and max stats to display

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Add max and min times for exit events. v2: address Xiao's comment to use get_event function for pulling max and min from stats struct similar to mean and count Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa

Re: PREEMPT_RT vs bcache

2013-08-07 Thread Uwe Kleine-König
On Wed, Aug 07, 2013 at 01:53:57PM -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 these are not implemented by the -rt > > patchset when PREEMPT_RT_

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

2013-08-07 Thread Ed Cashin
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 missed that. > >> the fact that some users of the block >> layer provide bios that point to pages with a zero _count means >> that it is not OK for

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

2013-08-07 Thread Alessandro Rubini
[stripped list of issues from my original message follows] >> Some of the problems he found are: >> >> * Passing a dtb to the kernel: we use a modified kexec at present >> * Passing correct irq numbers to the AMBA drivers >> * Switching to a new gpio driver with devicetree support >

[PATCH 43/47] perf ui/gtk: Fix segmentation fault on perf_hpp__for_each_format loop

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The commit 2b8bfa6bb8a7 ("perf tools: Centralize default columns init in perf_hpp__init") moves initialization of common overhead column to perf_hpp__init() but forgot about the gtk code. So the gtk code added the same column to the list twice causing infinite loop when iterat

[PATCH 36/47] perf annotate: Add call target name if it is missing

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The /proc/kcore file has no symbols, so the call target name does not display. Fix by looking up the symbol name if it is on the same map. Reported-by: Arnaldo Carvalho de Melo Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri

[PATCH 29/47] perf tools: Make it possible to read object code from kernel modules

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The new "object code reading" test shows that it is not possible to read object code from kernel modules. That is because the mappings do not map to the dsos. This patch fixes that. This involves identifying and flagging relocatable (ELF type ET_REL) files (e.g. kernel modu

[GIT PULL 00/47] perf/core improvements and fixes

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 93786a5f6aeb9c032c1c240246c5aabcf457b38f: watchdog: Make it work under full dynticks (2013-07-30 22:29:15 +0200) are available in the git repository at: git://git.kernel

[PATCH 35/47] perf annotate: Remove nop at end of annotation

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter When kcore is used for annotation, symbols do not have correct sizes because they come from kallsyms, that has only its start address, with the end address being the next symbol's minus one. That sometimes results in an extra nop being seen after the end of a function. Remov

[PATCH 40/47] perf kvm: Add live mode

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern perf kvm stat currently requires back to back record and report commands to see stats. e.g,. perf kvm stat record -p $pid -- sleep 1 perf kvm stat report This is inconvenvient for on box monitoring of a VM. This patch introduces a 'live' mode that in effect combines the re

[PATCH 19/47] perf kvm: Split out tracepoints from record args

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Needed by kvm live command. Make record_args a local while we are messing with the args. Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Runzhen Wang Cc: Xiao Guangrong

[PATCH 27/47] perf tools: Make it possible to read object code from vmlinux

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The new "object code reading" test shows that it is not possible to read object code from vmlinux. That is because the mappings do not map to the dso. This patch fixes that. A side-effect of changing the kernel map is that the "reloc" offset must be taken into account. As

[PATCH 04/47] perf tools: Add support for parsing PERF_SAMPLE_READ sample type

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding support to parse out the PERF_SAMPLE_READ sample bits. The code contains both single and group format specification. This code parse out and prepare PERF_SAMPLE_READ data into the perf_sample struct. It will be used for group leader sampling feature comming in shortly. S

[PATCH 31/47] perf tests: Adjust the vmlinux symtab matches kallsyms test again

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The kallsyms maps now may map to kcore and the symbol values now may be file offsets. For comparison with vmlinux the virtual memory address is needed which is obtained by unmapping the symbol value. The "vmlinux symtab matches kallsyms" is adjusted accordingly. Signed-off-

[PATCH 28/47] perf tests: Adjust the vmlinux symtab matches kallsyms test

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter The vmlinux maps now map to the dso and the symbol values are now file offsets. For comparison with kallsyms the virtual memory address is needed which is obtained by unmapping the symbol value. The "vmlinux symtab matches kallsyms" is adjusted accordingly. Signed-off-by: A

[PATCH 42/47] perf kvm stat report: Add option to analyze specific VM

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Add an option to analyze a specific VM within a data file. This allows the collection of kvm events for all VMs and then analyze data for each VM (or set of VMs) individually. Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc:

[PATCH 46/47] perf machine: Do not require /lib/modules/* on a guest

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jason Wessel For some types of work loads and special guest environments, you might have a kernel that has no kernel modules. The perf kvm record tool fails instantiate vmlinux maps when the kernel modules directory cannot be opened, even though the kallsyms has been properly processed. T

[PATCH 25/47] perf tests: Add test for reading object code

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Using the information in mmap events, perf tools can read object code associated with sampled addresses. A test is added that compares bytes read by perf with the same bytes read using objdump. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo

[PATCH 37/47] perf annotate browser: Improve description of '?' hotkey

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The previous description: "Search previous string" is usually associated with the 'N' following a '/string', the opposite of 'n', which is 'Search next string' in the direction established with '/' or '?'. So change it to 'Search string backwards', to clarify that.

[PATCH 47/47] Revert "tools lib lk: Fix for cross build"

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Joonsoo Kim This reverts commit 079787f209416416383c74ea5d5044be2d586f5e. Below commit already resolve a cross build problem. I have been noticed this too lately. commit 3c4797d46c14fa0c7cf733a77bd4b28875078b53 Author: Rabin Vincent Date: Fri May 17 22:27:44 2013 +0200

[PATCH 26/47] perf symbols: Load kernel maps before using

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter In order to use kernel maps to read object code, those maps must be adjusted to map to the dso file offset. Because lazy-initialization is used, that is not done until symbols are loaded. However the maps are first used by thread__find_addr_map() before symbols are loaded.

[PATCH 44/47] perf tools: Add support for pinned modifier

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman This commit adds support for a new modifier "D", which requests that the event, or group of events, be pinned to the PMU. The "p" modifier is already taken for precise, and "P" may be used in future to mean "fully precise". So we use "D", which stands for pinneD - and loo

[PATCH 24/47] perf symbols: avoid SyS kernel syscall aliases

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter When removing duplicate symbols, prefer to remove syscall aliases starting with SyS or compat_SyS. A side-effect of that is that it results in slightly improved results for the "vmlinux symtab matches kallsyms" test. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederi

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: > > Would it make sense to work on devicetree support in x86 bootloaders > (especially yours, let's ignore grub)? > No, it's already there. ;) -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

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

2013-08-07 Thread Andrew Morton
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 missed that. > > > >> the fact that some users of the block > >> layer provide

[PATCH 02/47] perf: Do not get values from disabled counters in group format read

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa It's possible some of the counters in the group could be disabled when sampling member of the event group is reading the rest via PERF_SAMPLE_READ sample type processing. Disabled counters could then produce wrong numbers. Fixing that by reading only enabled counters for PERF_SAM

[PATCH 21/47] perf evsel: Add support for enabling counters

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add support for enabling already set up counters by using an ioctl. I share some code with the filter setup. Signed-off-by: Andi Kleen Reviewed-by: Jiri Olsa Cc: Jiri Olsa Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1375490473-1503-3-git-send-email-a...@firstfloor.o

Re:

2013-08-07 Thread Western Union
-- 750,000.00 USD deposit alert from Western Union. Send Your Name, Telephone Number, address, Occupation -- 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.org/majordomo-inf

[PATCH 32/47] perf tests: Add kcore to the object code reading test

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Make the "object code reading" test attempt to read from kcore. The test uses objdump which struggles with kcore. i.e. doesn't always work, sometimes takes a long time. The test has been made to work around those issues. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: F

[PATCH 22/47] perf stat: Add support for --initial-delay option

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen When measuring workloads the startup phase -- doing page faults, dynamic linking, opening files -- is often very different from the rest of the workload. Especially with smaller kernels and using counter multiplexing this can give significant measurement errors. Multiplexing as

[PATCH 33/47] perf annotate: Allow disassembly using /proc/kcore

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Annotation with /proc/kcore is possible so the logic is adjusted to allow it. The main difference is that /proc/kcore had no symbols so the parsing logic needed a tweak to read jump offsets. The other difference is that objdump cannot always read from kcore. That seems to be

[PATCH 23/47] perf stat: Flush output after each line in interval mode

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen When interval mode is outputting to a pipe, each measurement should be flushed individually, so that the reader sees it timely. With a terminal each line is automatically flushed by stdio, but that is disabled with non terminal output. Simply fflush output after each time inter

[PATCH 08/47] perf tools: Add 'S' event/group modifier to read sample value

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding 'S' event/group modifier to specify that the event value/s are read by PERF_SAMPLE_READ sample type processing, instead of the period value offered by lower layers. There's additional behaviour change for 'S' modifier being specified on event group: Currently all the even

[PATCH 34/47] perf annotate: Put dso name in symbol annotation title

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Currently the symbol name is displayed at the top when displaying symbol annotation. Add to this the dso long name. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Mike Galbra

[PATCH 45/47] perf tests: Add tests of new pinned modifier

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Michael Ellerman Add a negative test to test__checkevent_pmu_events() to get lots of coverage of the negative case, ie. when the modifier is not specified. Add a test of a single event, and of the group case. Signed-off-by: Michael Ellerman Acked-by: Jiri Olsa Acked-by: Namhyung Kim Cc

[PATCH 38/47] perf annotate browser: Fix typo

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Ingo Molnar Signed-off-by: Ingo Molnar Link: http://lkml.kernel.org/r/20130802111050.ga29...@gmail.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/ui/browsers/annotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/ui/browsers/annotate.c b/to

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

2013-08-07 Thread Ed Cashin
On Aug 7, 2013, at 5:00 PM, Andrew Morton wrote: > On Thu, 1 Aug 2013 21:29:59 -0400 Ed Cashin wrote: > >> As discussed previously, the fact that some users of the block >> layer provide bios that point to pages with a zero _count means >> that it is not OK for the network layer to do a put_page

[PATCH 20/47] perf evlist: Remove obsolete dummy execve

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Minor cleanup. The dummy execve to pre-resolve the PLT is obsolete since "enable_on_execve" was added. The counters are only running after the execve anyways. So just remove it. Signed-off-by: Andi Kleen Reviewed-by: Jiri Olsa Cc: Jiri Olsa Cc: Stephane Eranian Link: http:

[PATCH 13/47] perf trace: Beautify 'connect' result

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo It is an errno, so print an error string. Cc: David Ahern Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-zt68gijvvoe8gd7kmclo4...@git.kernel.org Signed-off-by: Arnaldo C

[PATCH 05/47] perf evlist: Fix event ID retrieval for group format read case

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We need to fail the event ID retrieval in case both following conditions are true: - we are on kernel with no PERF_EVENT_IOC_ID support - PERF_FORMAT_GROUP read format is set The PERF_FORMAT_GROUP read format bit is the killer for retrieving event ID out of the read syscall,

[PATCH 06/47] perf evlist: Add perf_evlist__id2sid method to get event ID related data

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa This will be helpful for PERF_FORMAT_GROUP samples where we need to store ID related period value for each event. 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://l

[PATCH 18/47] perf session: Export a few functions for event processing

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Allows kvm live mode to reuse the event processing and ordered samples processing used by the perf-report path. v2: removed flush_sample_queue as noticed by Jiri Signed-off-by: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zi

[PATCH 14/47] perf python: Remove duplicate TID bit from mask

2013-08-07 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: David Ahern Cc: Frederic Weisbecker Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thiago Peixoto Link: http://lkml.kernel.org/n/tip-jurgz6myq125o1ql6lldh...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- t

Re: [edk2] Corrupted EFI region

2013-08-07 Thread Matthew Garrett
On Wed, Aug 07, 2013 at 02:10:28PM -0700, Andrew Fish wrote: > Well the issue I see is I don't think OS X or Windows are doing this. > So I'm guessing there is some unique thing beings done on the Linux > side and we don't have good tests to catch bugs in the EFI > implementations. If the Linux

[PATCH 17/47] perf stats: Add max and min stats

2013-08-07 Thread Arnaldo Carvalho de Melo
From: David Ahern Need an initialization function to set min to -1 to differentiate from an actual min of 0. Signed-off-by: David Ahern Reviewed-by: Xiao Guangrong Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Runzhen Wang Cc: Xiao Guangron

<    1   2   3   4   5   6   7   8   9   >