[PATCH v2 17/18] ARM64 / ACPI: Enable ARM64 in Kconfig

2014-08-04 Thread Hanjun Guo
From: Graeme Gregory Add Kconfigs to build ACPI on ARM64, and make ACPI available on ARM64. acpi_idle driver is x86/IA64 dependent now, so make CONFIG_ACPI_PROCESSOR depend on X86 || IA64, and implement it on ARM64 in the future. Reviewed-by: Grant Likely Signed-off-by: Graeme Gregory

[PATCH v2 12/18] ARM64 / ACPI: Add GICv2 specific ACPI boot support

2014-08-04 Thread Hanjun Guo
From: Tomasz Nowicki ACPI kernel uses MADT table for proper GIC initialization. It needs to parse GIC related subtables, collect CPU interface and distributor addresses and call driver initialization function (which is hardware abstraction agnostic). In a similar way, FDT initialize GICv1/2.

[PATCH v2 15/18] ARM64 / ACPI: Introduce early_param for "acpi" and set ACPI default off

2014-08-04 Thread Hanjun Guo
From: Al Stone Introduce one early parameters "on" for "acpi" to enable ACPI on ARM64. Disable ACPI before early parameters parsed, and enable it to pass "acpi=on" if people want use ACPI on ARM64. Signed-off-by: Al Stone Signed-off-by: Graeme Gregory Signed-off-by: Hanjun Guo ---

[PATCH v2 16/18] ARM64 / ACPI: If we chose to boot from acpi then disable FDT

2014-08-04 Thread Hanjun Guo
From: Graeme Gregory If the early boot methods of acpi are happy that we have valid ACPI tables and acpi=on has been passed. Then do not unflat devicetree effectively disabling further hardware probing from DT. Signed-off-by: Graeme Gregory Signed-off-by: Hanjun Guo ---

[PATCH v2 18/18] Documentation: ACPI for ARM64

2014-08-04 Thread Hanjun Guo
From: Graeme Gregory Add documentation for the guidelines of how to use ACPI on ARM64. Signed-off-by: Graeme Gregory Signed-off-by: Hanjun Guo --- Documentation/arm64/arm-acpi.txt | 215 ++ 1 file changed, 215 insertions(+) create mode 100644

[PATCH v2 14/18] ARM64 / ACPI: Select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64

2014-08-04 Thread Hanjun Guo
From: Al Stone ACPI reduced hardware mode is disabled by default, but ARM64 can only run properly in ACPI hardware reduced mode, so select ACPI_REDUCED_HARDWARE_ONLY if ACPI is enabled on ARM64. Reviewed-by: Grant Likely Signed-off-by: Al Stone Signed-off-by: Hanjun Guo ---

[PATCH v2 13/18] ARM64 / ACPI: Parse GTDT to initialize arch timer

2014-08-04 Thread Hanjun Guo
Using the information presented by GTDT to initialize the arch timer (not memory-mapped). Originally-by: Amit Daniel Kachhap Signed-off-by: Hanjun Guo --- arch/arm64/kernel/time.c |7 ++ drivers/clocksource/arm_arch_timer.c | 117 --

RE: checkpatch.pl report about "Missing blank line after declarations" in a structure definition

2014-08-04 Thread Dotan Barak
(I guess I need to refresh my regular expression skills ...) Thanks, this will be just great! Dotan > -Original Message- > From: Joe Perches [mailto:j...@perches.com] > Sent: Monday, August 04, 2014 6:27 PM > To: Dotan Barak > Cc: linux-kernel@vger.kernel.org > Subject: Re: checkpatch.pl

Re: [PATCH v4 1/1] doc: this_cpu_ops.txt: clarify remote accesses of per cpu areas

2014-08-04 Thread Christoph Lameter
I updated the descriptions a bit more. Here is a patch with additional changes to merge. Subject: doc: Update description of this_cpu_ops Update the description for per cpu operations to clarify use cases if this_cpu operations and add considerations for remote access. Signed-off-by: Pranith

Re: [PATCH] ASoC: fsl_sai: Set SYNC bit of TCR2 to Asynchronous Mode

2014-08-04 Thread Mark Brown
On Mon, Aug 04, 2014 at 03:07:25PM +0800, Nicolin Chen wrote: > From: Nicolin Chen > > There is one design rule according to SAI's reference manual: > If the transmitter bit clock and frame sync are to be used by both transmitter > and receiver, the transmitter must be configured for

Re: [PATCH net-next 0/2] xen-netback: Changes around carrier handling

2014-08-04 Thread Zoltan Kiss
On 04/08/14 16:20, Zoltan Kiss wrote: This series starts using carrier off as a way to purge packets when the guest is not able (or willing) to receive them. It is a much faster way to get rid of packets waiting for an overwhelmed guest. The first patch changes current netback code where it

[PATCH v2 10/18] ARM64 / ACPI: Introduce ACPI_IRQ_MODEL_GIC and register device's gsi

2014-08-04 Thread Hanjun Guo
Introduce ACPI_IRQ_MODEL_GIC which is needed for ARM64 as GIC is used, and then register device's gsi with the core IRQ subsystem. acpi_register_gsi() is similar to DT based irq_of_parse_and_map(), since gsi is unique in the system, so use hwirq number directly for the mapping. Originally-by:

[PATCH v2 06/18] ARM64 / ACPI: Parse MADT to map logical cpu to MPIDR and get cpu_possible/present_map

2014-08-04 Thread Hanjun Guo
MADT contains the information for MPIDR which is essential for SMP initialization, parse the GIC cpu interface structures to get the MPIDR value and map it to cpu_logical_map(), and add enabled cpu with valid MPIDR into cpu_possible_map and cpu_present_map. Signed-off-by: Hanjun Guo

[PATCH v2 07/18] ACPI / table: Print GIC information when MADT is parsed

2014-08-04 Thread Hanjun Guo
When MADT is parsed, print GIC information to make the boot log look pretty. Signed-off-by: Hanjun Guo Signed-off-by: Tomasz Nowicki --- drivers/acpi/tables.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/drivers/acpi/tables.c

[PATCH v2 11/18] ACPI / table: Add new function to get table entries

2014-08-04 Thread Hanjun Guo
From: Ashwin Chaugule The acpi_table_parse() function has a callback that passes a pointer to a table_header. Add a new function which takes this pointer and parses its entries. This eliminates the need to re-traverse all the tables for each call. e.g. as in acpi_table_parse_madt() which is

[PATCH v2 08/18] ARM64 / ACPI: Get the enable method for SMP initialization in ACPI way

2014-08-04 Thread Hanjun Guo
ACPI 5.1 only has two explicit methods to boot up SMP, PSCI and Parking protocol, but the Parking protocol is only suitable for ARMv7 now, so make PSCI as the only way for the SMP boot protocol before some updates for the ACPI spec or the Parking protocol spec. Signed-off-by: Hanjun Guo

[PATCH v2 09/18] ACPI / processor: Make it possible to get CPU hardware ID via GICC

2014-08-04 Thread Hanjun Guo
Introduce a new function map_gicc_mpidr() to allow MPIDRs to be obtained from the GICC Structure introduced by ACPI 5.1. MPIDR is the CPU hardware ID as local APIC ID on x86 platform, so we use MPIDR not the GIC CPU interface ID to identify CPUs. Signed-off-by: Hanjun Guo ---

Re: [PATCH 4/5] x86: entry_64.S: always allocate complete "struct pt_regs"

2014-08-04 Thread Oleg Nesterov
On 08/04, Oleg Nesterov wrote: > > On 08/04, Denys Vlasenko wrote: > > > > "why do we need percpu old_rsp thingy?" in particular. > > See thread_struct->usersp, current_user_stack_pointer(). Btw, perhaps it makes sense to document that task_pt_regs(current)->sp is not current_user_stack_pointer()

Re: [PATCH 2/7] locking/rwsem: more aggressive use of optimistic spinning

2014-08-04 Thread Waiman Long
On 08/04/2014 12:10 AM, Jason Low wrote: On Sun, 2014-08-03 at 22:36 -0400, Waiman Long wrote: The rwsem_can_spin_on_owner() function currently allows optimistic spinning only if the owner field is defined and is running. That is too conservative as it will cause some tasks to miss the

Re: [PATCH] bridge: remove a useless comment

2014-08-04 Thread Stephen Hemminger
On Mon, 4 Aug 2014 15:22:40 +0200 "Michael S. Tsirkin" wrote: > commit 6cbdceeb1cb12c7d620161925a8c3e81daadb2e4 > bridge: Dump vlan information from a bridge port > introduced a comment in an attempt to explain the > code logic. The comment is unfinished so it confuses more > than it

Re: [PATCH] usb: hub: Prevent hub autosuspend if usbcore.autosuspend is -1

2014-08-04 Thread Michael Welling
On Mon, Aug 04, 2014 at 12:44:46PM +0300, Roger Quadros wrote: > If user specifies that USB autosuspend must be disabled by module > parameter "usbcore.autosuspend=-1" then we must prevent > autosuspend of USB hub devices as well. > > commit 596d789a211d introduced in v3.8 changed the original

Re: [PATCH RFC 0/4] xen/pvhvm: fix shared_info and pirq issues with kexec

2014-08-04 Thread Vitaly Kuznetsov
David Vrabel writes: > On 01/08/14 13:21, Vitaly Kuznetsov wrote: >> David Vrabel writes: >> >>> On 15/07/14 14:40, Vitaly Kuznetsov wrote: With this patch series I'm trying to address several issues with kexec on pvhvm: - shared_info issue (1st patch, just sending Olaf's work

Re: [PATCH 1/2] remoteproc: use a flag to detect the presence of IOMMU

2014-08-04 Thread Suman Anna
On 08/04/2014 06:50 AM, Ohad Ben-Cohen wrote: > On Tue, Jul 29, 2014 at 7:10 PM, Suman Anna wrote: >> We are trying to add a remoteproc driver for a small Cortex M3 called >> the WkupM3 used for suspend/resume management on TI AM335/AM437x SoCs. >> This processor does not have an MMU. Same is the

[PATCH] mm/hugetlb: remove unused argument of follow_huge_(pmd|pud)

2014-08-04 Thread Naoya Horiguchi
On Fri, Aug 01, 2014 at 05:58:45PM -0400, Naoya Horiguchi wrote: ... > > I can't find an implementation of follow_huge_pmd() which actually uses > > the fourth argument "write". Zap? > > OK, I'll post it later. Here is the patch. Thanks, Naoya Horiguchi --- From: Naoya Horiguchi Date: Mon, 4

Re: [PATCH v3 2/2] perf tools: Default to python version 2

2014-08-04 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 04, 2014 at 03:03:15PM +0200, Thomas Ilsche escreveu: > On 2014-08-02 15:20, Arnaldo Carvalho de Melo wrote: > > Maybe the way python was packaged on f14 is problematic, as you > > describe, but the fact is that python support is not working on that > > platform after this patch. > >

Re: [PATCH v2] spi/pxa2xx-pci: Add common clock framework support in PCI glue layer

2014-08-04 Thread Darren Hart
On 7/29/14, 15:06, "Andrea Adami" wrote: >On Tue, Jul 29, 2014 at 8:55 PM, Mark Brown wrote: >> On Tue, Jul 29, 2014 at 06:13:06PM +0200, Andrea Adami wrote: >> >>> note that a previous version of the patch breaks spi on pxa machines: >>> tested on pxa250 poodle and pxa255 corgi. >>> The patch

Re: [Question: Drivers/base/core.c] Why dev->init_name = NULL in device_add function ?

2014-08-04 Thread Greg KH
On Mon, Aug 04, 2014 at 12:24:06AM +0530, Aniroop Mathur wrote: > On Sat, Aug 2, 2014 at 8:09 AM, Greg KH wrote: > > On Sat, Aug 02, 2014 at 05:14:44AM +0530, Aniroop Mathur wrote: > >> >> So, overall output will be > >> >> /dev/input/event --> /dev/input/event_accelerometer > >> >>

Re: kernel: smp: WARNING at kernel/smp.c:673

2014-08-04 Thread Christoph Lameter
On Mon, 4 Aug 2014, Tejun Heo wrote: > > Yuck. I meant cgroup code. There were some patches that were suggesting a > > shrink operation when taking down a cgroup. Does that also apply to per > > cpu downing? > > Heh, I have no idea what you're talking about. cgroup currently > doesn't do

Re: [PATCH v3 4/4] can: flexcan: add vf610 support for FlexCAN

2014-08-04 Thread Stefan Agner
Am 2014-08-04 16:27, schrieb Marc Kleine-Budde: > On 08/04/2014 03:43 PM, Stefan Agner wrote: > [...] > >>> Thanks for the test, so far looks promising :) With this setup the other >>> CAN node repeats the CAN frame until it's ACKed. Because there is no >>> node with a compatible bitrate, there

Re: [PATCHv9 1/3] mfd: altera: Add Altera SDRAM Controller

2014-08-04 Thread Thor Thayer
On 08/02/2014 12:08 PM, Steffen Trumtrar wrote: Hi! On Fri, Aug 01, 2014 at 05:27:57PM -0500, Thor Thayer wrote: On 08/01/2014 03:13 AM, Lee Jones wrote: On Thu, 31 Jul 2014, Thor Thayer wrote: On 07/31/2014 03:26 AM, Lee Jones wrote: On Wed, 30 Jul 2014, ttha...@opensource.altera.com

Re: [PATCH] checkpatch: Add uninitialized_var to the declaration_macro list

2014-08-04 Thread Joe Perches
On Mon, 2014-08-04 at 00:56 -0700, Joe Perches wrote: > Using uninitialized_var reports a false positive for > "Missing blank line after declarations". [] > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl [] > +our $declaration_macros = qr{(?x: > +

Re: 3.16-rcX crashes on resume from Suspend-To-RAM

2014-08-04 Thread Markus Gutschke
Thanks for checking in. And no, I have not heard from Zhang since my last e-mail. I suspect he is still working on finding a solution. But you are of course right, reverting the patch in the meantime might be a good idea. I would love to be able to suspend my laptop again. But I defer to Zhang for

[PATCH 01/33] perf tools: Fix arm64 build error

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Mark Salter I'm seeing the following build error on arm64: In file included from util/event.c:3:0: util/event.h:95:17: error: 'PERF_REGS_MAX' undeclared here (not in a function) u64 cache_regs[PERF_REGS_MAX]; ^ This patch adds a PERF_REGS_MAX definition for

[PATCH 02/33] perf evlist: Don't run workload if not told to

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo The perf_evlist__prepare_workload() method works by forking and then waiting on a fd that must be written to to allow the workload to be exec()ed. But if the tool calling it fails to, say, set up the events with which it wants to sample the workload for, it will

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

2014-08-04 Thread Arnaldo Carvalho de Melo
Hi Ingo, Mostly fixes plus some refactoring work, more to come as I process Adrian Hunter big patch set and other that missed this pull request. Please consider pulling, - Arnaldo The following changes since commit f9b9f812235d53f774a083e88a5a23b517a69752: Merge tag

[PATCH 03/33] perf symbols: Make sure --symfs usage includes the path separator

2014-08-04 Thread Arnaldo Carvalho de Melo
Minchan reported that perf failed to load vmlinux if --symfs argument doesn't end with '/' character. Fix it by making sure that the '/' path separator is used when composing pathnames with a --symfs provided directory name. Reported-by: Minchan Kim Cc: David Ahern Cc: Jiri Olsa Cc: Minchan

[PATCH 11/33] perf tools: Limit ordered events queue size

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Add limit to the ordered events queue allocation. This way we will be able to control the size of the queue buffers. There's no limit at the moment (it's set to (u64) -1). The config code will come in following patches. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey

[PATCH 06/33] perf tools: Rename ordered_samples bool to ordered_events

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa The time ordering is generic for all kinds of events, so using generic name 'ordered_events' for ordered_samples bool in perf_tool struct. No functional change was intended. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic

[PATCH 05/33] perf record: Allow the user to disable time stamps

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Time stamps are always implicitely enabled for record currently. The old --time/-T option is a nop. Allow the user to disable timestamps by using --no-time This can cause some minor misaccounting (by missing mmaps), but significantly lowers the size of perf.data The defaults

[PATCH 17/33] perf tools: Add ordered_events__free function

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding ordered_events__free function to release all the struct ordered_events data. It's replacement for former perf_session_free_sample_buffers function. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo

[PATCH 16/33] perf tools: Add ordered_events__init function

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding ordered_events__init function for struct ordered_events struct initialization. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 08/33] perf tools: Rename ordered_events members

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Rename 'struct ordered_events' members to fit better the ordered events style. No functional change was intended. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc:

[PATCH 12/33] perf tools: Flush ordered events in case of allocation failure

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa In previous patches we added a limit for ordered events queue allocation size. If we reach this size we need to flush (part of) the queue to get some free buffers. The current functionality is not affected, because the limit is hard coded to (u64) -1. The configuration code for

[PATCH 14/33] perf tools: Create ordered-events object

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Move ordered events code into separated object ordered-events.[ch]. No functional change was intended. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul

[PATCH 15/33] perf tools: Use list_move in ordered_events_delete function

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa As Namhyung pointed out we can use list_move in ordered_events_delete. Signed-off-by: Jiri Olsa Suggested-by: Namhyung Kim Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras

[PATCH 07/33] perf tools: Rename ordered_samples struct to ordered_events

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Following up with ordered_samples rename for ordered_samples and sample_queue structs to ordered_events and ordered_event structs respectively. Also changing flush_sample_queue function name to ordered_events_flush. No functional change was intended. Signed-off-by: Jiri Olsa

[PATCH 13/33] perf tools: Make perf_session__deliver_event global

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Making perf_session__deliver_event global function, as it will be called from another object in following patch. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc:

[PATCH 09/33] perf tools: Add ordered_events__(new|delete) interface

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding new ordered events interface to new|delete event buffer: ordered_events__new- allocate event buffer from the cache ordered_events__delete - return event buffer to the cache Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc:

[PATCH 32/33] perf tools: Fix PERF_FLAG_FD_CLOEXEC flag probing event type open counters due to EBUSY error

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa We were using PERF_COUNT_SW_CPU_CLOCK as an probing event type. Using expected PERF_TYPE_SOFTWARE type instead. Signed-off-by: Jiri Olsa Cc: Adrian Hunter Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc:

[PATCH 19/33] perf tools: Add report.queue-size config file option

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding report.queue-size config file option to setup the maximum allocation size for session's struct ordered_events object. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc:

[PATCH 26/33] perf tools: Make __hpp__fmt() receive an additional len argument

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim So that it can properly handle alignment requirements later. To do that, add percent_color_len_snprintf() fucntion to help coloring of overhead columns. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 33/33] perf tools: Default to python version 2

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Thomas Ilsche According to PEP 394 recommendation [1], it's more portable to use python2 rather than plain python to refer python binary version 2. Since there're distros using python3 by default like Arch, and we don't support python3 (yet), it'd be better using python2 explicitly. But

[PATCH 22/33] perf tools: Show better error message in case we fail to open counters due to EBUSY error

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Showing better error message in case we fail to open counters due to the EBUSY error. If we detect oprofile daemon process running, we now display following message for EBUSY error: $ perf record ls Error: The PMU counters are busy/taken by another profiler. We found

[PATCH 18/33] perf tools: Add perf_config_u64 function

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding perf_config_u64 function to be able to parse 'llong' values out of config file. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 25/33] perf tools: Left-align output contents

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Now perf left-aligns column headers but the contents does not. It should have same alignment. This requires a change in pid sort key - it consists of two part (pid and comm). As length of comm can be vary it'd be better to change the order of them. Thanks to Jiri Olsa for

[PATCH 31/33] perf tools: Fix column alignment when headers aren't shown on TUI

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim If user sets ui.show-headers config option to false, it didn't calculate default column width so it broke the alignment. This is because it does the calculation just before showing headers. Move it to the beginning of the hist browser so that it can be called regardless of

[PATCH 20/33] perf tools: Add debug prints for ordered events queue

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Adding some prints for ordered events queue, to help debug issues. Adding debug_ordered_events debug variable to be able to enable ordered events debug messages using: $ perf --debug ordered-events=2 report ... Also using oe pointer in perf_session__queue_event instead of

[PATCH 21/33] perf tools: Allow out of order messages in forced flush

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa In forced flush (OE_FLUSH__HALF) we break the rules of the flush timestamp via PERF_RECORD_FINISHED_ROUND event, so we could get out of order event. Do not force error in this case plus changing the output warning to use WARN_ONCE. Signed-off-by: Jiri Olsa Acked-by: David

[PATCH 27/33] perf tools: Save column length in perf_hpp_fmt

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Save column length in the hpp format and pass it to print functions. This is a preparation for users to control column width in the output. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

[PATCH 29/33] perf top: Add -w option for setting column width

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Add -w/--column-widths option like perf report does so that users are able to see symbols even with some very long C++ library/functions. It can be a list separated by comma for each column. $ perf top -w 0,20,30 The value of 0 means there's no limit. Signed-off-by:

[PATCH 24/33] perf tools: Fix make PYTHON override

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Thomas reported that make PYTHON=python2 is not work on some systems. I can reproduce it on my ArchLinux box too. This is because it's overridden by config/feature-checks/Makefile regardless of PYTHON setting. I guess it's a bug slipped into during the feature checking

[PATCH 23/33] perf kmem: Do not ignore mmap events

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim The perf kmem command didn't process mmap events for some unknown reason and it instead gets symbol info from a running kernel. This is problematic if perf kmem record was run on a different kernel. This patch adds the mmap event handlers and reverts the commit e727ca73f85d

[PATCH 30/33] perf tools: Add name field into perf_hpp_fmt

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It makes the code a bit simpler and easier to debug IMHO. I guess it can also remove similar code in perf diff, but let's keep it for a future work. :) Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra

[PATCH 28/33] perf report: Honor column width setting

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Set column width and do not change it if user gives -w/--column-widths option. It'll truncate longer symbols than the width if exists. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Link:

Re: [PATCH v3 1/2] Documentation: dt-bindings: add dt binding info for dwc2 dr_mode

2014-08-04 Thread Doug Anderson
Kever, On Mon, Aug 4, 2014 at 6:45 AM, Kever Yang wrote: > Indicate that the generic dr_mode binding should be used for dwc2. > > Signed-off-by: Kever Yang > --- > > Changes in v3: None Since I gave my Reviewed-by tag for v2 and you made no changes from v2 to v3, you should make sure you

[PATCH 10/33] perf tools: Factor ordered_events__flush to be more generic

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa Centralizing the next_flush calculation under the ordered_events__flush function. Signed-off-by: Jiri Olsa Acked-by: David Ahern Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Jean Pihet Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter

[PATCH 04/33] perf kvm stat: Properly show submicrosecond times

2014-08-04 Thread Arnaldo Carvalho de Melo
From: Christian Borntraeger For lots of exits the min time (and sometimes max) is 0 or 1. Lets increase the accurancy similar to what the average field alread does. Signed-off-by: Christian Borntraeger Acked-by: David Ahern Cc: David Ahern Cc: Jiri Olsa Cc: Paolo Bonzini Cc:

Re: [PATCH net/next] bridge:Add rcu read lock when delete br port

2014-08-04 Thread Stephen Hemminger
On Mon, 4 Aug 2014 11:37:56 +0800 wrote: > From: Chunhe Li > > In the br_hanle_frame function has a bug, when the bridge receive packets > which go througth the br_handle_frame, get the net_bridge_port pointer "p", > but don't check NULL pointer to use it. If somebody delete the bridge port >

Re: [PATCH v3 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-04 Thread Doug Anderson
Kever, On Mon, Aug 4, 2014 at 6:45 AM, Kever Yang wrote: > According to the "dr_mode", the otg controller can work as > device role during firmware period, and work as host role in > the kernel, without use of usb_id pin. As the commit "usb: dwc3: > set 'mode' based on selected Kconfig choices".

Re: [PATCH v2] Hibernate: check unsafe page should not in e820 reserved region

2014-08-04 Thread Takashi Iwai
At Mon, 4 Aug 2014 23:23:21 +0800, Lee, Chun-Yi wrote: > > When the machine doesn't well handle the e820 persistent when hibernate > resuming, then it may causes page fault when writing image to snapshot > buffer: > > [ 17.929495] BUG: unable to handle kernel paging request at

Re: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting

2014-08-04 Thread Fu, Zhonghui
On 2014/7/24 23:22, Fu, Zhonghui wrote: > On 2014/7/21 15:42, Fu, Zhonghui wrote: >> On 2014/6/20 0:37, Arend van Spriel wrote: >>> On 19-06-14 18:28, Fu, Zhonghui wrote: On 2014/6/16 16:15, Arend van Spriel wrote: > On 16-06-14 07:49, Fu, Zhonghui wrote: >> From

RE: [PATCH 15/18 v2] staging: comedi: amplc_pci224: put board indices in PCI driver_data

2014-08-04 Thread Hartley Sweeten
On Monday, August 04, 2014 4:14 AM, Ian Abbott wrote: > The `driver_data` member value from the matched entry of the PCI module > device table `amplc_pci224_pci_table[]` is passed through to our comedi > "auto_attach" handler, `pci224_auto_attach()`. Use that to index > directly into our static

Re: Kernel Debugging Support

2014-08-04 Thread Sarah Sharp
On Sat, Aug 02, 2014 at 12:47:59AM -0400, Nick Krause wrote: > Hey Sharp, Hi Krause, Please Cc the new xHCI driver maintainer, Mathias Nyman. I'm officially retired from USB development and have moved onto other projects. :) > After reading around seems people want support for usb debugging in

Re: [PATCH net/next] bridge:Add rcu read lock when delete br port

2014-08-04 Thread Stephen Hemminger
On Mon, 4 Aug 2014 11:37:56 +0800 wrote: > From: Chunhe Li > > In the br_hanle_frame function has a bug, when the bridge receive packets > which go througth the br_handle_frame, get the net_bridge_port pointer "p", > but don't check NULL pointer to use it. If somebody delete the bridge port >

Re: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting

2014-08-04 Thread Russell King - ARM Linux
On Thu, Jun 19, 2014 at 06:37:56PM +0200, Arend van Spriel wrote: > On 19-06-14 18:28, Fu, Zhonghui wrote: >> I have tried brcmfmac driver with "CONFIG_PM_RUNTIME is not set", and >> scanning and connecting always succeeded. This means that CONFIG_PM_RUNTIME >> should not be set if we use SDIO

[PATCH 3.2 86/94] ARM: 7668/1: fix memset-related crashes caused by recent GCC (4.7.2) optimizations

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Ivan Djelic commit 455bd4c430b0c0a361f38e8658a0d6cb469942b5 upstream. Recent GCC versions (e.g. GCC-4.7.2) perform optimizations based on assumptions about the implementation of memset and

[PATCH 3.2 02/94] Revert "net: ip, ipv6: handle gso skbs in forwarding path"

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings This reverts commit caa5344994778a2b4725b2d75c74430f76925e4a, which was commit fe6cc55f3a9a053482a76f5a6b2257cee51b4663 upstream. In 3.2, the transport header length is not

Re: MNT_DETACH and mount namespace issue

2014-08-04 Thread Eric W. Biederman
Richard Weinberger writes: > On Sat, Aug 2, 2014 at 12:09 AM, Eric W. Biederman > wrote: >> Richard Weinberger writes: >> >>> Am 01.08.2014 17:44, schrieb Ram Pai: On Fri, Aug 01, 2014 at 12:17:13AM +0200, Richard Weinberger wrote: > Am 30.07.2014 22:46, schrieb Richard Weinberger:

[PATCH 3.2 19/94] perf/x86/intel: ignore CondChgd bit to avoid false NMI handling

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: HATAYAMA Daisuke commit b292d7a10487aee6e74b1c18b8d95b92f40d4a4f upstream. Currently, any NMI is falsely handled by a NMI handler of NMI watchdog if CondChgd bit in MSR_CORE_PERF_GLOBAL_STATUS

[PATCH 3.2 51/94] locking/mutex: Disable optimistic spinning on some architectures

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 4badad352a6bb202ec68afa7a574c0bb961e5ebc upstream. The optimistic spin code assumes regular stores and cmpxchg() play nice; this is found to not be true for at least:

[PATCH 3.2 30/94] ACPI / EC: Add more debug info and trivial code cleanup

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit b76b51ba0cef13980813373a548a12206e3cd3c9 upstream. Add more debug info for EC transaction debugging, like the interrupt status register value, the detail info of a EC

[PATCH 3.2 22/94] iwlwifi: dvm: don't enable CTS to self

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 43d826ca5979927131685cc2092c7ce862cb91cd upstream. We should always prefer to use full RTS protection. Using CTS to self gives a meaningless improvement, but this flow

[PATCH 3.2 24/94] hwmon: (amc6821) Fix permissions for temp2_input

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit df86754b746e9a0ff6f863f690b1c01d408e3cdc upstream. temp2_input should not be writable, fix it. Reported-by: Guenter Roeck Signed-off-by: Axel Lin Signed-off-by: Guenter

[PATCH 3.2 33/94] ACPI / EC: Don't count a SCI interrupt as a false one

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit a3cd8d2789c2e265e09377f260e7d2ac9cec81bb upstream. Currently when advance_transaction() is called in EC interrupt handler, if there is nothing driver can do with the

Re: [PATCH] brcmfmac: prevent watchdog from interfering with scanning and connecting

2014-08-04 Thread Russell King - ARM Linux
On Tue, Aug 05, 2014 at 12:36:49AM +0800, Fu, Zhonghui wrote: > Hi, Arend > > I investigated this issue, and its root cause is still that sdio > controller can't receive interrupts from WiFi chip on sdio bus when > sdio controller is in runtime suspend status. I am running 3.16-rc5 > linux kernel

[PATCH 3.2 25/94] hwmon: (adm1029) Ensure the fan_div cache is updated in set_fan_div

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Axel Lin commit 1035a9e3e9c76b64a860a774f5b867d28d34acc2 upstream. Writing to fanX_div does not clear the cache. As a result, reading from fanX_div may return the old value for up to two

[PATCH 3.2 34/94] ACPI / EC: Add asynchronous command byte write support

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit f92fca0060fc4dc9227342d0072d75df98c1e5a5 upstream. Move the first command byte write into advance_transaction() so that all EC register accesses that can affect the command

[PATCH 3.2 92/94] libata: introduce ata_host->n_tags to avoid oops on SAS controllers

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 1a112d10f03e83fb3a2fdc4c9165865dec8a3ca6 upstream. 1871ee134b73 ("libata: support the ata host which implements a queue depth less than 32") directly used

[PATCH 3.2 21/94] xen/manage: fix potential deadlock when resuming the console

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: David Vrabel commit 1b6478231c6f5f844185acb32045cf195028cfce upstream. Calling xen_console_resume() in xen_suspend() causes a warning because it locks irq_mapping_update_lock (a mutex) and

[PATCH 3.2 53/94] drm/radeon: avoid leaking edid data

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 0ac66effe7fcdee55bda6d5d10d3372c95a41920 upstream. In some cases we fetch the edid in the detect() callback in order to determine what sort of monitor is connected. If that

[PATCH 3.2 46/94] drm/radeon/dp: return -EIO for flags not zero case

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit f6be5e64500abbba44e191e1ca0f3366c7d0291b upstream. If there are error flags in the aux transaction return -EIO rather than -EBUSY. -EIO restarts the whole transaction

[PATCH 3.2 48/94] ring-buffer: Fix polling on trace_pipe

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Martin Lau commit 97b8ee845393701edc06e27ccec2876ff9596019 upstream. ring_buffer_poll_wait() should always put the poll_table to its wait_queue even there is immediate data available.

[PATCH 3.2 36/94] ACPI / EC: Fix race condition in ec_transaction_completed()

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit c0d653412fc8450370167a3268b78fc772ff9c87 upstream. There is a race condition in ec_transaction_completed(). When ec_transaction_completed() is called in the GPE handler, it

[PATCH 3.2 35/94] ACPI / EC: Remove duplicated ec_wait_ibf0() waiter

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 9b80f0f73ae1583c22325ede341c74195847618c upstream. After we've added the first command byte write into advance_transaction(), the IBF=0 waiter is duplicated with the command

[PATCH 3.2 81/94] sym53c8xx_2: Set DID_REQUEUE return code when aborting squeue

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit fd1232b214af43a973443aec6a2808f16ee5bf70 upstream. This patch fixes I/O errors with the sym53c8xx_2 driver when the disk returns QUEUE FULL status. When the controller

[PATCH 3.2 29/94] usb: option: Add ID for Telewell TW-LTE 4G v2

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Bernd Wachter commit 3d28bd840b2d3981cd28caf5fe1df38f1344dd60 upstream. Add ID of the Telewell 4G v2 hardware to option driver to get legacy serial interface working Signed-off-by: Bernd

Re: [PATCH v8 03/11] ARM: brcmstb: add debug UART for earlyprintk support

2014-08-04 Thread Brian Norris
On Sat, Aug 02, 2014 at 09:30:40AM +0100, Russell King wrote: > On Mon, Jul 21, 2014 at 02:07:58PM -0700, Brian Norris wrote: > > From: Marc Carino > > > > Add the UART definitions needed to support earlyprintk on brcmstb machines. > > > > Signed-off-by: Marc Carino > > Acked-by: Florian

[PATCH 3.2 28/94] USB: cp210x: add support for Corsair usb dongle

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Andras Kovacs commit b9326057a3d8447f5d2e74a7b521ccf21add2ec0 upstream. Corsair USB Dongles are shipped with Corsair AXi series PSUs. These are cp210x serial usb devices, so make driver detect

[PATCH 3.2 23/94] drm/vmwgfx: Fix incorrect write to read-only register v2:

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Hellstrom commit 4e578080ed3262ed2c3985868539bc66218d25c0 upstream. Commit "drm/vmwgfx: correct fb_fix_screeninfo.line_length", while fixing a vmwgfx fbdev bug, also writes the pitch to

[PATCH 3.2 32/94] ACPI / EC: Avoid race condition related to advance_transaction()

2014-08-04 Thread Ben Hutchings
3.2.62-rc1 review patch. If anyone has any objections, please let me know. -- From: Lv Zheng commit 66b42b78bc1e816f92b662ec89195e4199e1 upstream. The advance_transaction() will be invoked from the IRQ context GPE handler and the task context ec_poll(). The handling of

<    5   6   7   8   9   10   11   12   13   14   >