[PATCH 35/38] tools lib traceevent: Use pevent_print_func_field in hrtimer_start handler

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com The pevent_print_func_field function encompasses all the functionality used in the hrtimer_start handler. Change the handler to use this function. This also unifies the function field output with the hrtimer_expire_entry handler. Suggested-by: Steven Rostedt

[PATCH 11/38] perf symbols: Fix random fd closing with no libelf

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com When built without libelf, perf tools was failing to initialize a file descriptor, but nevertheless closing it. That sometimes resulted in the output being truncated because the stdout file descriptor got closed. Signed-off-by: Adrian Hunter

[PATCH 19/38] perf tools: Add filename__read_str util function

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding filename__read_str util function to read text file and return it in the char array. The interface is: int filename__read_str(const char *filename, char **buf, size_t *sizep) Returns 0/-1 if the read suceeded/fail respectively. buf - place to store

[PATCH 37/38] tools lib traceevent: Remove malloc_or_die from plugin_function.c

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Removing malloc_or_die calls from plugin_function.c, replacing them and factoring the code with standard realloc and error path. Suggested-by: Namhyung Kim namhy...@kernel.org Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com

[PATCH 26/38] tools lib traceevent: Add kvm plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting kvm plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds field resolving functions for following tracepoint events: kvm:kvm_exit

[PATCH 36/38] tools lib traceevent: Several cleanups for function plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Several cleanups suggested by Namhyung: * Remove index field from struct func_stack as it's not needed. * Rename get_index into add_and_get_index. * Use '%*X' format string capability instead of the loop Suggested-by: Namhyung Kim namhy...@kernel.org

[PATCH 16/38] tools lib traceevent: Change pevent_parse_format to include pevent handle

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Changing the pevent_parse_format interface to include the pevent handle. The goal is to always use pevent object when dealing with traceevent library. The reason is that we might need additional processing (like plugins), which is not possible otherwise. Patches

[PATCH 24/38] tools lib traceevent: Add hrtimer plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting hrtimer plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds function field resolving for following tracepoint events:

[PATCH 38/38] tools lib traceevent: Update kvm plugin with is_writable_pte helper

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding is_writable_pte print helper function, so the kvmmmu:fast_page_fault print format gets resolved properly. The diff of 'perf script' output generated by old and new code: (data was generated by 'perf record -e 'kvm:*,kvmmmu:*' -a') --- script.kvm.old

[PATCH 14/38] tools lib traceevent: Add plugin build support

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting missing pieces of plugin building infrastructure: - Adding Makefile 'plugins' target to build all defined plugins - Adding Makefile 'install_plugins' target as 'install_lib' target dependency - Link plugin objects with shared object

[PATCH] parport: parport_pc: fix id print of a device

2013-12-04 Thread Sebastian Andrzej Siewior
Since commit 7106b4e3 (8250: Oxford Semiconductor Devices) the debug print of the device id does no longer match the real device if it is located in the enum behind oxsemi_pcie_pport. The reason is that the code assumes that each id contains one entry in the PCI table. The fix is to lookup the

[PATCH 12/38] perf script: Do not call perf_event__preprocess_sample() twice)

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com The perf_event__preprocess_sample() function is called in process_sample_event(). Instead of calling it again in perf_evsel__print_ip(), pass through the resultant addr_location. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: Andi Kleen

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

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@ghostprotocols.net Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 89e3bbd58a6186b832fe2b9419ac2f9ab90e9089: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

[PATCH 13/38] tools lib traceevent: Add plugin support

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting plugin support for traceevent lib. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git It's now possible to use following interface to load plugins (shared objects) to

[PATCH 25/38] tools lib traceevent: Add kmem plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting kmem plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds call_site field resolving for following tracepoint events: kmem:kfree kmem:kmalloc

[PATCH 21/38] perf tools: Add trace-event global object for tracepoint interface

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com In order to get the proper plugins processing we need to use full trace-event interface when creating tracepoint events. So far we were using shortcut to get the parsed format. Moving current 'event_format__new' function into trace-event object as

[PATCH 23/38] tools lib traceevent: Add jbd2 plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting jbd2 plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds field resolving functions for following tracepoint events: jbd2:jbd2_checkpoint_stats

[PATCH 18/38] perf tools: Add build and install plugins targets

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding 'plugins' target along with the libtraceevent.a, so plugins are built together with traceevent library. Adding 'install-traceevent-plugins' Makefile install target, instructing perf to install plugins into: $(HOME)/.traceevent/plugins - If installed

[PATCH 22/38] perf tools: Overload pr_stat traceevent print function

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com The traceevent lib uses pr_stat to display all standard info. It's defined as __weak. Overloading it with perf version plugged into perf output system logic. Displaying the pr_stat stuff under '-v' option. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey

[PATCH 05/38] perf tools: Remove stackprotector feature check

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com We use -fstack-protector-all option to enable stack protecting for all available functions. There's no reason for enabling -Wstack-protector to get warning for unprotected functions. Removing stackprotector feature check which was used to enable the

[PATCH 04/38] perf tools: Do not disable source line lookup just because of 1 failure

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Looking up an ip's source file name and line number does not succeed always. Current logic disables the lookup for a dso entirely on any failure. Change it so that disabling never happens if there has ever been a successful lookup for that dso but

[PATCH 15/38] tools lib traceevent: Add traceevent_host_bigendian function

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding traceevent_host_bigendian function to get host endianity. It's used in following patches. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com

[PATCH 17/38] tools lib traceevent: Harmonize the install messages in lib-traceevent

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Removing the 'to ...' part out of the install message, because it does not fit to the rest of the build messages we use. Before: INSTALL plugin_hrtimer.soto /home/jolsa/libexec/perf-core/traceevent/plugins INSTALL plugin_jbd2.so to

[PATCH 20/38] perf tools: Add trace-event object

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Add trace-event object to keep together 'struct pevent' object with its loaded plugins with following interface: int trace_event__init(struct trace_event *t); - Initalizes 'struct pevent' object and loads plugins for it void trace_event__cleanup(struct

[PATCH 09/38] perf kvm: Fix spurious '=' use in man page

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com As option --host and --guest request no input for it, there should not be a '=' after them in the man page sources. And --output expects a filename as the input, so there should be a '=' after it. This patch removes the needless '=' after --guest

[PATCH 10/38] perf kvm: Update the 'record' man page entry for new --guest/--host behavior

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com As we have changed the default behavior of 'perf kvm' to --guest enabled, the parts of the man page that covers the 'record' subcommand are outdated. This patch updates it to show the correct output with --host/--guest/neither/both of them.

[PATCH 27/38] tools lib traceevent: Add mac80211 plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting mac80211 plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds changed field resolving for mac80211:drv_bss_info_changed tracepoint event. The

[PATCH 28/38] tools lib traceevent: Add sched_switch plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting sched_switch plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds fields resolving for sched:sched_switch tracepoint event. The diff of 'perf

[PATCH 29/38] tools lib traceevent: Add function plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Backporting function plugin. Backported from Steven Rostedt's trace-cmd repo (HEAD 0f2c2fb): git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/trace-cmd.git This plugin adds function and parent function fields resolving for ftrace:function tracepoint event.

[PATCH 33/38] tools lib traceevent: Remove malloc_or_die from event-plugin.c

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Removing malloc_or_die calls from event-plugin.c, replacing them with standard malloc and error path. Suggested-by: Namhyung Kim namhy...@kernel.org Signed-off-by: Jiri Olsa jo...@redhat.com Acked-by: Steven Rostedt rost...@goodmis.org Cc: Corey Ashford

[PATCH 34/38] tools lib traceevent: Use static functions in jbd2 plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com There's no need for following functions to be global: process_jbd2_dev_to_name process_jiffies_to_msecs Make them static. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: David Ahern dsah...@gmail.com Cc: Frederic

[PATCH 31/38] tools lib traceevent: Add scsi plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding scsi plugin. This plugin adds fields resolving functions for following tracepoint events: scsi:scsi_dispatch_cmd_start scsi:scsi_dispatch_cmd_error scsi:scsi_dispatch_cmd_done scsi:scsi_dispatch_cmd_timeout The diff of 'perf script' output

[PATCH 30/38] tools lib traceevent: Add xen plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding xen plugin. This plugin adds fields resolving for following tracepoint events: xen:xen_mc_entry xen:xen_mc_extend_args The diff of 'perf script' output generated by old and new code: (data was generated by 'perf record -e 'xen:*' ls') ---

[PATCH 32/38] tools lib traceevent: Add cfg80211 plugin

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding cfg80211 plugin. This plugin adds handler for __le16_to_cpup function t properly parse following tracepoint events: cfg80211:cfg80211_tx_mlme_mgmt cfg80211:cfg80211_rx_mlme_mgmt cfg80211:cfg80211_rx_unprot_mlme_mgmt The diff of 'perf script' output

[PATCH 01/38] perf tools: Use asprintf instead of malloc plus snprintf

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com The asprintf library function is equivalent to malloc plus snprintf so use it because it is simpler. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: Andi Kleen a...@linux.intel.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker

[PATCH 06/38] perf tools: Remove condition in machine__get_kernel_start_addr.

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com In machine__get_kernel_start_addr, the code, which is using machine-root_dir to build filename, works for both host and guests initialized from guestmount, as root_dir is set to for the host machine in the machine__init() function. So this patch

[PATCH 03/38] perf symbols: Retain symbol source file name to lookup source line numbers

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Currently, lookup of an ip's source file name and line number is done using the dso file name. Instead retain the file name used to lookup the dso's symbols and use that. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: Andi Kleen

[PATCH 07/38] perf target: Move the checking of which map function to call into function.

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com Check for cpu_map__dummy_new() or cpu_map__new() to be called in perf_evlist__create_maps() is more complicated. This patch moves the checking work into target.h, combining two conditions and making perf_evlist__create_maps() more readable.

[PATCH 08/38] perf kvm: Add more detail about buildid-list in man page

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Dongsheng Yang yangds.f...@cn.fujitsu.com As the buildid is read from /sys/kernel/notes, then if we use perf kvm buildid-list with a perf data file captured by perf kvm record with --guestkallsyms and --guestmodules, there is no result in output. This patch add a explanation about it and

[PATCH 02/38] perf symbols: Retain bfd reference to lookup source line numbers

2013-12-04 Thread Arnaldo Carvalho de Melo
From: Adrian Hunter adrian.hun...@intel.com Closng and re-opening for every lookup when using libbfd to lookup source file name and line number is very very slow. Instead keep the reference on struct dso. Signed-off-by: Adrian Hunter adrian.hun...@intel.com Cc: Andi Kleen a...@linux.intel.com

Re: [PATCH v9] x86, apic, kexec, Documentation: Add disable_cpu_apic kernel parameter

2013-12-04 Thread Jerry . Hoemann
On Tue, Dec 03, 2013 at 10:25:36AM -0500, Vivek Goyal wrote: Hi Hatayama, We are almost there. A minor nit. Why have we specified KEXEC here. This parameter disabled_cpu_apicid does not seem to dependon CONFIG_KEXEC? Jerry, this patch looks good to me. Does it work on your system?

Re: 3.12.x looses serial mouse over hibernate + resume

2013-12-04 Thread Manuel Krause
On 2013-12-04 18:16, Dmitry Torokhov wrote: On Mon, Dec 02, 2013 at 09:40:20PM +0100, Manuel Krause wrote: On 2013-12-02 20:07, Dmitry Torokhov wrote: Thank you Manuel, but IO think the patch is not complete as we need to re-enable PNP devices after we make a snapshot to make sure they are

[PATCH v3 02/03] ARM: shmobile: Remove CMT, TMU and STI Kconfig entries

2013-12-04 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Now when drivers/clocksource/Kconfig has been updated with entires for CMT, TMU and STI it is safe to remove these from mach-shmobile. Also select timers per SoC via SYS_SUPPORTS_xxx. Signed-off-by: Magnus Damm d...@opensource.se ---

[PATCH v3 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI

2013-12-04 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Add Kconfig entries for CMT, MTU2, TMU and STI to drivers/clocksource/Kconfig. This will allow us to get rid of duplicated entires in architecture code such as arch/sh and arch/arm/mach-shmobile. Signed-off-by: Magnus Damm d...@opensource.se ---

[PATCH v3 00/03] clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits

2013-12-04 Thread Magnus Damm
clocksource: Consolidate SH and ARM mach-shmobile Kconfig bits (v3) [PATCH v3 01/03] clocksource: Add Kconfig entries for CMT, MTU2, TMU and STI [PATCH v3 02/03] ARM: shmobile: Remove CMT, TMU and STI Kconfig entries [PATCH v2 03/03] sh: Remove Kconfig entries for TMU, CMT and MTU2 This is V3 of

[PATCH v2 03/03] sh: Remove Kconfig entries for TMU, CMT and MTU2

2013-12-04 Thread Magnus Damm
From: Magnus Damm d...@opensource.se Now when drivers/clocksource/Kconfig has been updated with entires for CMT, TMU and MTU2 it is safe to remove these from SH. Signed-off-by: Magnus Damm d...@opensource.se --- arch/sh/Kconfig | 21 - 1 file changed, 21 deletions(-) ---

Re: [PATCH v10 1/3] aerdrv: Trace Event for AER

2013-12-04 Thread Borislav Petkov
On Mon, Dec 02, 2013 at 01:05:16PM +0800, rui wang wrote: + TP_printk(%s PCIe Bus Error: severity=%s, %s\n, + __get_str(dev_name), + __entry-severity == HW_EVENT_ERR_CORRECTED ? Corrected : + __entry-severity == HW_EVENT_ERR_FATAL ? +

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Colin Cross
On Wed, Dec 4, 2013 at 10:35 AM, Greg KH gre...@linuxfoundation.org wrote: snip And finally, is this all really needed? Why not just fix the structures to be correct, and then fix userspace to use the correct structures as well, thereby not needing a compat layer at all? Some of the binder

Re: [PATCH v5 1/5] watchdog: davinci: change driver to use WDT core

2013-12-04 Thread Guenter Roeck
On Wed, Dec 04, 2013 at 09:39:26PM +0200, Ivan Khoronzhuk wrote: To reduce code duplicate and increase code readability use WDT core code to handle WDT interface. Remove io_lock as the WDT core uses mutex to lock each wdt device. Remove wdt_state as the WDT core tracks state with its own

Re: [PATCH] avr32: pm: Fix section mismatch

2013-12-04 Thread Hans-Christian Egtvedt
Around Wed 04 Dec 2013 17:52:55 +0100 or thereabout, Matthias Brugger wrote: The power management has a section mismatch which leads to the following warning during compilation: WARNING: arch/avr32/mach-at32ap/built-in.o(.text+0x16d4): Section mismatch in reference from the function

Re: [RFC][PATCH 4/4] ima: added support for new kernel cmdline parameter ima_template_fmt

2013-12-04 Thread Mimi Zohar
On Thu, 2013-11-07 at 15:00 +0100, Roberto Sassu wrote: This patch allows users to provide a custom template format through the new kernel command line parameter 'ima_template_fmt'. If the supplied format is not valid, IMA uses the default template descriptor. Signed-off-by: Roberto Sassu

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Matt Sealey
On Mon, Dec 2, 2013 at 3:07 PM, Leif Lindholm leif.lindh...@linaro.org wrote: On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: Here's where I think this whole thing falls down as being the weirdest possible implementation of this. It defies logic to put this information in the

Re: [PATCH v10] x86, apic, kexec, Documentation: Add disable_cpu_apic kernel parameter

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 05:10:58PM +0900, HATAYAMA Daisuke wrote: This patch set is to allow kdump 2nd kernel to wake up multiple CPUs, a continueing work from: [PATCH v3 0/2] x86, apic, kdump: Disable BSP if boot cpu is AP https://lkml.org/lkml/2013/10/16/300. At v4, basic design has

Re: [RFC][PATCH 3/4] ima: display template format in meas. list if template name length is zero

2013-12-04 Thread Mimi Zohar
On Thu, 2013-11-07 at 15:00 +0100, Roberto Sassu wrote: With the introduction of the 'ima_template_fmt' kernel cmdline parameter, an user can define a new template descriptor with custom format. However, in this case, userspace tools will be unable to parse the measurements list because the

Re: [PATCH 0/3] ARM Coresight: Enhance ETM tracing control

2013-12-04 Thread Adrien Vergé
2013/12/4 Greg Kroah-Hartman gre...@linuxfoundation.org: Your pid implementation is broken, see my other email about that :( Thank you for your remarks on pid. I'll try to correct that. And again, what's wrong with the existing tracing functionalty that is processor agnostic? Why can't we

[PATCH] staging: lustre: lnet: lnet: fixed space coding style issues

2013-12-04 Thread Samuel Dominguez
From 187369f55f9f9bc58c87fc1ac118143db5735033 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20Dom=C3=ADnguez?= samuel.dominguez.lore...@gmail.com Date: Wed, 4 Dec 2013 20:35:41 + Subject: [PATCH] staging: lustre: lnet: lnet: fixed space coding style issues Fixed a coding style issue.

Re: [PATCH] mutexes: Add CONFIG_DEBUG_MUTEX_FASTPATH=y debug variant to debug SMP races

2013-12-04 Thread Linus Torvalds
On Wed, Dec 4, 2013 at 1:19 AM, Simon Kirby s...@hostway.ca wrote: Meanwhile, I still don't understand how moving the unlock _up_ to cover less of the code can solve the race, but I will stare at your long explanation more tomorrow. The lock we're moving up isn't the lock that actually

[PATCH] mm, x86: Skip NUMA_NO_NODE while parsing SLIT

2013-12-04 Thread Toshi Kani
When ACPI SLIT table has an I/O locality (i.e. a locality unique to an I/O device), numa_set_distance() emits the warning message below. NUMA: Warning: node ids are out of bound, from=-1 to=-1 distance=10 acpi_numa_slit_init() calls numa_set_distance() with pxm_to_node(), which assumes that all

Re: [PATCH v2] mxc_nand: remove duplicated ecc_stats counting

2013-12-04 Thread Brian Norris
On Fri, Nov 29, 2013 at 02:14:29PM +0100, Michael Grzeschik wrote: The ecc_stats.corrected count variable will already be incremented in the above framework-layer just after this callback. Cc: sta...@vger.kernel.org Added a 2.6.36+ note, just for reference. Signed-off-by: Michael Grzeschik

Re: [PATCHv2 2/2] ACPI/platform: Add ACPI ID for Intel MBI device

2013-12-04 Thread Rafael J. Wysocki
On Wednesday, December 04, 2013 02:54:07 AM Matthew Garrett wrote: On Tue, Dec 03, 2013 at 06:44:52PM -0800, David E. Box wrote: On Wed, Dec 04, 2013 at 02:21:30AM +, Matthew Garrett wrote: Well sure, but why do you need to be a platform device at all? This functionality was intended

Re: [PATCH] cpuidle: Check for dev before deregistering it.

2013-12-04 Thread Daniel Lezcano
On 12/04/2013 05:09 PM, Konrad Rzeszutek Wilk wrote: On Wed, Dec 04, 2013 at 10:10:28AM +0100, Daniel Lezcano wrote: On 12/03/2013 10:33 PM, Rafael J. Wysocki wrote: On Tuesday, December 03, 2013 10:59:58 AM Konrad Rzeszutek Wilk wrote: If not, we could end up in the unfortunate situation

Re: [PATCH V7 1/2] genirq: Add an accessor for IRQ_PER_CPU flag

2013-12-04 Thread Thomas Gleixner
On Wed, 4 Dec 2013, Vinayak Kale wrote: This patch adds an accessor function for IRQ_PER_CPU flag. The accessor function is useful to determine whether an IRQ is percpu or not. This patch is based on an older patch posted by Chris Smith here [1]. There is a minor change w.r.t. Chris's

Re: [PATCH 28/28] perf tools: Add udis86 disassembler feature check

2013-12-04 Thread Jiri Olsa
On Wed, Dec 04, 2013 at 03:53:02PM -0300, Arnaldo Carvalho de Melo wrote: SNIP Auto-detecting system features: ... backtrace: [ on ] ... dwarf: [ on ] ...fortify-source: [ on ] ... glibc: [ on ] ...

Re: [PATCH] watchdog: Add a sysctl to disable soft lockup detector

2013-12-04 Thread Don Zickus
On Tue, Dec 03, 2013 at 01:54:34PM -0800, Ben Zhang wrote: This provides usermode a way to disable only the soft lockup detector while keeping the hard lockup detector running. kernel.softlockup_detector_enable=1: This is the default. The soft lockup detector is enabled. When a soft lockup

Re: [PATCH] crash_dump: fix compilation error (on MIPS at least)

2013-12-04 Thread Vivek Goyal
On Wed, Dec 04, 2013 at 03:58:22PM +, Qais Yousef wrote: In file included from kernel/crash_dump.c:2:0: include/linux/crash_dump.h:22:27: error: unknown type name ‘pgprot_t’ when CONFIG_CRASH_DUMP=y The error was traced back to this commit: 9cb218131de1 vmcore: introduce

Re: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:616

2013-12-04 Thread Andrew Morton
On Wed, 04 Dec 2013 16:59:38 +0800 Axel Lin axel@ingics.com wrote: Please add a lot more printk's so we can narrow it down further? I'd use something like printk(%d: %d\n, __LINE__, preempt_count()); (note: preempt_count(), not in_atomic()) Paste that all over the

Re: [PATCH 1/2] MIPS: OCTEON: Supply OCTEON+ USB nodes in internal device trees.

2013-12-04 Thread Aaro Koskinen
Hi, On Tue, Dec 03, 2013 at 11:46:51AM -0800, David Daney wrote: From: David Daney david.da...@cavium.com This will be needed by the next patch to use said nodes for probing via the device tree. Signed-off-by: David Daney david.da...@cavium.com Tested-by: Aaro Koskinen

Re: [PATCH 2/2] staging: octeon-usb: Probe via device tree populated platform device.

2013-12-04 Thread Aaro Koskinen
Hi, On Tue, Dec 03, 2013 at 11:46:52AM -0800, David Daney wrote: From: David Daney david.da...@cavium.com Extract clocking parameters from the device tree, and remove now dead code and types. Signed-off-by: David Daney david.da...@cavium.com Tested-by: Aaro Koskinen aaro.koski...@iki.fi

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Greg KH
On Wed, Dec 04, 2013 at 12:46:42PM -0800, Colin Cross wrote: On Wed, Dec 4, 2013 at 10:35 AM, Greg KH gre...@linuxfoundation.org wrote: snip And finally, is this all really needed? Why not just fix the structures to be correct, and then fix userspace to use the correct structures as

Re: [PATCH RFC] mm readahead: Fix the readahead fail in case of empty numa node

2013-12-04 Thread Andrew Morton
On Wed, 04 Dec 2013 14:38:11 +0530 Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: On 12/04/2013 02:11 PM, Andrew Morton wrote: On Wed, 04 Dec 2013 14:00:09 +0530 Raghavendra K T raghavendra...@linux.vnet.ibm.com wrote: Unfaortunately, from my search, I saw that the code

Re: [GIT PULL] at91: cleanup for 3.14 #1 (aka move to CCF)

2013-12-04 Thread Olof Johansson
On Mon, Dec 2, 2013 at 9:01 AM, Nicolas Ferre nicolas.fe...@atmel.com wrote: Arnd, Olof, Kevin, This is the big move of AT91 to Common Clock Framework for 3.14. I collected all the material as a cleanup topic so that the CCF can be considered as a base for all our AT91 patches for 3.14. I

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Colin Cross
On Wed, Dec 4, 2013 at 1:43 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Dec 04, 2013 at 12:46:42PM -0800, Colin Cross wrote: On Wed, Dec 4, 2013 at 10:35 AM, Greg KH gre...@linuxfoundation.org wrote: snip And finally, is this all really needed? Why not just fix the structures to

Re: [PATCH] ARM: multi_v7_defconfig: Fix STi support

2013-12-04 Thread Olof Johansson
On Wed, Dec 04, 2013 at 01:10:13PM +, srinivas.kandaga...@st.com wrote: From: Srinivas Kandagatla srinivas.kandaga...@st.com This patch adds ST serial driver (st-asc) and ICPLUS ethernet PHY to multi_v7_defconfig. All STi based SOCs use ST-ASC as default serial console, and most of the

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Greg KH
On Wed, Dec 04, 2013 at 01:55:34PM -0800, Colin Cross wrote: On Wed, Dec 4, 2013 at 1:43 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Dec 04, 2013 at 12:46:42PM -0800, Colin Cross wrote: On Wed, Dec 4, 2013 at 10:35 AM, Greg KH gre...@linuxfoundation.org wrote: snip And

Re: [PATCH] thp: move preallocated PTE page table on move_huge_pmd()

2013-12-04 Thread Naoya Horiguchi
On Wed, Dec 04, 2013 at 09:03:06PM +0200, Kirill A. Shutemov wrote: Andrey Wagin reported crash on VM_BUG_ON() in pgtable_pmd_page_dtor() with fallowing backtrace: [8119427f] free_pgd_range+0x2bf/0x410 [8119449e] free_pgtables+0xce/0x120 [8119b900]

Re: [PATCH v2 1/4] introduce for_each_thread() to replace the buggy while_each_thread()

2013-12-04 Thread Oleg Nesterov
On 12/04, Frederic Weisbecker wrote: On Wed, Dec 04, 2013 at 02:49:17PM +0100, Oleg Nesterov wrote: Yes, perhaps we will need for_each_thread_continue(). I am not sure yet. And note that, say, check_hung_uninterruptible_tasks() already does _continue if fact, although it is still not

[PATCH] virtio_balloon: update_balloon_size(): update correct field

2013-12-04 Thread Luiz Capitulino
According to the virtio spec, the device configuration field that should be updated after an inflation or deflation operation is the 'actual' field, not the 'num_pages' one. Commit 855e0c5288177bcb193f6f6316952d2490478e1c swapped them in update_balloon_size(). Fix it. Signed-off-by: Luiz

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread Colin Cross
On Wed, Dec 4, 2013 at 2:02 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Dec 04, 2013 at 01:55:34PM -0800, Colin Cross wrote: On Wed, Dec 4, 2013 at 1:43 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Dec 04, 2013 at 12:46:42PM -0800, Colin Cross wrote: On Wed, Dec 4, 2013 at

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Mark Salter
On Wed, 2013-12-04 at 15:06 -0600, Matt Sealey wrote: On Mon, Dec 2, 2013 at 3:07 PM, Leif Lindholm leif.lindh...@linaro.org wrote: On Mon, Dec 02, 2013 at 01:51:22PM -0600, Matt Sealey wrote: Here's where I think this whole thing falls down as being the weirdest possible implementation

Re: [i915] BUG: Bad page state in process Xorg

2013-12-04 Thread Thomas Meyer
Am Samstag, den 30.11.2013, 08:55 -0500 schrieb Rob Clark: On Sat, Nov 30, 2013 at 3:33 AM, Thomas Meyer tho...@m3y3r.de wrote: Am Montag, den 25.11.2013, 08:23 -0500 schrieb Rob Clark: oh, hmm.. are you importing buffers from i915? It looks like this part: My computer has an i915

Re: [PATCH] cpuidle: Check for dev before deregistering it.

2013-12-04 Thread Rafael J. Wysocki
On Wednesday, December 04, 2013 10:24:25 PM Daniel Lezcano wrote: On 12/04/2013 05:09 PM, Konrad Rzeszutek Wilk wrote: On Wed, Dec 04, 2013 at 10:10:28AM +0100, Daniel Lezcano wrote: On 12/03/2013 10:33 PM, Rafael J. Wysocki wrote: On Tuesday, December 03, 2013 10:59:58 AM Konrad Rzeszutek

Re: [PATCH v3 1/3] Documentation: arm: add UEFI support documentation

2013-12-04 Thread Matthew Garrett
On Wed, Dec 04, 2013 at 03:06:47PM -0600, Matt Sealey wrote: there's no guarantee that the kernel hasn't been decompressed over some important UEFI feature or some memory hasn't been trashed. You can't make that guarantee because by entering the plain zImage, you forfeited that

[patch 2/2] mm: memcg: do not allow task about to OOM kill to bypass the limit

2013-12-04 Thread Johannes Weiner
4942642080ea (mm: memcg: handle non-error OOM situations more gracefully) allowed tasks that already entered a memcg OOM condition to bypass the memcg limit on subsequent allocation attempts hoping this would expedite finishing the page fault and executing the kill. David Rientjes is worried that

[patch 1/2] mm: memcg: fix race condition between memcg teardown and swapin

2013-12-04 Thread Johannes Weiner
There is a race condition between a memcg being torn down and a swapin triggered from a different memcg of a page that was recorded to belong to the exiting memcg on swapout (with CONFIG_MEMCG_SWAP extension). The result is unreclaimable pages pointing to dead memcgs, which can lead to anything

[patch 0/2] mm: memcg: 3.13 fixes

2013-12-04 Thread Johannes Weiner
Hi, here are two memcg fixes for 3.13. The race condition in #1 is really long standing AFAICS, I just tagged stable and will backport and evaluate this for any tree that sends me a notice. #2 changes what happens during a charge attempt between a task entering memcg OOM and actually executing

[PATCH tip/core/locking 4/4] Documentation/memory-barriers.txt: Document ACCESS_ONCE()

2013-12-04 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com The situations in which ACCESS_ONCE() is required are not well documented, so this commit adds some verbiage to memory-barriers.txt. Reported-by: Peter Zijlstra pet...@infradead.org Signed-off-by: Paul E. McKenney paul...@linux.vnet.ibm.com Cc:

[PATCH v4 tip/core/locking 0/4] Memory-barrier documentation updates

2013-12-04 Thread Paul E. McKenney
Hello! This series applies some long-needed updates to memory-barriers.txt: 1. Add ACCESS_ONCE() calls where needed to ensure their inclusion in code copy-and-pasted from this file. 2. Add long atomic examples alongside the existing atomics. 3. Prohibit architectures

Re: 2e685cad5790 build warning

2013-12-04 Thread Johannes Weiner
[ botched linux-kernel address in the first try ] On Wed, Dec 04, 2013 at 05:29:43PM -0500, Johannes Weiner wrote: Hi Eric, commit 2e685cad57906e19add7189b5ff49dfb6aaa21d3 Author: Eric W. Biederman ebied...@xmission.com Date: Sat Oct 19 16:26:19 2013 -0700 tcp_memcontrol: Kill

Re: [PATCH v3] irqchip: mmp: add dt support for wakeup

2013-12-04 Thread Thomas Gleixner
On Wed, 4 Dec 2013, Neil Zhang wrote: Some of the Marvell SoCs use GIC as its interrupt controller,and ICU only used as wakeup logic. When AP subsystem is powered off, GIC will lose its context, the PMU will need ICU to wakeup the AP subsystem. So add wakeup entry for such kind of usage.

[PATCH tip/core/locking 1/4] Documentation/memory-barriers.txt: Add needed ACCESS_ONCE() calls to memory-barriers.txt

2013-12-04 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com The Documentation/memory-barriers.txt file was written before the need for ACCESS_ONCE() was fully appreciated. It therefore contains no ACCESS_ONCE() calls, which can be a problem when people lift examples from it. This commit therefore adds

[PATCH tip/core/locking 2/4] Documentation/memory-barriers.txt: Add long atomic examples to memory-barriers.txt

2013-12-04 Thread Paul E. McKenney
From: Paul E. McKenney paul...@linux.vnet.ibm.com Although the atomic_long_t functions are quite useful, they are a bit obscure. This commit therefore adds the common ones alongside their atomic_t counterparts in Documentation/memory-barriers.txt. Signed-off-by: Paul E. McKenney

[tip:x86/urgent] x86, bitops: Correct the assembly constraints to testing bitops

2013-12-04 Thread tip-bot for H. Peter Anvin
Commit-ID: e0f6dec35f9286e78879fe1ac92803fd69fc4fdc Gitweb: http://git.kernel.org/tip/e0f6dec35f9286e78879fe1ac92803fd69fc4fdc Author: H. Peter Anvin h...@linux.intel.com AuthorDate: Wed, 4 Dec 2013 14:31:28 -0800 Committer: H. Peter Anvin h...@linux.intel.com CommitDate: Wed, 4 Dec 2013

Re: [PATCH 0/4] Convert ACPI fan driver to platform driver

2013-12-04 Thread Rafael J. Wysocki
On Tuesday, December 03, 2013 04:28:28 PM Aaron Lu wrote: This patchset converts ACPI fan driver to platform driver. Patch 1-3 are cleanups for existing fan driver and patch 4 does the convertion. Tested on harris beach. Apply on top of Rafael's linux-next branch. Aaron Lu (4): ACPI /

Re: [PATCH 0/4] Convert ACPI fan driver to platform driver

2013-12-04 Thread Rafael J. Wysocki
Cc: +Matthew (sorry, omitted by mistake previously) On Thursday, December 05, 2013 12:07:31 AM Rafael J. Wysocki wrote: On Tuesday, December 03, 2013 04:28:28 PM Aaron Lu wrote: This patchset converts ACPI fan driver to platform driver. Patch 1-3 are cleanups for existing fan driver and

Re: [3.8-rc3 - 3.8-rc4 regression] Re: [PATCH] module, async: async_synchronize_full() on module init iff async is used

2013-12-04 Thread Josh Hunt
On Tue, Dec 3, 2013 at 9:19 AM, Tejun Heo t...@kernel.org wrote: Hello, On Tue, Dec 03, 2013 at 08:28:43AM -0600, Josh Hunt wrote: You're right. Thanks for pointing this out. I did not realize there was a bug in the init script. The version of initramfs-tools I was using had the following

Re: [3.8-rc3 - 3.8-rc4 regression] Re: [PATCH] module, async: async_synchronize_full() on module init iff async is used

2013-12-04 Thread Tejun Heo
Hello, Josh. On Wed, Dec 04, 2013 at 05:01:53PM -0600, Josh Hunt wrote: So there used to be a call to async_synchronize_full() in ata_host_register(), but it was removed by f29d3b23238e1955a8094e038c72546e99308e61 as part of some fastboot changes. Adding it back (in the attached patch) seems

[PATCH] partitions/efi: complete gpt kernel param purpose

2013-12-04 Thread Davidlohr Bueso
From: Davidlohr Bueso davidl...@hp.com The usage of the 'gpt' kernel parameter is twofold: (i) skip any mbr integrity checks and (ii) enable the backup GPT header to be used in situations where the primary one is corrupted. This last feature is not obvious and needs to be properly documented in

Re: [PATCH v1 9/9] staging: android: binder: Add binder compat layer

2013-12-04 Thread One Thousand Gnomes
On Wed, 4 Dec 2013 10:35:54 -0800 Greg KH gre...@linuxfoundation.org wrote: On Wed, Dec 04, 2013 at 06:09:41PM +, Serban Constantinescu wrote: +#define size_helper(x) ({ \ + size_t __size;

[PATCH v2] perf/x86: fix constraint table end marker issue

2013-12-04 Thread Maria Dimakopoulou
The EVENT_CONSTRAINT_END macro defines the end marker as a constraint with a weight of zero. This was all fine until we blacklisted the corrupting memory events on Intel IvyBridge. These events are blacklisted by using a counter bitmask of zero. Thus, they also get a constraint weight of zero.

Hope you got my email?

2013-12-04 Thread Mr Saeed
-- 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-info.html Please read the FAQ at http://www.tux.org/lkml/

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