[PATCH 34/64] perf tools: Add flex support for parse_events_error

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Allowing flex parser to report back event parsing error, like: $ perf record -e cycles,cache-mises ls event syntax error: '..es,cache-mises' \___ parser error ... Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Paul

[PATCH 35/64] perf tools: Always bail out when config_attr function fails

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Not sure why we allowed the fail state, but it's wrong. Wrong type for 'name' term can cause segfault, and there's probably more fun hidden. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[PATCH 42/64] perf probe: Make --funcs option exclusive

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu The --funcs option should be given exclusively. This adds PARSE_OPT_EXCUSIVE flag on --funcs (-F) option. Without this, 'perf probe --funcs -l' just shows the list of probes. With this, it shows error message correctly. This also fixes the help message and the

[PATCH 33/64] perf tools: Add parse_events_error interface

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding support to return error information from parse_events function. Following struct will be populated by parse_events function on return: struct parse_events_error { int idx; char *str; char *help; }; where 'idx' is the position in the string where the

Re: [PATCH 07/13] mm: meminit: Initialise a subset of struct pages if CONFIG_DEFERRED_STRUCT_PAGE_INIT is set

2015-04-28 Thread Andrew Morton
On Tue, 28 Apr 2015 10:53:23 +0100 Mel Gorman wrote: > > > +#ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT > > > +#define __defermem_init __meminit > > > +#define __defer_init__meminit > > > +#else > > > +#define __defermem_init > > > +#define __defer_init __init > > > +#endif > > > > Could we get

[PATCH 51/64] perf tools: Document --children option in more detail

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim As the --children option changes the output of perf report (and perf top) it sometimes confuses users. Add more words and examples to help understanding of the option's behavior - and how to disable it ;-). Signed-off-by: Namhyung Kim Reviewed-by: Ingo Molnar Cc: David

[PATCH v3 1/3] tty: serial: 8250: export early_serial8250_setup function

2015-04-28 Thread Eddie Huang
8250-like uart driver may call early_serial8250_setup to reuse 8250_early.c character output function. Signed-off-by: Eddie Huang --- drivers/tty/serial/8250/8250_early.c | 2 +- include/linux/serial_8250.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git

[PATCH 46/64] perf stat: Fix metrics calculation with event qualifiers

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Currently in perf IPC and other metrics cannot be directly shown separately for both user and kernel in a single run. The problem was that the metrics matching code did not check event qualifiers. With this patch the following case works correctly. % perf stat -e

[PATCH 49/64] perf stat: Add metrics support for exclude_(host|guest)

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Separating metrics values for guest and host, so we get proper values. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Andi Kleen Cc: David Ahern Cc: Paul Mackerras Cc: Peter Zijlstra Cc: William Cohen Link:

[PATCH v3 0/3] tty: serial: Add earlycon support to MT8173 SoC

2015-04-28 Thread Eddie Huang
This patch add earlycon support to MT8173 SoC platform. To use earlycon, need 1. Add earlycon in boot parameters 2. Add "linux,sdtout-path" property in device tree file This patch based on 4.1-rc1. Change in v3: Remove noinit options, not necessary, because 8250_early.c will not init hardware

Re: [PATCH] x86_64, asm: Work around AMD SYSRET SS descriptor attribute issue

2015-04-28 Thread Borislav Petkov
On Mon, Apr 27, 2015 at 09:45:12PM +0200, Borislav Petkov wrote: > > Maybe you are measuring random noise. > > Yeah. Last exercise tomorrow. Let's see what those numbers would look > like. Right, so with Mel's help, I did a simple microbenchmark to measure how many cycles a syscall (getpid())

[PATCH v3 3/3] arm64: dts: Add mediatek MT8173 earlycon support

2015-04-28 Thread Eddie Huang
Add earlycon support to mediatek MT8173 evaluation board dts. Signed-off-by: Eddie Huang --- arch/arm64/boot/dts/mediatek/mt8173-evb.dts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8173-evb.dts

Re: [PATCH v8 2/2] Documentation: Add device tree bindings document for max77843

2015-04-28 Thread Lee Jones
DT Ack please. > From: Jaewon Kim > > Add document describing device tree bindings for max77843 MFD. > Drivers: MFD core, regulator, extcon, charger and fuelgauge. > > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: Lee Jones > Cc: Sebastian

[PATCH v3 2/3] tty: serial: 8250_mtk: Add earlycon

2015-04-28 Thread Eddie Huang
Add 8250 MTK UART driver to support earlycon device tree. Earlycon take effect by add "earlycon" in kernel boot argument add "linux,sdtout-path" property in device tree file Signed-off-by: Eddie Huang --- drivers/tty/serial/8250/8250_mtk.c | 13 + 1 file changed, 13

[PATCH 58/64] perf hists browser: Split popup menu actions

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. This patch introduces do_XXX() functions which corresponds to each goto label. This way we

[PATCH 62/64] perf tools: Move TUI-specific fields out of map_symbol

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The has_children and unfolded fields don't belong to struct map_symbol since they're used by TUI only. Move those fields out of map_symbol since the struct is also used by other places. This will also help to compact the sizeof struct hist_entry. Signed-off-by: Namhyung Kim

[PATCH 55/64] perf hists browser: Save hist_browser_timer pointer in hist_browser

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The struct hist_browser_timer is to carry perf-top related info throughout the hist browser code. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim Acked-by: Jiri

Re: [PATCH] mlx4: Fix tx ring affinity_mask creation

2015-04-28 Thread Ido Shamay
On 4/28/2015 6:26 AM, Benjamin Poirier wrote: On 2015/04/13 17:22, Benjamin Poirier wrote: On 2015/04/12 10:03, Ido Shamay wrote: Hi Benjamin, On 4/10/2015 7:27 PM, Benjamin Poirier wrote: By default, the number of tx queues is limited by the number of online cpus in mlx4_en_get_profile().

[PATCH 53/64] perf tools: Move init_have_children field to the unnamed union

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The init_have_children is used to init callchain info only for TUI. So it'd be better to move it to the TUI-specific unnamed union member. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: David Ahern Cc: Peter Zijlstra Link:

[PATCH 59/64] perf hists browser: Split popup menu actions - part 2

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Currently perf_evsel__hists_browse() function spins on a huge loop and handles many key actions. Since it's hard to read and modify, let's split it out into small helper functions. The add_XXX_opt() functions are to register popup menu item on the selected entry. When it

[PATCH 63/64] perf tools: Use getconf to determine number of online CPUs

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Will Deacon Parsing /proc/cpuinfo is a fiddly, arch-dependent business and a recent change to get it working for Sparc broke arm and arm64 platforms. Use sysconf to determine the number of online CPUs only parsing /proc/cpuinfo when sysconf is not available. Signed-off-by: Will Deacon

[PATCH 64/64] perf bench numa: Show more stats of particular threads in verbose mode

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Petr Holasek In verbose mode perf bench numa shows also GB/s speed, system and user cpu time for each particular thread. Using of getrusage() can provide much more per process or per thread stats in future. Signed-off-by: Petr Holasek Reviewed-by: Ingo Molnar Cc: Jiri Olsa Link:

RE: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader

2015-04-28 Thread Zheng, Lv
Hi, I was talking about this patch. > From: Borislav Petkov [mailto:b...@alien8.de] > Sent: Friday, March 27, 2015 5:23 PM > Subject: [RFC PATCH 5/5] GHES: Make NMI handler have a single reader > > From: Jiri Kosina > > Since GHES sources are global, we theoretically need only a single CPU >

[PATCH 61/64] perf hists browser: Simplify zooming code using pstack_peek()

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Now LEFT key press action can just use do_zoom_dso/thread() code to get out of the current filter. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: David Ahern Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1429838133-14001-2-git-send-email-namhy...@kernel.org

[PATCH 54/64] perf hists browser: Fix possible memory leak

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The options array saves strings for each popup menu item. The number of items can be vary according to the currently selected item. So it can leak some memory if it's exited from a small item. Fix it by freeing all items when loop terminates. Signed-off-by: Namhyung Kim

[PATCH 56/64] perf hists browser: Save pstack in the hist_browser

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The struct pstack is to save currently applied thread and/or dso filters in the browser. So it'd be better to keep in the struct hist_browser. This is a preparation to later change. Suggested-by: Arnaldo Carvalho de Melo Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc:

[PATCH 48/64] perf stat: Add metrics support for exclude_hv

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Separating metrics values for exclude_hv bit. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Andi Kleen Cc: David Ahern Cc: Paul Mackerras Cc: Peter Zijlstra Cc: William Cohen Link: http://lkml.kernel.org/r/1428441919-23099-5-git-send-email-jo...@kernel.org

[PATCH 50/64] perf stat: Add metrics support for exclude_idle

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Separating metrics values for exclude_idle bit. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Andi Kleen Cc: David Ahern Cc: Paul Mackerras Cc: Peter Zijlstra Cc: William Cohen Link: http://lkml.kernel.org/r/1428441919-23099-7-git-send-email-jo...@kernel.org

[PATCH 52/64] perf tools: Move TUI-specific fields into unnamed union

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Since perf diff only supports stdio output, TUI fields are only accessed from perf report (or perf top). So add a new unnamed union and move struct hist_entry_tui and those TUI-specific fields. Signed-off-by: Namhyung Kim Acked-by: Jiri Olsa Cc: David Ahern Cc: Peter

[PATCH 37/64] perf tools: Add location to pmu event terms

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Saving the terms location within term struct, so it could be used later for report. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1429729824-13932-6-git-send-email-jo...@kernel.org

[PATCH 39/64] perf tools: Add static terms support for parse_events_error

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Allowing static terms like 'name,period,config,config1..' processing to report back error. $ perf record -e 'cpu/event=1,name=1/' ls event syntax error: '..=1,name=1/' \___ expected string value $ perf record -e 'cpu/event=1,period=krava/'

[PATCH 30/64] perf inject: Add Instruction Tracing support

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add support for decoding an AUX area assuming it contains instruction tracing data. The AUX area tracing events are stripped and replaced by synthesized events. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc:

[PATCH 41/64] perf tools: Add symbolic events support for parse_events_error

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Allowing symbolic events processing to report back error. $ perf record -e 'cycles/period=krava/' ls event syntax error: '../period=krava/' \___ expected numeric value $ perf record -e 'cycles/name=1/' ls event syntax error:

[PATCH 27/64] perf tools: Add member to struct dso for an instruction cache

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add a member to struct dso that can be used by Instruction Trace implementations to hold a cache for decoded instructions. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 21/64] perf session: Add instruction tracing options

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter It is assumed that AUX area decoding will synthesize events for consumption by other tools. At this time, the main use of AUX area tracing will be to capture instruction trace (aka processor trace) data. The nature of instruction tracing suggests the initial inclusion of

[PATCH 31/64] perf script: Add field option 'flags' to print sample flags

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Instruction tracing will typically have access to information about the instruction being executed for a particular ip sample. Some of that information will be available in the 'flags' member of struct perf_sample. With the addition of transactions events synthesis to

[PATCH 47/64] perf stat: Change metrics context calculation

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Changing metrics context calculation to allow more than 2 types of context. Following patches will add support for the rest of the exclude_* bits so we need separate array element for all context combinations. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Andi Kleen

[PATCH 43/64] perf probe: Remove all probes matches given pattern at once

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Masami Hiramatsu Fix perf-probe --del option to delete all matched probes in both of kprobes and uprobes at once. When we have 2 or more events on different binaries as below, # ./perf probe -l probe:vfs_read (on vfs_read@ksrc/linux-3/fs/read_write.c) probe_libc:malloc

[PATCH 29/64] perf inject: Re-pipe AUX area tracing events

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter New AUX area tracing events must be re-piped by default. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 36/64] perf tools: Change parse_events_add_pmu interface

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Changing parse_events_add_pmu interface to allow propagating of the parse_events_error info. Signed-off-by: Jiri Olsa Cc: David Ahern Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1429729824-13932-5-git-send-email-jo...@kernel.org

[PATCH 22/64] perf auxtrace: Add helpers for AUX area tracing errors

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add functions to synthesize, count and print AUX area tracing error events. Signed-off-by: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 45/64] perf trace: Clarify that -e is about syscalls, not perf events in general

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This comes from the desire of having -e/--expr to have the same meaning as for 'strace', while other perf tools use it for --event, which 'trace' honours, i.e. all perf tools have --event in common, but trace uses -e for strace's --expr. Clarify it in the --help

[PATCH 20/64] perf session: Add hooks to allow transparent decoding of AUX area tracing data

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Hook into session processing so that AUX area decoding can synthesize events transparently to the tools. The advantages of transparent decoding are that tools can be used directly with perf.data files containing AUX area tracing data, which is easier for the user and more

[PATCH 44/64] perf trace: Fix --filter-pids OPTION description

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cut't'paste error, fix it. Reported-by: David Ahern Cc: Adrian Hunter Cc: Borislav Petkov Cc: Don Zickus Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-26abqh0wg9dci3fqcppyr...@git.kernel.org

[PATCH 03/64] perf data: Show error message when conversion failed

2015-04-28 Thread Arnaldo Carvalho de Melo
From: He Kuang Show message when errors occurred during conversion setup and conversion process. Before this patch: $ ./perf data convert --to-ctf=ctf $ echo $? 255 After this patch: $ ./perf data convert --to-ctf=ctf Error during conversion setup. Signed-off-by: He Kuang Cc: David

[PATCH 13/64] perf header: Add AUX area tracing feature

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter Add a feature to indicate that a perf.data file contains AUX area data. Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa Cc: David Ahern Cc: Frederic Weisbecker Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 09/64] perf data: Enable stream flush within processing

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa For big data files the size of data allocated for stream instance could get really high. It's needed to flush the data out of the stream once in a while. Unfortunately there's no size indication in the stream object, so we govern the flush based on the number of stored events.

[PATCH 14/64] perf evlist: Add support for mmapping an AUX area buffer

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter This patch supports the addition to the kernel of AUX area buffers that can be mmapped separately from the perf-events buffer. The AUX buffer can be configured to contain hardware-produced trace information. The first implementation will support Intel BTS and Intel PT. One

[PATCH 06/64] tools build: Fix Makefile(s) to properly invoke tools build

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Several fixes were needed to allow following builds: $ make tools/tmon $ make -C tools/perf $ make -C /tools perf - some of the tools (perf) use same make variables as in kernel build, unsetting srctree and objtree - using original $(O) for O variable - perf build

Re: [PATCH 9/9] mm: page_alloc: memory reserve access for OOM-killing allocations

2015-04-28 Thread Michal Hocko
On Mon 27-04-15 15:05:55, Johannes Weiner wrote: > The OOM killer connects random tasks in the system with unknown > dependencies between them, and the OOM victim might well get blocked > behind locks held by the allocating task. That means that while > allocations can issue OOM kills to improve

[PATCH 02/64] perf diff: Make hist_entry_diff fields union

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The period_ratio_delta, period_ratio and wdiff are never by used at the same time. Instead, Just one of them is accessed according to a comparison method. So make it union to reduce memory footprint. Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Cc: Peter

[PATCH 01/64] perf hists: Get rid of position field from struct hist_entry

2015-04-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It's not used anywhere, let's get rid of it. Signed-off-by: Namhyung Kim Cc: David Ahern Cc: Jiri Olsa Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1429416255-12070-2-git-send-email-namhy...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

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

2015-04-28 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, more to come soon, - Arnaldo The following changes since commit 5b24e8cf618f03b4f1275c229d0a1d464648f9e2: Merge tag 'perf-core-for-mingo-2' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent (2015-04-14 14:10:56 +0200)

[PATCH v3] builddeb: parallelize debug module installation

2015-04-28 Thread Chris J Arges
When building the dbg package, we use a large 'for module in $(find' loop that can be easily parallelized by using 'find | xargs'. This patch modifies this loop to use the later paradigm. In addition, check if the user has requested a parallel build with make. If so, add the appropriate flags to

[PATCHv3 05/11] usb: dwc3: cache hwparams earlier

2015-04-28 Thread Heikki Krogerus
So they are available when ULPI interface support is added. Signed-off-by: Heikki Krogerus Acked-by: David Cohen --- drivers/usb/dwc3/core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index c7734ed..104b236 100644 ---

Re: [PATCH v3 01/13] of: earlycon: Fix 'stdout-path' with ':' path terminator

2015-04-28 Thread Greg Kroah-Hartman
On Tue, Apr 28, 2015 at 09:07:54AM -0400, Peter Hurley wrote: > On 04/08/2015 05:24 PM, Rob Herring wrote: > > On Wed, Apr 8, 2015 at 12:45 PM, Peter Hurley > > wrote: > >> stdout-path defines ':' as a path terminator and commit 75c28c09af99a > >> ("of: add optional options parameter to

[PATCHv3 01/11] usb: add bus type for USB ULPI

2015-04-28 Thread Heikki Krogerus
UTMI+ Low Pin Interface (ULPI) is a commonly used PHY interface for USB 2.0. The ULPI specification describes a standard set of registers which the vendors can extend for their specific needs. ULPI PHYs provide often functions such as charger detection and ADP sensing and probing. There are two

[PATCHv3 04/11] usb: dwc3: store driver data earlier

2015-04-28 Thread Heikki Krogerus
We need to store it before phys are handled, so we can later use it in ULPI interface support code. Signed-off-by: Heikki Krogerus Acked-by: David Cohen --- drivers/usb/dwc3/core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/dwc3/core.c

[PATCHv3 03/11] usb: dwc3: ULPI or UTMI+ select

2015-04-28 Thread Heikki Krogerus
Make selection between ULPI and UTMI+ interfaces possible by providing definition for the bit in Global USB2 PHY Configuration Register that controls it. Signed-off-by: Heikki Krogerus Acked-by: David Cohen --- drivers/usb/dwc3/core.h | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCHv3 06/11] usb: dwc3: soft reset to it's own function

2015-04-28 Thread Heikki Krogerus
So it can be called from other places later. Signed-off-by: Heikki Krogerus Acked-by: David Cohen --- drivers/usb/dwc3/core.c | 46 ++ 1 file changed, 30 insertions(+), 16 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c

Re: [PATCH V3 11/25] perf record: Add AUX area tracing Snapshot Mode support

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:53PM +0300, Adrian Hunter wrote: SNIP > char msg[512]; > @@ -238,7 +302,8 @@ try_again: > } > > if (perf_evlist__mmap_ex(evlist, opts->mmap_pages, false, > - opts->auxtrace_mmap_pages, false) < 0) { > +

[PATCHv3 11/11] phy: add driver for TI TUSB1210 ULPI PHY

2015-04-28 Thread Heikki Krogerus
TUSB1210 ULPI PHY has vendor specific register for eye diagram tuning. On some platforms the system firmware has set optimized value to it. In order to not loose the optimized value, the driver stores it during probe and restores it every time the PHY is powered back on. Signed-off-by: Heikki

[PATCHv3 08/11] usb: dwc3: add hsphy_interface property

2015-04-28 Thread Heikki Krogerus
Platforms that have configured DWC_USB3_HSPHY_INTERFACE with value 3, i.e. UTMI+ and ULPI, need to inform the driver of the actual HSPHY interface type with the property. "utmi" if the interface is UTMI+ or "ulpi" if the interface is ULPI. Signed-off-by: Heikki Krogerus Acked-by: David Cohen

Re: [PATCH v2 0/3] leds: blink resolution improvements

2015-04-28 Thread Stas Sergeev
28.04.2015 15:58, Jacek Anaszewski пишет: > On 04/28/2015 12:12 PM, Stas Sergeev wrote: >> 28.04.2015 11:57, Jacek Anaszewski пишет: >>> Hi Stas, >>> >>> Have you tested it? >> Of course I did. >> Works with gpio driver and provides up to 10usec precision on >> armada-xp board. >> This is 1000

[PATCHv3 07/11] usb: dwc3: setup phys earlier

2015-04-28 Thread Heikki Krogerus
This allows dwc3_phy_setup() to be more useful later. There is nothing preventing the PHY configuration registers from being programmed early. They do not loose their context in soft reset. There are however other PHY related operations that should be executed before the driver request handles to

[PATCHv3 09/11] usb: dwc3: pci: add quirk for Baytrails

2015-04-28 Thread Heikki Krogerus
On some BYT platforms the USB2 PHY needs to be put into operational mode by the controller driver with GPIOs controlling the PHYs reset and cs signals. Signed-off-by: Heikki Krogerus --- drivers/usb/dwc3/dwc3-pci.c | 36 1 file changed, 36 insertions(+)

[PATCHv3 10/11] phy: helpers for USB ULPI PHY registering

2015-04-28 Thread Heikki Krogerus
ULPI PHYs need to be bound to their controllers with a lookup. This adds helpers that the ULPI drivers can use to do both, the registration of the PHY and the lookup, at the same time. Signed-off-by: Heikki Krogerus Acked-by: David Cohen Cc: Kishon Vijay Abraham I --- drivers/phy/ulpi_phy.h |

[PATCHv3 02/11] usb: dwc3: USB2 PHY register access bits

2015-04-28 Thread Heikki Krogerus
Definitions for Global USB2 PHY Vendor Control Register bits. We will need them to access ULPI PHY registers later. Signed-off-by: Heikki Krogerus Acked-by: David Cohen --- drivers/usb/dwc3/core.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/dwc3/core.h

[PATCHv3 00/12] usb: ulpi bus

2015-04-28 Thread Heikki Krogerus
Hi, I took the liberty of adding David's ACK to everything except 9/12, including to the 1/12 (removing the module handling has no functional affect). Changes since v2: - remove module handling from the bus driver as suggested by Paul Bolle. - reordered the gpio requests in BYT quirk as

Re: [PATCH v9 00/17] Re-introduce h8300 architecture

2015-04-28 Thread Guenter Roeck
On Mon, Apr 27, 2015 at 02:35:07PM +0900, Yoshinori Sato wrote: > Hello. > I will re-introducing h8300. > Hi, can you provide a link to a working toolchain, or provide directions on how to build one ? Thanks, Guenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

[PATCH] arm64: perf: Fix callchain parse error with kernel tracepoint events

2015-04-28 Thread Hou Pengyang
For ARM64, when tracing with tracepoint events, the IP and cpsr are set to 0, preventing the perf code parsing the callchain and resolving the symbols correctly. ./perf record -e sched:sched_switch -g --call-graph dwarf ls [ perf record: Captured and wrote 0.146 MB perf.data ] ./perf

RE: [PATCH v5] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Pallala, Ramakrishna
> On Tue, Apr 28, 2015 at 9:17 PM, Pallala, Ramakrishna > wrote: > > Hi Choi, > > > >> On Tue, Apr 28, 2015 at 8:20 PM, Pallala, Ramakrishna > >> >> > > > diff --git a/include/linux/mfd/axp20x.h > >> >> > > > b/include/linux/mfd/axp20x.h index dfabd6d..81152e2 100644 > >> >> > > > ---

Re: [PATCH 8/9] mm: page_alloc: wait for OOM killer progress before retrying

2015-04-28 Thread Michal Hocko
On Mon 27-04-15 15:05:54, Johannes Weiner wrote: > There is not much point in rushing back to the freelists and burning > CPU cycles in direct reclaim when somebody else is in the process of > OOM killing, or right after issuing a kill ourselves, because it could > take some time for the OOM

Re: [PATCH 16/20] sched/idle: Use explicit broadcast oneshot control function

2015-04-28 Thread Rafael J. Wysocki
On Tuesday, April 28, 2015 03:31:54 PM Rafael J. Wysocki wrote: > On Tuesday, April 28, 2015 02:37:10 PM Linus Walleij wrote: > > On Tue, Apr 28, 2015 at 2:19 PM, Rafael J. Wysocki > > wrote: > > > Sudeep: > > >> At-least I observed issue only when I am using hardware broadcast timer. > > >> It

Re: [PATCH 09/11] kernel/cpu.c: remove new instance of __cpuinit that crept back in

2015-04-28 Thread Paul E. McKenney
On Mon, Apr 27, 2015 at 06:47:58PM -0400, Paul Gortmaker wrote: > We removed __cpuinit support (leaving no-op stubs) quite some time ago. > However a new instance was added in commit 00df35f991914db6b8bde8cf0980 > ("cpu: Defer smpboot kthread unparking until CPU known to scheduler") > > Since we

Re: [PATCH v4 2/2] firmware: qcom: scm: Add support for ARM64 SoCs

2015-04-28 Thread Christopher Covington
Hi Kumar, On 04/27/2015 05:23 PM, Kumar Gala wrote: > --- /dev/null > +++ b/drivers/firmware/qcom_scm-64.c > @@ -0,0 +1,465 @@ > +/* Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under

Re: [PATCH V3 08/25] perf tools: Add support for PERF_RECORD_AUX

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:50PM +0300, Adrian Hunter wrote: > Add support for the PERF_RECORD_AUX event type. what is this event for? please update the changelog jirka > > Signed-off-by: Adrian Hunter > --- > tools/perf/builtin-inject.c | 1 + > tools/perf/util/event.c | 21

Re: [PATCH v3 01/13] of: earlycon: Fix 'stdout-path' with ':' path terminator

2015-04-28 Thread Peter Hurley
On 04/08/2015 05:24 PM, Rob Herring wrote: > On Wed, Apr 8, 2015 at 12:45 PM, Peter Hurley > wrote: >> stdout-path defines ':' as a path terminator and commit 75c28c09af99a >> ("of: add optional options parameter to of_find_node_by_path()") added >> the necessary support to parse paths

Re: [PATCH 16/20] sched/idle: Use explicit broadcast oneshot control function

2015-04-28 Thread Rafael J. Wysocki
On Tuesday, April 28, 2015 02:37:10 PM Linus Walleij wrote: > On Tue, Apr 28, 2015 at 2:19 PM, Rafael J. Wysocki wrote: > > Sudeep: > >> At-least I observed issue only when I am using hardware broadcast timer. > >> It doesn't hang when I am using hrtimer as broadcast timer in which case > >> one

Re: [RFCv3 PATCH 33/48] sched: Energy-aware wake-up task placement

2015-04-28 Thread Peter Zijlstra
On Mon, Apr 27, 2015 at 09:01:13AM -0700, Michael Turquette wrote: > Quoting Peter Zijlstra (2015-03-26 03:41:50) > > On Thu, Mar 26, 2015 at 10:21:24AM +, Juri Lelli wrote: > > > - what about other sched classes? I know that this is very premature, > > >but I can help but thinking that

Re: Audio crackles with 4.1-rc1

2015-04-28 Thread Takashi Iwai
At Tue, 28 Apr 2015 13:35:18 +0100, Jonathan McDowell wrote: > > On Tue, Apr 28, 2015 at 02:00:17PM +0200, Takashi Iwai wrote: > > At Tue, 28 Apr 2015 12:21:57 +0100, > > Jonathan McDowell wrote: > > > > > > Having upgraded to 4.1-rc1 from 4.0 I'm now hearing audio crackles at > > > regular

Re: [PATCH 16/20] sched/idle: Use explicit broadcast oneshot control function

2015-04-28 Thread Sudeep Holla
Hi Rafael, On 28/04/15 13:19, Rafael J. Wysocki wrote: On Tue, Apr 28, 2015 at 12:42 PM, Sudeep Holla wrote: [...] At-least I observed issue only when I am using hardware broadcast timer. It doesn't hang when I am using hrtimer as broadcast timer in which case one of the cpu will be not

Re: [PATCH 1/1] extcon: arizona: Rename hpdet_ip to make its purpose clearer

2015-04-28 Thread Chanwoo Choi
Hi Richard, On Tue, Apr 28, 2015 at 9:34 PM, Richard Fitzgerald wrote: > Renamed to hpdet_ip_version to make it clearer what it does > and that the value in it is simply a version number. > > Signed-off-by: Richard Fitzgerald > --- > drivers/extcon/extcon-arizona.c | 10 +- > 1 files

Re: [PATCH v5] extcon-axp288: Add axp288 extcon driver support

2015-04-28 Thread Chanwoo Choi
Hi Ram, On Tue, Apr 28, 2015 at 9:17 PM, Pallala, Ramakrishna wrote: > Hi Choi, > >> On Tue, Apr 28, 2015 at 8:20 PM, Pallala, Ramakrishna >> >> > > > diff --git a/include/linux/mfd/axp20x.h >> >> > > > b/include/linux/mfd/axp20x.h index dfabd6d..81152e2 100644 >> >> > > > ---

Re: [PATCH V3 07/25] perf auxtrace: Add option to synthesize events for transactions

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:49PM +0300, Adrian Hunter wrote: > Add AUX area tracing option 'x' to synthesize events for > transactions. This will be used by Intel PT to synthesize > an event record for each TSX start, commit or abort. > > Signed-off-by: Adrian Hunter > --- >

Re: [Linux-nvdimm] [PATCH 19/21] nd: infrastructure for btt devices

2015-04-28 Thread Christoph Hellwig
On Fri, Apr 17, 2015 at 09:36:55PM -0400, Dan Williams wrote: > Block devices from an nd bus, in addition to accepting "struct bio" > based requests, also have the capability to perform byte-aligned > accesses. By default only the bio/block interface is used. However, if > another driver can

Re: [PATCH 4/8] gpio: arizona: add support for WM8998 and WM1814

2015-04-28 Thread Linus Walleij
On Tue, Apr 21, 2015 at 2:33 PM, Richard Fitzgerald wrote: > Signed-off-by: Richard Fitzgerald Acked-by: Linus Walleij I guess this patch will go through the MFD tree? Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH V3 06/25] perf tools: Add build option NO_AUXTRACE to exclude AUX area tracing

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:48PM +0300, Adrian Hunter wrote: SNIP > diff --git a/tools/perf/tests/make b/tools/perf/tests/make > index 901ec91..af26410 100644 > --- a/tools/perf/tests/make > +++ b/tools/perf/tests/make > @@ -32,6 +32,7 @@ make_no_backtrace := NO_BACKTRACE=1 >

Re: [PATCH v2 0/3] leds: blink resolution improvements

2015-04-28 Thread Jacek Anaszewski
On 04/28/2015 12:12 PM, Stas Sergeev wrote: 28.04.2015 11:57, Jacek Anaszewski пишет: Hi Stas, Have you tested it? Of course I did. Works with gpio driver and provides up to 10usec precision on armada-xp board. This is 1000 times better than without my patch - the precision was 10ms (jiffy).

Re: [PATCH v2 06/10] KVM: arm64: guest debug, add SW break point support

2015-04-28 Thread Christoffer Dall
On Tue, Apr 28, 2015 at 10:34:12AM +0100, Peter Maydell wrote: > On 28 April 2015 at 09:42, Alex Bennée wrote: > > Peter Maydell writes: > >> Does the kernel already have a conveniently implemented "inject > >> exception into guest" lump of code? If so it might be less effort > >> to do it that

Re: [Linux-nvdimm] [PATCH 12/21] nd_pmem: add NFIT support to the pmem driver

2015-04-28 Thread Christoph Hellwig
On Sat, Apr 18, 2015 at 12:37:09PM -0700, Dan Williams wrote: > At this point in the patch series I agree, but in later patches we > take advantage of nd bus services. "[PATCH 15/21] nd: pmem label sets > and namespace instantiation" adds support for labeled pmem namespaces, > and in "[PATCH

Re: [PATCH v2 3/9] mfd: syscon: Add Atmel MC (Memory Controller) registers definition

2015-04-28 Thread Alexandre Belloni
Hi, On 28/04/2015 at 13:30:58 +0100, Lee Jones wrote : > On Mon, 23 Mar 2015, Alexandre Belloni wrote: > > > From: Boris Brezillon > > > > The at91rm9200 SoC embeds a Memory Controller block which is used to > > configure several aspects of the platform: > > - AHB/APB Bus behavior > > - SDRAM

Re: [PATCH v2] context_tracking: remove local_irq_save from __acct_update_integrals

2015-04-28 Thread Rik van Riel
On 04/27/2015 07:18 AM, Heiko Carstens wrote: > On Sat, Apr 25, 2015 at 08:50:49AM -0400, Rik van Riel wrote: >> On 04/25/2015 05:43 AM, Heiko Carstens wrote: >>> ...the READ_ONCE() doesn't give you any guarantees about reading >>> tsk->acct_timexpd in an atomic way. >>> Well, actually you don't

Re: [Linux-nvdimm] [PATCH 05/21] nfit-test: manufactured NFITs for interface development

2015-04-28 Thread Christoph Hellwig
Eww, the --wrap stuff is too ugly too live. Just implement the implemenetation of persistent nvdimms into qemu where it belongs. Note that having a not actually persistent implementation that register with the subsystems which doesn't need these hacks still sounds ok to me, altough I suspect

Re: [linux-sunxi] [PATCH 2/3] spidev: Add DT binding example.

2015-04-28 Thread Michal Suchanek
On 28 April 2015 at 14:15, Eric D. wrote: > Hi, > > I'am a mainline linux user of A20 (bananapi). I'am currently running a > debian jessie with latest mainline kernel (4.0.0+). > I have a project of home automation, based on nrfl04+ spi driven wireless > chip. > I was just seeking a way to make

Re: [PATCH 3/3] pinctrl: qcom-spmi-mpp: Fix input value report

2015-04-28 Thread Linus Walleij
On Thu, Apr 9, 2015 at 5:18 PM, Ivan T. Ivanov wrote: > Fix interpretation of the pmic_mpp_read() return code, > negative value means an error. > > Signed-off-by: Ivan T. Ivanov Patch applied for fixes. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe

Re: [Linux-nvdimm] [PATCH 03/21] nd_acpi: initial core implementation and nfit skeleton

2015-04-28 Thread Christoph Hellwig
On Fri, Apr 17, 2015 at 09:35:30PM -0400, Dan Williams wrote: > new file mode 100644 > index ..5fa74f124b3e > --- /dev/null > +++ b/drivers/block/nd/Kconfig > @@ -0,0 +1,44 @@ > +config ND_ARCH_HAS_IOREMAP_CACHE > + depends on (X86 || IA64 || ARM || ARM64 || SH || XTENSA) > +

Re: [PATCH] context_tracking: remove duplicate enabled check

2015-04-28 Thread Rik van Riel
On 04/28/2015 07:36 AM, Paolo Bonzini wrote: > All calls to context_tracking_enter and context_tracking_exit > are already checking context_tracking_is_enabled, except the > context_tracking_user_enter and context_tracking_user_exit > functions left in for the benefit of assembly calls. > > Pull

Re: [PATCH V3 05/25] perf tools: Hit all build ids when AUX area tracing

2015-04-28 Thread Jiri Olsa
On Fri, Apr 24, 2015 at 10:29:47PM +0300, Adrian Hunter wrote: > We need to include all buildids when a perf.data > file contains AUX area tracing data because we > do not decode the trace for that purpose because > it would take too long. > > Signed-off-by: Adrian Hunter > --- >

Re: [GIT PULL] kdbus for 4.1-rc1

2015-04-28 Thread Havoc Pennington
On Mon, Apr 27, 2015 at 6:00 PM, Linus Torvalds wrote: > If somebody wants to speed up dbus, they should likely look at the > user-space code, not the kernel side. To be more precise, your profile seems to show a lot of the gdbus (glib bindings) user space code. (And the blocking version of this

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