Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-18 Thread Alex Shi
On Sun, Nov 18, 2012 at 3:12 AM, Preeti U Murthy pre...@linux.vnet.ibm.com wrote: Hi Alex, On 11/17/2012 06:34 PM, Alex Shi wrote: This patchset try to consider runnable load avg when do cpu load comparison in load balance. I had seen preeti's enabling before patch finished, but I still

Re: [RFC] cpuidle - remove the power_specified field in the driver

2012-11-18 Thread Francesco Lavra
Hi, On 11/12/2012 09:26 PM, Daniel Lezcano wrote: This patch follows the discussion about reinitializing the power usage when a C-state is added/removed. https://lkml.org/lkml/2012/10/16/518 We realized the power usage field is never filled and when it is filled for tegra, the

Re: 3.7-rc3: mouses stopped working

2012-11-18 Thread Dmitry Torokhov
On Fri, Nov 16, 2012 at 01:37:31PM +0100, Jiri Kosina wrote: On Fri, 16 Nov 2012, Pavel Machek wrote: root@amd:/tmp# uname -a Linux amd 3.7.0-rc5+ #236 SMP Thu Nov 15 20:07:26 CET 2012 i686 GNU/Linux root@amd:/tmp# cat /dev/input/mice cat: /dev/input/mice: No such device or

Re: [PATCH] hostfs: fix a not needed double check

2012-11-18 Thread Marco Stornelli
Il 20/10/2012 12:02, Marco Stornelli ha scritto: With the commit 3be2be0a32c18b0fd6d623cda63174a332ca0de1 we removed vmtruncate, but actaully there is no need to call inode_newsize_ok() because the checks are already done in inode_change_ok() at the begin of the function. Signed-off-by: Marco

Re: [rfc net-next v6 2/3] virtio_net: multiqueue support

2012-11-18 Thread Michael S. Tsirkin
On Sat, Nov 17, 2012 at 12:35:29AM +, Ben Hutchings wrote: On Tue, 2012-11-13 at 08:40 +0200, Michael S. Tsirkin wrote: On Mon, Nov 05, 2012 at 11:38:39AM +1030, Rusty Russell wrote: @@ -924,11 +1032,10 @@ static void virtnet_get_ringparam(struct net_device *dev, {

Re: [PATCH] tmpfs: change final i_blocks BUG to WARNING

2012-11-18 Thread Jaegeuk Hanse
On 11/06/2012 09:34 AM, Hugh Dickins wrote: Under a particular load on one machine, I have hit shmem_evict_inode()'s BUG_ON(inode-i_blocks), enough times to narrow it down to a particular race between swapout and eviction. It comes from the if (freed 0) asymmetry in

Re: [RFC] cpuidle - remove the power_specified field in the driver

2012-11-18 Thread Daniel Lezcano
On 11/18/2012 09:40 AM, Francesco Lavra wrote: Hi, On 11/12/2012 09:26 PM, Daniel Lezcano wrote: This patch follows the discussion about reinitializing the power usage when a C-state is added/removed. https://lkml.org/lkml/2012/10/16/518 We realized the power usage field is never filled

Re: Build regressions/improvements in v3.7-rc6

2012-11-18 Thread Geert Uytterhoeven
On Sun, Nov 18, 2012 at 10:17 AM, Geert Uytterhoeven ge...@linux-m68k.org wrote: JFYI, when comparing v3.7-rc6 to v3.7-rc5[3], the summaries are: - build errors: +2/-12 Just some broken dependencies, I guess: 2 regressions: + arch/powerpc/sysdev/mpic.c: error: case label does not reduce to

Re: [PATCH update 0/3] HW-latency: hardware latency test 0.10

2012-11-18 Thread Luming Yu
On Mon, Nov 12, 2012 at 12:13 PM, Jon Masters j...@redhat.com wrote: On 11/10/2012 09:48 PM, Luming Yu wrote: Update the previous patch series to ACK all comments I've recevied so far for the tool: e.g. 1.Acked Jon Masters in source code as many code are from jcm, thanks very much Jon. 2.

[PATCH] Input: mousedev - fix /dev/input/mice minor number

2012-11-18 Thread Krzysztof Mazur
The mousedev always used relative minor number 31 for MOUSEDEV_MIX (/dev/input/mice), but alsolute minor number was 63. Commit 7f8d4cad1e4e11a45d02bd6e024cc2812963c38a (Input: extend the number of event (and other) devices) changed it to 31 alsolute minor number. Signed-off-by: Krzysztof Mazur

Re: [RFC PATCH 4/5] sched: consider runnable load average in wake_affine and move_tasks

2012-11-18 Thread Alex Shi
On 11/18/2012 02:09 AM, Preeti U Murthy wrote: Hi Alex, On 11/17/2012 06:34 PM, Alex Shi wrote: Except using runnable load average in background, wake_affine and move_tasks is also the key functions in load balance. We need consider the runnable load average in them in order to the apple to

Re: [PATCH] m68k: fix sigset_t accessor functions

2012-11-18 Thread Geert Uytterhoeven
Hi Andreas, On Sat, Nov 17, 2012 at 10:27 PM, Andreas Schwab sch...@linux-m68k.org wrote: The sigaddset/sigdelset/sigismember functions that are implemented with bitfield insn cannot allow the sigset argument to be placed in a data register since the sigset is wider than 32 bits. Remove the d

[git pull] m68k updates for 3.7 (take 3)

2012-11-18 Thread Geert Uytterhoeven
Hi Linus, The following changes since commit f4a75d2eb7b1e2206094b901be09adb31ba63681: Linus Torvalds (1): Linux 3.7-rc6 are available in the git repository at: ra.kernel.org:/pub/scm/linux/kernel/git/geert/linux-m68k.git for-linus

[PATCH]Documentation:Update Documentation/zh_CN/arm64/memory.txt

2012-11-18 Thread Fu Wei
This is a update of Chinese documentation:Documentation/zh_CN/arm64/memory.txt It is based on the modifications of Documentation/arm64/memory.txt in submission :e3978cde. Signed-off-by: Fu Wei tekkamanni...@gmail.com --- Documentation/zh_CN/arm64/memory.txt | 12 ++-- 1 个文件被修改,插入 6

Re: Hang in XFS reclaim on 3.7.0-rc3

2012-11-18 Thread Torsten Kaiser
On Tue, Oct 30, 2012 at 9:37 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: I will keep LOCKDEP enabled on that system, and if there really is another splat, I will report back here. But I rather doubt that this will be needed. After the patch, I did not see this problem again, but

PROBLEM: REGRESSION in drivers/platform/x86/dell-laptop.c

2012-11-18 Thread Mark Ellis
1. rfkill code removal causes hang 2. the rfkill code was removed from this driver in commit 53039f222c548bfc119eea6df4dca2b57550e271 this results in my computer hanging (dell n5050) if booting with the wireless (hardware) disabled. downgrading this module to the version prior to this commit

Re: PROBLEM: REGRESSION in drivers/platform/x86/dell-laptop.c

2012-11-18 Thread Rafael J. Wysocki
On Sunday, November 18, 2012 06:47:02 PM Mark Ellis wrote: 1. rfkill code removal causes hang 2. the rfkill code was removed from this driver in commit 53039f222c548bfc119eea6df4dca2b57550e271 That doesn't seem to be the hash of the commit in question. This one is just a merge fix.

vt: regression caused by Fix line garbage in virtual..

2012-11-18 Thread Krzysztof Mazur
Hi, commit 81732c3b2fede049a692e58a7ceabb6d18ffb18c (tty vt: Fix line garbage in virtual console on command line edition) introduced some regression in deleting characters/clearing line during selecting previous command in bash by using up arrow. The problem can be reproduced by two following

Re: [3.7-rc5/rc6 regression] drm/nvc0/disp: fix regression in vblank semaphore release broke nouveau driver and mplayer

2012-11-18 Thread Mikael Pettersson
Marcin Slusarz writes: On Sat, Nov 17, 2012 at 08:35:18PM +0100, Mikael Pettersson wrote: mplayer worked fine on my Dell Latitude E6510 (nVidia GT218 [NVS 3100M] graphics) up to and including kernel 3.7-rc4. However, with 3.7-rc5 or -rc6, any attempt to run mplayer just blanks

Re: [PATCH 5/6] power: da9052-battery: Convert to the new da9052 interrupt functions

2012-11-18 Thread Fabio Estevam
On Sun, Nov 18, 2012 at 2:20 AM, Anton Vorontsov cbouatmai...@gmail.com wrote: It seems that the patch depends on other patches in this series. I don't see it linux-next, so if anything, for the drivers/power part: Acked-by: Anton Vorontsov cbouatmai...@gmail.com Thanks, Anton. Yes, the mfd

ipc: object information data in proc and sysfs

2012-11-18 Thread Sami Kerola
Hello, While back I started to look how to get util-linux ipcs(1) tool to read values from /proc instead of using IPC multiplex functions. Most of the data ipcs(1) is interested is available in /proc, but there are few exceptions, such as msgctl q_qbytes semctl getval semctl sempid semctl

[char-misc-next 4/7] mei: streamline amthif write complete function

2012-11-18 Thread Tomas Winkler
Rename the function mei_amthif_irq_process_completed to mei_amthif_irq_write_complete Remove cl from the parameter list as it can be extracted from cb block. Extract the common flow from if statements and document the logic properly Signed-off-by: Tomas Winkler tomas.wink...@intel.com ---

[char-misc-next 6/7] mei: simplify write complete loop in irq handler

2012-11-18 Thread Tomas Winkler
extract the common, hence non conditional code from the if-else statment Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/interrupt.c | 37 - 1 files changed, 12 insertions(+), 25 deletions(-) diff --git

[char-misc-next 7/7] mei: Simplify the ME client enumeration code

2012-11-18 Thread Tomas Winkler
From: Samuel Ortiz sa...@linux.intel.com After enumerating all ME clients we call the client init functions for all matching UUIDs from a separate context. This remove the hackish cascading client initialisation process that was interleaving properties and connection command replies.

[char-misc-next 1/7] mei: compact code for mei bus message creation

2012-11-18 Thread Tomas Winkler
1. replace boilerplate code for filling up the bus message header with a common wrapper function 2. shorten variable names and use temporal variables to save some screen space Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/init.c | 78

[char-misc-next 2/7] mei: use structured buffer for extra write buffer

2012-11-18 Thread Tomas Winkler
The structure of the message is static so we don't have to use and cast the buffer. We can also drop extra_write_index variable as this information can be extracted directly from the message header Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/init.c |2 +-

[char-misc-next 3/7] mei: streamline write complete flow function

2012-11-18 Thread Tomas Winkler
Rename the function _mei_irq_thread_cmpl to mei_irq_thread_write_complete to make clear it deals with writing. Remove cl from the parameter list as it can be extracted from cb block. Extract the common flow from if statements and document the logic properly Signed-off-by: Tomas Winkler

[char-misc-next 5/7] mei: don't mix read and write slots

2012-11-18 Thread Tomas Winkler
Do not pass read slots pointer into function mei_irq_thread_write_handler, the write slots management is handled internally in the write handler Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/interrupt.c | 35 +++ 1 files changed, 19

Re: 3.7-rc3: mouses stopped working

2012-11-18 Thread Krzysztof Mazur
On Sun, Nov 18, 2012 at 12:56:38AM -0800, Dmitry Torokhov wrote: Input: mousedev - move /deb/input/mice to teh correct minor s/teh/the/ ?? From: Dmitry Torokhov dmitry.torok...@gmail.com When doing conversion to dynamic input numbers I inadvertently moved /dev/input/mice form c,13,63

Re: [PATCH 9/9] TTY: call tty_port_destroy in the rest of drivers

2012-11-18 Thread Tilman Schmidt
Hi Jiri, Two remarks wrt the Gigaset driver. Am 15.11.2012 09:49, schrieb Jiri Slaby: diff --git a/drivers/isdn/gigaset/common.c b/drivers/isdn/gigaset/common.c index 30a6b17..bc9d89a 100644 --- a/drivers/isdn/gigaset/common.c +++ b/drivers/isdn/gigaset/common.c @@ -518,6 +518,7 @@ f_bcs:

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-11-18 Thread Vladimir Kondratiev
On Sunday, November 18, 2012 11:47:58 AM Vladimir Kondratiev wrote: On Wednesday, November 14, 2012 07:27:47 PM Vladimir Kondratiev wrote: +#define dynamic_hex_dump(prefix_str, prefix_type, rowsize, \ +groupsize, buf, len, ascii)\ +do {

Re: [3.7-rc6] Build failure with scripts/Makefile.headersinst

2012-11-18 Thread David Howells
Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: I get build error which complains that include/uapi/asm-generic/auxvec.h is missing although the file exists. I'm using gcc 3.3.5. This bug seems to not happen with gcc 4.x. What configuration? David -- To unsubscribe from this list:

[PATCH 2/2] dynamic_debug: use constant format in print_hex_dump_bytes()

2012-11-18 Thread Vladimir Kondratiev
From cff77ecaa9a1f875327a0530f0ebc7998427bbf4 Mon Sep 17 00:00:00 2001 From: Vladimir Kondratiev qca_vkond...@qca.qualcomm.com Date: Sun, 18 Nov 2012 15:47:09 +0200 Subject: [PATCH 2/2] dynamic_debug: use constant format in print_hex_dump_bytes() In order to convert print_hex_dump_bytes() to

[PATCH 1/2] dynamic_debug: dynamic hex dump

2012-11-18 Thread Vladimir Kondratiev
From 26bb3835fe438622d108716420c3cc191f2e881b Mon Sep 17 00:00:00 2001 From: Vladimir Kondratiev qca_vkond...@qca.qualcomm.com Date: Sun, 18 Nov 2012 15:37:20 +0200 Subject: [PATCH 1/2] dynamic_debug: dynamic hex dump Introduce print_hex_dump_debug() that can be dynamically controlled, similar to

Re: [PATCH] [trivial] mtd: Fix typo mtd/tests

2012-11-18 Thread Artem Bityutskiy
On Fri, 2012-11-09 at 23:20 +0900, Masanari Iida wrote: Correct spelling typo in printk within drivers/mtd/tests. Signed-off-by: Masanari Iida standby2...@gmail.com Pushed to l2-mtd.git, thanks! -- Best Regards, Artem Bityutskiy signature.asc Description: This is a digitally signed

Re: [PATCH] Lib:The patch include fix for - during string to long conversion

2012-11-18 Thread George Spelvin
Namit Gupta wrote: @@ -91,10 +98,18 @@ EXPORT_SYMBOL(simple_strtol); */ long long simple_strtoll(const char *cp, char **endp, unsigned int base) { long l; if (cp[0] != '-') return simple_strtoull(cp, endp, base); l = -simple_strtoull(cp+1, endp, base); In

Re: [PATCH] mtd: de-select the chip when it is not used

2012-11-18 Thread Artem Bityutskiy
On Fri, 2012-11-09 at 16:23 +0800, Huang Shijie wrote: When we scan several nand chips with nand_scan(), such as ... nand_scan(*, 2); ... In nand_scan_ident(), the maxchips will become 2, so the current code will select chip 1 to read

Re: [PATCH] tools: hv: Netlink source address validation allows DoS

2012-11-18 Thread Tomas Hozza
Hello. Just FYI there is already a CVE name CVE-2012-5532 for this issue. Regards, Tomas Hozza - Original Message - On Thu, Nov 08, 2012 at 10:53:29AM +0100, Tomas Hozza wrote: The source code without this patch caused hypervkvpd to exit when it processed a spoofed Netlink packet

Re: [PATCHSET cgroup/for-3.8] netcls_cgroup: implement hierarchy support

2012-11-18 Thread Tejun Heo
Hello, On Sat, Nov 17, 2012 at 10:04:21PM -0500, David Miller wrote: This patchset implements proper hierarchy support for netcls_cgroup. Pretty simliar to the netprio one[3]. Simpler as each cgroup has single config value instead of array of them. This patchset contains the following

Re: [PATCH v3 1/2] cuse: use mutex as registration lock instead of spinlocks

2012-11-18 Thread Tejun Heo
Hello, David. On Sat, Nov 17, 2012 at 12:45:47PM +0100, David Herrmann wrote: We need to check for name-collisions during cuse-device registration. To avoid race-conditions, this needs to be protected during the whole device registration. Therefore, replace the spinlocks by mutexes first so we

Re: [PATCH v3 2/2] cuse: do not register multiple devices with identical names

2012-11-18 Thread Tejun Heo
On Sat, Nov 17, 2012 at 12:45:48PM +0100, David Herrmann wrote: Sysfs doesn't allow two devices with the same name, but we register a sysfs entry for each cuse device without checking for name collisions. This extends the registration to first check whether the name was already registered.

[PATCH 26/32] perf ui: Add ui_progress__finish()

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Sometimes we need to know when the progress bar should disappear. Checking curr = total wasn't enough since there're cases not met that condition for the last call. So add a new -finish callback to identify this explicitly. Currently only GTK frontend

[PATCH 08/32] perf tests: Move perf_evsel__tp_sched_test into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating perf_evsel__tp_sched_test test from the builtin-test into evsel-tp-sched object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc: Paul

[PATCH 14/32] perf hists: Initialize all of he-stat with zeroes

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com Not just nr_events and period. Reported-by: Namhyung Kim namhy...@gmail.com Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc: Mike Galbraith efa...@gmx.de Cc: Namhyung Kim

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

2012-11-18 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit ffadcf090d468e9c4938b718649f38dd10cfdb02: perf annotate: Handle XBEGIN like a jump (2012-10-31 12:18:26 -0200) are available in the git repository at:

Re: [PATCH V6 1/2] Thermal: Add ST-Ericsson DB8500 thermal driver.

2012-11-18 Thread Francesco Lavra
On 11/15/2012 01:51 PM, Zhang Rui wrote: On Thu, 2012-11-15 at 18:56 +0800, hongbo.zhang wrote: From: hongbo.zhang hongbo.zh...@linaro.com This driver is based on the thermal management framework in thermal_sys.c. A thermal zone device is created with the trip points to which cooling devices

[PATCH 07/32] perf tests: Move perf_evsel__roundtrip_name_test into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating perf_evsel__roundtrip_name_test test from the builtin-test into evsel-roundtrip-name object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

[PATCH 16/32] perf tools: Add gtk.command config option for launching GTK browser

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Add config option for launching GTK browser for the specified command by default. Currently only 'report' command is supported. Adding following line to the perfconfig file will have a same effect of specifying --gtk option on command line (unless other

[PATCH 10/32] perf tests: Move pmu tests into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating pmu's object tests into pmu object under tests directory. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras

[PATCH 25/32] perf ui gtk: Implement ui_progress functions

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Implement progress update function for GTK2 front end. Note that since it will be called before gtk main loop so that we should call gtk event loop handler directly. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Ingo Molnar mi...@kernel.org Cc:

[PATCH 17/32] perf tools: Use sscanf for parsing /proc/pid/maps

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhy...@kernel.org When reading those files to synthesize MMAP events. It makes the code shorter and cleaner. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Ingo Molnar mi...@kernel.org Cc: Peter Zijlstra pet...@infradead.org Cc: Stephane Eranian eran...@google.com

[PATCH 27/32] perf ui: Always compile browser setup code

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com We now have proper fallback logic, so always build it regardless of TUI or GTK setting. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Ingo Molnar mi...@kernel.org Cc: Pekka Enberg penb...@kernel.org Cc: Peter Zijlstra pet...@infradead.org Link:

[PATCH 03/32] perf tests: Move test__open_syscall_event_on_all_cpus into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__open_syscall_event_on_all_cpus test from the builtin-test into open-syscall-all-cpus object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

[PATCH 02/32] perf tests: Move test__open_syscall_event into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__open_syscall_event test from the builtin-test into open-syscall object. Adding util object under tests directory to gather help functions common to more tests. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford

[PATCH 29/32] tools: Honour the O= flag when tool build called from a higher Makefile

2012-11-18 Thread Arnaldo Carvalho de Melo
From: David Howells dhowe...@redhat.com Honour the O= flag that was passed to a higher level Makefile and then passed down as part of a tool build. To make this work, the top-level Makefile passes the original O= flag and subdir=tools to the tools/Makefile, and that in turn passes

[PATCH 31/32] perf powerpc: Use uapi/unistd.h to fix build error

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Use the 'unistd.h' from arch/powerpc/include/uapi to build the perf tool. Signed-off-by: Sukadev Bhattiprolu suka...@linux.vnet.ibm.com Acked-by: David Howells dhowe...@redhat.com Cc: Anton Blanchard an...@au1.ibm.com Cc: Ingo Molnar

[PATCH 05/32] perf tests: Move test__PERF_RECORD into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__PERF_RECORD test from the builtin-test into perf-record object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras

[PATCH 30/32] tools: Pass the target in descend

2012-11-18 Thread Arnaldo Carvalho de Melo
From: David Howells dhowe...@redhat.com Fixing: [acme@sandy linux]$ cd tools [acme@sandy tools]$ make clean DESCEND power/cpupower CC lib/cpufreq.o CC lib/sysfs.o LD libcpupower.so.0.0.0 CC utils/helpers/amd.o utils/helpers/amd.c:7:21: error:

[PATCH 19/32] perf tools: Fix 'disabled' attribute config for record command

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Currently the record command sets all events initially as disabled. There's non conditional perf_evlist__enable call, that enables all events before we exec tracee program. That actually screws whole enable_on_exec logic, because the event is enabled before the

[PATCH 28/32] tools: Define a Makefile function to do subdir processing

2012-11-18 Thread Arnaldo Carvalho de Melo
From: David Howells dhowe...@redhat.com Define a Makefile function that can be called with $(call ...) to wrap the subdir make invocations in tools/Makefile. This will allow us in the next patch to insert bits in there to honour O= flags when called from the top-level Makefile. Signed-off-by:

[PATCH 22/32] perf tools: Add basic event modifier sanity check

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Updating event parser to allow any non zero string containing [ukhpGH] characters for event modifier. The modifier sanity is checked later in parse-event object logic. The check validates modifier to contain only one instance of any modifier (apart from 'p')

[PATCH 06/32] perf tests: Move test__rdpmc into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__rdpmc test from the builtin-test into rdpmc object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras

[PATCH 18/32] perf tools: Fix attributes for '{}' defined event groups

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Fixing events attributes for groups defined via '{}'. Currently 'enable_on_exec' attribute in record command and both 'disabled ' and 'enable_on_exec' attributes in stat command are set based on the 'group' option. This eliminates proper setup for '{}' defined

[PATCH 20/32] perf tools: Ensure single disable call per event in record comand

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com It's possible we issue the event disable ioctl multiple times until we read the final portion of the mmap buffer. Ensuring just single disable ioctl call for event, because there's no need to do that more than once. Signed-off-by: Jiri Olsa jo...@redhat.com

[PATCH 04/32] perf tests: Move test__basic_mmap into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__basic_mmap test from the builtin-test into mmap-basic object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras

[PATCH 09/32] perf tests: Move test__syscall_open_tp_fields into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__syscall_open_tp_fields test from the builtin-test into open-syscall-tp-fields object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu

[PATCH 11/32] perf tests: Final cleanup for builtin-test move

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Final function renames to match test__* style and include cleanup. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc: Paul Mackerras pau...@samba.org

[PATCH 15/32] perf tools: Fix compile error on NO_NEWT=1 build

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com CC builtin-annotate.o In file included from util/evsel.h:10:0, from util/evlist.h:8, from builtin-annotate.c:20: util/hist.h: In function ‘script_browse’: util/hist.h:198:45: error: unused parameter ‘script_opt’

[PATCH 32/32] perf evsel: Introduce is_group_member method

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com To clarify what is being tested, instead of assuming that evsel-leader == NULL means either an 'isolated' evsel or a 'group leader'. Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc: Mike

[PATCH 24/32] perf ui: Introduce generic ui_progress helper

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Make ui_progress functions generic so that UI frontend code will add its callbacks. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Ingo Molnar mi...@kernel.org Cc: Pekka Enberg penb...@kernel.org Cc: Peter Zijlstra pet...@infradead.org Link:

[PATCH 23/32] perf ui tui: Move progress.c under ui/tui directory

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim namhyung@lge.com Current ui_progress functions are implemented for TUI only. So move the file under the tui directory. This is needed for providing an UI- agnostic wrapper. Signed-off-by: Namhyung Kim namhy...@kernel.org Cc: Ingo Molnar mi...@kernel.org Cc: Pekka Enberg

[PATCH 21/32] perf tools: Omit group members from perf_evlist__disable/enable

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com There's no need to disable/enable ordinary group member events, because they are initialy enabled and get scheduled by the leader. Signed-off-by: Jiri Olsa jo...@redhat.com Acked-by: Namhyung Kim namhy...@kernel.org Cc: Corey Ashford cjash...@linux.vnet.ibm.com

[PATCH 13/32] perf tools: Stop using 'self' in pstack

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo a...@redhat.com As suggested by tglx long ago. Cc: David Ahern dsah...@gmail.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Jiri Olsa jo...@redhat.com Cc: Mike Galbraith efa...@gmx.de Cc: Namhyung Kim namhy...@gmail.com Cc: Paul Mackerras pau...@samba.org Cc:

[PATCH 01/32] perf tests: Move test__vmlinux_matches_kallsyms into separate object

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Separating test__vmlinux_matches_kallsyms test from the builtin-test into vmlinux-kallsyms object. Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar mi...@elte.hu Cc:

[PATCH 12/32] perf tests: Check for mkstemp return value in dso-data test

2012-11-18 Thread Arnaldo Carvalho de Melo
From: Jiri Olsa jo...@redhat.com Adding check for mkstemp return error value in dso-data test. Reported-by: Arnaldo Carvalho de Melo a...@redhat.com Signed-off-by: Jiri Olsa jo...@redhat.com Cc: Corey Ashford cjash...@linux.vnet.ibm.com Cc: Frederic Weisbecker fweis...@gmail.com Cc: Ingo Molnar

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-11-18 Thread Joe Perches
On Sun, 2012-11-18 at 11:47 +0200, Vladimir Kondratiev wrote: I see 2 drivers that use dynamic prefix: - mentioned above drivers/tty/ipwireless/hardware.c - drivers/isdn/hardware/mISDN/ I see several options: 1) require prefix_str to be constant. Patch code mentioned. For example, code

[PATCH] kbuild: Unbreak cleaning external module build directory

2012-11-18 Thread Bart Van Assche
Avoid that $(MAKE) -C $(KDIR) M=$(PWD) clean triggers the following error message when invoked from inside the Makefile of an external kernel module: rm: cannot remove 'System.map': Permission denied make[1]: *** [clean] Error 1 Cc: Sam Ravnborg s...@ravnborg.org Cc: Arnaud Lacombe

Re: [3.7-rc6] Build failure with scripts/Makefile.headersinst

2012-11-18 Thread Tetsuo Handa
David Howells wrote: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp wrote: I get build error which complains that include/uapi/asm-generic/auxvec.h is missing although the file exists. I'm using gcc 3.3.5. This bug seems to not happen with gcc 4.x. What configuration? David It

[PATCH 0/3] perf, tools/testing: merge futextest into perf bench and tools/testing

2012-11-18 Thread Hitoshi Mitake
Hi perf and futex folks, very sorry for my slow posting... This patchset merge futextest[1] of Darren Hart into perf bench and tools/testing/selftests with some refactorings. The benchmarking part of futextest is now perf bench futex in the 2nd patch. And the part of functionality test is ported

[PATCH 1/3] tools: add new headers for futex and atomic operations

2012-11-18 Thread Hitoshi Mitake
This patch adds two new header files in tools/ directory. The purpose of adding these two headers is supporting futextest and perf bench futex in the kernel tree. But these can be utilized by other purposes because they are generalized enough. This patch produces 4 checkpatch warns because of

[PATCH 2/3] perf bench: port futex_wait.c of futextest to perf bench

2012-11-18 Thread Hitoshi Mitake
This patch ports futex_wait.c of futextest[1] to perf bench, as subsystem futex and its command wait. This measures performance of iterations of FUTEX_WAIT, unit is kilo iteration of lock and unlock per second. Iterations, numbers of threads and futexes can be specified with command line options:

[PATCH 3/3] tools/testing: port functionality tests of futextest to tools/testing/selftests

2012-11-18 Thread Hitoshi Mitake
This patch ports functionality tests of futextest to tools/testing/selftests. After applying this patch, make run_tests in tools/testing/selftests will also test functionalities of futex. checkpatch.pl reports 8 errors and 1warning with this patch. I believe these can be acceptable. Because 1

Re: Hang in XFS reclaim on 3.7.0-rc3

2012-11-18 Thread Torsten Kaiser
On Sun, Nov 18, 2012 at 11:24 AM, Torsten Kaiser just.for.l...@googlemail.com wrote: On Tue, Oct 30, 2012 at 9:37 PM, Torsten Kaiser just.for.l...@googlemail.com wrote: I will keep LOCKDEP enabled on that system, and if there really is another splat, I will report back here. But I rather doubt

Re: [PATCH 2/3] x86,mm: drop TLB flush from ptep_set_access_flags

2012-11-18 Thread Michel Lespinasse
On Sat, Nov 17, 2012 at 1:53 PM, Shentino shent...@gmail.com wrote: I'm actually curious if the architecture docs/software developer manuals for IA-32 mandate any TLB invalidations on a #PF Is there any official vendor documentation on the subject? Yes. Quoting a prior email: Actually, it is

Re: [RFC] dynamic_debug: introduce debug_hex_dump()

2012-11-18 Thread Vladimir Kondratiev
On Sunday, November 18, 2012 06:38:51 AM Joe Perches wrote: Another option could be testing __builtin_constant_p(prefix) You mean something like below? Yes, it will work as well. Pro: don't need to change existing code (drop [PATCH 2/2] dynamic_debug: use constant format in

Re: [PATCH v2 3/3 UPDATED] i2c / ACPI: add ACPI enumeration support

2012-11-18 Thread Mika Westerberg
On Sat, Nov 17, 2012 at 12:24:45PM +0100, Rafael J. Wysocki wrote: Well, maybe there is one. Perhaps we can make acpi_platform_notify() call acpi_bind_one() upfront and only if that fails, do the whole type-find_device() dance? Of course, acpi_bind_one() would need to be modified slightly

Re: [PATCH]Documentation:Update Documentation/zh_CN/arm64/memory.txt

2012-11-18 Thread harryxiyou
On Sun, Nov 18, 2012 at 6:02 PM, Fu Wei tekkamanni...@gmail.com wrote: This is a update of Chinese documentation:Documentation/zh_CN/arm64/memory.txt It is based on the modifications of Documentation/arm64/memory.txt in submission :e3978cde. Signed-off-by: Fu Wei tekkamanni...@gmail.com

[RFT PATCH v1 0/5] fix up inaccurate zone-present_pages

2012-11-18 Thread Jiang Liu
The commit 7f1290f2f2a4 (mm: fix-up zone present pages) tries to resolve an issue caused by inaccurate zone-present_pages, but that fix is incomplete and causes regresions with HIGHMEM. And it has been reverted by commit 5576646 revert mm: fix-up zone present pages This is a following-up

[RFT PATCH v1 1/5] mm: introduce new field managed_pages to struct zone

2012-11-18 Thread Jiang Liu
Currently a zone's present_pages is calcuated as below, which is inaccurate and may cause trouble to memory hotplug. spanned_pages - absent_pages - memmap_pages - dma_reserve. During fixing bugs caused by inaccurate zone-present_pages, we found zone-present_pages has been abused. The

[RFT PATCH v1 2/5] mm: replace zone-present_pages with zone-managed_pages if appreciated

2012-11-18 Thread Jiang Liu
Now we have zone-managed_pages for pages managed by the buddy system in the zone, so replace zone-present_pages with zone-managed_pages if what the user really wants is number of pages managed by the buddy system. Signed-off-by: Jiang Liu jiang@huawei.com --- mm/mempolicy.c |2 +-

[RFT PATCH v1 3/5] mm: set zone-present_pages to number of existing pages in the zone

2012-11-18 Thread Jiang Liu
Now all users using number of pages managed by the buddy system have been converted to use zone-managed_pages, so set zone-present_pages to what it really should be: present_pages = spanned_pages - absent_pages; Signed-off-by: Jiang Liu jiang@huawei.com --- mm/page_alloc.c |2 +-

[RFT PATCH v1 4/5] mm: provide more accurate estimation of pages occupied by memmap

2012-11-18 Thread Jiang Liu
If SPARSEMEM is enabled, it won't build page structures for non-existing pages (holes) within a zone, so provide a more accurate estimation of pages occupied by memmap if there are big holes within the zone. And pages for highmem zones' memmap will be allocated from lowmem, so charge

[RFT PATCH v1 5/5] mm: increase totalram_pages when free pages allocated by bootmem allocator

2012-11-18 Thread Jiang Liu
Function put_page_bootmem() is used to free pages allocated by bootmem allocator to the buddy system, so it should increase totalram_pages when freeing pages. Signed-off-by: Jiang Liu jiang@huawei.com --- mm/memory_hotplug.c |1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC PATCH v2 0/3] acpi: Introduce prepare_remove device operation

2012-11-18 Thread Jiang Liu
On 11/17/2012 08:25 AM, Toshi Kani wrote: On Fri, 2012-11-16 at 16:22 -0800, Greg Kroah-Hartman wrote: On Fri, Nov 16, 2012 at 05:08:53PM -0700, Toshi Kani wrote: So the question is, does the ACPI core have to do that and if so, then why? The problem is that acpi_memory_devcie_remove() can

Re: [PATCH 4/4] perf, amd: Enable northbridge performance counters on AMD family 15h

2012-11-18 Thread Robert Richter
On 16.11.12 13:00:30, Jacob Shin wrote: static int setup_event_constraints(void) { - if (boot_cpu_data.x86 = 0x15) + if (boot_cpu_data.x86 == 0x15) x86_pmu.get_event_constraints = amd_get_event_constraints_f15h; Since this does not cover family 16h anymore, you also

[PATCH v4 2/4] mfd: introduce retu-mfd driver

2012-11-18 Thread Aaro Koskinen
Retu is a multi-function device found on Nokia Internet Tablets implementing at least watchdog, RTC, headset detection and power button functionality. This patch implements minimum functionality providing register access, IRQ handling and power off functions. Cc: Samuel Ortiz

[PATCH v4 0/4] cbus/retu drivers

2012-11-18 Thread Aaro Koskinen
This patch set introduces drivers for CBUS access and Retu multifunction chip found on Nokia Internet Tablets (770, N800, N810). It would be nice get these patches applied as the functionality of these devices is severely lacking without Retu. E.g. watchdog support is mandatory at least on Nokia

[PATCH v4 4/4] input: misc: introduce retu-pwrbutton

2012-11-18 Thread Aaro Koskinen
Add Retu power button driver. Cc: linux-in...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: Dmitry Torokhov dmitry.torok...@gmail.com --- drivers/input/misc/Kconfig | 10 drivers/input/misc/Makefile |1 +

[PATCH v4 3/4] watchdog: introduce retu_wdt driver

2012-11-18 Thread Aaro Koskinen
Introduce Retu watchdog driver. Cc: linux-watch...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Acked-by: Tony Lindgren t...@atomide.com Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Cc: Wim Van Sebroeck w...@iguana.be --- drivers/watchdog/Kconfig| 12 +++

[PATCH v4 1/4] i2c: introduce i2c-cbus-gpio driver

2012-11-18 Thread Aaro Koskinen
Add i2c driver to enable access to devices behind CBUS on Nokia Internet Tablets. The patch also adds CBUS I2C configuration for N8x0 which is one of the users of this driver. Cc: linux-...@vger.kernel.org Acked-by: Felipe Balbi ba...@ti.com Acked-by: Tony Lindgren t...@atomide.com

  1   2   3   4   5   6   7   >