Re: [PATCH 2/2] pinctrl: tegra114: add pinctrl driver for NVIDIA's Tegra114 SoC

2013-01-07 Thread Stephen Warren
On 01/05/2013 05:02 AM, Laxman Dewangan wrote: From: Pritesh Raithatha praitha...@nvidia.com This adds a driver for the Tegra114 pinmux, and required parameterization data for Tegra114. The driver uses the common Tegra pincontrol driver utility functions to implement the majority of the

Re: [PATCH v2 00/16] various fixes and updates for ste_dma40

2013-01-07 Thread Fabio Baltieri
On Mon, Jan 07, 2013 at 06:33:56AM -0800, Vinod Koul wrote: On Mon, Jan 07, 2013 at 12:21:42PM +0100, Fabio Baltieri wrote: Hi all, this series contains many fixes and updates for the ste_dma40 driver. The first patches of the series were originally sent weeks ago but did not

Re: [PATCH v2] mm: memblock: fix wrong memmove size in memblock_merge_regions()

2013-01-07 Thread Tejun Heo
On Mon, Jan 07, 2013 at 11:41:36AM +0800, Lin Feng wrote: The memmove span covers from (next+1) to the end of the array, and the index of next is (i+1), so the index of (next+1) is (i+2). So the size of remaining array elements is (type-cnt - (i + 2)). Cc: Tejun Heo t...@kernel.org

Re: [PATCH] i2c: tegra: add support for Tegra114 SoC

2013-01-07 Thread Stephen Warren
On 01/05/2013 05:04 AM, Laxman Dewangan wrote: NVIDIA's Tegra114 has following enhanced feature in i2c controller: - Enable/disable control for per packet transfer complete interrupt. Earlier SoCs could not disable this. - Single clock source for standard/fast and HS mode clock speed. The

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-07 Thread Shuah Khan
On Mon, Jan 7, 2013 at 8:26 AM, Konrad Rzeszutek Wilk konrad.w...@oracle.com wrote: On Fri, Jan 04, 2013 at 02:10:25PM -0800, Yinghai Lu wrote: On Fri, Jan 4, 2013 at 1:02 PM, Shuah Khan shuahk...@gmail.com wrote: Pani'cing the system doesn't sound like a good option to me in this case. This

Re: [PATCH] dma: tegra: add support for Tegra114 SoC

2013-01-07 Thread Stephen Warren
On 01/05/2013 05:06 AM, Laxman Dewangan wrote: NVIDIA's Tegra114 has APB DMA controller which supports channel wise pause control. The global pause is used for clock gating and hence DMA registers are not accessible if DMAs are globally disabled. Add support for use of channel wise pause

Re: [PATCH tip/core/rcu 1/1] Tiny RCU changes for 3.9

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 07:58:10AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:50:59AM -0800, Paul E. McKenney wrote: rcu: Provide RCU CPU stall warnings for tiny RCU Tiny RCU has historically omitted RCU CPU stall warnings in order to reduce memory requirements, however, lack

Re: [RFC v2 6/8] gpu: drm: tegra: Remove redundant host1x

2013-01-07 Thread Stephen Warren
On 01/07/2013 01:20 AM, Terje Bergström wrote: On 04.01.2013 22:25, Stephen Warren wrote: On 01/04/2013 03:09 AM, Terje Bergström wrote: ... I think we have now two ways to go forward with cons and pros: 1) Keep host1x and tegra-drm as separate driver + Code almost done - we need

[PATCH] mm: migrate: Check page_count of THP before migrating

2013-01-07 Thread Mel Gorman
Hugh Dickins pointed out that migrate_misplaced_transhuge_page() does not check page_count before migrating like base page migration and khugepage. He could not see why this was safe and he is right. The potential impact of the bug is avoided due to the limitations of NUMA balancing. The

[PATCH v2 2/3] Documentation: SECCOMP_RET_INFO return value

2013-01-07 Thread Corey Bryant
Adds documentation describing the SECCOMP_RET_INFO return value. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com --- v2: - Add arch to message (w...@chromium.org) Documentation/prctl/seccomp_filter.txt | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH 1/2] pinctrl/nomadik: simplify GPIO probe

2013-01-07 Thread Stephen Warren
On 01/07/2013 07:23 AM, Linus Walleij wrote: From: Linus Walleij linus.wall...@linaro.org Instead of jumping to a label later in the probe just return with an error code whenever probe() fails. Make sure to remove the gpiochip on irqdomain error now that we're at it. The series,

[PATCH v2 3/3] samples: Add sample using SECCOMP_RET_INFO

2013-01-07 Thread Corey Bryant
Adds a sample that demonstrates use of the SECCOMP_RET_INFO return value. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com --- v2: - Modify test to use fprintf and add arch hints samples/seccomp/Makefile | 8 ++- samples/seccomp/bpf-logger.c | 50

[PATCH] i2c-EEPROM: In kernel memory accessor interface

2013-01-07 Thread Pantelis Antoniou
In kernel users need to access the EEPROM using the i2c_client interface. Extend at24 to use it via the command interface. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/misc/eeprom/at24.c | 23 ++ include/linux/i2c/eeprom.h | 59

Re: [PATCH v6 0/4] block layer runtime pm

2013-01-07 Thread Alan Stern
On Sun, 6 Jan 2013, Aaron Lu wrote: In August 2010, Jens and Alan discussed about Runtime PM and the block layer. http://marc.info/?t=12825910841r=1w=2 And then Alan has given a detailed implementation guide: http://marc.info/?l=linux-scsim=133727953625963w=2 To test: # ls -l

Re: [PATCH tip/core/rcu 04/14] rcu: Provide compile-time control for no-CBs CPUs

2013-01-07 Thread Josh Triplett
On Sat, Jan 05, 2013 at 09:48:54AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney paul.mcken...@linaro.org Currently, the only way to specify no-CBs CPUs is via the rcu_nocbs kernel command-line parameter. This is inconvenient in some cases, particularly for randconfig testing, so

[PATCH v2 1/3] seccomp: Add SECCOMP_RET_INFO return value

2013-01-07 Thread Corey Bryant
Adds a new return value to seccomp filters that causes an informational kernel message to be printed. The message includes the system call number and architecture. This can be used to learn the system calls that a process is using. Signed-off-by: Corey Bryant cor...@linux.vnet.ibm.com --- v2:

Re: [PATCH v6 2/4] block: add runtime pm helpers

2013-01-07 Thread Alan Stern
On Sun, 6 Jan 2013, Aaron Lu wrote: From: Lin Ming ming.m@intel.com Add runtime pm helper functions: void blk_pm_runtime_init(struct request_queue *q, struct device *dev) - Initialization function for drivers to call. int blk_pre_runtime_suspend(struct request_queue *q) - If

Re: [PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Jason Baron
On Mon, Jan 07, 2013 at 08:58:09AM -0500, Sasha Levin wrote: jump_label_text_reserved() doesn't modify the memory it works on, it just checks whether there are any jump labels there. Constify the parameters of it to prevent warnings when working with it. I don't see any 'const' data passed

[GIT] x86 platform driver updates for 3.8

2013-01-07 Thread Matthew Garrett
Hi Linus, A bit delayed (new job fun), but there's nothing terribly exciting in here. The following changes since commit 11520e5e7c1855fc3bf202bb3be35a39d9efa034: Revert x86-64/efi: Use EFI to deal with platform wall clock (again) (2012-12-15 15:20:41 -0800) are available in the git

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com It turns out that gcc 4.8 warns on array indexes being out of bounds unless it can prove otherwise. It gives

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 09:16:02AM -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com It turns out that gcc 4.8 warns on array

Re: [PATCH v4 21/24] arm/v2m: initialize arch_timers even if v2m_timer is not present

2013-01-07 Thread Stefano Stabellini
On Fri, 14 Sep 2012, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Pawel Moll wrote: On Fri, 2012-09-14 at 12:13 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Russell King li...@arm.linux.org.uk CC: Pawel Moll

Re: [PATCH v6 3/4] block: implement runtime pm strategy

2013-01-07 Thread Alan Stern
On Sun, 6 Jan 2013, Aaron Lu wrote: From: Lin Ming ming.m@intel.com When a request is added: If device is suspended or is suspending and the request is not a PM request, resume the device. When the last request finishes: Call pm_runtime_mark_last_busy() and

Re: [GIT] x86 platform driver updates for 3.8

2013-01-07 Thread Linus Torvalds
On Mon, Jan 7, 2013 at 9:17 AM, Matthew Garrett matthew.garr...@nebula.com wrote: A bit delayed (new job fun), but there's nothing terribly exciting in here. Nonetheless, this does not seem to be appropriate for outside the merge window. Linus -- To unsubscribe from this list:

Re: i7-2620M: Clock always high when on battery

2013-01-07 Thread Peter Senna Tschudin
On Tue, Jan 1, 2013 at 6:30 PM, devendra.aaru devendra.a...@gmail.com wrote: On Tue, Jan 1, 2013 at 3:17 PM, Peter Senna Tschudin peter.se...@gmail.com wrote: I'm not sure if I'm emailing the right people. My problem is with dynamic clock and or power management. I'm using

Re: ata1: COMRESET failed

2013-01-07 Thread Borislav Petkov
Adding some more people. Aaron, Shane, do you guys have any ideas? I've been seeing something similar on an AMD desktop box recently and Jiri sees it on a laptop with an SSD. Here's Jiri's original mail with more info: http://lkml.org/lkml/2012/10/26/208 Thanks. On Mon, Dec 03, 2012 at

Re: [GIT] x86 platform driver updates for 3.8

2013-01-07 Thread Matthew Garrett
On Mon, Jan 07, 2013 at 09:22:38AM -0800, Linus Torvalds wrote: On Mon, Jan 7, 2013 at 9:17 AM, Matthew Garrett matthew.garr...@nebula.com wrote: A bit delayed (new job fun), but there's nothing terribly exciting in here. Nonetheless, this does not seem to be appropriate for outside the

Re: [PATCH] ACPI / scan: Treat power resources in a special way

2013-01-07 Thread Toshi Kani
On Mon, 2012-12-31 at 00:46 +, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Commit 1d57433 (ACPI: Separate adding ACPI device objects from probing ACPI drivers) introduced an ACPI power resources management I am seeing a different commit id for this.

Re: [PATCH v4 21/24] arm/v2m: initialize arch_timers even if v2m_timer is not present

2013-01-07 Thread Marc Zyngier
On 07/01/13 17:21, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Pawel Moll wrote: On Fri, 2012-09-14 at 12:13 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini stefano.stabell...@eu.citrix.com CC: Russell King

Re: oops in copy_page_rep()

2013-01-07 Thread Linus Torvalds
On Mon, Jan 7, 2013 at 4:24 AM, Hillf Danton dhi...@gmail.com wrote: I take another try with waiting added, take a look please. Hmm. Is there some reason we never need to worry about it for the pmd_numa() case just above? A comment about this all might be a really good idea.

VME Tsi148

2013-01-07 Thread Cris
Hi, I'm trying to use the Tsi148 VME-PCI-bridge on a PowerPC-SPE using the Debian port, but compiling the kernel 3.7.1 myself. Everything seems to work as expected, except for the messages: vme_tsi148 :02:0e.0: Can't get assigned pci irq vector 00 vme_tsi148 :02:0e.0: Chip

Re: [PATCH rcu] Remove unused code originally used for context tracking

2013-01-07 Thread Paul E. McKenney
On Fri, Nov 30, 2012 at 02:19:22PM +0800, Li Zhong wrote: As new context tracking subsystem added, it seems ignore_user_qs and in_user defined in struct rcu_dynticks are no longer needed, so remove them. Signed-off-by: Li Zhong zh...@linux.vnet.ibm.com Hearing no objections from Frederic,

Re: [PATCH 1/2] cgroups: move cgroup_event_listener.c to tools/cgroup

2013-01-07 Thread Tejun Heo
On Fri, Jan 04, 2013 at 01:05:17PM -0800, Greg Thelen wrote: Move the cgroup_event_listener.c tool from Documentation into the new tools/cgroup directory. This change involves wiring cgroup_event_listener.c into the tools/ make system so that is can be built with: $ make tools/cgroup

[GIT] x86 platform driver bugfixes for 3.8

2013-01-07 Thread Matthew Garrett
Hi Linus, This set covers regressions and two obvious bugfixes. The rest can wait for 3.9. The following changes since commit 4c9014f2ca7e5ecf8806e838be0f07aa1810c985: Merge tag 'nfs-for-3.8-2' of git://git.linux-nfs.org/projects/trondmy/linux-nfs (2013-01-07 08:36:45 -0800) are available

Re: [PATCH 2/2] cgroups: fix cgroup_event_listener error handling

2013-01-07 Thread Tejun Heo
On Fri, Jan 04, 2013 at 01:05:18PM -0800, Greg Thelen wrote: If the absolute-path-to-control-file command line parameter cannot be opened, then cgroup_event_listener prints an error message and tries to return an error. However, due to an uninitialized variable the return value was undefined.

Re: [PATCH] drivers/staging/speakup: avoid out-of-range access

2013-01-07 Thread Greg KH
On Sat, Jan 05, 2013 at 08:29:44PM +0100, Samuel Thibault wrote: Indeed. The same happens in synth_add, so Greg please use this instead: Check that array index is in-bounds before accessing the synths[] array. Signed-off-by: Nickolai Zeldovich nicko...@csail.mit.edu Signed-off-by: Samuel

Re: [PATCH rcu] Remove unused code originally used for context tracking

2013-01-07 Thread Frederic Weisbecker
2013/1/7 Paul E. McKenney paul...@linux.vnet.ibm.com: On Fri, Nov 30, 2012 at 02:19:22PM +0800, Li Zhong wrote: As new context tracking subsystem added, it seems ignore_user_qs and in_user defined in struct rcu_dynticks are no longer needed, so remove them. Signed-off-by: Li Zhong

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Stanislaw Gruszka
On Mon, Jan 07, 2013 at 04:04:01PM +0100, Andreas Hartmann wrote: Ben Hutchings wrote: On Mon, 2013-01-07 at 09:10 +0100, Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 09:05:32AM +0100, Stanislaw Gruszka wrote: To be clear, I have all of these in the queue: be03d4a45c09 rt2x00: Don't

Re: [PATCH tip/core/rcu 1/1] Tiny RCU changes for 3.9

2013-01-07 Thread Josh Triplett
On Mon, Jan 07, 2013 at 08:57:48AM -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:58:10AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:50:59AM -0800, Paul E. McKenney wrote: rcu: Provide RCU CPU stall warnings for tiny RCU Tiny RCU has historically omitted RCU CPU

Re: kernel BUG at kernel/sched_rt.c:493!

2013-01-07 Thread Shawn Bohrer
On Sat, Jan 05, 2013 at 11:46:32AM -0600, Shawn Bohrer wrote: I've tried reproducing the issue, but so far I've been unsuccessful but I believe that is because my RT tasks aren't using enough CPU cause borrowing from the other runqueues. Normally our RT tasks use very little CPU so I'm not

Re: [PATCH rcu] Remove unused code originally used for context tracking

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 06:46:07PM +0100, Frederic Weisbecker wrote: 2013/1/7 Paul E. McKenney paul...@linux.vnet.ibm.com: On Fri, Nov 30, 2012 at 02:19:22PM +0800, Li Zhong wrote: As new context tracking subsystem added, it seems ignore_user_qs and in_user defined in struct rcu_dynticks

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Viresh Kumar
On 7 January 2013 18:58, Steven Rostedt rost...@goodmis.org wrote: On Mon, 2013-01-07 at 15:28 +0530, Viresh Kumar wrote: I have another idea that we can try: queue_work_on_any_cpu(). I think this is a good idea. :) :) - the mask of cpus to schedule this work on OR - Sched Level

Re: [PATCH V2 Resend 3/4] workqueue: Schedule work on non-idle cpu instead of current one

2013-01-07 Thread Viresh Kumar
[Removed Suresh and Venki from discussion, they switched their companies probably] On 7 January 2013 20:34, Tejun Heo t...@kernel.org wrote: The latter part not using idle cpu just for processing work does apply to homogeneous systems too but as I wrote earlier work items don't spontaneously

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Markus Trippelsdorf
On 2013.01.07 at 09:16 -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney paul...@linux.vnet.ibm.com It turns out that gcc 4.8 warns on array indexes

Re: [PATCH v5 1/4] iommu/shmobile: Add iommu driver for Renesas IPMMU modules

2013-01-07 Thread Laurent Pinchart
Hi Eiraku-san, Thank you for the patch. This version is definitely better than the previous one, but I still have a couple of comments. On Tuesday 25 December 2012 20:19:12 Hideki EIRAKU wrote: This is the Renesas IPMMU driver and IOMMU API implementation. The IPMMU module supports the MMU

[PATCH] Staging: android: fixed const coding style issue in binder.c

2013-01-07 Thread Patrik Karlin
This is a patch to add const to the lists of strings in binder.c as suggested by checkpatch.pl Signed-off-by: Patrik Kårlin patrik.kar...@gmail.com --- drivers/staging/android/binder.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/android/binder.c

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Josh Triplett
On Mon, Jan 07, 2013 at 07:08:55PM +0100, Markus Trippelsdorf wrote: On 2013.01.07 at 09:16 -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM -0800, Paul E. McKenney wrote: From: Paul E. McKenney

Re: [GIT PULL] UIO changes for v3.8

2013-01-07 Thread Greg KH
On Thu, Dec 13, 2012 at 07:40:39PM +0100, Hans J. Koch wrote: Hi Greg, my new UIO tree is based on your current char-misc tree. Please pull the following two patches. Thanks, Hans The following changes since commit 1ebaf4f4e6912199f8a4e30ba3ab55da2b71bcdf: Merge branch

[PATCH v5 00/18] perf: add memory access sampling support

2013-01-07 Thread Stephane Eranian
This patch series had a new feature to the kernel perf_events interface and corresponding user level tool, perf. With this patch, it is possible to sample (not trace) memory accesses (load, store). For loads, the instruction and data addresses are captured along with the latency and data source.

[PATCH v5 01/18] perf, x86: Support CPU specific sysfs events

2013-01-07 Thread Stephane Eranian
From: Andi Kleen a...@linux.intel.com Add a way for the CPU initialization code to register additional events, and merge them into the events attribute directory. Used in the next patch. Signed-off-by: Andi Kleen a...@linux.intel.com --- arch/x86/kernel/cpu/perf_event.c | 33

[PATCH v5 03/18] perf/x86: add flags to event constraints

2013-01-07 Thread Stephane Eranian
This patch adds a flags field to each event constraint. It can be used to store event specific features which can then later be used by scheduling code or low-level x86 code. The flags are propagated into event-hw.flags during the get_event_constraint() call. They are cleared during the

[PATCH v5 04/18] perf, core: Add a concept of a weightened sample

2013-01-07 Thread Stephane Eranian
From: Andi Kleen a...@linux.intel.com For some events it's useful to weight sample with a hardware provided number. This expresses how expensive the action the sample represent was. This allows the profiler to scale the samples to be more informative to the programmer. There is already the

[PATCH v5 07/18] perf: add generic memory sampling interface

2013-01-07 Thread Stephane Eranian
This patch adds PERF_SAMPLE_DSRC. PERF_SAMPLE_DSRC collects the data source, i.e., where did the data associated with the sampled instruction come from. Information is stored in a perf_mem_dsrc structure. It contains opcode, mem level, tlb, snoop, lock information, subject to availability in

[PATCH v5 10/18] perf/x86: add support for PEBS Precise Store

2013-01-07 Thread Stephane Eranian
This patch adds support for PEBS Precise Store which is available on Intel Sandy Bridge and Ivy Bridge processors. To use Precise store, the proper PEBS event must be used: mem_trans_retired:precise_stores. For the perf tool, the generic mem-stores event exported via sysfs can be used directly.

[PATCH v5 11/18] perf tools: add mem access sampling core support

2013-01-07 Thread Stephane Eranian
This patch adds the sorting and histogram support functions to enable profiling of memory accesses. The following sorting orders are added: - symbol_daddr: data address symbol (or raw address) - dso_daddr: data address shared object - weight: access cost - locked: access uses locked

[PATCH v5 13/18] perf record: add support for mem access profiling

2013-01-07 Thread Stephane Eranian
Add the -l option to perf record to enable sampling access cost sampling. Data address sampling is obtained via the -d option. Signed-off-by: Stephane Eranian eran...@google.com --- tools/perf/builtin-record.c |2 ++ tools/perf/perf.h |1 + tools/perf/util/evsel.c |6

[PATCH v5 14/18] perf tools: add new mem command for memory access profiling

2013-01-07 Thread Stephane Eranian
This new command is a wrapper on top of perf record and perf report to make it easier to configure for memory access profiling. To record loads: $ perf mem -t load rec . To record stores: $ perf mem -t store rec . To get the report: $ perf mem -t load rep Signed-off-by: Stephane

[PATCH v5 16/18] perf tools: detect data vs. text mappings

2013-01-07 Thread Stephane Eranian
Leverages the PERF_RECORD_MISC_MMAP_DATA bit in the RECORD_MMAP record header. When the bit is set then the mapping type is set to MAP__VARIABLE. Signed-off-by: Stephane Eranian eran...@google.com --- tools/perf/util/machine.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-)

[PATCH v5 17/18] perf tools: Ignore ABS symbols when loading data maps

2013-01-07 Thread Stephane Eranian
From: Namhyung Kim namhyung@lge.com When loading symbols in a data mapping, ABS symbols (which has a value of SHN_ABS in its st_shndx) failed at elf_getscn(). And it marks the loading as a failure so already loaded symbols cannot be fixed up. I'm not sure what should be done. Just ignore

[PATCH v5 18/18] perf tools: Fix output of symbol_daddr offset

2013-01-07 Thread Stephane Eranian
From: Namhyung Kim namhyung@lge.com The symbol addresses in a dso have relative offsets from the start of a mapping. So in order to ouput correct offset value from @ip, one of them should be converted. Cc: Stephane Eranian eran...@google.com Signed-off-by: Namhyung Kim namhy...@kernel.org

[PATCH v5 15/18] perf: add PERF_RECORD_MISC_MMAP_DATA to RECORD_MMAP

2013-01-07 Thread Stephane Eranian
Type of mapping was lost and made it hard for a tool to distinguish code vs. data mmaps. Perf has the ability to distinguish the two. Use a bit in the header-misc bitmask to keep track of the mmap type. If PERF_RECORD_MISC_MMAP_DATA is set then the mapping is not executable (!VM_EXEC). If not

[PATCH v5 12/18] perf report: add support for mem access profiling

2013-01-07 Thread Stephane Eranian
This patch adds the --mem-mode option to perf report. This mode requires a perf.data file created with memory access samples. Signed-off-by: Stephane Eranian eran...@google.com --- tools/perf/builtin-report.c | 131 +-- 1 file changed, 127 insertions(+),

[PATCH v5 02/18] perf/x86: improve sysfs event mapping with event string

2013-01-07 Thread Stephane Eranian
This patch extends Jiri's changes to make generic events mapping visible via sysfs. The patch extends the mechanism to non-generic events by allowing the mappings to be hardcoded in strings. This mechanism will be used by the PEBS-LL patch later on. Signed-off-by: Stephane Eranian

[PATCH v5 06/18] perf: add support for PERF_SAMPLE_ADDR in dump_sampple()

2013-01-07 Thread Stephane Eranian
Was missing from current code yet PERF_SAMPLE_ADDR has been present for a long time. Needed for PEBS-LL mode. Signed-off-by: Stephane Eranian eran...@google.com --- tools/perf/util/session.c |4 1 file changed, 4 insertions(+) diff --git a/tools/perf/util/session.c

[PATCH v5 05/18] perf: add minimal support for PERF_SAMPLE_WEIGHT

2013-01-07 Thread Stephane Eranian
Ensure we grab the weight from raw sample struct and that we can dump it via perf report -D. Signed-off-by: Stephane Eranian eran...@google.com --- tools/perf/util/event.h |1 + tools/perf/util/evsel.c |5 + tools/perf/util/session.c |3 +++ 3 files changed, 9 insertions(+)

[PATCH v5 09/18] perf/x86: export PEBS load latency threshold register to sysfs

2013-01-07 Thread Stephane Eranian
Make the PEBS Load Latency threshold register layout and encoding visible to user level tools. Signed-off-by: Stephane Eranian eran...@google.com --- arch/x86/kernel/cpu/perf_event_intel.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/kernel/cpu/perf_event_intel.c

[PATCH v5 08/18] perf/x86: add memory profiling via PEBS Load Latency

2013-01-07 Thread Stephane Eranian
This patch adds support for memory profiling using the PEBS Load Latency facility. Load accesses are sampled by HW and the instruction address, data address, load latency, data source, tlb, locked information can be saved in the sampling buffer if using the PERF_SAMPLE_COST (for latency),

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Andreas Hartmann
Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 04:04:01PM +0100, Andreas Hartmann wrote: Ben Hutchings wrote: On Mon, 2013-01-07 at 09:10 +0100, Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 09:05:32AM +0100, Stanislaw Gruszka wrote: To be clear, I have all of these in the queue:

Re: [PATCH tip/core/rcu 4/6] rcu: Silence compiler array out-of-bounds false positive

2013-01-07 Thread Paul E. McKenney
On Mon, Jan 07, 2013 at 10:24:17AM -0800, Josh Triplett wrote: On Mon, Jan 07, 2013 at 07:08:55PM +0100, Markus Trippelsdorf wrote: On 2013.01.07 at 09:16 -0800, Paul E. McKenney wrote: On Mon, Jan 07, 2013 at 07:50:02AM -0800, Josh Triplett wrote: On Sat, Jan 05, 2013 at 09:09:36AM

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Andreas Hartmann
Hello Helmut! Helmut Schaa wrote: On Mon, Jan 7, 2013 at 4:04 PM, Andreas Hartmann andihartm...@01019freenet.de wrote: The solution would be IMHO, to implement an own aggregation handling, maybe the same way as it was done for carl9170, which had the same problem:

Re: [PATCH] PCI AER: pci_get_domain_bus_and_slot() call missing required pci_dev_put()

2013-01-07 Thread Bjorn Helgaas
On Mon, Dec 3, 2012 at 1:59 PM, Shuah Khan shuahk...@gmail.com wrote: On Mon, Dec 3, 2012 at 1:00 PM, Alex Williamson alex.william...@redhat.com wrote: On Mon, 2012-12-03 at 12:48 -0700, Alex Williamson wrote: On Mon, 2012-12-03 at 10:40 -0700, Shuah Khan wrote: On Mon, Dec 3, 2012 at 9:37

Re: [PATCH] PCI: cpqphp: minor cleanup and removal of unreachable paths

2013-01-07 Thread Bjorn Helgaas
On Thu, Dec 20, 2012 at 12:11 PM, Sasha Levin sasha.le...@oracle.com wrote: Remove cases of redundant checks and remote unreachable paths. Signed-off-by: Sasha Levin sasha.le...@oracle.com Thanks, Sasha. I applied this for v3.9. --- drivers/pci/hotplug/cpqphp_ctrl.c | 57

[PATCH 0/5] DT Overlay based cape manager for TI's Beaglebone

2013-01-07 Thread Pantelis Antoniou
Introducing a Device Tree overlay cape manager. Using it it is possible to support the growing cape ecosystem for the beaglebone, without having to hack a board file for each and every cape plug combination. It is possible to force load capes, and also possible to remove them if need be

[PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Pantelis Antoniou
A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/mach-omap2/Kconfig|2 + drivers/misc/Kconfig |2 + drivers/misc/Makefile

[PATCH 2/5] capemgr: Add beaglebone's cape driver bindings

2013-01-07 Thread Pantelis Antoniou
Document the beaglebone's cape driver bindings. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- .../devicetree/bindings/misc/capes-beaglebone.txt | 110 + 1 file changed, 110 insertions(+) create mode 100644

[PATCH 3/5] capemgr: am335x-bone capemgr bindings

2013-01-07 Thread Pantelis Antoniou
Bindings which enable the DT overlay based cape manager for the Texas Instruments Beaglebone platform. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/boot/dts/am335x-bone.dts | 68 ++- 1 file changed, 67 insertions(+), 1

[PATCH 4/5] capemgr: firmware makefiles for DT objects

2013-01-07 Thread Pantelis Antoniou
Makefile rules to support compiling DT cape definitions. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- firmware/Makefile | 7 +++ 1 file changed, 7 insertions(+) diff --git a/firmware/Makefile b/firmware/Makefile index cbb09ce..361b2af 100644 --- a/firmware/Makefile +++

[PATCH 5/5] capemgr: Weather cape cape definition

2013-01-07 Thread Pantelis Antoniou
Add the weather cape to the supported capes. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/boot/dts/am335x-bone.dts | 9 - firmware/Makefile | 5 +++ firmware/capes/cape-bone-weather-00A0.dts | 66 +++

[PATCH 1/1] TPM: STMicroelectronics st33 driver SPI

2013-01-07 Thread Mathias Leblanc
From: admin01 admin01@admin01-desktop.(none) * STMicroelectronics version 1.2.0, Copyright (C) 2010 * STMicroelectronics comes with ABSOLUTELY NO WARRANTY. * This is free software, and you are welcome to redistribute it * under certain conditions. This is the driver for TPM chip from ST

[PATCH] cpuidle: fix number of initialized/destroyed states

2013-01-07 Thread Krzysztof Mazur
Commit bf4d1b5ddb78f86078ac6ae0415802d5f0c68f92 (cpuidle: support multiple drivers) changed the number of initialized state kobjects in cpuidle_add_state_sysfs() from device-state_count to drv-state_count, but leaved device-state_count in cpuidle_remove_state_sysfs(). Those two values might have

[PATCH] hwmon: (sht15) check GPIO directions

2013-01-07 Thread Vivien Didelot
Without this patch, the SHT15 driver may fail silently with a non-bidirectional data line and/or an input-only clock line. The patch checks the return value of gpio_direction_* function calls, prints an error message for void-returning functions or returns the corresponding error code otherwise.

[PATCH] hwmon: (sht15) avoid CamelCase

2013-01-07 Thread Vivien Didelot
This patch renames the supply_uV* variables to supply_uv* to avoid CamelCase as warned by the checkpatch.pl script. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com --- drivers/hwmon/sht15.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff

Re: [PATCH 5/9] Thermal: Create 'mapX' sysfs node for a zone

2013-01-07 Thread Greg KH
On Mon, Jan 07, 2013 at 12:43:22PM +0530, Durgadoss R wrote: This patch creates a thermal map sysfs node under /sys/class/thermal/zoneX/. This contains entries named map0, map1 .. mapN. Each map has the following space separated values: trip_type sensor_name cdev_name trip_mask weights sysfs

Re: [ 104/173] rt2x00: Dont let mac80211 send a BAR when an AMPDU subframe fails

2013-01-07 Thread Stanislaw Gruszka
On Mon, Jan 07, 2013 at 07:38:35PM +0100, Andreas Hartmann wrote: Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 04:04:01PM +0100, Andreas Hartmann wrote: Ben Hutchings wrote: On Mon, 2013-01-07 at 09:10 +0100, Stanislaw Gruszka wrote: On Mon, Jan 07, 2013 at 09:05:32AM +0100, Stanislaw

Re: [PATCH v4 21/24] arm/v2m: initialize arch_timers even if v2m_timer is not present

2013-01-07 Thread Stefano Stabellini
On Mon, 7 Jan 2013, Marc Zyngier wrote: On 07/01/13 17:21, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Stefano Stabellini wrote: On Fri, 14 Sep 2012, Pawel Moll wrote: On Fri, 2012-09-14 at 12:13 +0100, Stefano Stabellini wrote: Signed-off-by: Stefano Stabellini

Re: [PATCH 9/9] Thermal: Dummy driver used for testing

2013-01-07 Thread Greg KH
On Mon, Jan 07, 2013 at 12:43:26PM +0530, Durgadoss R wrote: + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. Unless you wish to

Re: [PATCH 7/9] Thermal: Make PER_ZONE values configurable

2013-01-07 Thread Greg KH
On Mon, Jan 07, 2013 at 12:43:24PM +0530, Durgadoss R wrote: This patch makes MAX_SENSORS_PER_ZONE and MAX_CDEVS_PER_ZONE values configurable. The default value is 1, and range is 1-12. Why would we ever want to change this? Why make this configurable at all, how is a distro supposed to set

Re: [PATCH 3/9] Thermal: Add APIs to bind cdev to new zone structure

2013-01-07 Thread Greg KH
On Mon, Jan 07, 2013 at 12:43:20PM +0530, Durgadoss R wrote: +struct thermal_cooling_device *get_cdev_by_name(const char *name) +{ + struct thermal_cooling_device *pos; + struct thermal_cooling_device *cdev = NULL; + + mutex_lock(cdev_list_lock); + for_each_cdev(pos) { +

Re: [PATCH v7u1 26/31] x86: Don't enable swiotlb if there is not enough ram for it

2013-01-07 Thread Konrad Rzeszutek Wilk
Also, since IOMMU drivers can no longer assume swiotlb is allocated enough_mem_for_swiotlb() check fails, AMD IOMMU or another other iommu driver can't simply rely on changing swiotlb=1 and assuming the buffer is there. As Konrad suggested, a hook is needed, however, I think the logic to

Re: Build regressions/improvements in v3.8-rc2

2013-01-07 Thread Geert Uytterhoeven
On Mon, 7 Jan 2013, Geert Uytterhoeven wrote: JFYI, when comparing v3.8-rc2 to v3.8-rc1[3], the summaries are: - build errors: +3/-3 3 regressions: + drivers/gpio/gpio-sx150x.c: error: field 'gpio_chip' has incomplete type: 47:35 = 47:35, 47:19 + drivers/mfd/htc-i2cpld.c: error: field

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-07 Thread Jonathan Corbet
On Mon, 7 Jan 2013 00:09:47 +0100 Alessandro Rubini rub...@gnudd.com wrote: I don't expect you'll see serious performance differences on the PC. I think ARM users will have better benefits, due to the different cache architecture. You told me Jon measured meaningful figures on a Marvel CPU.

[PATCH] sunrpc: verbs: Avoid 1kb stack

2013-01-07 Thread Joe Perches
16 * 64 is a bit much. Use kmalloc_array instead. Signed-off-by: Joe Perches j...@perches.com --- net/sunrpc/xprtrdma/verbs.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net/sunrpc/xprtrdma/verbs.c b/net/sunrpc/xprtrdma/verbs.c index 745973b..9cfebb4 100644 ---

Re: [PATCH 2/2] cgroups: fix cgroup_event_listener error handling

2013-01-07 Thread Greg Thelen
On Mon, Jan 07 2013, Tejun Heo wrote: On Fri, Jan 04, 2013 at 01:05:18PM -0800, Greg Thelen wrote: If the absolute-path-to-control-file command line parameter cannot be opened, then cgroup_event_listener prints an error message and tries to return an error. However, due to an uninitialized

Re: [PATCH] omap: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array

2013-01-07 Thread Tony Lindgren
* Pantelis Antoniou pa...@antoniou-consulting.com [130103 14:35]: The IRQ array must be terminated by -1 and not by -1+OMAP_INTC_START This led to having a resource list of 100s of IRQs. This is a bug for sure introduced with commit a2cfc509 (ARM: OMAP3+: hwmod: Add AM33XX HWMOD data). Anybody

Re: [PATCH] omap: Properly handle resources for omap_devices

2013-01-07 Thread Tony Lindgren
Hi, * Pantelis Antoniou pa...@antoniou-consulting.com [130103 14:34]: omap_device relies on the platform notifier callbacks managing resources behind the scenes. The resources were not properly linked causing crashes when removing the device. Rework the resource modification code so that

Re: [PATCH] jump_label: constify jump_label_text_reserved and friends

2013-01-07 Thread Sasha Levin
On 01/07/2013 11:40 AM, Jason Baron wrote: On Mon, Jan 07, 2013 at 08:58:09AM -0500, Sasha Levin wrote: jump_label_text_reserved() doesn't modify the memory it works on, it just checks whether there are any jump labels there. Constify the parameters of it to prevent warnings when working with

Re: [PATCH] omap: Properly handle resources for omap_devices

2013-01-07 Thread Pantelis Antoniou
Hi, On Jan 7, 2013, at 10:05 PM, Tony Lindgren wrote: Hi, * Pantelis Antoniou pa...@antoniou-consulting.com [130103 14:34]: omap_device relies on the platform notifier callbacks managing resources behind the scenes. The resources were not properly linked causing crashes when removing the

Re: [PATCH 1/2] drivers/media/platform/soc_camera/pxa_camera.c: reposition free_irq to avoid access to invalid data

2013-01-07 Thread Robert Jarzmik
Guennadi Liakhovetski g.liakhovet...@gmx.de writes: (adding Robert to CC) I don't think any data is freed by pxa_free_dma(), it only disables DMA on a certain channel. Theoretically there could be a different problem: pxa_free_dma() deactivates DMA, whereas pxa_dma_start_channels()

Re: [PATCH] omap: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array

2013-01-07 Thread Paul Walmsley
On Mon, 7 Jan 2013, Tony Lindgren wrote: * Pantelis Antoniou pa...@antoniou-consulting.com [130103 14:35]: The IRQ array must be terminated by -1 and not by -1+OMAP_INTC_START This led to having a resource list of 100s of IRQs. This is a bug for sure introduced with commit a2cfc509 (ARM:

Re: [PATCH 1/5] capemgr: Beaglebone DT overlay based cape manager

2013-01-07 Thread Tony Lindgren
* Pantelis Antoniou pa...@antoniou-consulting.com [130107 10:54]: A cape loader based on DT overlays and DT objects. Beaglebone cape manager implementation. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- arch/arm/mach-omap2/Kconfig|2 +

<    4   5   6   7   8   9   10   11   12   >