[GIT PATCH] char/misc fixes for 3.9-rc4

2013-03-28 Thread Greg KH
The following changes since commit 3d374d09f16f64ab4d71704cbe621514d36cd0b1: final removal of CONFIG_EXPERIMENTAL (2013-03-12 16:30:27 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git/ tags/char-misc-3.9-rc4 for you to fetch

[BUG] Crash with NULL pointer dereference in bond_handle_frame in -rt (possibly mainline)

2013-03-28 Thread Steven Rostedt
Hi, I'm currently debugging a crash in an old 3.0-rt kernel that one of our customers is seeing. The bug happens with a stress test that loads and unloads the bonding module in a loop (I don't know all the details as I'm not the one that is directly interacting with the customer). But the bug

[PATCH 10/36] perf tools: Cleanup calc_data_size logic

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It's for calculating whole trace data size during reading. However relation functions are called only in this file, no need to conditionalize it with tricky +1 offset and rename the variable to more meaningful name like trace_data_size. Signed-off-by: Namhyung Kim Cc:

[PATCH 01/36] perf tools: Get rid of redundant _FILE_OFFSET_BITS definition

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim We define it in the Makefile so no need to duplicate it. Signed-off-by: Namhyung Kim Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Link: http://lkml.kernel.org/r/1363686376-29525-1-git-send-email-namhy...@kernel.org Signed-off-by: Arnaldo Carvalho de Melo ---

[PATCH 02/36] perf tools: Let get_tracing_file() return NULL to indicate failure.

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim So that it can be used by other places. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1363850332-25297-2-git-send-email-namhy...@kernel.org Signed-off-by:

[PATCH 14/36] perf report: Add --no-demangle option

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim It's sometimes useful to see undemangled raw symbol name for example other tools using the perf output to do manipulation of binaries. Signed-off-by: Namhyung Kim Suggested-by: William Cohen Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: William Cohen

[PATCH 06/36] perf tools: Handle failure case in trace_report()

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim If pevent allocation in read_trace_init() fails, trace_report() will return -1 and *ppevent is set to NULL. Its callers should check this case and handle it properly. This is also a preparation for the removal of *die() calls. Signed-off-by: Namhyung Kim Cc: Frederic

[PATCH] pinctrl: tegra: add suspend-resume support

2013-03-28 Thread Bibek Basu
From: Pritesh Raithatha This patch adds suspend and resume callbacks to the pinctrl-tegra driver. Based on work by: Pritesh Raithatha Signed-off-by: Pritesh Raithatha Signed-off-by: Bibek Basu --- drivers/pinctrl/pinctrl-tegra.c | 71 +++-- 1 file

[PATCH 07/36] perf tools: Get rid of malloc_or_die() in trace-event-read.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Check return value of malloc() and fail if error. Now read_string() can return NULL also check its return value and bail out. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link:

[PATCH 08/36] perf tools: Get rid of read_or_die() in trace-event-read.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Rename it to do_read and original do_read to __do_read, and check their return value. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link:

[PATCH 05/36] perf tools: Get rid of die() calls from trace-event-info.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Now remove all remaining die() calls and convert them to check return value and propagate it. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link:

[PATCH 16/36] perf/x86: Improve sysfs event mapping with event string

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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:

[PATCH 18/36] perf/core: Add weighted samples

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen 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 period which is used

[PATCH 19/36] perf: Add generic memory sampling interface

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian This patch adds PERF_SAMPLE_DATA_SRC. PERF_SAMPLE_DATA_SRC collects the data source, i.e., where did the data associated with the sampled instruction come from. Information is stored in a perf_mem_data_src structure. It contains opcode, mem level, tlb, snoop, lock

[PATCH 11/36] perf stat: Refactor aggregation code

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian Refactor aggregation code by introducing a single aggr_mode variable and an enum for aggregation. Also refactor cpumap code having to do with cpu to socket mappings. All in preparation for extended modes, such as cpu -> core. Also fix socket aggregation and ensure that

[PATCH 23/36] perf: Add PERF_RECORD_MISC_MMAP_DATA to RECORD_MMAP

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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

[PATCH 34/36] perf map browser: Use ui_browser__input_window()

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Instead of an ad-hoc, libnewt based equivalent. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link:

[PATCH 09/36] perf tools: Get rid of die() calls in trace-data-read.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Convert them to pr_debug() and propagate error code. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1363850332-25297-9-git-send-email-namhy...@kernel.org

[PATCH 20/36] perf/x86: Add memory profiling via PEBS Load Latency

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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

[PATCH 03/36] perf tools: Get rid of malloc_or_die() in trace-event-info.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Check return value of malloc and fail if NULL. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1363850332-25297-3-git-send-email-namhy...@kernel.org

[PATCH 12/36] perf stat: Rename --aggr-socket to --per-socket

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian To make it more obvious what this option does as suggested by Andi on LKML. Signed-off-by: Stephane Eranian Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 31/36] Revert "perf sched: Handle PERF_RECORD_EXIT events"

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo This reverts commit 0439539f72ea222fbfe511b47318b9c1815a7108. This caused this segfault: [root@sandy linux]# perf sched rec ^C[ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 1.306 MB perf.data (~57062 samples) ] perf [root@sandy

[PATCH 29/36] perf machine: Detect data vs. text mappings

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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 Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 22/36] perf/x86: Add support for PEBS Precise Store

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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

[PATCH 35/36] perf tools: Remove dependency on libnewt

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Now that the map browser shares the input routine with the hists browser, there is no need for using any libnewt routine, so remove all traces except for honouring NO_NEWT=1 on the makefile command line as an indication that TUI support is not needed, in fact it

[PATCH 17/36] perf/x86: Add flags to event constraints

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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

[PATCH 13/36] perf stat: Add per-core aggregation

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian This patch adds the --per-core option to perf stat. This option is used to aggregate system-wide counts on a per physical core basis. On processors with hyperthreading, this means counts of all HT threads running on a physical core are aggregated. This mode is useful to

Re: [PATCH] ARM: dove: fix Dove cpu type from V7 to PJ4

2013-03-28 Thread Jason Cooper
On Sat, Mar 23, 2013 at 04:06:51PM +0100, Sebastian Hesselbarth wrote: > The CPU used in Marvell Dove SoCs is a PJ4 Sheeva core. Using > CONFIG_CPU_PJ4 instead of CONFIG_CPU_V7 will also allow to enable > iWMMXt extensions on Dove. > > Signed-off-by: Sebastian Hesselbarth > --- > Cc: Russell

[PATCH 27/36] perf report: Add support for mem access profiling

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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 Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 28/36] perf tools: Add new mem command for memory access profiling

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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

[PATCH 24/36] perf tools: Add support for weight v7 (modified)

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen perf record has a new option -W that enables weightened sampling. Add sorting support in top/report for the average weight per sample and the total weight sum. This allows to both compare relative cost per event and the total cost over the measurement period. Add the necessary

[PATCH 21/36] perf/x86: Export PEBS load latency threshold register to sysfs

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian Make the PEBS Load Latency threshold register layout and encoding visible to user level tools. Signed-off-by: Stephane Eranian Cc: pet...@infradead.org Cc: a...@linux.intel.com Cc: a...@redhat.com Cc: jo...@redhat.com Cc: namhyung@lge.com Link:

[PATCH 25/36] perf tools: Add mem access sampling core support

2013-03-28 Thread Arnaldo Carvalho de Melo
From: 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 - locked: access uses locked

Re: [PATCH v2 03/13] rwsem: move rwsem_down_failed_common code into rwsem_down_{read,write}_failed

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: > Remove the rwsem_down_failed_common function and replace it with two > identical copies of its code in rwsem_down_{read,write}_failed. > > This is because we want to make different optimizations in > rwsem_down_{read,write}_failed; we

[GIT PULL] ACPI and power management fixes for v3.9-rc5

2013-03-28 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm+acpi-3.9-rc5 to receive ACPI and power management fixes for v3.9-rc5 with top-most commit 6125c2be96b941a08e05516cfa1125ca53945bb2 Merge branch 'acpi-fixes' into fixes on

[PATCH 33/36] perf python: Fix dependency for python/perf.so

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Naohiro Aota The python/perf.so binding lacks dependency for libtraceevent.a so that it cause the following error building python/perf.so. This patch introduce the dependency for it. $ make python/perf.so CHK -fstack-protector-all CHK -Wstack-protector CHK

[PATCH 30/36] perf tools: Fix output of symbol_daddr offset

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim 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. Signed-off-by: Namhyung Kim Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter

[PATCH 26/36] perf record: Add support for mem access profiling

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Stephane Eranian We use the -W option to obtain the cost of the memory accesses. Data address sampling is obtained via the -d option. Signed-off-by: Stephane Eranian Cc: Andi Kleen Cc: Ingo Molnar Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Link:

[PATCH 00/36] perf/core improvements and fixes

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Hi Ingo, Please consider pulling, Best regards, - Arnaldo The following changes since commit 0a11953851213fd1d3eebcb68b4a537d458c70c2: Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core

[PATCH 32/36] perf tools: Convert needless static variable to local

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/n/tip-k85ajz97xbrd8fkt2a8pp...@git.kernel.org Signed-off-by: Arnaldo Carvalho

Re: [PATCH 1/2] hugetlbfs: stop setting VM_DONTDUMP in initializing vma(VM_HUGETLB)

2013-03-28 Thread Konstantin Khlebnikov
Naoya Horiguchi wrote: Currently we fail to include any data on hugepages into coredump, because VM_DONTDUMP is set on hugetlbfs's vma. This behavior was recently introduced by commit 314e51b98 "mm: kill vma flag VM_RESERVED and mm->reserved_vm counter". This looks to me a serious regression, so

[PATCH 15/36] perf/x86: Support CPU specific sysfs events

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Andi Kleen 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 Signed-off-by: Stephane Eranian Cc: pet...@infradead.org Cc: a...@redhat.com Cc: jo...@redhat.com Cc:

[Resend][PATCH] PCI / ACPI: Always resume devices on ACPI wakeup notifications

2013-03-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki It turns out that the _Lxx control methods provided by some BIOSes clear the PME Status bit of PCI devices they handle, which means that pci_acpi_wake_dev() cannot really use that bit to check whether or not the device has signalled wakeup. The symptom of the problem is,

[PATCH 36/36] perf map browser: Exit just on well known key presses

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Initial motivation was to avoid the confusing exit when when '/' is pressed in non verbose mode, as specified in the help line searches are only available in verbose mode. Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Mike Galbraith Cc: Namhyung

[PATCH 04/36] perf tools: Get rid of write_or_die() from trace-event-info.c

2013-03-28 Thread Arnaldo Carvalho de Melo
From: Namhyung Kim Check return value of write and fail if error. Signed-off-by: Namhyung Kim Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Steven Rostedt Link: http://lkml.kernel.org/r/1363850332-25297-4-git-send-email-namhy...@kernel.org

Re: [PATCH] ARM: Kirkwood: fix unused mvsdio gpio pins

2013-03-28 Thread Jason Cooper
On Sat, Mar 23, 2013 at 01:56:58PM +0100, Sebastian Hesselbarth wrote: > mvsdio_platform_data allows to pass card detect and write protect gpio > numbers to the driver. Some kirkwood boards don't use both pins as they > are not connected, and don't set the corresponding value in platform_data. >

Re: [PATCH 1/2] eisa, PCI: Fix bus res reference

2013-03-28 Thread Yinghai Lu
On Thu, Mar 28, 2013 at 9:14 AM, Bjorn Helgaas wrote: >> >> So sta...@kernel.org will never get fixed? > > What's to fix? The doc (Documentation/stable_kernel_rules.txt) says > to use "Cc: sta...@vger.kernel.org" and using "Cc: sta...@kernel.org" > causes bounces. Just use the documented

[RFC 0/4] do not make cputime scaling in kernel

2013-03-28 Thread Stanislaw Gruszka
This patch series removes cputime scaling from kernel. It can be easily done in user space using floating point if we provide sum_exec_runtime, what patches 2/4 and 3/4 do. I have procps which utilize that: http://people.redhat.com/sgruszka/procps-use-sum_exec_runtime.patch I will post it, if

[RFC 1/4] cputime: change parameter of thread_group_cputime_adjusted

2013-03-28 Thread Stanislaw Gruszka
This is preparation for further changes in cputime code. Signed-off-by: Stanislaw Gruszka --- fs/proc/array.c|5 - include/linux/sched.h |2 +- kernel/exit.c |8 kernel/sched/cputime.c | 18 ++ kernel/sys.c | 18

[RFC 3/4] sched,proc: add csum_sched_runtime

2013-03-28 Thread Stanislaw Gruszka
Account and export via proc scheduler calculated time of children execution. Signed-off-by: Stanislaw Gruszka --- fs/proc/array.c |3 +++ include/linux/sched.h |1 + kernel/exit.c |2 ++ 3 files changed, 6 insertions(+), 0 deletions(-) diff --git a/fs/proc/array.c

[RFC 4/4] cputime: remove scaling

2013-03-28 Thread Stanislaw Gruszka
Scaling cputime cause problems, bunch of them was fixed, but still is possible to hit multiplication overflow issue, which make {u,s}time values incorrect. This problem has no good solution in kernel. This patch remove scaling code and export raw values of {u,t}ime . Procps programs can use newly

[RFC 2/4] procfs: add sum_exec_runtime to /proc/PID/stat

2013-03-28 Thread Stanislaw Gruszka
Allow procps programs (i.e. top) to read precise CPU time usage of processes. Signed-off-by: Stanislaw Gruszka --- fs/proc/array.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/fs/proc/array.c b/fs/proc/array.c index fef7850..ee47b29 100644 --- a/fs/proc/array.c

Re: [PATCH v2 10/13] rwsem: simplify __rwsem_do_wake

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: > This is mostly for cleanup value: > > - We don't need several gotos to handle the case where the first > waiter is a writer. Two simple tests will do (and generate very > similar code). > > - In the remainder of the function, we

Re: [PATCH v6 1/2] mm: limit growth of 3% hardcoded other user reserve

2013-03-28 Thread Andrew Shewmaker
On Wed, Mar 27, 2013 at 02:28:32PM -0700, Andrew Morton wrote: > On Mon, 18 Mar 2013 17:44:42 -0400 Andrew Shewmaker wrote: > > > Add user_reserve_kbytes knob. > > > > Limit the growth of the memory reserved for other user > > processes to min(3% current process size, user_reserve_pages). > >

RE: [PATCH] ia64: Fix example error_injection_tool

2013-03-28 Thread Luck, Tony
Nice catch. - mask[j]=1

Re: [PATCH v2 07/13] rwsem: use cmpxchg for trying to steal write lock

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: > Using rwsem_atomic_update to try stealing the write lock forced us to > undo the adjustment in the failure path. We can have simpler and faster > code by using cmpxchg instead. > > Signed-off-by: Michel Lespinasse > > --- >

[PATCH] power: rx51_battery: Fix reporting temperature

2013-03-28 Thread Pali Rohár
This patch fixing units (1/10 °C) in which is temperature reported. Signed-off-by: Pali Rohár --- drivers/power/rx51_battery.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c index 820..527d256 100644 ---

Re: [PATCH 5/6] scsi: replace obsolete NLMSG_* with type safe nlmsg_*

2013-03-28 Thread Mike Christie
On 03/27/2013 11:53 AM, Hong Zhiguo wrote: > Signed-off-by: Hong Zhiguo > --- > drivers/scsi/scsi_netlink.c |4 +-- > drivers/scsi/scsi_transport_fc.c| 21 + > drivers/scsi/scsi_transport_iscsi.c | 56 > +-- > 3 files changed, 38

Fwd: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug

2013-03-28 Thread Kent Yoder
Hi Ben, will you carry this patch in the linuxppc-dev tree? Thanks, Kent -- Forwarded message -- From: Kent Yoder Date: Wed, Mar 20, 2013 at 9:22 AM Subject: [PATCH v2] drivers/crypto/nx: fix init race, alignmasks and GCM bug To: linux-kernel@vger.kernel.org Cc:

Re: Change in behaviour when unmounting recursive bind mounts

2013-03-28 Thread Tvrtko Ursulin
On Thursday 28 March 2013 23:35:49 Ram Pai wrote: > On Thu, Mar 28, 2013 at 01:05:56PM +, Tvrtko Ursulin wrote: > > Hi, > > > > On Thursday 28 March 2013 11:03:51 Ram Pai wrote: > > > I tried these commands on a 3.8.0-rc1+ kernel and did not find the > > > problem. Is this on a recent kernel?

[PATCH 00/33] Regulators: Bring the AB8500 into the 21st century

2013-03-28 Thread Lee Jones
Hi Mark, Here is what's left. I've also split out the "Low Power Battery" patch and squashed a few of the ab8500-ext fixups back into the original commit as requested. Kind regards, Lee arch/arm/mach-ux500/board-mop500-regulators.c | 682 +-

[PATCH 07/33] regulator: ab8500-ext: Add suspend support

2013-03-28 Thread Lee Jones
From: Bengt Jonsson Operations regulator_suspend_enable and regulator_suspend_disable are added. Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones Reviewed-by: Mattias NILSSON Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500-ext.c | 16 1 file changed, 16

Re: [PATCH v2 02/13] rwsem: shorter spinlocked section in rwsem_down_failed_common()

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: > This change reduces the size of the spinlocked and TASK_UNINTERRUPTIBLE > sections in rwsem_down_failed_common(): > > - We only need the sem->wait_lock to insert ourselves on the wait_list; > the waiter node can be prepared outside

[PATCH 2/2] ARM: ux500: 8500: add ab8500-musb pinctrl support

2013-03-28 Thread Fabio Baltieri
From: Patrice Chotard Add necessary definitions to support ab8500-musb pinctrl default and sleep states. Signed-off-by: Patrice Chotard Signed-off-by: Fabio Baltieri --- arch/arm/mach-ux500/board-mop500-pins.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-)

[PATCH 05/33] ARM: ux500: Setup external regulator supply #2 for HREF v20 boards

2013-03-28 Thread Lee Jones
v20 HREFs require non-standard configuration of EXT_SUPPLY2 to function correctly (specific information is commented). Here we make use of the recently added mechanism to adapt initialisation values for such use-cases. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c |

[PATCH 02/33] ARM: ux500: Add regulator platform data for AB8500 external regulators

2013-03-28 Thread Lee Jones
Pass constraint information for recently supported external AB8500 controlled regulators. Also change the start-up initialisation settings for each of the 3 supported external supplies to low-power, off and high-power for supply 1, 2 and 3 respectively. Signed-off-by: Lee Jones ---

[PATCH 01/33] regulator: ab8500-ext: New driver to control external regulators

2013-03-28 Thread Lee Jones
The ABx500 is capable of controlling three external regulator supplies. Most commonly on and off are supported, but if an external regulator chipset or power supply supports high-power and low-power mode settings, we can control those too. Signed-off-by: Lee Jones --- drivers/regulator/Makefile

[PATCH 0/2] pinctrl support for ab8500-usb

2013-03-28 Thread Fabio Baltieri
Hi Linus, this contains the required definitions for ab8500-usb pinctrl sleep and default modes, and a non-related patch to drop a macro redefinition. Thanks, Fabio Fabio Baltieri (1): ARM: ux500: remove redundant DB8500_PIN_SLEEP definition Patrice Chotard (1): ARM: ux500: 8500: add

[PATCH 1/2] ARM: ux500: remove redundant DB8500_PIN_SLEEP definition

2013-03-28 Thread Fabio Baltieri
DB8500_PIN_SLEEP was defined twice, drop one of the two. Signed-off-by: Fabio Baltieri --- arch/arm/mach-ux500/board-mop500-pins.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/arm/mach-ux500/board-mop500-pins.c b/arch/arm/mach-ux500/board-mop500-pins.c index 0a3f30d..625880f

[PATCH 13/33] regulator: ab8500-ext: Add support for AB8505/AB9540

2013-03-28 Thread Lee Jones
From: Bengt Jonsson The external regulator driver checks for old AB8500 HW to apply a fix. This patch adds a check to see that it is a AB8500 (not AB8505/AB9540). Signed-off-by: Bengt Jonsson Signed-off-by: Lee Jones --- drivers/regulator/ab8500-ext.c |2 +- 1 file changed, 1

[PATCH 06/33] regulator: ab8500-ext: Add HW request support

2013-03-28 Thread Lee Jones
From: Bengt Jonsson Support for HW request is added in the external regulator driver. A flag in the board configuration can be set to let HW control the regulator when there is no SW request. This means that the regulator will be put in high power mode when there is a SW request and in

Re: [PATCH] compat/compat-drivers/linux-next: fb skip_vt_switch

2013-03-28 Thread Julia Lawall
On Thu, 28 Mar 2013, Jesse Barnes wrote: > On Thu, 28 Mar 2013 05:04:26 -0700 > "Luis R. Rodriguez" wrote: > > > The new commit by Jesse that extended the fb_info with a skip_vt_switch > > element is the simplest example of a data structure expansion. We'd backport > > this by adding a static

Re: [PATCH v3] [RFC] arm: use PSCI if available

2013-03-28 Thread Stefano Stabellini
On Thu, 28 Mar 2013, Will Deacon wrote: > On Thu, Mar 28, 2013 at 03:39:42PM +, Nicolas Pitre wrote: > > On Thu, 28 Mar 2013, Rob Herring wrote: > > > > > On 03/28/2013 09:51 AM, Nicolas Pitre wrote: > > > > On Thu, 28 Mar 2013, Stefano Stabellini wrote: > > > > > > > >> - the interface to

[RFC PATCH] block: Add new generic block device naming interface

2013-03-28 Thread Stephen M. Cameron
From: Stephen M. Cameron Currently, when adding a new block device driver, if grub support is needed, then grub needs to be modified to know about this new driver. See this thread: https://lists.gnu.org/archive/html/grub-devel/2013-03/msg00049.html If block drivers could (optionally) share a

[PATCH 14/33] regulator: ab8500: add support for ab8505

2013-03-28 Thread Lee Jones
To obtain full AB8505 regulator support, the AB8500 regulator driver first needs to know its register layout and their initialisation values for each. That information is provided via a couple of large data structures which we provide here. Signed-off-by: Lee Jones ---

[PATCH 12/33] regulator: ab8500: Correct TVOUT regulator enable time

2013-03-28 Thread Lee Jones
Update TVOUT regulator to match specification. Was 10ms - changed to 500us. Signed-off-by: Jonas Aaberg Signed-off-by: Lee Jones Reviewed-by: Bengt JONSSON --- drivers/regulator/ab8500.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/ab8500.c

[PATCH 15/33] regulator: ab8500-ext: Add support for AB9540 regulators

2013-03-28 Thread Lee Jones
Add the support for ab9540 external regulators. Signed-off-by: Michel JAOUEN Signed-off-by: Lee Jones Reviewed-by: Jonas ABERG --- drivers/regulator/ab8500-ext.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/regulator/ab8500-ext.c

[PATCH 16/33] regulator: ab8500: Add support for the ab8540

2013-03-28 Thread Lee Jones
To obtain full AB8540 regulator support, the AB8500 regulator driver first needs to know its register layout and their initialisation values for each. That information is provided via a couple of large data structures which we provide here. Signed-off-by: Lee Jones ---

[PATCH] pinctrl: coh901: Fix error checking in u300_gpio_to_irq

2013-03-28 Thread Axel Lin
The pointer "port" is always not NULL if gpio->port_list is not empty. Signed-off-by: Axel Lin --- drivers/pinctrl/pinctrl-coh901.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-coh901.c b/drivers/pinctrl/pinctrl-coh901.c index

[PATCH 11/33] regulator: ab8500: Add support for the ab9540

2013-03-28 Thread Lee Jones
To obtain full AB9540 regulator support, the AB8500 regulator driver first needs to know its register layout and their initialisation values for each. That information is provided via a couple of large data structures which we provide here. Signed-off-by: Lee Jones ---

Re: [PATCH v2 11/13] rwsem: implement support for write lock stealing on the fastpath

2013-03-28 Thread Peter Hurley
On Fri, 2013-03-15 at 03:54 -0700, Michel Lespinasse wrote: > When we decide to wake up readers, we must first grant them as many > read locks as necessary, and then actually wake up all these readers. > But in order to know how many read shares to grant, we must first > count the readers at the

[PATCH 17/33] regulator: ab8500: Update voltage handling for fixed voltage regulators

2013-03-28 Thread Lee Jones
There are a few over-lapping methods for voltage selection operating in the AB8500 regulator driver currently. This patch removes unused, unnecessary variables from the regulator_info structures and provides voltage tables for those regulators which have fixed voltages. Signed-off-by: Lee Jones

[PATCH 10/33] regulator: ab8500: Prepare the driver for additional platforms

2013-03-28 Thread Lee Jones
More platforms are to be supported by the AB8500 regulator driver, so in this patch we prepare for their arrival. Instead of using the AB8500 settings blindly, we provide an infrastructure where adding a new platform is as easy as providing a couple of platform specific data structures.

[PATCH 19/33] regulator: ab8500: Supply platform specific regulator id values

2013-03-28 Thread Lee Jones
The regulator ID in the regulator info array should be the same values as the position of the element within the array. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 62 ++-- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git

[PATCH 09/33] regulator: ab8500: Init debug from regulator driver

2013-03-28 Thread Lee Jones
The purpose of this patch is to guarantee that ab8500-debug will record the regulator registers before they are modified by the ab8500 regulator driver. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 10 ++ include/linux/regulator/ab8500.h | 14 ++ 2

[PATCH 18/33] regulator: ab8500: Use regulator_list_voltage_table()

2013-03-28 Thread Lee Jones
Following a recent move to regulator_list_voltage_table() for all previous abx500 related platforms this converts all recent platform updates over too. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 62 1 file changed, 22 insertions(+),

Re: [PATCH] rtc: rtc-at91rm9200: use a variable for storing IMR

2013-03-28 Thread Nicolas Ferre
On 03/28/2013 10:57 AM, Johan Hovold : > On Tue, Mar 26, 2013 at 05:09:59PM -0400, Douglas Gilbert wrote: >> On 13-03-26 03:27 PM, Johan Hovold wrote: >>> On Fri, Mar 15, 2013 at 06:37:12PM +0100, Nicolas Ferre wrote: On some revisions of AT91 SoCs, the RTC IMR register is not working.

[PATCH 20/33] regulator: ab8500: Don't register external regulators on AB8505

2013-03-28 Thread Lee Jones
From: Rabin Vincent ExtSupply regulators are not included on AB8505 based platforms. Signed-off-by: Rabin Vincent Signed-off-by: Lee Jones Tested-by: Marcus COOPER --- drivers/regulator/ab8500.c | 20 1 file changed, 12 insertions(+), 8 deletions(-) diff --git

[PATCH 27/33] regulator: ab8500: Introduce aux5, aux6 regulators for AB8540

2013-03-28 Thread Lee Jones
From: Zhenhua HUANG Introduce aux5, aux6 into ab8540 regulator framework. Signed-off-by: Zhenhua HUANG Signed-off-by: Lee Jones Reviewed-by: Maxime COQUELIN Reviewed-by: David PARIS Reviewed-by: Philippe LANGLAIS --- drivers/regulator/ab8500.c | 65

[PATCH 21/33] regulator: ab8500: Add voltage selection for AUDIO and ANA on AB8505

2013-03-28 Thread Lee Jones
Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 55 +++- 1 file changed, 49 insertions(+), 6 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c index 9123af4..90f5263 100644 --- a/drivers/regulator/ab8500.c +++

Re: [PATCH 1/2] eisa, PCI: Fix bus res reference

2013-03-28 Thread Bjorn Helgaas
On Thu, Mar 28, 2013 at 9:16 AM, Yinghai Lu wrote: > On Thu, Mar 28, 2013 at 5:52 AM, Bjorn Helgaas wrote: >> On Wed, Mar 27, 2013 at 10:28 PM, Yinghai Lu wrote: >>> Matthem found that 3.8.3 is having problems with an old (ancient) >>> PCI-to-EISA bridge, the Intel 82375. It worked with the 3.2

[PATCH 29/33] regulator: ab8500: Remove the need for a 'delay' property

2013-03-28 Thread Lee Jones
The regulator framework now has provisions to read a regulator's start-up time via the 'enable_time' attribute. So let's remove all 'enable_time'/'delay' duplication and just stick with 'enable_time' from now on. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c |5 + 1 file

[PATCH 26/33] regulator: ab8500: Use a struct to select the good regulator configuration

2013-03-28 Thread Lee Jones
At the probe use a structure to select the good regulator array from from ab9540, ab8505, ab8540 or ab8500 configuration. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 135 +--- 1 file changed, 64 insertions(+), 71 deletions(-) diff --git

[PATCH 25/33] regulator: ab8500: Update vdmic, vamic[1|2] parameters for AB8540

2013-03-28 Thread Lee Jones
Add voltage setting for vdmic; add LP mode setting for vamic1,2. Signed-off-by: Lee Jones --- drivers/regulator/ab8500.c | 45 +++- 1 file changed, 40 insertions(+), 5 deletions(-) diff --git a/drivers/regulator/ab8500.c b/drivers/regulator/ab8500.c

[PATCH 23/33] regulator: ab8500: Add new operations for Vaux3

2013-03-28 Thread Lee Jones
In former functions, only can set Vaux3 to 2.91V, because the highest bit of Vaux3 register is put into another register. So add new expanded functions for Vaux3's operation. Signed-off-by: zhang xiaomei Signed-off-by: Lee Jones Reviewed-by: Philippe LANGLAIS --- drivers/regulator/ab8500.c |

[PATCH 30/33] regulator: ab8500: Use regulator_list_voltage_table() to look-up voltages

2013-03-28 Thread Lee Jones
The regulator framework offers a generic regulator_list_voltage_table() function which can directly look-up a regulator's voltage capabilities using a table provided through the desc structure. This patch ensures that information is available. Signed-off-by: Lee Jones ---

[PATCH 24/33] regulator: ab8500: Add mode operation for v-amic

2013-03-28 Thread Lee Jones
v-amic1 and v-amic2 regulators have dedicated mode registers and share the same mode bit. This patch adds special handling for those regulators. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c | 10 +- drivers/regulator/ab8500.c| 178

[PATCH 31/33] ARM: ux500: Pass regulator platform data using the new format

2013-03-28 Thread Lee Jones
Regulator platform data is now passed though a single structure as opposed to the old way where four separate struct elements were required. This patch makes use of the new format. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500.c |5 + include/linux/mfd/abx500/ab8500.h |

[PATCH 33/33] ARM: ux500: Regulators: Bring the AB8500 regulator platform data up-to-date

2013-03-28 Thread Lee Jones
Quite a few changes in this patch, including: supply-name changes, new consumers, initialisation and capability updates and new regulators. Signed-off-by: Lee Jones --- arch/arm/mach-ux500/board-mop500-regulators.c | 75 - 1 file changed, 47 insertions(+), 28

[PATCH 32/33] regulator: ab8500: Shuffle init functions into a more logical order

2013-03-28 Thread Lee Jones
The ab*_match[] arrays should be moved out of the way, instead of bunched in the middle of the initialisation functions. This patch moves all initialisation code which currently resides above these arrays down to be grouped with the others. This makes the whole thing slightly easier to read.

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